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 | meetingLocation.sparql |
---|
|
PREFIX vivo: <http://vivoweb.org/ontology/core#>
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 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 .
} |
Code Block |
---|
|
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
CONSTRUCT {
?containingEvent rdfs:label ?containingEventName
} WHERE {
PERSON_URI obo:RO_0000053 ?presenterRole .
?presenterRole a core:PresenterRole .
?presenterRole obo:BFO_0000054 ?presentation .
?presentation obo:BFO_0000050 ?containingEvent .
?containingEvent rdfs:label ?containingEventName
} |
Code Block |
---|
title | presenterRoleIn.sparql |
---|
|
PREFIX vivo: <http://vivoweb.org/ontology/core#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
CONSTRUCT {
?presentation rdfs:label ?presentationTitle .
?presenterRole rdfs:label ?roleLabel .
} WHERE {
PERSON_URI obo:RO_0000053 ?presenterRole .
?presenterRole a core:PresenterRole .
?presenterRole rdfs:label ?roleLAbel .
?presenterRole obo:BFO_0000054 ?presentation .
?presentation rdfs:label ?presentationTitle .
} |