Skip to content

Instantly share code, notes, and snippets.

  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
# 2010-05-18: Changing owl:sameAs property to skos:exactMatch where object is on dbpedia to avoid unintended conflation
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dbpedia-owl: <http://dbpedia.org/ontology/> .
@prefix aiiso: <http://purl.org/vocab/aiiso/schema#> .
@prefix instid: <http://lackoftalent.org/i2/core#> .
<http://lackoftalent.org/i2/service/991f3dc6116630c42308d5464c0d6a4e#institution>
a aiiso:Institution ;
aiiso:organization <http://lackoftalent.org/i2/service/f407066505a2683fbda1c3790f0ed7b3#institution> ;
aiiso:part_of <http://lackoftalent.org/i2/service/ee9a9d655a3d9f66cfb304d8c6dd0746#institution> ;
dcterms:relation <http://lackoftalent.org/i2/service/615b8df6fe91a113a87be0d6db03933e#institution> ;
rdfs:seeAlso <http://example.org/moreinfo/RutgersUniversity.html> ;
owl:sameAs <http://example.org/rights/Rutgers#resource> ;
skos:exactMatch <http://dbpedia.org/resource/Rutgers_University> ;
dc:identifier "MARC org code",
"some other identifier",
"and yet another identifier" ;
rdfs:label "Rutgers, The State University of New Jersey"@en ;
dcterms:title "Rutgers, The State University of New Jersey"@en ;
dbpedia-owl:nickname "Rutgers"@en,
"Rutgers University"@en,
"RU"@en,
"Old Queens"@en ;
dbpedia-owl:established "1766-11-10"^^xsd:date ;
instid:nameLastChanged "1956-06-01"^^xsd:date ;
dbpedia-owl:country <http://dbpedia.org/resource/United_States> ;
dbpedia-owl:state <http://dbpedia.org/resource/New_Jersey> ;
dbpedia-owl:city <http://dbpedia.org/resource/Piscataway_Township,_New_Jersey>,
<http://dbpedia.org/resource/New_Brunswick,_New_Jersey>,
<http://dbpedia.org/resource/Camden,_New_Jersey>,
<http://dbpedia.org/resource/Newark,_New_Jersey> ;
dbpedia-owl:formerName "Rutgers University"@en,
"Rutgers College"@en,
"Queen's College"@en ;
foaf:homepage <http://www.rutgers.edu> ;
skos:note "Let's add some clarifying information here."@en ;
instid:domainName "rutgers.edu" ;
instid:contactInformation <http://example.org/rutgers/contact/> .
<http://lackoftalent.org/i2/service/f407066505a2683fbda1c3790f0ed7b3#institution>
a instid:Library ;
aiiso:organization <http://lackoftalent.org/i2/service/b73df7c6d59971d59a75995a081b087c#institution> ;
aiiso:part_of <http://lackoftalent.org/i2/service/aac2a594a0d88bf2e043646759641d3a#institution> ;
dcterms:relation <http://lackoftalent.org/i2/service/48e36a0ecdacc23852615c830b6fefb3#institution>,
<http://lackoftalent.org/i2/service/7c0ea887fe585b9529779289fecc3309#institution> ;
rdfs:seeAlso <http://example.org/moreinfo/RutgersUniversityLibraries.html> ;
owl:sameAs <http://example.org/rights/RutgersLibraries#resource> ;
skos:exactMatch <http://dbpedia.org/resource/Rutgers_University#Libraries_and_Museums> ;
dc:identifier "MARC org code",
"ILL code",
"some other identifier" ;
rdfs:label "Rutgers University Libraries"@en ;
dcterms:title "Rutgers University Libraries"@en ;
dbpedia-owl:nickname "RUL"@en ;
dbpedia-owl:country <http://dbpedia.org/resource/United_States> ;
dbpedia-owl:state <http://dbpedia.org/resource/New_Jersey> ;
dbpedia-owl:city <http://dbpedia.org/resource/Piscataway_Township,_New_Jersey>,
<http://dbpedia.org/resource/New_Brunswick,_New_Jersey>,
<http://dbpedia.org/resource/Camden,_New_Jersey>,
<http://dbpedia.org/resource/Newark,_New_Jersey> ;
foaf:homepage <http://www.libraries.rutgers.edu> ;
skos:note "Let's add some clarifying information here."@en ;
instid:domainName "libraries.rutgers.edu" ;
instid:contactInformation <http://example.org/rul/contact.html> .
<http://lackoftalent.org/i2/service/b73df7c6d59971d59a75995a081b087c#institution>
a aiiso:Center ;
aiiso:part_of <http://lackoftalent.org/i2/service/f407066505a2683fbda1c3790f0ed7b3#institution> ;
rdfs:seeAlso <http://example.org/moreinfo/RUL-SCC.html> ;
owl:sameAs <http://example.org/rights/ScholCommCtrRUL#resource> ;
dc:identifier "some other identifier" ;
rdfs:label "Scholarly Communication Center"@en ;
dcterms:title "Scholarly Communication Center"@en ;
dbpedia-owl:nickname "SCC"@en ;
dbpedia-owl:country <http://dbpedia.org/resource/United_States> ;
dbpedia-owl:state <http://dbpedia.org/resource/New_Jersey> ;
dbpedia-owl:city <http://dbpedia.org/resource/New_Brunswick,_New_Jersey> ;
foaf:homepage <http://www.scc.rutgers.edu> ;
skos:note "Let's add some clarifying information here."@en ;
instid:domainName "scc.rutgers.edu" ;
instid:contactInformation <http://example.org/scc/contact.html> .
<http://lackoftalent.org/i2/service/615b8df6fe91a113a87be0d6db03933e#institution>
a aiiso:Institution ;
dcterms:relation <http://lackoftalent.org/i2/service/991f3dc6116630c42308d5464c0d6a4e#institution> ;
rdfs:seeAlso <http://example.org/moreinfo/UMDNJ.html> ;
owl:sameAs <http://example.org/rights/UMDNJ#resource> ;
skos:exactMatch <http://dbpedia.org/resource/University_of_Medicine_and_Dentistry_of_New_Jersey> ;
dc:identifier "MARC org code",
"some other identifier" ;
rdfs:label "University of Medicine and Dentistry of New Jersey"@en ;
dcterms:title "University of Medicine and Dentistry of New Jersey"@en ;
dbpedia-owl:nickname "UMDNJ"@en ;
dbpedia-owl:established "1970-01-01"^^xsd:date ;
dbpedia-owl:country <http://dbpedia.org/resource/United_States> ;
dbpedia-owl:state <http://dbpedia.org/resource/New_Jersey> ;
dbpedia-owl:city <http://dbpedia.org/resource/Scotch_Plains,_New_Jersey>,
<http://dbpedia.org/resource/Stratford,_New_Jersey>,
<http://dbpedia.org/resource/Piscataway_Township,_New_Jersey>,
<http://dbpedia.org/resource/New_Brunswick,_New_Jersey>,
<http://dbpedia.org/resource/Camden,_New_Jersey>,
<http://dbpedia.org/resource/Newark,_New_Jersey> ;
foaf:homepage <http://www.umdnj.edu> ;
skos:note "Let's add some clarifying information here."@en ;
instid:domainName "umdnj.edu" ;
instid:contactInformation <http://example.org/umdnj/contact/> .
<http://lackoftalent.org/i2/service/ee9a9d655a3d9f66cfb304d8c6dd0746#institution>
a instid:AssociationOrSociety ;
rdfs:seeAlso <http://example.org/moreinfo/AAU.html> ;
owl:sameAs <http://example.org/rights/AAU#resource> ;
skos:exactMatch <http://dbpedia.org/resource/Association_of_American_Universities> ;
dc:identifier "some other identifier"@en ;
rdfs:label "Association of American Universities"@en ;
dcterms:title "Association of American Universities"@en ;
dbpedia-owl:nickname "AAU"@en ;
dbpedia-owl:established "1900-01-01"^^xsd:date ;
dbpedia-owl:country <http://dbpedia.org/resource/United_States> ;
dbpedia-owl:city <http://dbpedia.org/resource/Washington,_D.C.> ;
foaf:homepage <http://www.aau.edu> ;
skos:note "A note about the AAU"@en ;
instid:domainName "aau.edu" ;
instid:contactInformation <http://example.org/aau/contact/> .
<http://lackoftalent.org/i2/service/aac2a594a0d88bf2e043646759641d3a#institution>
a instid:ConsortiumOrCollaborative ;
rdfs:seeAlso <http://example.org/moreinfo/VALE-NJ.html> ;
owl:sameAs <http://example.org/rights/VALENJ#resource> ;
dc:identifier "some other identifier"@en ;
rdfs:label "Virtual Academic Library Environment of New Jersey"@en ;
dcterms:title "Virtual Academic Library Environment of New Jersey"@en ;
dbpedia-owl:nickname "VALE-NJ"@en ;
dbpedia-owl:established "1998-01-01"^^xsd:date ;
dbpedia-owl:country <http://dbpedia.org/resource/United_States> ;
dbpedia-owl:state <http://dbpedia.org/resource/New_Jersey> ;
foaf:homepage <http://www.valenj.org> ;
skos:note "A note about VALE-NJ"@en ;
instid:domainName "valenj.org" ;
instid:contactInformation <http://example.org/vale-nj/contact/> .
<http://lackoftalent.org/i2/service/48e36a0ecdacc23852615c830b6fefb3#institution>
a instid:Archive ;
dcterms:relation <http://lackoftalent.org/i2/service/f407066505a2683fbda1c3790f0ed7b3#institution> ;
owl:sameAs <http://example.org/rights/NJSA#resource> ;
rdfs:seeAlso <http://example.org/moreinfo/NJSA.html> ;
dc:identifier "some other identifier"@en ;
rdfs:label "New Jersey State Archives"@en ;
dcterms:title "New Jersey State Archives"@en ;
dbpedia-owl:nickname "NJSA"@en ;
dbpedia-owl:country <http://dbpedia.org/resource/United_States> ;
dbpedia-owl:state <http://dbpedia.org/resource/New_Jersey> ;
dbpedia-owl:city <http://dbpedia.org/resource/Trenton,_New_Jersey> ;
foaf:homepage <http://www.state.nj.us/state/darm/links/archives.html> ;
skos:note "A note about the NJ state archives"@en ;
instid:domainName "state.nj.us" ;
instid:contactInformation <http://example.org/njsa/contact/> .
<http://lackoftalent.org/i2/service/7c0ea887fe585b9529779289fecc3309#institution>
a instid:MuseumOrHistoricalSociety ;
dcterms:relation <http://lackoftalent.org/i2/service/f407066505a2683fbda1c3790f0ed7b3#institution> ;
owl:sameAs <http://example.org/rights/NJHS#resource> ;
skos:exactMatch <http://dbpedia.org/resource/New_Jersey_Historical_Society> ;
rdfs:seeAlso <http://example.org/moreinfo/NJHS.html> ;
dc:identifier "some other identifier"@en ;
rdfs:label "New Jersey Historical Society"@en ;
dcterms:title "New Jersey Historical Society"@en ;
dbpedia-owl:nickname "NJHS"@en ;
dbpedia-owl:country <http://dbpedia.org/resource/United_States> ;
dbpedia-owl:state <http://dbpedia.org/resource/New_Jersey> ;
dbpedia-owl:city <http://dbpedia.org/resource/Trenton,_New_Jersey> ;
foaf:homepage <http://www.jerseyhistory.org/> ;
skos:note "A note about the NJ historical society"@en ;
instid:domainName "jerseyhistory.org" ;
instid:contactInformation <http://example.org/njhs/contact/> .
@mjgiarlo
Copy link
Author

Changing owl:sameAs properties pointing to dbpedia to skos:exactMatch properties to avoid unintended conflation

@Prefix rdfs: http://www.w3.org/2000/01/rdf-schema# .
@Prefix owl: http://www.w3.org/2002/07/owl# .
@Prefix xsd: http://www.w3.org/2001/XMLSchema# .
@Prefix dc: http://purl.org/dc/elements/1.1/ .
@Prefix dcterms: http://purl.org/dc/terms/ .
@Prefix foaf: http://xmlns.com/foaf/0.1/ .
@Prefix skos: http://www.w3.org/2004/02/skos/core# .
@Prefix dbpedia-owl: http://dbpedia.org/ontology/ .
@Prefix aiiso: http://purl.org/vocab/aiiso/schema# .
@Prefix instid: http://lackoftalent.org/i2/core# .

http://lackoftalent.org/i2/service/991f3dc6116630c42308d5464c0d6a4e#institution
a aiiso:Institution ;
aiiso:organization http://lackoftalent.org/i2/service/f407066505a2683fbda1c3790f0ed7b3#institution ;
aiiso:part_of http://lackoftalent.org/i2/service/ee9a9d655a3d9f66cfb304d8c6dd0746#institution ;
dcterms:relation http://lackoftalent.org/i2/service/615b8df6fe91a113a87be0d6db03933e#institution ;
rdfs:seeAlso http://example.org/moreinfo/RutgersUniversity.html ;
owl:sameAs http://example.org/rights/Rutgers#resource ;
skos:exactMatch http://dbpedia.org/resource/Rutgers_University ;
dc:identifier "MARC org code",
"some other identifier",
"and yet another identifier" ;
rdfs:label "Rutgers, The State University of New Jersey"@en ;
dcterms:title "Rutgers, The State University of New Jersey"@en ;
dbpedia-owl:nickname "Rutgers"@en,
"Rutgers University"@en,
"RU"@en,
"Old Queens"@en ;
dbpedia-owl:established "1766-11-10"^^xsd:date ;
instid:nameLastChanged "1956-06-01"^^xsd:date ;
dbpedia-owl:country http://dbpedia.org/resource/United_States ;
dbpedia-owl:state http://dbpedia.org/resource/New_Jersey ;
dbpedia-owl:city http://dbpedia.org/resource/Piscataway_Township,_New_Jersey,
http://dbpedia.org/resource/New_Brunswick,_New_Jersey,
http://dbpedia.org/resource/Camden,_New_Jersey,
http://dbpedia.org/resource/Newark,_New_Jersey ;
dbpedia-owl:formerName "Rutgers University"@en,
"Rutgers College"@en,
"Queen's College"@en ;
foaf:homepage http://www.rutgers.edu ;
skos:note "Let's add some clarifying information here."@en ;
instid:domainName "rutgers.edu" ;
instid:contactInformation http://example.org/rutgers/contact/ .

http://lackoftalent.org/i2/service/f407066505a2683fbda1c3790f0ed7b3#institution
a instid:Library ;
aiiso:organization http://lackoftalent.org/i2/service/b73df7c6d59971d59a75995a081b087c#institution ;
aiiso:part_of http://lackoftalent.org/i2/service/aac2a594a0d88bf2e043646759641d3a#institution ;
dcterms:relation http://lackoftalent.org/i2/service/48e36a0ecdacc23852615c830b6fefb3#institution,
http://lackoftalent.org/i2/service/7c0ea887fe585b9529779289fecc3309#institution ;
rdfs:seeAlso http://example.org/moreinfo/RutgersUniversityLibraries.html ;
owl:sameAs http://example.org/rights/RutgersLibraries#resource ;
skos:exactMatch http://dbpedia.org/resource/Rutgers_University#Libraries_and_Museums ;
dc:identifier "MARC org code",
"ILL code",
"some other identifier" ;
rdfs:label "Rutgers University Libraries"@en ;
dcterms:title "Rutgers University Libraries"@en ;
dbpedia-owl:nickname "RUL"@en ;
dbpedia-owl:country http://dbpedia.org/resource/United_States ;
dbpedia-owl:state http://dbpedia.org/resource/New_Jersey ;
dbpedia-owl:city http://dbpedia.org/resource/Piscataway_Township,_New_Jersey,
http://dbpedia.org/resource/New_Brunswick,_New_Jersey,
http://dbpedia.org/resource/Camden,_New_Jersey,
http://dbpedia.org/resource/Newark,_New_Jersey ;
foaf:homepage http://www.libraries.rutgers.edu ;
skos:note "Let's add some clarifying information here."@en ;
instid:domainName "libraries.rutgers.edu" ;
instid:contactInformation http://example.org/rul/contact.html .

