updating sparql for rich-export of presentations
This commit is contained in:
parent
5f026bb847
commit
5e69b3ac29
3 changed files with 29 additions and 15 deletions
|
@ -1,12 +1,16 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
|
||||
CONSTRUCT {
|
||||
?location rdfs:label ?locationName .
|
||||
} WHERE {
|
||||
PERSON_URI core:hasPresenterRole ?presenterRole .
|
||||
?presenterRole core:roleRealizedIn ?presentation .
|
||||
?presentation core:eventWithin ?containingEvent .
|
||||
?containingEvent core:hasGeographicLocation ?location .
|
||||
PERSON_URI vivo:hasPresenterRole ?presenterRole .
|
||||
|
||||
{?presenterRole vivo:roleRealizedIn ?presentation}
|
||||
union
|
||||
{?presenterRole vivo:roleIn ?presentation}
|
||||
|
||||
?presentation vivo:eventWithin ?containingEvent .
|
||||
?containingEvent vivo:hasGeographicLocation ?location .
|
||||
?location rdfs:label ?locationName .
|
||||
}
|
||||
|
|
|
@ -1,11 +1,15 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
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 core:hasPresenterRole ?presenterRole .
|
||||
?presenterRole core:roleRealizedIn ?presentation .
|
||||
?presentation core:eventWithin ?containingEvent .
|
||||
PERSON_URI vivo:hasPresenterRole ?presenterRole .
|
||||
|
||||
{?presenterRole vivo:roleRealizedIn ?presentation}
|
||||
union
|
||||
{?presenterRole vivo:roleIn ?presentation}
|
||||
|
||||
?presentation vivo:eventWithin ?containingEvent .
|
||||
?containingEvent rdfs:label ?containingEventName
|
||||
}
|
|
@ -1,11 +1,17 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
|
||||
CONSTRUCT {
|
||||
?presentation ?property ?object .
|
||||
?presentation rdfs:label ?presentationTitle .
|
||||
?presenterRole rdfs:label ?roleLabel .
|
||||
} WHERE {
|
||||
PERSON_URI core:hasPresenterRole ?presenterRole .
|
||||
PERSON_URI vivo:hasPresenterRole ?presenterRole .
|
||||
|
||||
optional {?presenterRole rdfs:label ?roleLabel}
|
||||
|
||||
{?presenterRole vivo:roleRealizedIn ?presentation}
|
||||
union
|
||||
{?presenterRole vivo:roleIn ?presentation}
|
||||
|
||||
?presenterRole core:roleRealizedIn ?presentation .
|
||||
|
||||
?presentation ?property ?object .
|
||||
?presentation rdfs:label ?presentationTitle .
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue