Note that these are CONSTRUCT queries designed to create a small Jena model for export as a whole after a series of queries has been run. The PERSON_URI variable is substituted by VIVO at runtime.
Code Block |
---|
title | associatedJournal.sparql |
---|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
CONSTRUCT {
?publicationVenue ?property ?object .
} WHERE {
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 .
} |
Code Block |
---|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
CONSTRUCT {
?coAuthorship ?property1 ?object1 .
?person ?property2 ?object2 .
} WHERE {
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:relates ?person .
?person a foaf:Person .
?person ?property2 ?object2 .
} |
Code Block |
---|
title | presentedAtEvent.sparql |
---|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX bibo: <http://purl.org/ontology/bibo/>
CONSTRUCT {
?event ?property ?object .
} WHERE {
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 .
} |
Code Block |
---|
title | presentedAtEventEndDate.sparql |
---|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>PREFIX bibo: <http://purl.org/ontology/bibo/>
CONSTRUCT {
?endDate ?property ?object .
?precision ?property2 ?object2 .
} WHERE {
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 .
?dateTimeInterval core:end ?endDate .
?endDate core:dateTimePrecision ?precision .
?precision ?property2 ?object2 .
} |
Code Block |
---|
title | presentedAtEventLocation.sparql |
---|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX bibo: <http://purl.org/ontology/bibo/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
CONSTRUCT {
?location rdfs:label ?locationName .
} WHERE {
PERSON_URI core:relatedBy ?authorship .
?authorship a core:Authorship .
?authorship core:relates ?publication .
?publication a obo:IAO_0000030 .
?publication bibo:presentedAt ?event .
?event obo:RO_0001025 ?location .
?location rdfs:label ?locationName .
} |
Code Block |
---|
title | presentedAtEventStartDate.sparql |
---|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX bibo: <http://purl.org/ontology/bibo/>
PREFIX obo: <http://purl.obolibrary.org/obo/>
CONSTRUCT {
?startDate ?property ?object .
?precision ?property2 ?object2 .
} WHERE {
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 .
?dateTimeInterval core:start ?startDate .
?startDate core:dateTimePrecision ?precision .
?precision ?property2 ?object2 .
} |
Code Block |
---|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
CONSTRUCT {
?publication ?property ?object .
} WHERE {
PERSON_URI core:relatedBy ?authorship .
?authorship a core:Authorship .
?authorship core:relates ?publication .
?publication a obo:IAO_0000030 .
?publication ?property ?object .
} |
Code Block |
---|
title | publicationDate.sparql |
---|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
CONSTRUCT {
?date ?property ?object .
?precision ?property2 ?object2 .
} WHERE {
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 .
?precision ?property2 ?object2 .
} |
Code Block |
---|
title | publicationPartOfInfoResource.sparql |
---|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
CONSTRUCT {
?informationResource ?property ?object .
} WHERE {
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 .
} |
Code Block |
---|
title | publicationReproducedIn.sparql |
---|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX bibo: <http://purl.org/ontology/bibo/>
PREFIX obo: <http://purl.obolibrary.org/obo/>
CONSTRUCT {
?informationResource ?property ?object .
} WHERE {
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 .
} |
Code Block |
---|
title | publicationStatus.sparql |
---|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX bibo: <http://purl.org/ontology/bibo/>
PREFIX obo: <http://purl.obolibrary.org/obo/>
CONSTRUCT {
?publicationStatus ?property ?object .
} WHERE {
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 .
} |
Code Block |
---|
title | publicationURL.sparql |
---|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>
CONSTRUCT {
?urllink ?property ?object .
} WHERE {
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 .
} |
Code Block |
---|
title | publisher_variant1.sparql |
---|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
CONSTRUCT {
?publisher ?property ?object .
} WHERE {
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 .
} |
Code Block |
---|
title | publisher_variant2.sparql |
---|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
CONSTRUCT {
?publisher ?property ?object .
} WHERE {
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 .
} |