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,11 +1,19 @@
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
CONSTRUCT {
?dateTimeValue ?property ?object .
} WHERE {
PERSON_URI core:advisorIn ?advisingRelationship .
?advisingRelationship core:advisee ?advisee .
?advisee core:educationalTraining ?educationalTraining .
PERSON_URI core:relatedBy ?advisingRelationship .
?advisingRelationship a core:AdvisingRelationship .
?advisingRelationship core:relates ?advisee .
?advisee a foaf:Person .
?advisee obo:RO_0000053 ?adviseeRole .
?adviseeRole a core:AdviseeRole .
?adviseeRole core:relatedBy ?advisingRelationship .
?advisee core:relates ?educationalTraining .
?educationalTraining a core:EducationalProcess .
?educationalTraining core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeValue .
?dateTimeValue ?property ?object .