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#>
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
|
||||||
CONSTRUCT {
|
CONSTRUCT {
|
||||||
?location rdfs:label ?locationName .
|
?location rdfs:label ?locationName .
|
||||||
} WHERE {
|
} WHERE {
|
||||||
PERSON_URI core:hasPresenterRole ?presenterRole .
|
PERSON_URI vivo:hasPresenterRole ?presenterRole .
|
||||||
?presenterRole core:roleRealizedIn ?presentation .
|
|
||||||
?presentation core:eventWithin ?containingEvent .
|
{?presenterRole vivo:roleRealizedIn ?presentation}
|
||||||
?containingEvent core:hasGeographicLocation ?location .
|
union
|
||||||
|
{?presenterRole vivo:roleIn ?presentation}
|
||||||
|
|
||||||
|
?presentation vivo:eventWithin ?containingEvent .
|
||||||
|
?containingEvent vivo:hasGeographicLocation ?location .
|
||||||
?location rdfs:label ?locationName .
|
?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#>
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
|
||||||
CONSTRUCT {
|
CONSTRUCT {
|
||||||
?containingEvent rdfs:label ?containingEventName
|
?containingEvent rdfs:label ?containingEventName
|
||||||
} WHERE {
|
} WHERE {
|
||||||
PERSON_URI core:hasPresenterRole ?presenterRole .
|
PERSON_URI vivo:hasPresenterRole ?presenterRole .
|
||||||
?presenterRole core:roleRealizedIn ?presentation .
|
|
||||||
?presentation core:eventWithin ?containingEvent .
|
{?presenterRole vivo:roleRealizedIn ?presentation}
|
||||||
|
union
|
||||||
|
{?presenterRole vivo:roleIn ?presentation}
|
||||||
|
|
||||||
|
?presentation vivo:eventWithin ?containingEvent .
|
||||||
?containingEvent rdfs:label ?containingEventName
|
?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 {
|
CONSTRUCT {
|
||||||
?presentation ?property ?object .
|
?presentation rdfs:label ?presentationTitle .
|
||||||
|
?presenterRole rdfs:label ?roleLabel .
|
||||||
} WHERE {
|
} WHERE {
|
||||||
PERSON_URI core:hasPresenterRole ?presenterRole .
|
PERSON_URI vivo:hasPresenterRole ?presenterRole .
|
||||||
|
|
||||||
?presenterRole core:roleRealizedIn ?presentation .
|
optional {?presenterRole rdfs:label ?roleLabel}
|
||||||
|
|
||||||
?presentation ?property ?object .
|
{?presenterRole vivo:roleRealizedIn ?presentation}
|
||||||
|
union
|
||||||
|
{?presenterRole vivo:roleIn ?presentation}
|
||||||
|
|
||||||
|
?presentation rdfs:label ?presentationTitle .
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue