VIVO-472 updated the rich-export sparql queries
This commit is contained in:
parent
4e7bfbf783
commit
23e0a4d390
55 changed files with 305 additions and 157 deletions
|
@ -1,9 +1,16 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX obo: <http://purl.obolibrary.org/obo/>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
CONSTRUCT {
|
||||
?person ?property ?object .
|
||||
?advisee ?property ?object .
|
||||
} WHERE {
|
||||
PERSON_URI core:advisorIn ?advisingRelationship .
|
||||
?advisingRelationship core:advisee ?person .
|
||||
?person ?property ?object .
|
||||
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 ?property ?object .
|
||||
}
|
|
@ -1,11 +1,21 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX obo: <http://purl.obolibrary.org/obo/>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
CONSTRUCT {
|
||||
?degree ?property ?object
|
||||
} WHERE {
|
||||
PERSON_URI core:advisorIn ?advisingRelationship .
|
||||
?advisingRelationship core:advisee ?advisee .
|
||||
?advisee core:educationalTraining ?educationalTraining .
|
||||
?educationalTraining core:degreeEarned ?degree .
|
||||
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 obo:RO_0002234 ?awardedDegree .
|
||||
?awardedDegree core:relates ?degree .
|
||||
?degree a core:AcademicDegree .
|
||||
?degree ?property ?object
|
||||
}
|
|
@ -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 .
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX obo: <http://purl.obolibrary.org/obo/>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
|
||||
CONSTRUCT {
|
||||
?educationalInstitution rdfs:label ?label
|
||||
} WHERE {
|
||||
PERSON_URI core:advisorIn ?advisingRelationship .
|
||||
?advisingRelationship core:advisee ?advisee .
|
||||
?advisee core:educationalTraining ?educationalTraining .
|
||||
?educationalTraining core:trainingAtOrganization ?educationalInstitution .
|
||||
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 obo:RO_0000057 ?educationalInstitution .
|
||||
?educationalInstitution a foaf:Organization .
|
||||
?educationalInstitution rdfs:label ?label
|
||||
}
|
|
@ -1,9 +1,11 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX obo: <http://purl.obolibrary.org/obo/>
|
||||
|
||||
CONSTRUCT {
|
||||
?degree ?property ?object .
|
||||
} WHERE {
|
||||
PERSON_URI core:advisorIn ?advisingRelationship .
|
||||
PERSON_URI core:relatedBy ?advisingRelationship .
|
||||
?advisingRelationship a core:AdvisingRelationship .
|
||||
?advisingRelationship core:degreeCandidacy ?degree .
|
||||
?degree ?property ?object .
|
||||
}
|
|
@ -3,7 +3,8 @@ PREFIX core: <http://vivoweb.org/ontology/core#>
|
|||
CONSTRUCT {
|
||||
?educationalTraining ?property ?object .
|
||||
} WHERE {
|
||||
PERSON_URI core:advisorIn ?advisingRelationship .
|
||||
PERSON_URI core:relatedBy ?advisingRelationship .
|
||||
?advisingRelationship a core:AdvisingRelationship .
|
||||
?advisingRelationship core:advisingContributionTo ?educationalTraining .
|
||||
?educationalTraining ?property ?object .
|
||||
}
|
|
@ -1,10 +1,18 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX obo: <http://purl.obolibrary.org/obo/>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
CONSTRUCT {
|
||||
?educationalTraining ?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 ?property ?object .
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue