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,12 +1,16 @@
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX obo: <http://purl.obolibrary.org/obo/>
CONSTRUCT {
?organization core:hasSubOrganization ?subOrganization .
?subOrganization rdfs:label ?label .
} WHERE {
PERSON_URI core:personInPosition ?position .
?position core:positionInOrganization ?organization .
?organization core:hasSubOrganization ?subOrganization .
PERSON_URI core:relatedBy ?position .
?position a core:Position .
?position core:relates ?organization .
?organization a foaf:Organization .
?organization obo:BFO_0000050 ?subOrganization .
?subOrganization rdfs:label ?label .
}