-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsilk-configuration.xml
51 lines (51 loc) · 1.94 KB
/
silk-configuration.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="UTF-8"?>
<Silk>
<Prefixes>
<Prefix id="rdfs" namespace="http://www.w3.org/2000/01/rdf-schema#" />
<Prefix id="rdf" namespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#" />
<Prefix id="yago" namespace="http://dbpedia.org/class/yago/" />
<Prefix id="schema" namespace="http://schema.org/" />
<Prefix id="foaf" namespace="http://xmlns.com/foaf/0.1/" />
<Prefix id="umbel-rc" namespace="http://umbel.org/rc/" />
<Prefix id="frapo" namespace="http://purl.org/cerif/frapo/" />
<Prefix id="geo" namespace="http://www.w3.org/2003/01/geo/wgs84_pos#" />
<Prefix id="dbpedia-ontology" namespace="http://dbpedia.org/ontology/" />
</Prefixes>
<DataSources>
<DataSource id="dbpedia" type="sparqlEndpoint">
<Param name="endpointURI" value="http://es.dbpedia.org/sparql" />
<Param name="pageSize" value="20000" />
</DataSource>
<DataSource id="graphdb" type="sparqlEndpoint">
<Param name="endpointURI"
value="http://localhost:7200/repositories/ModeloGeneracionDatosEnlazados" />
</DataSource>
</DataSources>
<Interlinks>
<Interlink id="persons">
<LinkType>owl:sameAs</LinkType>
<SourceDataset var="a" dataSource="dbpedia">
<RestrictTo>?a rdf:type dbpedia-ontology:Politician</RestrictTo>
</SourceDataset>
<TargetDataset var="b" dataSource="graphdb">
<RestrictTo>?b rdf:type schema:Person</RestrictTo>
</TargetDataset>
<LinkageRule>
<Compare metric="levenshteinDistance" threshold="1">
<TransformInput function="lowerCase">
<Input path="?a/rdfs:label" />
</TransformInput>
<TransformInput function="lowerCase">
<Input path="?b/rdfs:label" />
</TransformInput>
</Compare>
</LinkageRule>
<Outputs>
<Output type="file" maxConfidence="0.95">
<Param value="verify_links.nt" name="file" />
<Param value="ntriples" name="format" />
</Output>
</Outputs>
</Interlink>
</Interlinks>
</Silk>