From 745a4a26e8a66aa44f20a3da6efab7b998173dc7 Mon Sep 17 00:00:00 2001 From: brianjlowe Date: Wed, 11 Sep 2013 10:17:32 -0400 Subject: [PATCH 1/3] VIVO-256 migrate orcid to URI reference --- .../update/sparqlConstructs/additions/orcid.sparql | 11 +++++++++++ .../update/sparqlConstructs/additions/vcard6.sparql | 6 ------ .../update/sparqlConstructs/additions/vcard7.sparql | 2 -- .../sparqlConstructs/deletions/orcidDel.sparql | 9 +++++++++ rdf/tbox/filegraph/data-properties.owl | 13 ------------- rdf/tbox/filegraph/object-properties.owl | 7 +++++++ 6 files changed, 27 insertions(+), 21 deletions(-) create mode 100644 productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/orcid.sparql create mode 100644 productMods/WEB-INF/ontologies/update/sparqlConstructs/deletions/orcidDel.sparql diff --git a/productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/orcid.sparql b/productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/orcid.sparql new file mode 100644 index 00000000..4914dca2 --- /dev/null +++ b/productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/orcid.sparql @@ -0,0 +1,11 @@ +PREFIX vivo: +PREFIX owl: + +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) +} diff --git a/productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/vcard6.sparql b/productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/vcard6.sparql index 766faa3e..d5c0f26e 100644 --- a/productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/vcard6.sparql +++ b/productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/vcard6.sparql @@ -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 diff --git a/productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/vcard7.sparql b/productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/vcard7.sparql index 95c15654..39982679 100644 --- a/productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/vcard7.sparql +++ b/productMods/WEB-INF/ontologies/update/sparqlConstructs/additions/vcard7.sparql @@ -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 diff --git a/productMods/WEB-INF/ontologies/update/sparqlConstructs/deletions/orcidDel.sparql b/productMods/WEB-INF/ontologies/update/sparqlConstructs/deletions/orcidDel.sparql new file mode 100644 index 00000000..9cf17806 --- /dev/null +++ b/productMods/WEB-INF/ontologies/update/sparqlConstructs/deletions/orcidDel.sparql @@ -0,0 +1,9 @@ +PREFIX vivo: +PREFIX owl: + +CONSTRUCT { + ?s vivo:orcidId ?orcidString . +} WHERE { + ?s vivo:orcidId ?orcidString + FILTER(isLiteral(?orcidString)) +} diff --git a/rdf/tbox/filegraph/data-properties.owl b/rdf/tbox/filegraph/data-properties.owl index 608e71da..2026d144 100644 --- a/rdf/tbox/filegraph/data-properties.owl +++ b/rdf/tbox/filegraph/data-properties.owl @@ -1830,19 +1830,6 @@ use one freetextKeyword assertion for each keyword or phrase. - - - - orcid id - We can't yet assume that we will only have a single ORCID id for a person. -source: http://en.wikipedia.org/wiki/ORCID . - - -We wanted this property to be visible so that people would be aware that we intend to carry ORCID ids in VIVO for cross-reference. I don't believe any ORCID ids have been minted yet, but it's hard to imagine they would need to be private since the goal of having them is to disambiguate author references internationally. However, this and the researcherId and scopusId (also with domain foaf:Person) can stay as visible to self-editors for now as they will probably be used mostly in data ingest. It might be nice in the future to let people make their own decision about whether these are visible. - - - - diff --git a/rdf/tbox/filegraph/object-properties.owl b/rdf/tbox/filegraph/object-properties.owl index fed7d136..ef8d47b6 100644 --- a/rdf/tbox/filegraph/object-properties.owl +++ b/rdf/tbox/filegraph/object-properties.owl @@ -2069,6 +2069,13 @@ there is a measurement process p that has specified output m, a measurement datu + + + + orcid id + This is now an object property where the object value is a resource of the form <http://orcid.org/NNNN-NNNN-NNNN-NNNN>. This is to support connecting VIVO and ORCID in the linked data web. Note: a person can have multiple ORCID iDs. + + From b4f9e71084832a5d2c319049b577c8b25fc697d5 Mon Sep 17 00:00:00 2001 From: brianjlowe Date: Wed, 11 Sep 2013 11:01:40 -0400 Subject: [PATCH 2/3] VIVO-288 re-adding roleContributesTo and contributingRole --- rdf/tbox/filegraph/object-properties.owl | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/rdf/tbox/filegraph/object-properties.owl b/rdf/tbox/filegraph/object-properties.owl index ef8d47b6..0b9c619b 100644 --- a/rdf/tbox/filegraph/object-properties.owl +++ b/rdf/tbox/filegraph/object-properties.owl @@ -2068,8 +2068,9 @@ there is a measurement process p that has specified output m, a measurement datu + - + orcid id @@ -2077,6 +2078,23 @@ there is a measurement process p that has specified output m, a measurement datu + + + + + contributes to + + + + + + + + contributor + + + + From 4a434ddacb73d44eae7382a7da0f2957ab0cbada Mon Sep 17 00:00:00 2001 From: brianjlowe Date: Wed, 11 Sep 2013 12:30:06 -0400 Subject: [PATCH 3/3] re-adding hasResearchArea and researchAreaOf --- rdf/tbox/filegraph/appControls-temp.n3 | 5 +++++ rdf/tbox/filegraph/object-properties.owl | 16 ++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/rdf/tbox/filegraph/appControls-temp.n3 b/rdf/tbox/filegraph/appControls-temp.n3 index 0f9af29f..ef20a291 100644 --- a/rdf/tbox/filegraph/appControls-temp.n3 +++ b/rdf/tbox/filegraph/appControls-temp.n3 @@ -59,4 +59,9 @@ foaf:Person [ a owl:Restriction ; owl:someValuesFrom ; owl:onProperty + ] ; + rdfs:subClassOf + [ a owl:Restriction ; + owl:onProperty ; + owl:allValuesFrom ] . diff --git a/rdf/tbox/filegraph/object-properties.owl b/rdf/tbox/filegraph/object-properties.owl index 0b9c619b..0f0b4946 100644 --- a/rdf/tbox/filegraph/object-properties.owl +++ b/rdf/tbox/filegraph/object-properties.owl @@ -2095,6 +2095,22 @@ there is a measurement process p that has specified output m, a measurement datu + + + + research areas + + + + + + + + research area of + + + +