PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
SELECT DISTINCT ?subclass
?localName
?training
?person
?personName
?degree
?degreeName
?degreeAbbr
?field
?suppInfo
?dateTimeStart ?dateTimeEnd
WHERE {
?subject ?property ?training
LET ( ?localName := afn:localname(?training) )
OPTIONAL { ?training core:educationalTrainingOf ?person
OPTIONAL { ?person rdfs:label ?personName }
}
OPTIONAL { ?training core:degreeEarned ?degree
OPTIONAL { ?degree rdfs:label ?degreeName }
OPTIONAL { ?degree core:abbreviation ?degreeAbbr }
}
OPTIONAL { ?training vitro:mostSpecificType ?subclass .
?subclass rdfs:subClassOf core:EducationalTraining
}
OPTIONAL { ?training rdfs:label ?trainingLabel }
OPTIONAL { ?training core:majorField ?field }
OPTIONAL { ?training core:supplementalInformation ?suppInfo }
OPTIONAL { ?training core:dateTimeInterval ?dateTimeInterval
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart
}
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd
}
}
FILTER ( bound(?person) )
} ORDER BY ?subclass ?personName
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
CONSTRUCT {
?subject ?property ?training .
?training vitro:mostSpecificType ?subclass .
?subclass rdfs:subClassOf core:EducationalTraining
} WHERE {
?subject ?property ?training .
?training vitro:mostSpecificType ?subclass .
?subclass rdfs:subClassOf core:EducationalTraining
}
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
CONSTRUCT {
?subject ?property ?training .
?training ?trainingProperty ?trainingValue .
?person rdfs:label ?personName
} WHERE {
{
?subject ?property ?training
} UNION {
?subject ?property ?training .
?training ?trainingProperty ?trainingValue
} UNION {
?subject ?property ?training .
?training core:educationalTrainingOf ?person .
?person rdfs:label ?personName
}
}
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX core: <http://vivoweb.org/ontology/core#>
CONSTRUCT {
?degree rdfs:label ?degreeName .
?degree core:abbreviation ?degreeAbbr
} WHERE {
{
?subject ?property ?training .
?training core:degreeEarned ?degree .
?degree rdfs:label ?degreeName
} UNION {
?subject ?property ?training .
?training core:degreeEarned ?degree .
?degree core:abbreviation ?degreeAbbr
}
}
PREFIX core: <http://vivoweb.org/ontology/core#>
CONSTRUCT {
?subject ?property ?position .
?position core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart
} WHERE {
?subject ?property ?position .
?position core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:start ?dateTimeStartValue .
?dateTimeStartValue core:dateTime ?dateTimeStart
}
PREFIX core: <http://vivoweb.org/ontology/core#>
CONSTRUCT {
?subject ?property ?position .
?position core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd
} WHERE {
?subject ?property ?position .
?position core:dateTimeInterval ?dateTimeInterval .
?dateTimeInterval core:end ?dateTimeEndValue .
?dateTimeEndValue core:dateTime ?dateTimeEnd
}
propStatement-organizationForTraining.ftl