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,8 +1,10 @@
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
CONSTRUCT {
?educationalTraining ?property ?object .
} WHERE {
PERSON_URI core:educationalTraining ?educationalTraining .
PERSON_URI obo:RO_0000056 ?educationalTraining .
?educationalTraining a core:EducationalProcess .
?educationalTraining ?property ?object .
}

View file

@ -1,9 +1,14 @@
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
CONSTRUCT {
?degree ?property ?object .
} WHERE {
PERSON_URI core:educationalTraining ?educationalTraining .
?educationalTraining core:degreeEarned ?degree .
PERSON_URI obo:RO_0000056 ?educationalTraining .
?educationalTraining a core:EducationalProcess .
?educationalTraining obo:RO_0002234 ?awardedDegree .
?awardedDegree a core:AwardedDegree .
?awardedDegree core:relates ?degree .
?degree a core:AcademicDegree .
?degree ?property ?object .
}

View file

@ -1,10 +1,12 @@
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
CONSTRUCT {
?dateTimeInterval core:end ?date .
?date ?property ?object .
} WHERE {
PERSON_URI core:educationalTraining ?educationalTraining .
PERSON_URI obo:RO_0000056 ?educationalTraining .
?educationalTraining a core:EducationalProcess .
?educationalTraining core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?date .
?date ?property ?object .

View file

@ -1,10 +1,15 @@
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
CONSTRUCT {
?geographicLocation ?property ?object .
} WHERE {
PERSON_URI core:educationalTraining ?educationalTraining .
?educationalTraining core:trainingAtOrganization ?organization .
?organization core:hasGeographicLocation ?geographicLocation .
PERSON_URI obo:RO_0000056 ?educationalTraining .
?educationalTraining a core:EducationalProcess .
?educationalTraining obo:RO_0000057 ?organization .
?organization a foaf:Organization .
?organization obo:RO_0001025 ?geographicLocation .
?geographicLocation a core:GeographicLocation .
?geographicLocation ?property ?object .
}

View file

@ -1,9 +1,13 @@
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
CONSTRUCT {
?organization ?property ?object .
} WHERE {
PERSON_URI core:educationalTraining ?educationalTraining .
?educationalTraining core:trainingAtOrganization ?organization .
PERSON_URI obo:RO_0000056 ?educationalTraining .
?educationalTraining a core:EducationalProcess .
?educationalTraining obo:RO_0000057 ?organization .
?organization a foaf:Organization .
?organization ?property ?object .
}

View file

@ -1,9 +1,11 @@
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
CONSTRUCT {
?date ?property ?object .
} WHERE {
PERSON_URI core:educationalTraining ?educationalTraining .
PERSON_URI obo:RO_0000056 ?educationalTraining .
?educationalTraining a core:EducationalProcess .
?educationalTraining core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:start ?date .
?date ?property ?object .