http://lackoftalent.org/i2/service/b73df7c6d59971d59a75995a081b087c#institution
a aiiso:Center ;
aiiso:part_of http://lackoftalent.org/i2/service/f407066505a2683fbda1c3790f0ed7b3#institution ;
rdfs:seeAlso http://example.org/moreinfo/RUL-SCC.html ;
owl:sameAs http://example.org/rights/ScholCommCtrRUL#resource ;
dc:identifier "some other identifier" ;
rdfs:label "Scholarly Communication Center"@en ;
dcterms:title "Scholarly Communication Center"@en ;
dbpedia-owl:nickname "SCC"@en ;
dbpedia-owl:country http://dbpedia.org/resource/United_States ;
dbpedia-owl:state http://dbpedia.org/resource/New_Jersey ;
dbpedia-owl:city http://dbpedia.org/resource/New_Brunswick,_New_Jersey ;
foaf:homepage http://www.scc.rutgers.edu ;
skos:note "Let's add some clarifying information here."@en ;
instid:domainName "scc.rutgers.edu" ;
instid:contactInformation http://example.org/scc/contact.html .

http://lackoftalent.org/i2/service/615b8df6fe91a113a87be0d6db03933e#institution
a aiiso:Institution ;
dcterms:relation http://lackoftalent.org/i2/service/991f3dc6116630c42308d5464c0d6a4e#institution ;
rdfs:seeAlso http://example.org/moreinfo/UMDNJ.html ;
owl:sameAs http://example.org/rights/UMDNJ#resource ;
skos:exactMatch http://dbpedia.org/resource/University_of_Medicine_and_Dentistry_of_New_Jersey ;
dc:identifier "MARC org code",
"some other identifier" ;
rdfs:label "University of Medicine and Dentistry of New Jersey"@en ;
dcterms:title "University of Medicine and Dentistry of New Jersey"@en ;
dbpedia-owl:nickname "UMDNJ"@en ;
dbpedia-owl:established "1970-01-01"^^xsd:date ;
dbpedia-owl:country http://dbpedia.org/resource/United_States ;
dbpedia-owl:state http://dbpedia.org/resource/New_Jersey ;
dbpedia-owl:city http://dbpedia.org/resource/Scotch_Plains,_New_Jersey,
http://dbpedia.org/resource/Stratford,_New_Jersey,
http://dbpedia.org/resource/Piscataway_Township,_New_Jersey,
http://dbpedia.org/resource/New_Brunswick,_New_Jersey,
http://dbpedia.org/resource/Camden,_New_Jersey,
http://dbpedia.org/resource/Newark,_New_Jersey ;
foaf:homepage http://www.umdnj.edu ;
skos:note "Let's add some clarifying information here."@en ;
instid:domainName "umdnj.edu" ;
instid:contactInformation http://example.org/umdnj/contact/ .

http://lackoftalent.org/i2/service/ee9a9d655a3d9f66cfb304d8c6dd0746#institution
a instid:AssociationOrSociety ;
rdfs:seeAlso http://example.org/moreinfo/AAU.html ;
owl:sameAs http://example.org/rights/AAU#resource ;
skos:exactMatch http://dbpedia.org/resource/Association_of_American_Universities ;
dc:identifier "some other identifier"@en ;
rdfs:label "Association of American Universities"@en ;
dcterms:title "Association of American Universities"@en ;
dbpedia-owl:nickname "AAU"@en ;
dbpedia-owl:established "1900-01-01"^^xsd:date ;
dbpedia-owl:country http://dbpedia.org/resource/United_States ;
dbpedia-owl:city http://dbpedia.org/resource/Washington,_D.C. ;
foaf:homepage http://www.aau.edu ;
skos:note "A note about the AAU"@en ;
instid:domainName "aau.edu" ;
instid:contactInformation http://example.org/aau/contact/ .

http://lackoftalent.org/i2/service/aac2a594a0d88bf2e043646759641d3a#institution
a instid:ConsortiumOrCollaborative ;
rdfs:seeAlso http://example.org/moreinfo/VALE-NJ.html ;
owl:sameAs http://example.org/rights/VALENJ#resource ;
dc:identifier "some other identifier"@en ;
rdfs:label "Virtual Academic Library Environment of New Jersey"@en ;
dcterms:title "Virtual Academic Library Environment of New Jersey"@en ;
dbpedia-owl:nickname "VALE-NJ"@en ;
dbpedia-owl:established "1998-01-01"^^xsd:date ;
dbpedia-owl:country http://dbpedia.org/resource/United_States ;
dbpedia-owl:state http://dbpedia.org/resource/New_Jersey ;
foaf:homepage http://www.valenj.org ;
skos:note "A note about VALE-NJ"@en ;
instid:domainName "valenj.org" ;
instid:contactInformation http://example.org/vale-nj/contact/ .

