Skip to content

Commit 51555db

Browse files
Update the description of vocab.mappings (from local vocabulary to global vocabulary); Mapping rules required by the example query are included
1 parent b3deef4 commit 51555db

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

ExampleFederation.ttl

+6
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,9 @@ ex:europaSPARQL
4646
# fd:interface [ a fd:SPARQLEndpointInterface ;
4747
# fd:endpointAddress <http://dbpedia.org/sparql> ] ;
4848
# fd:vocabularyMappingsFile "dbpedia/vocabularyMappings.nt" .
49+
50+
#ex:wikidataSPARQLWithVocabMappings
51+
# a fd:FederationMember ;
52+
# fd:interface [ a fd:SPARQLEndpointInterface ;
53+
# fd:endpointAddress <https://query.wikidata.org/sparql> ];
54+
# fd:vocabularyMappingsFile "wikidata/vocabularyMappings.nt" .

dbpedia/vocabularyMappings.nt

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
<http://data.europa.eu/euodp/jrc-names/Adam_Maher> <http://www.w3.org/2002/07/owl#sameAs> <http://dbpedia.org/resource/Adam_Maher> .
2-
<http://www.wikidata.org/entity/P19> <http://www.w3.org/2002/07/owl#equivalentProperty> <http://dbpedia.org/ontology/birthPlace> .
3-
#<http://schema.org/birthPlace> <http://www.w3.org/2002/07/owl#equivalentProperty> <http://dbpedia.org/ontology/birthPlace> .
1+
<http://dbpedia.org/ontology/Artist> <http://www.w3.org/2002/07/owl#equivalentClass> <https://schema.org/artist> .
2+
<http://dbpedia.org/ontology/birthPlace> <http://www.w3.org/2002/07/owl#equivalentProperty> <https://schema.org/birthPlace> .

wikidata/vocabularyMappings.nt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<http://www.wikidata.org/prop/direct/P106> <http://www.w3.org/2002/07/owl#equivalentProperty> <https://schema.org/hasOccupation> .
2+
<http://www.wikidata.org/entity/Q1028181> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <https://schema.org/artist> .

0 commit comments

Comments
 (0)