VIVO-256 migrate orcid to URI reference

This commit is contained in:
brianjlowe 2013-09-11 10:17:32 -04:00
parent 17b90964d0
commit 745a4a26e8
6 changed files with 27 additions and 21 deletions

View file

@ -0,0 +1,11 @@
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX owl: <http://www.w3.org/2002/07/owl#Thing>
CONSTRUCT {
?s vivo:orcidId ?orcidURI .
?orcidURI a owl:Thing .
} WHERE {
?s vivo:orcidId ?orcidString
FILTER(isLiteral(?orcidString))
BIND(IRI(concat("http://orcid.org/", str(?orcidString))) AS ?orcidURI)
}

View file

@ -9,12 +9,6 @@ CONSTRUCT {
_:primaryTelephone a v:Voice .
_:primaryTelephone a v:Work .
_:primaryTelephone v:telephone ?primaryPhoneNumber .
_:name v:hasTelephone _:fax .
_:fax a v:Telephone .
_:fax a v:Fax.
_:fax v:telephone ?faxNumber .
_:name v:hasAddress _:address .
_:address v:streetAddress ?streetAddress .
} WHERE {
?s arg:ARG_2000028 ?vcard .
?s vivo:primaryPhoneNumber ?primaryPhoneNumber

View file

@ -8,8 +8,6 @@ CONSTRUCT {
_:fax a v:Telephone .
_:fax a v:Fax.
_:fax v:telephone ?faxNumber .
_:name v:hasAddress _:address .
_:address v:streetAddress ?streetAddress .
} WHERE {
?s arg:ARG_2000028 ?vcard .
?s vivo:faxNumber ?faxNumber

View file

@ -0,0 +1,9 @@
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX owl: <http://www.w3.org/2002/07/owl#Thing>
CONSTRUCT {
?s vivo:orcidId ?orcidString .
} WHERE {
?s vivo:orcidId ?orcidString
FILTER(isLiteral(?orcidString))
}