fix for sparql issues found during testing with Digital Vita team

This commit is contained in:
stellamit 2011-08-15 16:38:40 +00:00
parent 606ade5b31
commit 9a67388f6a
11 changed files with 86 additions and 15 deletions

View file

@ -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
}

View file

@ -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 .
}

View file

@ -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
}

View file

@ -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 .
}