From 23e0a4d390fbd9c1ca69c8b6d0ed188dbaf9b281 Mon Sep 17 00:00:00 2001 From: tworrall Date: Wed, 6 Nov 2013 15:51:33 -0500 Subject: [PATCH] VIVO-472 updated the rich-export sparql queries --- .../WEB-INF/rich-export/address/address.sparql | 6 +++++- .../address/locationOfAddress.sparql | 7 +++++-- .../rich-export/advising/advisee.sparql | 15 +++++++++++---- .../advising/adviseesDegreeAlt.sparql | 18 ++++++++++++++---- .../advising/adviseesEducationEndDate.sparql | 14 +++++++++++--- .../adviseesEducationalInsitituionAlt.sparql | 17 +++++++++++++---- .../advising/associatedDegree.sparql | 4 +++- .../associatedEducationalTraining.sparql | 3 ++- .../associatedEducationalTrainingAlt.sparql | 14 +++++++++++--- .../WEB-INF/rich-export/award/award.sparql | 6 ++++-- .../award/conferringOrganization.sparql | 7 +++++-- .../award/sponsoringOrganization.sparql | 7 +++++-- .../rich-export/credential/credential.sparql | 6 ++++-- .../credentialGoverningAuthority.sparql | 6 ++++-- .../credential/issuedCredential.sparql | 3 ++- .../issuedCredentialExpirationDate.sparql | 3 ++- .../issuedCredentialIssueDate.sparql | 3 ++- .../issuedCredentialSubjectArea.sparql | 3 ++- .../educationalTraining.sparql | 4 +++- .../educationalTrainingDegree.sparql | 9 +++++++-- .../educationalTrainingEndDate.sparql | 4 +++- .../educationalTrainingLocation.sparql | 11 ++++++++--- .../educationalTrainingOrganization.sparql | 8 ++++++-- .../educationalTrainingStartDate.sparql | 4 +++- .../rich-export/funding/grantAwardedBy.sparql | 17 ++++++++++------- .../WEB-INF/rich-export/funding/grants.sparql | 16 ++++++++++------ .../rich-export/membership/memberRoleIn.sparql | 12 ++++-------- .../rich-export/outreach/outreachRoleIn.sparql | 12 ++++-------- .../WEB-INF/rich-export/patent/assignee.sparql | 5 +++-- .../rich-export/patent/inventors.sparql | 9 ++++++--- .../WEB-INF/rich-export/patent/patent.sparql | 5 +++-- .../rich-export/patent/patentFiledDate.sparql | 5 +++-- .../rich-export/patent/patentIssuedDate.sparql | 5 +++-- .../position/locationForPosition.sparql | 10 +++++++--- .../position/organizationForPosition.sparql | 7 +++++-- .../position/subOrganizationForPosition.sparql | 10 +++++++--- .../superOrganizationForPosition.sparql | 8 +++++--- .../presentation/meetingLocation.sparql | 14 ++++++-------- .../presentation/meetingName.sparql | 11 ++++------- .../presentation/presenterRoleIn.sparql | 12 ++++-------- .../publication/associatedJournal.sparql | 7 +++++-- .../rich-export/publication/authors.sparql | 14 ++++++++++---- .../publication/presentedAtEvent.sparql | 8 ++++++-- .../publication/presentedAtEventEndDate.sparql | 9 ++++++--- .../presentedAtEventLocation.sparql | 9 ++++++--- .../presentedAtEventStartDate.sparql | 7 +++++-- .../rich-export/publication/publication.sparql | 7 +++++-- .../publication/publicationDate.sparql | 7 +++++-- .../publicationPartOfInfoResource.sparql | 9 ++++++--- .../publication/publicationReproducedIn.sparql | 7 +++++-- .../publication/publicationStatus.sparql | 7 +++++-- .../publication/publicationURL.sparql | 11 ++++++++--- .../publication/publisher_variant1.sparql | 7 +++++-- .../publication/publisher_variant2.sparql | 7 +++++-- .../rich-export/teaching/teacherRoleIn.sparql | 6 ++++-- 55 files changed, 305 insertions(+), 157 deletions(-) diff --git a/productMods/WEB-INF/rich-export/address/address.sparql b/productMods/WEB-INF/rich-export/address/address.sparql index 97fefb62..5fb4a5c6 100644 --- a/productMods/WEB-INF/rich-export/address/address.sparql +++ b/productMods/WEB-INF/rich-export/address/address.sparql @@ -1,8 +1,12 @@ PREFIX core: +PREFIX obo: +PREFIX vcard: + CONSTRUCT { ?address ?property ?object . } WHERE { - PERSON_URI core:mailingAddress ?address . + PERSON_URI obo:ARG_2000028 ?vcard . + ?vcard vcard:hasAddress ?address . ?address ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/address/locationOfAddress.sparql b/productMods/WEB-INF/rich-export/address/locationOfAddress.sparql index 47152369..5bfba019 100644 --- a/productMods/WEB-INF/rich-export/address/locationOfAddress.sparql +++ b/productMods/WEB-INF/rich-export/address/locationOfAddress.sparql @@ -1,9 +1,12 @@ PREFIX core: +PREFIX obo: +PREFIX vcard: CONSTRUCT { ?geographicLocation ?property ?object . } WHERE { - PERSON_URI core:mailingAddress ?address . - ?address core:hasGeographicLocation ?geographicLocation . + PERSON_URI obo:ARG_2000028 ?vcard . + ?vcard vcard:hasAddress ?address . + ?address obo:RO_0001025 ?geographicLocation . ?geographicLocation ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/advising/advisee.sparql b/productMods/WEB-INF/rich-export/advising/advisee.sparql index 449df609..ba5e8ab6 100644 --- a/productMods/WEB-INF/rich-export/advising/advisee.sparql +++ b/productMods/WEB-INF/rich-export/advising/advisee.sparql @@ -1,9 +1,16 @@ PREFIX core: +PREFIX obo: +PREFIX foaf: CONSTRUCT { - ?person ?property ?object . + ?advisee ?property ?object . } WHERE { - PERSON_URI core:advisorIn ?advisingRelationship . - ?advisingRelationship core:advisee ?person . - ?person ?property ?object . + PERSON_URI core:relatedBy ?advisingRelationship . + ?advisingRelationship a core:AdvisingRelationship . + ?advisingRelationship core:relates ?advisee . + ?advisee a foaf:Person . + ?advisee obo:RO_0000053 ?adviseeRole . + ?adviseeRole a core:AdviseeRole . + ?adviseeRole core:relatedBy ?advisingRelationship . + ?advisee ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/advising/adviseesDegreeAlt.sparql b/productMods/WEB-INF/rich-export/advising/adviseesDegreeAlt.sparql index aa9225e3..83117529 100644 --- a/productMods/WEB-INF/rich-export/advising/adviseesDegreeAlt.sparql +++ b/productMods/WEB-INF/rich-export/advising/adviseesDegreeAlt.sparql @@ -1,11 +1,21 @@ PREFIX core: +PREFIX obo: +PREFIX foaf: CONSTRUCT { ?degree ?property ?object } WHERE { - PERSON_URI core:advisorIn ?advisingRelationship . - ?advisingRelationship core:advisee ?advisee . - ?advisee core:educationalTraining ?educationalTraining . - ?educationalTraining core:degreeEarned ?degree . + PERSON_URI core:relatedBy ?advisingRelationship . + ?advisingRelationship a core:AdvisingRelationship . + ?advisingRelationship core:relates ?advisee . + ?advisee a foaf:Person . + ?advisee obo:RO_0000053 ?adviseeRole . + ?adviseeRole a core:AdviseeRole . + ?adviseeRole core:relatedBy ?advisingRelationship . + ?advisee core:relates ?educationalTraining . + ?educationalTraining a core:EducationalProcess . + ?educationalTraining obo:RO_0002234 ?awardedDegree . + ?awardedDegree core:relates ?degree . + ?degree a core:AcademicDegree . ?degree ?property ?object } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/advising/adviseesEducationEndDate.sparql b/productMods/WEB-INF/rich-export/advising/adviseesEducationEndDate.sparql index 48b726d0..ccc4acd4 100644 --- a/productMods/WEB-INF/rich-export/advising/adviseesEducationEndDate.sparql +++ b/productMods/WEB-INF/rich-export/advising/adviseesEducationEndDate.sparql @@ -1,11 +1,19 @@ PREFIX core: +PREFIX obo: +PREFIX foaf: CONSTRUCT { ?dateTimeValue ?property ?object . } WHERE { - PERSON_URI core:advisorIn ?advisingRelationship . - ?advisingRelationship core:advisee ?advisee . - ?advisee core:educationalTraining ?educationalTraining . + PERSON_URI core:relatedBy ?advisingRelationship . + ?advisingRelationship a core:AdvisingRelationship . + ?advisingRelationship core:relates ?advisee . + ?advisee a foaf:Person . + ?advisee obo:RO_0000053 ?adviseeRole . + ?adviseeRole a core:AdviseeRole . + ?adviseeRole core:relatedBy ?advisingRelationship . + ?advisee core:relates ?educationalTraining . + ?educationalTraining a core:EducationalProcess . ?educationalTraining core:dateTimeInterval ?dateTimeInterval . ?dateTimeInterval core:end ?dateTimeValue . ?dateTimeValue ?property ?object . diff --git a/productMods/WEB-INF/rich-export/advising/adviseesEducationalInsitituionAlt.sparql b/productMods/WEB-INF/rich-export/advising/adviseesEducationalInsitituionAlt.sparql index d715cc60..5332ca71 100644 --- a/productMods/WEB-INF/rich-export/advising/adviseesEducationalInsitituionAlt.sparql +++ b/productMods/WEB-INF/rich-export/advising/adviseesEducationalInsitituionAlt.sparql @@ -1,12 +1,21 @@ PREFIX core: +PREFIX obo: +PREFIX foaf: PREFIX rdfs: CONSTRUCT { ?educationalInstitution rdfs:label ?label } WHERE { - PERSON_URI core:advisorIn ?advisingRelationship . - ?advisingRelationship core:advisee ?advisee . - ?advisee core:educationalTraining ?educationalTraining . - ?educationalTraining core:trainingAtOrganization ?educationalInstitution . + PERSON_URI core:relatedBy ?advisingRelationship . + ?advisingRelationship a core:AdvisingRelationship . + ?advisingRelationship core:relates ?advisee . + ?advisee a foaf:Person . + ?advisee obo:RO_0000053 ?adviseeRole . + ?adviseeRole a core:AdviseeRole . + ?adviseeRole core:relatedBy ?advisingRelationship . + ?advisee core:relates ?educationalTraining . + ?educationalTraining a core:EducationalProcess . + ?educationalTraining obo:RO_0000057 ?educationalInstitution . + ?educationalInstitution a foaf:Organization . ?educationalInstitution rdfs:label ?label } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/advising/associatedDegree.sparql b/productMods/WEB-INF/rich-export/advising/associatedDegree.sparql index 4ee7fe12..e3ba5b83 100644 --- a/productMods/WEB-INF/rich-export/advising/associatedDegree.sparql +++ b/productMods/WEB-INF/rich-export/advising/associatedDegree.sparql @@ -1,9 +1,11 @@ PREFIX core: +PREFIX obo: CONSTRUCT { ?degree ?property ?object . } WHERE { - PERSON_URI core:advisorIn ?advisingRelationship . + PERSON_URI core:relatedBy ?advisingRelationship . + ?advisingRelationship a core:AdvisingRelationship . ?advisingRelationship core:degreeCandidacy ?degree . ?degree ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/advising/associatedEducationalTraining.sparql b/productMods/WEB-INF/rich-export/advising/associatedEducationalTraining.sparql index f9f59ed5..e417d74f 100644 --- a/productMods/WEB-INF/rich-export/advising/associatedEducationalTraining.sparql +++ b/productMods/WEB-INF/rich-export/advising/associatedEducationalTraining.sparql @@ -3,7 +3,8 @@ PREFIX core: CONSTRUCT { ?educationalTraining ?property ?object . } WHERE { - PERSON_URI core:advisorIn ?advisingRelationship . + PERSON_URI core:relatedBy ?advisingRelationship . + ?advisingRelationship a core:AdvisingRelationship . ?advisingRelationship core:advisingContributionTo ?educationalTraining . ?educationalTraining ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/advising/associatedEducationalTrainingAlt.sparql b/productMods/WEB-INF/rich-export/advising/associatedEducationalTrainingAlt.sparql index 29a31bc9..a0a60c33 100644 --- a/productMods/WEB-INF/rich-export/advising/associatedEducationalTrainingAlt.sparql +++ b/productMods/WEB-INF/rich-export/advising/associatedEducationalTrainingAlt.sparql @@ -1,10 +1,18 @@ PREFIX core: +PREFIX obo: +PREFIX foaf: CONSTRUCT { ?educationalTraining ?property ?object . } WHERE { - PERSON_URI core:advisorIn ?advisingRelationship . - ?advisingRelationship core:advisee ?advisee . - ?advisee core:educationalTraining ?educationalTraining . + PERSON_URI core:relatedBy ?advisingRelationship . + ?advisingRelationship a core:AdvisingRelationship . + ?advisingRelationship core:relates ?advisee . + ?advisee a foaf:Person . + ?advisee obo:RO_0000053 ?adviseeRole . + ?adviseeRole a core:AdviseeRole . + ?adviseeRole core:relatedBy ?advisingRelationship . + ?advisee core:relates ?educationalTraining . + ?educationalTraining a core:EducationalProcess . ?educationalTraining ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/award/award.sparql b/productMods/WEB-INF/rich-export/award/award.sparql index db731058..353e143f 100644 --- a/productMods/WEB-INF/rich-export/award/award.sparql +++ b/productMods/WEB-INF/rich-export/award/award.sparql @@ -3,7 +3,9 @@ PREFIX core: CONSTRUCT { ?award ?property ?object . } WHERE { - PERSON_URI core:awardOrHonor ?awardReceipt . - ?awardReceipt core:receiptOf ?award . + PERSON_URI core:relatedBy ?awardReceipt . + ?awardReceipt a core:AwardReceipt . + ?awardReceipt core:relates ?award . + ?award a core:Award . ?award ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/award/conferringOrganization.sparql b/productMods/WEB-INF/rich-export/award/conferringOrganization.sparql index 43bc1361..2c735ba4 100644 --- a/productMods/WEB-INF/rich-export/award/conferringOrganization.sparql +++ b/productMods/WEB-INF/rich-export/award/conferringOrganization.sparql @@ -1,9 +1,12 @@ PREFIX core: +PREFIX foaf: CONSTRUCT { ?organization ?property ?object . } WHERE { - PERSON_URI core:awardOrHonor ?awardReceipt . - ?awardReceipt core:awardConferredBy ?organization . + PERSON_URI core:relatedBy ?awardReceipt . + ?awardReceipt a core:AwardReceipt . + ?awardReceipt core:assignedBy ?organization . + ?organization a foaf:Organization . ?organization ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/award/sponsoringOrganization.sparql b/productMods/WEB-INF/rich-export/award/sponsoringOrganization.sparql index 9de3f5a9..e686fa86 100644 --- a/productMods/WEB-INF/rich-export/award/sponsoringOrganization.sparql +++ b/productMods/WEB-INF/rich-export/award/sponsoringOrganization.sparql @@ -1,10 +1,13 @@ PREFIX core: +PREFIX foaf: CONSTRUCT { ?organization ?property ?object . } WHERE { - PERSON_URI core:awardOrHonor ?awardReceipt . - ?awardReceipt core:receiptOf ?award . + PERSON_URI core:relatedBy ?awardReceipt . + ?awardReceipt a core:AwardReceipt . + ?awardReceipt core:relates ?award . + ?award a core:Award . ?award core:sponsoredBy ?organization . ?organization ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/credential/credential.sparql b/productMods/WEB-INF/rich-export/credential/credential.sparql index dafb6f40..124317f0 100644 --- a/productMods/WEB-INF/rich-export/credential/credential.sparql +++ b/productMods/WEB-INF/rich-export/credential/credential.sparql @@ -3,7 +3,9 @@ PREFIX core: CONSTRUCT { ?credential ?property ?object . } WHERE { - PERSON_URI core:hasCredential ?issuedCredential . - ?issuedCredential core:issuanceOfCredential ?credential . + PERSON_URI core:relatedBy ?issuedCredential . + ?issuedCredential a core:IssuedCredential . + ?issuedCredential core:relates ?credential . + ?credential a core:Credential . ?credential ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/credential/credentialGoverningAuthority.sparql b/productMods/WEB-INF/rich-export/credential/credentialGoverningAuthority.sparql index 4650bb53..79bb6cb2 100644 --- a/productMods/WEB-INF/rich-export/credential/credentialGoverningAuthority.sparql +++ b/productMods/WEB-INF/rich-export/credential/credentialGoverningAuthority.sparql @@ -3,8 +3,10 @@ PREFIX core: CONSTRUCT { ?organization ?property ?object . } WHERE { - PERSON_URI core:hasCredential ?issuedCredential . - ?issuedCredential core:issuanceOfCredential ?credential . + PERSON_URI core:relatedBy ?issuedCredential . + ?issuedCredential a core:IssuedCredential . + ?issuedCredential core:relates ?credential . + ?credential a core:Credential . ?credential core:hasGoverningAuthority ?organization . ?organization ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/credential/issuedCredential.sparql b/productMods/WEB-INF/rich-export/credential/issuedCredential.sparql index 88b8f9ec..e055c153 100644 --- a/productMods/WEB-INF/rich-export/credential/issuedCredential.sparql +++ b/productMods/WEB-INF/rich-export/credential/issuedCredential.sparql @@ -3,6 +3,7 @@ PREFIX core: CONSTRUCT { ?issuedCredential ?property ?object . } WHERE { - PERSON_URI core:hasCredential ?issuedCredential . + PERSON_URI core:relatedBy ?issuedCredential . + ?issuedCredential a core:IssuedCredential . ?issuedCredential ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/credential/issuedCredentialExpirationDate.sparql b/productMods/WEB-INF/rich-export/credential/issuedCredentialExpirationDate.sparql index c9247cb9..d59f5119 100644 --- a/productMods/WEB-INF/rich-export/credential/issuedCredentialExpirationDate.sparql +++ b/productMods/WEB-INF/rich-export/credential/issuedCredentialExpirationDate.sparql @@ -4,7 +4,8 @@ CONSTRUCT { ?date ?property ?object . ?precision ?property2 ?object2 . } WHERE { - PERSON_URI core:hasCredential ?issuedCredential . + PERSON_URI core:relatedBy ?issuedCredential . + ?issuedCredential a core:IssuedCredential . ?issuedCredential core:expirationDate ?date . ?date ?property ?object . ?date core:dateTimePrecision ?precision . diff --git a/productMods/WEB-INF/rich-export/credential/issuedCredentialIssueDate.sparql b/productMods/WEB-INF/rich-export/credential/issuedCredentialIssueDate.sparql index f893aa3d..22a41b16 100644 --- a/productMods/WEB-INF/rich-export/credential/issuedCredentialIssueDate.sparql +++ b/productMods/WEB-INF/rich-export/credential/issuedCredentialIssueDate.sparql @@ -4,7 +4,8 @@ CONSTRUCT { ?date ?property ?object . ?precision ?property2 ?object2 . } WHERE { - PERSON_URI core:hasCredential ?issuedCredential . + PERSON_URI core:relatedBy ?issuedCredential . + ?issuedCredential a core:IssuedCredential . ?issuedCredential core:dateIssued ?date . ?date ?property ?object . ?date core:dateTimePrecision ?precision . diff --git a/productMods/WEB-INF/rich-export/credential/issuedCredentialSubjectArea.sparql b/productMods/WEB-INF/rich-export/credential/issuedCredentialSubjectArea.sparql index c76b85b6..afc265c9 100644 --- a/productMods/WEB-INF/rich-export/credential/issuedCredentialSubjectArea.sparql +++ b/productMods/WEB-INF/rich-export/credential/issuedCredentialSubjectArea.sparql @@ -3,7 +3,8 @@ PREFIX core: CONSTRUCT { ?subjectArea ?property ?object . } WHERE { - PERSON_URI core:hasCredential ?issuedCredential . + PERSON_URI core:relatedBy ?issuedCredential . + ?issuedCredential a core:IssuedCredential . ?issuedCredential core:hasSubjectArea ?subjectArea . ?subjectArea ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/educationalTraining/educationalTraining.sparql b/productMods/WEB-INF/rich-export/educationalTraining/educationalTraining.sparql index 68c16cc1..2b43a303 100644 --- a/productMods/WEB-INF/rich-export/educationalTraining/educationalTraining.sparql +++ b/productMods/WEB-INF/rich-export/educationalTraining/educationalTraining.sparql @@ -1,8 +1,10 @@ PREFIX core: +PREFIX obo: CONSTRUCT { ?educationalTraining ?property ?object . } WHERE { - PERSON_URI core:educationalTraining ?educationalTraining . + PERSON_URI obo:RO_0000056 ?educationalTraining . + ?educationalTraining a core:EducationalProcess . ?educationalTraining ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/educationalTraining/educationalTrainingDegree.sparql b/productMods/WEB-INF/rich-export/educationalTraining/educationalTrainingDegree.sparql index 07961267..27fb7508 100644 --- a/productMods/WEB-INF/rich-export/educationalTraining/educationalTrainingDegree.sparql +++ b/productMods/WEB-INF/rich-export/educationalTraining/educationalTrainingDegree.sparql @@ -1,9 +1,14 @@ PREFIX core: +PREFIX obo: CONSTRUCT { ?degree ?property ?object . } WHERE { - PERSON_URI core:educationalTraining ?educationalTraining . - ?educationalTraining core:degreeEarned ?degree . + PERSON_URI obo:RO_0000056 ?educationalTraining . + ?educationalTraining a core:EducationalProcess . + ?educationalTraining obo:RO_0002234 ?awardedDegree . + ?awardedDegree a core:AwardedDegree . + ?awardedDegree core:relates ?degree . + ?degree a core:AcademicDegree . ?degree ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/educationalTraining/educationalTrainingEndDate.sparql b/productMods/WEB-INF/rich-export/educationalTraining/educationalTrainingEndDate.sparql index 095f8c4a..1ccdd587 100644 --- a/productMods/WEB-INF/rich-export/educationalTraining/educationalTrainingEndDate.sparql +++ b/productMods/WEB-INF/rich-export/educationalTraining/educationalTrainingEndDate.sparql @@ -1,10 +1,12 @@ PREFIX core: +PREFIX obo: CONSTRUCT { ?dateTimeInterval core:end ?date . ?date ?property ?object . } WHERE { - PERSON_URI core:educationalTraining ?educationalTraining . + PERSON_URI obo:RO_0000056 ?educationalTraining . + ?educationalTraining a core:EducationalProcess . ?educationalTraining core:dateTimeInterval ?dateTimeInterval . ?dateTimeInterval core:end ?date . ?date ?property ?object . diff --git a/productMods/WEB-INF/rich-export/educationalTraining/educationalTrainingLocation.sparql b/productMods/WEB-INF/rich-export/educationalTraining/educationalTrainingLocation.sparql index 89b4d14a..2edff7fe 100644 --- a/productMods/WEB-INF/rich-export/educationalTraining/educationalTrainingLocation.sparql +++ b/productMods/WEB-INF/rich-export/educationalTraining/educationalTrainingLocation.sparql @@ -1,10 +1,15 @@ PREFIX core: +PREFIX obo: +PREFIX foaf: CONSTRUCT { ?geographicLocation ?property ?object . } WHERE { - PERSON_URI core:educationalTraining ?educationalTraining . - ?educationalTraining core:trainingAtOrganization ?organization . - ?organization core:hasGeographicLocation ?geographicLocation . + PERSON_URI obo:RO_0000056 ?educationalTraining . + ?educationalTraining a core:EducationalProcess . + ?educationalTraining obo:RO_0000057 ?organization . + ?organization a foaf:Organization . + ?organization obo:RO_0001025 ?geographicLocation . + ?geographicLocation a core:GeographicLocation . ?geographicLocation ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/educationalTraining/educationalTrainingOrganization.sparql b/productMods/WEB-INF/rich-export/educationalTraining/educationalTrainingOrganization.sparql index 32221ff0..188ea661 100644 --- a/productMods/WEB-INF/rich-export/educationalTraining/educationalTrainingOrganization.sparql +++ b/productMods/WEB-INF/rich-export/educationalTraining/educationalTrainingOrganization.sparql @@ -1,9 +1,13 @@ PREFIX core: +PREFIX obo: +PREFIX foaf: CONSTRUCT { ?organization ?property ?object . } WHERE { - PERSON_URI core:educationalTraining ?educationalTraining . - ?educationalTraining core:trainingAtOrganization ?organization . + PERSON_URI obo:RO_0000056 ?educationalTraining . + ?educationalTraining a core:EducationalProcess . + ?educationalTraining obo:RO_0000057 ?organization . + ?organization a foaf:Organization . ?organization ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/educationalTraining/educationalTrainingStartDate.sparql b/productMods/WEB-INF/rich-export/educationalTraining/educationalTrainingStartDate.sparql index 95023460..f7ed31f4 100644 --- a/productMods/WEB-INF/rich-export/educationalTraining/educationalTrainingStartDate.sparql +++ b/productMods/WEB-INF/rich-export/educationalTraining/educationalTrainingStartDate.sparql @@ -1,9 +1,11 @@ PREFIX core: +PREFIX obo: CONSTRUCT { ?date ?property ?object . } WHERE { - PERSON_URI core:educationalTraining ?educationalTraining . + PERSON_URI obo:RO_0000056 ?educationalTraining . + ?educationalTraining a core:EducationalProcess . ?educationalTraining core:dateTimeInterval ?dateTimeInterval . ?dateTimeInterval core:start ?date . ?date ?property ?object . diff --git a/productMods/WEB-INF/rich-export/funding/grantAwardedBy.sparql b/productMods/WEB-INF/rich-export/funding/grantAwardedBy.sparql index 52113cf4..8b03e590 100644 --- a/productMods/WEB-INF/rich-export/funding/grantAwardedBy.sparql +++ b/productMods/WEB-INF/rich-export/funding/grantAwardedBy.sparql @@ -1,20 +1,23 @@ PREFIX core: -PREFIX rdf: +PREFIX foaf: PREFIX rdfs: CONSTRUCT { - ?investigatorRole core:roleContributesTo ?grant . - ?grant core:grantAwardedBy ?awardingOrganization . ?awardingOrganization rdfs:label ?label } WHERE { { - {PERSON_URI core:hasPrincipalInvestigatorRole ?investigatorRole } + {PERSON_URI core:relatedBy ?investigatorRole . + ?investigatorRole a core:PrincipalInvestigatorRole + } union - {PERSON_URI core:hasCo-PrincipalInvestigatorRole ?investigatorRole } + {PERSON_URI core:relatedBy ?investigatorRole . + ?investigatorRole a core:CoPrincipalInvestigatorRole + } } - ?investigatorRole core:roleContributesTo ?grant . + ?investigatorRole core:relatedBy ?grant . ?grant a core:Grant . - ?grant core:grantAwardedBy ?awardingOrganization . + ?grant core:assignedBy ?awardingOrganization . + ?awardingOrganization a foaf:Organization . ?awardingOrganization rdfs:label ?label } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/funding/grants.sparql b/productMods/WEB-INF/rich-export/funding/grants.sparql index a7109ecc..3d0df166 100644 --- a/productMods/WEB-INF/rich-export/funding/grants.sparql +++ b/productMods/WEB-INF/rich-export/funding/grants.sparql @@ -3,15 +3,19 @@ PREFIX rdf: CONSTRUCT { ?grant ?property ?object . - ?investigatorRole core:roleContributesTo ?grant . + ?investigatorRole core:relatedBy ?grant . } WHERE { - { - {PERSON_URI core:hasPrincipalInvestigatorRole ?investigatorRole } - union - {PERSON_URI core:hasCo-PrincipalInvestigatorRole ?investigatorRole } + { + { PERSON_URI core:relatedBy ?investigatorRole . + ?investigatorRole a core:PrincipalInvestigatorRole + } + union + { PERSON_URI core:relatedBy ?investigatorRole . + ?investigatorRole a core:CoPrincipalInvestigatorRole + } } - ?investigatorRole core:roleContributesTo ?grant . + ?investigatorRole core:relatedBy ?grant . ?grant a core:Grant . ?grant ?property ?object } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/membership/memberRoleIn.sparql b/productMods/WEB-INF/rich-export/membership/memberRoleIn.sparql index 06815f0d..165c83c8 100644 --- a/productMods/WEB-INF/rich-export/membership/memberRoleIn.sparql +++ b/productMods/WEB-INF/rich-export/membership/memberRoleIn.sparql @@ -1,15 +1,11 @@ PREFIX core: +PREFIX obo: CONSTRUCT { ?endeavor ?property ?object . } WHERE { - PERSON_URI core:hasMemberRole ?memberRole . - - { - {?memberRole core:roleRealizedIn ?endeavor } - union - {?memberRole core:roleContributesTo ?endeavor } - } - + PERSON_URI obo:RO_0000053 ?memberRole . + ?memberRole a core:MemberRole . + ?memberRole core:roleContributesTo ?endeavor . ?endeavor ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/outreach/outreachRoleIn.sparql b/productMods/WEB-INF/rich-export/outreach/outreachRoleIn.sparql index fd103df0..c0c6e60a 100644 --- a/productMods/WEB-INF/rich-export/outreach/outreachRoleIn.sparql +++ b/productMods/WEB-INF/rich-export/outreach/outreachRoleIn.sparql @@ -1,15 +1,11 @@ PREFIX core: +PREFIX obo: CONSTRUCT { ?endeavor ?property ?object . } WHERE { - PERSON_URI core:hasOutreachProviderRole ?outreachRole . - - { - { ?memberRole core:roleRealizedIn ?endeavor } - union - { ?memberRole core:roleContributesTo ?endeavor } - } - + PERSON_URI obo:RO_0000053 ?outreachRole . + ?outreachRole a core:OutreachProviderRole . + ?outreachRole core:roleContributesTo ?endeavor . ?endeavor ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/patent/assignee.sparql b/productMods/WEB-INF/rich-export/patent/assignee.sparql index 13befc4c..48c11d30 100644 --- a/productMods/WEB-INF/rich-export/patent/assignee.sparql +++ b/productMods/WEB-INF/rich-export/patent/assignee.sparql @@ -5,8 +5,9 @@ PREFIX bibo: CONSTRUCT { ?assignee ?property ?object . } WHERE { - PERSON_URI core:authorInAuthorship ?authorship . - ?authorship core:linkedInformationResource ?patent . + PERSON_URI core:relatedBy ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?patent . ?patent rdf:type bibo:Patent . ?patent core:assignee ?assignee . ?assignee ?property ?object . diff --git a/productMods/WEB-INF/rich-export/patent/inventors.sparql b/productMods/WEB-INF/rich-export/patent/inventors.sparql index 3563b082..f14a7994 100644 --- a/productMods/WEB-INF/rich-export/patent/inventors.sparql +++ b/productMods/WEB-INF/rich-export/patent/inventors.sparql @@ -1,13 +1,16 @@ PREFIX core: PREFIX rdf: PREFIX bibo: +PREFIX foaf: CONSTRUCT { ?person ?property ?object . } WHERE { - PERSON_URI core:authorInAuthorship ?authorship . - ?authorship core:linkedInformationResource ?patent . + PERSON_URI core:relatedBy ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?patent . ?patent rdf:type bibo:Patent . - ?authorship core:linkedAuthor ?person . + ?authorship core:relates ?person . + ?person a foaf:Person . ?person ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/patent/patent.sparql b/productMods/WEB-INF/rich-export/patent/patent.sparql index 9c31f723..2cd24159 100644 --- a/productMods/WEB-INF/rich-export/patent/patent.sparql +++ b/productMods/WEB-INF/rich-export/patent/patent.sparql @@ -5,8 +5,9 @@ PREFIX bibo: CONSTRUCT { ?patent ?property ?object . } WHERE { - PERSON_URI core:authorInAuthorship ?authorship . - ?authorship core:linkedInformationResource ?patent . + PERSON_URI core:relatedBy ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?patent . ?patent rdf:type bibo:Patent . ?patent ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/patent/patentFiledDate.sparql b/productMods/WEB-INF/rich-export/patent/patentFiledDate.sparql index c6923acf..13dd7506 100644 --- a/productMods/WEB-INF/rich-export/patent/patentFiledDate.sparql +++ b/productMods/WEB-INF/rich-export/patent/patentFiledDate.sparql @@ -6,8 +6,9 @@ CONSTRUCT { ?date ?property ?object . ?precision ?property2 ?object2 . } WHERE { - PERSON_URI core:authorInAuthorship ?authorship . - ?authorship core:linkedInformationResource ?patent . + PERSON_URI core:relatedBy ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?patent . ?patent rdf:type bibo:Patent . ?patent core:dateFiled ?date . ?date ?property ?object . diff --git a/productMods/WEB-INF/rich-export/patent/patentIssuedDate.sparql b/productMods/WEB-INF/rich-export/patent/patentIssuedDate.sparql index d8d32c00..16785dc4 100644 --- a/productMods/WEB-INF/rich-export/patent/patentIssuedDate.sparql +++ b/productMods/WEB-INF/rich-export/patent/patentIssuedDate.sparql @@ -6,8 +6,9 @@ CONSTRUCT { ?date ?property ?object . ?precision ?property2 ?object2 . } WHERE { - PERSON_URI core:authorInAuthorship ?authorship . - ?authorship core:linkedInformationResource ?patent . + PERSON_URI core:relatedBy ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?patent . ?patent rdf:type bibo:Patent . ?patent core:dateIssued ?date . ?date ?property ?object . diff --git a/productMods/WEB-INF/rich-export/position/locationForPosition.sparql b/productMods/WEB-INF/rich-export/position/locationForPosition.sparql index 5ebd9242..e1ad43bc 100644 --- a/productMods/WEB-INF/rich-export/position/locationForPosition.sparql +++ b/productMods/WEB-INF/rich-export/position/locationForPosition.sparql @@ -1,12 +1,16 @@ PREFIX core: PREFIX rdfs: +PREFIX foaf: +PREFIX obo: CONSTRUCT { ?organization core:hasGeographicLocation ?geographicLocation . ?geographicLocation rdfs:label ?label . } WHERE { - PERSON_URI core:personInPosition ?position . - ?position core:positionInOrganization ?organization . - ?organization core:hasGeographicLocation ?geographicLocation . + PERSON_URI core:relatedBy ?position . + ?position a core:Position . + ?position core:relates ?organization . + ?organization a foaf:Organization . + ?organization obo:RO_0001025 ?geographicLocation . ?geographicLocation rdfs:label ?label . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/position/organizationForPosition.sparql b/productMods/WEB-INF/rich-export/position/organizationForPosition.sparql index 2c771c22..dd9d5e0d 100644 --- a/productMods/WEB-INF/rich-export/position/organizationForPosition.sparql +++ b/productMods/WEB-INF/rich-export/position/organizationForPosition.sparql @@ -1,11 +1,14 @@ PREFIX core: PREFIX rdfs: +PREFIX foaf: CONSTRUCT { ?position core:positionInOrganization ?organization . ?organization rdfs:label ?label . } WHERE { - PERSON_URI core:personInPosition ?position . - ?position core:positionInOrganization ?organization . + PERSON_URI core:relatedBy ?position . + ?position a core:Position . + ?position core:relates ?organization . + ?organization a foaf:Organization . ?organization rdfs:label ?label . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/position/subOrganizationForPosition.sparql b/productMods/WEB-INF/rich-export/position/subOrganizationForPosition.sparql index 58678586..6748f690 100644 --- a/productMods/WEB-INF/rich-export/position/subOrganizationForPosition.sparql +++ b/productMods/WEB-INF/rich-export/position/subOrganizationForPosition.sparql @@ -1,12 +1,16 @@ PREFIX core: PREFIX rdfs: +PREFIX foaf: +PREFIX obo: CONSTRUCT { ?organization core:hasSubOrganization ?subOrganization . ?subOrganization rdfs:label ?label . } WHERE { - PERSON_URI core:personInPosition ?position . - ?position core:positionInOrganization ?organization . - ?organization core:hasSubOrganization ?subOrganization . + PERSON_URI core:relatedBy ?position . + ?position a core:Position . + ?position core:relates ?organization . + ?organization a foaf:Organization . + ?organization obo:BFO_0000050 ?subOrganization . ?subOrganization rdfs:label ?label . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/position/superOrganizationForPosition.sparql b/productMods/WEB-INF/rich-export/position/superOrganizationForPosition.sparql index 74c0b9e1..93ef97c4 100644 --- a/productMods/WEB-INF/rich-export/position/superOrganizationForPosition.sparql +++ b/productMods/WEB-INF/rich-export/position/superOrganizationForPosition.sparql @@ -3,8 +3,10 @@ PREFIX core: CONSTRUCT { ?superOrganization ?property ?object . } WHERE { - PERSON_URI core:personInPosition ?position . - ?position core:positionInOrganization ?organization . - ?organization core:subOrganizationWithin ?superOrganization . + PERSON_URI core:relatedBy ?position . + ?position a core:Position . + ?position core:relates ?organization . + ?organization a foaf:Organization . + ?organization obo:BFO_0000051 ?superOrganization . ?superOrganization ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/presentation/meetingLocation.sparql b/productMods/WEB-INF/rich-export/presentation/meetingLocation.sparql index cb110302..fe2ed944 100644 --- a/productMods/WEB-INF/rich-export/presentation/meetingLocation.sparql +++ b/productMods/WEB-INF/rich-export/presentation/meetingLocation.sparql @@ -1,16 +1,14 @@ PREFIX vivo: PREFIX rdfs: +PREFIX obo: CONSTRUCT { ?location rdfs:label ?locationName . } WHERE { - PERSON_URI vivo:hasPresenterRole ?presenterRole . - - {?presenterRole vivo:roleRealizedIn ?presentation} - union - {?presenterRole vivo:roleIn ?presentation} - - ?presentation vivo:eventWithin ?containingEvent . - ?containingEvent vivo:hasGeographicLocation ?location . + PERSON_URI obo:RO_0000053 ?presenterRole . + ?presenterRole a core:PresenterRole . + ?presenterRole obo:BFO_0000054 ?presentation . + ?presentation obo:BFO_0000050 ?containingEvent . + ?containingEvent obo:RO_0001025 ?location . ?location rdfs:label ?locationName . } diff --git a/productMods/WEB-INF/rich-export/presentation/meetingName.sparql b/productMods/WEB-INF/rich-export/presentation/meetingName.sparql index 8ca7c752..ee70539a 100644 --- a/productMods/WEB-INF/rich-export/presentation/meetingName.sparql +++ b/productMods/WEB-INF/rich-export/presentation/meetingName.sparql @@ -4,12 +4,9 @@ PREFIX rdfs: CONSTRUCT { ?containingEvent rdfs:label ?containingEventName } WHERE { - PERSON_URI vivo:hasPresenterRole ?presenterRole . - - {?presenterRole vivo:roleRealizedIn ?presentation} - union - {?presenterRole vivo:roleIn ?presentation} - - ?presentation vivo:eventWithin ?containingEvent . + PERSON_URI obo:RO_0000053 ?presenterRole . + ?presenterRole a core:PresenterRole . + ?presenterRole obo:BFO_0000054 ?presentation . + ?presentation obo:BFO_0000050 ?containingEvent . ?containingEvent rdfs:label ?containingEventName } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/presentation/presenterRoleIn.sparql b/productMods/WEB-INF/rich-export/presentation/presenterRoleIn.sparql index c733e94c..c77c3a8a 100644 --- a/productMods/WEB-INF/rich-export/presentation/presenterRoleIn.sparql +++ b/productMods/WEB-INF/rich-export/presentation/presenterRoleIn.sparql @@ -5,13 +5,9 @@ CONSTRUCT { ?presentation rdfs:label ?presentationTitle . ?presenterRole rdfs:label ?roleLabel . } WHERE { - PERSON_URI vivo:hasPresenterRole ?presenterRole . - - optional {?presenterRole rdfs:label ?roleLabel} - - {?presenterRole vivo:roleRealizedIn ?presentation} - union - {?presenterRole vivo:roleIn ?presentation} - + PERSON_URI obo:RO_0000053 ?presenterRole . + ?presenterRole a core:PresenterRole . + ?presenterRole rdfs:label ?roleLAbel . + ?presenterRole obo:BFO_0000054 ?presentation . ?presentation rdfs:label ?presentationTitle . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/publication/associatedJournal.sparql b/productMods/WEB-INF/rich-export/publication/associatedJournal.sparql index a8daaa63..bf2582cb 100644 --- a/productMods/WEB-INF/rich-export/publication/associatedJournal.sparql +++ b/productMods/WEB-INF/rich-export/publication/associatedJournal.sparql @@ -1,10 +1,13 @@ PREFIX core: +PREFIX obo: CONSTRUCT { ?publicationVenue ?property ?object . } WHERE { - PERSON_URI core:authorInAuthorship ?authorship . - ?authorship core:linkedInformationResource ?publication . + PERSON_URI core:relatedBy ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?publication . + ?publication a obo:IAO_0000030 . ?publication core:hasPublicationVenue ?publicationVenue . ?publicationVenue ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/publication/authors.sparql b/productMods/WEB-INF/rich-export/publication/authors.sparql index bf4ac16a..bc1105b1 100644 --- a/productMods/WEB-INF/rich-export/publication/authors.sparql +++ b/productMods/WEB-INF/rich-export/publication/authors.sparql @@ -1,13 +1,19 @@ PREFIX core: +PREFIX obo: +PREFIX foaf: CONSTRUCT { ?coAuthorship ?property1 ?object1 . ?person ?property2 ?object2 . } WHERE { - PERSON_URI core:authorInAuthorship ?authorship . - ?authorship core:linkedInformationResource ?publication . - ?publication core:informationResourceInAuthorship ?coAuthorship . + PERSON_URI core:relatedBy ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?publication . + ?publication a obo:IAO_0000030 . + ?publication core:relatedBy ?coAuthorship . + ?coAuthorship a core:Authorship . ?coAuthorship ?property1 ?object1 . - ?coAuthorship core:linkedAuthor ?person . + ?coAuthorship core:relates ?person . + ?person a foaf:Person . ?person ?property2 ?object2 . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/publication/presentedAtEvent.sparql b/productMods/WEB-INF/rich-export/publication/presentedAtEvent.sparql index c366de39..a7e4bb34 100644 --- a/productMods/WEB-INF/rich-export/publication/presentedAtEvent.sparql +++ b/productMods/WEB-INF/rich-export/publication/presentedAtEvent.sparql @@ -1,11 +1,15 @@ PREFIX core: +PREFIX obo: +PREFIX foaf: PREFIX bibo: CONSTRUCT { ?event ?property ?object . } WHERE { - PERSON_URI core:authorInAuthorship ?authorship . - ?authorship core:linkedInformationResource ?publication . + PERSON_URI core:relatedBy ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?publication . + ?publication a obo:IAO_0000030 . ?publication bibo:presentedAt ?event . ?event ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/publication/presentedAtEventEndDate.sparql b/productMods/WEB-INF/rich-export/publication/presentedAtEventEndDate.sparql index c0fd3853..6e3cfd94 100644 --- a/productMods/WEB-INF/rich-export/publication/presentedAtEventEndDate.sparql +++ b/productMods/WEB-INF/rich-export/publication/presentedAtEventEndDate.sparql @@ -1,12 +1,15 @@ PREFIX core: -PREFIX bibo: +PREFIX obo: +PREFIX foaf: PREFIX bibo: CONSTRUCT { ?endDate ?property ?object . ?precision ?property2 ?object2 . } WHERE { - PERSON_URI core:authorInAuthorship ?authorship . - ?authorship core:linkedInformationResource ?publication . + PERSON_URI core:relatedBy ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?publication . + ?publication a obo:IAO_0000030 . ?publication bibo:presentedAt ?event . ?event ?property ?object . ?event core:dateTimeInterval ?dateTimeInterval . diff --git a/productMods/WEB-INF/rich-export/publication/presentedAtEventLocation.sparql b/productMods/WEB-INF/rich-export/publication/presentedAtEventLocation.sparql index 80560c0f..ebddb52e 100644 --- a/productMods/WEB-INF/rich-export/publication/presentedAtEventLocation.sparql +++ b/productMods/WEB-INF/rich-export/publication/presentedAtEventLocation.sparql @@ -1,13 +1,16 @@ PREFIX core: PREFIX bibo: PREFIX rdfs: +PREFIX obo: CONSTRUCT { ?location rdfs:label ?locationName . } WHERE { - PERSON_URI core:authorInAuthorship ?authorship . - ?authorship core:linkedInformationResource ?publication . + PERSON_URI core:relatedBy ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?publication . + ?publication a obo:IAO_0000030 . ?publication bibo:presentedAt ?event . - ?event core:hasGeographicLocation ?location . + ?event obo:RO_0001025 ?location . ?location rdfs:label ?locationName . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/publication/presentedAtEventStartDate.sparql b/productMods/WEB-INF/rich-export/publication/presentedAtEventStartDate.sparql index 3803a72f..3a85c078 100644 --- a/productMods/WEB-INF/rich-export/publication/presentedAtEventStartDate.sparql +++ b/productMods/WEB-INF/rich-export/publication/presentedAtEventStartDate.sparql @@ -1,12 +1,15 @@ PREFIX core: PREFIX bibo: +PREFIX obo: CONSTRUCT { ?startDate ?property ?object . ?precision ?property2 ?object2 . } WHERE { - PERSON_URI core:authorInAuthorship ?authorship . - ?authorship core:linkedInformationResource ?publication . + PERSON_URI core:relatedBy ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?publication . + ?publication a obo:IAO_0000030 . ?publication bibo:presentedAt ?event . ?event ?property ?object . ?event core:dateTimeInterval ?dateTimeInterval . diff --git a/productMods/WEB-INF/rich-export/publication/publication.sparql b/productMods/WEB-INF/rich-export/publication/publication.sparql index 96e4344d..1ab4318a 100644 --- a/productMods/WEB-INF/rich-export/publication/publication.sparql +++ b/productMods/WEB-INF/rich-export/publication/publication.sparql @@ -1,9 +1,12 @@ PREFIX core: +PREFIX obo: CONSTRUCT { ?publication ?property ?object . } WHERE { - PERSON_URI core:authorInAuthorship ?authorship . - ?authorship core:linkedInformationResource ?publication . + PERSON_URI core:relatedBy ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?publication . + ?publication a obo:IAO_0000030 . ?publication ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/publication/publicationDate.sparql b/productMods/WEB-INF/rich-export/publication/publicationDate.sparql index 8661c16b..0f2fb63d 100644 --- a/productMods/WEB-INF/rich-export/publication/publicationDate.sparql +++ b/productMods/WEB-INF/rich-export/publication/publicationDate.sparql @@ -1,11 +1,14 @@ PREFIX core: +PREFIX obo: CONSTRUCT { ?date ?property ?object . ?precision ?property2 ?object2 . } WHERE { - PERSON_URI core:authorInAuthorship ?authorship . - ?authorship core:linkedInformationResource ?publication . + PERSON_URI core:relatedBy ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?publication . + ?publication a obo:IAO_0000030 . ?publication ?dateTimeValue ?date . ?date ?property ?object . ?date core:dateTimePrecision ?precision . diff --git a/productMods/WEB-INF/rich-export/publication/publicationPartOfInfoResource.sparql b/productMods/WEB-INF/rich-export/publication/publicationPartOfInfoResource.sparql index b92459a3..f37a43dc 100644 --- a/productMods/WEB-INF/rich-export/publication/publicationPartOfInfoResource.sparql +++ b/productMods/WEB-INF/rich-export/publication/publicationPartOfInfoResource.sparql @@ -1,10 +1,13 @@ PREFIX core: +PREFIX obo: CONSTRUCT { ?informationResource ?property ?object . } WHERE { - PERSON_URI core:authorInAuthorship ?authorship . - ?authorship core:linkedInformationResource ?publication . - ?publication core:partOf ?informationResource . + PERSON_URI core:relatedBy ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?publication . + ?publication a obo:IAO_0000030 . + ?publication obo:BFO_0000050 ?informationResource . ?informationResource ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/publication/publicationReproducedIn.sparql b/productMods/WEB-INF/rich-export/publication/publicationReproducedIn.sparql index 376e9f97..3b751a9e 100644 --- a/productMods/WEB-INF/rich-export/publication/publicationReproducedIn.sparql +++ b/productMods/WEB-INF/rich-export/publication/publicationReproducedIn.sparql @@ -1,11 +1,14 @@ PREFIX core: PREFIX bibo: +PREFIX obo: CONSTRUCT { ?informationResource ?property ?object . } WHERE { - PERSON_URI core:authorInAuthorship ?authorship . - ?authorship core:linkedInformationResource ?publication . + PERSON_URI core:relatedBy ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?publication . + ?publication a obo:IAO_0000030 . ?publication bibo:reproducedIn ?informationResource . ?informationResource ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/publication/publicationStatus.sparql b/productMods/WEB-INF/rich-export/publication/publicationStatus.sparql index 7c8f4614..e1cb2f25 100644 --- a/productMods/WEB-INF/rich-export/publication/publicationStatus.sparql +++ b/productMods/WEB-INF/rich-export/publication/publicationStatus.sparql @@ -1,11 +1,14 @@ PREFIX core: PREFIX bibo: +PREFIX obo: CONSTRUCT { ?publicationStatus ?property ?object . } WHERE { - PERSON_URI core:authorInAuthorship ?authorship . - ?authorship core:linkedInformationResource ?publication . + PERSON_URI core:relatedBy ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?publication . + ?publication a obo:IAO_0000030 . ?publication bibo:status ?publicationStatus . ?publicationStatus ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/publication/publicationURL.sparql b/productMods/WEB-INF/rich-export/publication/publicationURL.sparql index 940f6062..47f0de80 100644 --- a/productMods/WEB-INF/rich-export/publication/publicationURL.sparql +++ b/productMods/WEB-INF/rich-export/publication/publicationURL.sparql @@ -1,10 +1,15 @@ PREFIX core: +PREFIX obo: +PREFIX vcard: CONSTRUCT { ?urllink ?property ?object . } WHERE { - PERSON_URI core:authorInAuthorship ?authorship . - ?authorship core:linkedInformationResource ?publication . - ?publication core:webpage ?urllink . + PERSON_URI core:relatedBy ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?publication . + ?publication a obo:IAO_0000030 . + ?publication obo:ARG_2000028 ?vcard . + ?vcard vcard:hasURL ?urllink . ?urllink ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/publication/publisher_variant1.sparql b/productMods/WEB-INF/rich-export/publication/publisher_variant1.sparql index f41cc890..4ae35fd0 100644 --- a/productMods/WEB-INF/rich-export/publication/publisher_variant1.sparql +++ b/productMods/WEB-INF/rich-export/publication/publisher_variant1.sparql @@ -1,10 +1,13 @@ PREFIX core: +PREFIX obo: CONSTRUCT { ?publisher ?property ?object . } WHERE { - PERSON_URI core:authorInAuthorship ?authorship . - ?authorship core:linkedInformationResource ?publication . + PERSON_URI core:relatedBy ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?publication . + ?publication a obo:IAO_0000030 . ?publication core:hasPublicationVenue ?publicationVenue . ?publicationVenue core:publisher ?publisher . ?publisher ?property ?object . diff --git a/productMods/WEB-INF/rich-export/publication/publisher_variant2.sparql b/productMods/WEB-INF/rich-export/publication/publisher_variant2.sparql index 88d56bea..6d552625 100644 --- a/productMods/WEB-INF/rich-export/publication/publisher_variant2.sparql +++ b/productMods/WEB-INF/rich-export/publication/publisher_variant2.sparql @@ -1,10 +1,13 @@ PREFIX core: +PREFIX obo: CONSTRUCT { ?publisher ?property ?object . } WHERE { - PERSON_URI core:authorInAuthorship ?authorship . - ?authorship core:linkedInformationResource ?publication . + PERSON_URI core:relatedBy ?authorship . + ?authorship a core:Authorship . + ?authorship core:relates ?publication . + ?publication a obo:IAO_0000030 . ?publication core:publisher ?publisher . ?publisher ?property ?object . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/teaching/teacherRoleIn.sparql b/productMods/WEB-INF/rich-export/teaching/teacherRoleIn.sparql index a5b55771..76ec8cdd 100644 --- a/productMods/WEB-INF/rich-export/teaching/teacherRoleIn.sparql +++ b/productMods/WEB-INF/rich-export/teaching/teacherRoleIn.sparql @@ -1,9 +1,11 @@ PREFIX core: +PREFIX obo: CONSTRUCT { ?course ?property ?object . } WHERE { - PERSON_URI core:hasTeacherRole ?teacherRole . - ?teacherRole core:roleRealizedIn ?course . + PERSON_URI obo:RO_0000053 ?teacherRole . + ?teacherRole a core:TeacherRole . + ?teacherRole obo:BFO_0000054 ?course . ?course ?property ?object . } \ No newline at end of file