http://lackoftalent.org/i2/service/48e36a0ecdacc23852615c830b6fefb3#institution
a instid:Archive ;
dcterms:relation http://lackoftalent.org/i2/service/f407066505a2683fbda1c3790f0ed7b3#institution ;
owl:sameAs http://example.org/rights/NJSA#resource ;
rdfs:seeAlso http://example.org/moreinfo/NJSA.html ;
dc:identifier "some other identifier"@en ;
rdfs:label "New Jersey State Archives"@en ;
dcterms:title "New Jersey State Archives"@en ;
dbpedia-owl:nickname "NJSA"@en ;
dbpedia-owl:country http://dbpedia.org/resource/United_States ;
dbpedia-owl:state http://dbpedia.org/resource/New_Jersey ;
dbpedia-owl:city http://dbpedia.org/resource/Trenton,_New_Jersey ;
foaf:homepage http://www.state.nj.us/state/darm/links/archives.html ;
skos:note "A note about the NJ state archives"@en ;
instid:domainName "state.nj.us" ;
instid:contactInformation http://example.org/njsa/contact/ .

http://lackoftalent.org/i2/service/7c0ea887fe585b9529779289fecc3309#institution
a instid:MuseumOrHistoricalSociety ;
dcterms:relation http://lackoftalent.org/i2/service/f407066505a2683fbda1c3790f0ed7b3#institution ;
owl:sameAs http://example.org/rights/NJHS#resource ;
skos:exactMatch http://dbpedia.org/resource/New_Jersey_Historical_Society ;
rdfs:seeAlso http://example.org/moreinfo/NJHS.html ;
dc:identifier "some other identifier"@en ;
rdfs:label "New Jersey Historical Society"@en ;
dcterms:title "New Jersey Historical Society"@en ;
dbpedia-owl:nickname "NJHS"@en ;
dbpedia-owl:country http://dbpedia.org/resource/United_States ;
dbpedia-owl:state http://dbpedia.org/resource/New_Jersey ;
dbpedia-owl:city http://dbpedia.org/resource/Trenton,_New_Jersey ;
foaf:homepage http://www.jerseyhistory.org/ ;
skos:note "A note about the NJ historical society"@en ;
instid:domainName "jerseyhistory.org" ;
instid:contactInformation http://example.org/njhs/contact/ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment