VIVO-472 updated the rich-export sparql queries

This commit is contained in:
tworrall 2013-11-06 15:51:33 -05:00
parent 4e7bfbf783
commit 23e0a4d390
55 changed files with 305 additions and 157 deletions

View file

@ -1,16 +1,14 @@
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 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 .
}

View file

@ -4,12 +4,9 @@ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
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
}

View file

@ -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 .
}