-
Notifications
You must be signed in to change notification settings - Fork 35
conversion:keys
Tim L edited this page Aug 7, 2013
·
34 revisions
- The owl:keys enhancement is a qualification that restricts the behavior of conversion:links_via.
This conversion:Enhancement is loosely analogous to owl:key.
bash-3.2$ cat manual/test.csv contains:
name,state,company
susy,CA,CA
paul,MA,MA
bash-3.2$ cat manual/links-via.ttl contains:
@prefix dcterms: <http://purl.org/dc/terms/> .
<http://dbpedia.org/resource/M._A._Hanna_Company>
a <http://dbpedia.org/ontology/Company>;
dcterms:identifier "MA" .
<http://logd.tw.rpi.edu/id/us/state/Massachusetts>
a <http://dbpedia.org/class/yago/StatesOfTheUnitedStates>.
<http://dbpedia.org/resource/Computer_Associates>
a <http://dbpedia.org/ontology/Company>;
dcterms:identifier "CA" .
<http://logd.tw.rpi.edu/id/us/state/California>
a <http://dbpedia.org/class/yago/StatesOfTheUnitedStates>.
without owl:keys qualification to conversion:links_via, we get undesirable sameAs (the state and the company are both sameAs the state and the company):
value_of_state:CA
dcterms:identifier "CA" ;
rdfs:label "CA" ;
owl:sameAs dbpedia:Computer_Associates, <http://logd.tw.rpi.edu/id/us/state/California> .
value_of_company:CA
dcterms:identifier "CA" ;
rdfs:label "CA" ;
owl:sameAs dbpedia:Computer_Associates , <http://logd.tw.rpi.edu/id/us/state/California> .