From d03a50ef86e01af2aeebedbc9f99af29fbc4d46b Mon Sep 17 00:00:00 2001 From: stellamit Date: Thu, 2 Jun 2011 19:09:12 +0000 Subject: [PATCH] incremental development for NIHVIVO-1275 --- .../issuedCredentialExpirationDate.sparql | 3 +++ .../credential/issuedCredentialIssueDate.sparql | 3 +++ .../rich-export/membership/memberRole.sparql | 8 ++++++++ .../rich-export/membership/memberRoleIn.sparql | 9 +++++++++ .../rich-export/outreach/outreachRole.sparql | 8 ++++++++ .../rich-export/outreach/outreachRoleIn.sparql | 9 +++++++++ .../publication/presentedAtEvent.sparql | 11 +++++++++++ .../publication/presentedAtEventEndDate.sparql | 16 ++++++++++++++++ .../publication/presentedAtEventLocation.sparql | 12 ++++++++++++ .../publication/presentedAtEventStartDate.sparql | 16 ++++++++++++++++ .../publication/publicationDate.sparql | 13 +++++++++++++ .../publicationPartOfInfoResource.sparql | 10 ++++++++++ .../publication/publicationReproducedIn.sparql | 11 +++++++++++ 13 files changed, 129 insertions(+) create mode 100644 productMods/WEB-INF/rich-export/membership/memberRole.sparql create mode 100644 productMods/WEB-INF/rich-export/membership/memberRoleIn.sparql create mode 100644 productMods/WEB-INF/rich-export/outreach/outreachRole.sparql create mode 100644 productMods/WEB-INF/rich-export/outreach/outreachRoleIn.sparql create mode 100644 productMods/WEB-INF/rich-export/publication/presentedAtEvent.sparql create mode 100644 productMods/WEB-INF/rich-export/publication/presentedAtEventEndDate.sparql create mode 100644 productMods/WEB-INF/rich-export/publication/presentedAtEventLocation.sparql create mode 100644 productMods/WEB-INF/rich-export/publication/presentedAtEventStartDate.sparql create mode 100644 productMods/WEB-INF/rich-export/publication/publicationDate.sparql create mode 100644 productMods/WEB-INF/rich-export/publication/publicationPartOfInfoResource.sparql create mode 100644 productMods/WEB-INF/rich-export/publication/publicationReproducedIn.sparql diff --git a/productMods/WEB-INF/rich-export/credential/issuedCredentialExpirationDate.sparql b/productMods/WEB-INF/rich-export/credential/issuedCredentialExpirationDate.sparql index 70cd2bac..c9247cb9 100644 --- a/productMods/WEB-INF/rich-export/credential/issuedCredentialExpirationDate.sparql +++ b/productMods/WEB-INF/rich-export/credential/issuedCredentialExpirationDate.sparql @@ -2,8 +2,11 @@ PREFIX core: CONSTRUCT { ?date ?property ?object . + ?precision ?property2 ?object2 . } WHERE { PERSON_URI core:hasCredential ?issuedCredential . ?issuedCredential core:expirationDate ?date . ?date ?property ?object . + ?date core:dateTimePrecision ?precision . + ?precision ?property2 ?object2 . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/credential/issuedCredentialIssueDate.sparql b/productMods/WEB-INF/rich-export/credential/issuedCredentialIssueDate.sparql index 285f9e64..f893aa3d 100644 --- a/productMods/WEB-INF/rich-export/credential/issuedCredentialIssueDate.sparql +++ b/productMods/WEB-INF/rich-export/credential/issuedCredentialIssueDate.sparql @@ -2,8 +2,11 @@ PREFIX core: CONSTRUCT { ?date ?property ?object . + ?precision ?property2 ?object2 . } WHERE { PERSON_URI core:hasCredential ?issuedCredential . ?issuedCredential core:dateIssued ?date . ?date ?property ?object . + ?date core:dateTimePrecision ?precision . + ?precision ?property2 ?object2 . } \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/membership/memberRole.sparql b/productMods/WEB-INF/rich-export/membership/memberRole.sparql new file mode 100644 index 00000000..839c94f0 --- /dev/null +++ b/productMods/WEB-INF/rich-export/membership/memberRole.sparql @@ -0,0 +1,8 @@ +PREFIX core: + +CONSTRUCT { + ?memberRole ?property ?object . +} WHERE { + PERSON_URI core:hasMemberRole ?memberRole . + ?memberRole ?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 new file mode 100644 index 00000000..c9e2577d --- /dev/null +++ b/productMods/WEB-INF/rich-export/membership/memberRoleIn.sparql @@ -0,0 +1,9 @@ +PREFIX core: + +CONSTRUCT { + ?endeavor ?property ?object . +} WHERE { + PERSON_URI core:hasMemberRole ?memberRole . + ?memberRole core:roleIn ?endeavor . + ?endeavor ?property ?object . +} \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/outreach/outreachRole.sparql b/productMods/WEB-INF/rich-export/outreach/outreachRole.sparql new file mode 100644 index 00000000..956d93c5 --- /dev/null +++ b/productMods/WEB-INF/rich-export/outreach/outreachRole.sparql @@ -0,0 +1,8 @@ +PREFIX core: + +CONSTRUCT { + ?outreachRole ?property ?object . +} WHERE { + PERSON_URI core:hasOutreachProviderRole ?outreachRole . + ?outreachRole ?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 new file mode 100644 index 00000000..ca17417e --- /dev/null +++ b/productMods/WEB-INF/rich-export/outreach/outreachRoleIn.sparql @@ -0,0 +1,9 @@ +PREFIX core: + +CONSTRUCT { + ?endeavor ?property ?object . +} WHERE { + PERSON_URI core:hasOutreachProviderRole ?outreachRole . + ?outreachRole core:roleIn ?endeavor . + ?endeavor ?property ?object . +} \ 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 new file mode 100644 index 00000000..c366de39 --- /dev/null +++ b/productMods/WEB-INF/rich-export/publication/presentedAtEvent.sparql @@ -0,0 +1,11 @@ +PREFIX core: +PREFIX bibo: + +CONSTRUCT { + ?event ?property ?object . +} WHERE { + PERSON_URI core:authorInAuthorship ?authorship . + ?authorship core:linkedInformationResource ?publication . + ?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 new file mode 100644 index 00000000..c0fd3853 --- /dev/null +++ b/productMods/WEB-INF/rich-export/publication/presentedAtEventEndDate.sparql @@ -0,0 +1,16 @@ +PREFIX core: +PREFIX bibo: + +CONSTRUCT { + ?endDate ?property ?object . + ?precision ?property2 ?object2 . +} WHERE { + PERSON_URI core:authorInAuthorship ?authorship . + ?authorship core:linkedInformationResource ?publication . + ?publication bibo:presentedAt ?event . + ?event ?property ?object . + ?event core:dateTimeInterval ?dateTimeInterval . + ?dateTimeInterval core:end ?endDate . + ?endDate core:dateTimePrecision ?precision . + ?precision ?property2 ?object2 . +} \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/publication/presentedAtEventLocation.sparql b/productMods/WEB-INF/rich-export/publication/presentedAtEventLocation.sparql new file mode 100644 index 00000000..c993c80e --- /dev/null +++ b/productMods/WEB-INF/rich-export/publication/presentedAtEventLocation.sparql @@ -0,0 +1,12 @@ +PREFIX core: +PREFIX bibo: + +CONSTRUCT { + ?location ?property ?object . +} WHERE { + PERSON_URI core:authorInAuthorship ?authorship . + ?authorship core:linkedInformationResource ?publication . + ?publication bibo:presentedAt ?event . + ?event core:hasGeographicLocation ?location . + ?location ?property ?object . +} \ 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 new file mode 100644 index 00000000..3803a72f --- /dev/null +++ b/productMods/WEB-INF/rich-export/publication/presentedAtEventStartDate.sparql @@ -0,0 +1,16 @@ +PREFIX core: +PREFIX bibo: + +CONSTRUCT { + ?startDate ?property ?object . + ?precision ?property2 ?object2 . +} WHERE { + PERSON_URI core:authorInAuthorship ?authorship . + ?authorship core:linkedInformationResource ?publication . + ?publication bibo:presentedAt ?event . + ?event ?property ?object . + ?event core:dateTimeInterval ?dateTimeInterval . + ?dateTimeInterval core:start ?startDate . + ?startDate core:dateTimePrecision ?precision . + ?precision ?property2 ?object2 . +} \ 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 new file mode 100644 index 00000000..8661c16b --- /dev/null +++ b/productMods/WEB-INF/rich-export/publication/publicationDate.sparql @@ -0,0 +1,13 @@ +PREFIX core: + +CONSTRUCT { + ?date ?property ?object . + ?precision ?property2 ?object2 . +} WHERE { + PERSON_URI core:authorInAuthorship ?authorship . + ?authorship core:linkedInformationResource ?publication . + ?publication ?dateTimeValue ?date . + ?date ?property ?object . + ?date core:dateTimePrecision ?precision . + ?precision ?property2 ?object2 . +} \ No newline at end of file diff --git a/productMods/WEB-INF/rich-export/publication/publicationPartOfInfoResource.sparql b/productMods/WEB-INF/rich-export/publication/publicationPartOfInfoResource.sparql new file mode 100644 index 00000000..b92459a3 --- /dev/null +++ b/productMods/WEB-INF/rich-export/publication/publicationPartOfInfoResource.sparql @@ -0,0 +1,10 @@ +PREFIX core: + +CONSTRUCT { + ?informationResource ?property ?object . +} WHERE { + PERSON_URI core:authorInAuthorship ?authorship . + ?authorship core:linkedInformationResource ?publication . + ?publication core:partOf ?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 new file mode 100644 index 00000000..376e9f97 --- /dev/null +++ b/productMods/WEB-INF/rich-export/publication/publicationReproducedIn.sparql @@ -0,0 +1,11 @@ +PREFIX core: +PREFIX bibo: + +CONSTRUCT { + ?informationResource ?property ?object . +} WHERE { + PERSON_URI core:authorInAuthorship ?authorship . + ?authorship core:linkedInformationResource ?publication . + ?publication bibo:reproducedIn ?informationResource . + ?informationResource ?property ?object . +} \ No newline at end of file