fix for sparql issues found during testing with Digital Vita team
This commit is contained in:
parent
606ade5b31
commit
9a67388f6a
11 changed files with 86 additions and 15 deletions
|
@ -0,0 +1,11 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
CONSTRUCT {
|
||||
?degree ?property ?object
|
||||
} WHERE {
|
||||
PERSON_URI core:advisorIn ?advisingRelationship .
|
||||
?advisingRelationship core:advisee ?advisee .
|
||||
?advisee core:educationalTraining ?educationalTraining .
|
||||
?educationalTraining core:degreeEarned ?degree .
|
||||
?degree ?property ?object
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
CONSTRUCT {
|
||||
?dateTimeValue ?property ?object .
|
||||
} WHERE {
|
||||
PERSON_URI core:advisorIn ?advisingRelationship .
|
||||
?advisingRelationship core:advisee ?advisee .
|
||||
?advisee core:educationalTraining ?educationalTraining .
|
||||
?educationalTraining core:dateTimeInterval ?dateTimeInterval .
|
||||
?dateTimeInterval core:end ?dateTimeValue .
|
||||
?dateTimeValue ?property ?object .
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
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 .
|
||||
?educationalInstitution rdfs:label ?label
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
PREFIX core: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
CONSTRUCT {
|
||||
?educationalTraining ?property ?object .
|
||||
} WHERE {
|
||||
PERSON_URI core:advisorIn ?advisingRelationship .
|
||||
?advisingRelationship core:advisee ?advisee .
|
||||
?advisee core:educationalTraining ?educationalTraining .
|
||||
?educationalTraining ?property ?object .
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue