2013-11-03 17:18:17 -05:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
|
|
|
|
|
|
|
<!-- See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
|
|
|
|
|
|
|
|
<list-view-config>
|
|
|
|
<query-select>
|
|
|
|
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 foaf: <http://xmlns.com/foaf/0.1/>
|
|
|
|
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
|
|
|
|
|
|
|
SELECT DISTINCT ?subclass
|
|
|
|
?edTraining
|
|
|
|
?person ?personName
|
|
|
|
?awardedDegree
|
|
|
|
?degree
|
|
|
|
?degreeName ?degreeAbbr
|
|
|
|
?majorField ?info
|
|
|
|
?dateTimeStart ?dateTimeEnd
|
|
|
|
WHERE {
|
|
|
|
?subject ?property ?edTraining .
|
|
|
|
?edTraining a core:EducationalProcess
|
|
|
|
OPTIONAL { ?edTraining vitro:mostSpecificType ?subclass . }
|
|
|
|
OPTIONAL { ?edTraining <http://purl.obolibrary.org/obo/RO_0002234> ?awardedDegree .
|
|
|
|
?awardedDegree core:relates ?degree .
|
|
|
|
?degree a core:AcademicDegree .
|
|
|
|
?degree rdfs:label ?degreeName
|
|
|
|
}
|
|
|
|
OPTIONAL { ?edTraining <http://purl.obolibrary.org/obo/RO_0002234> ?awardedDegree .
|
|
|
|
?awardedDegree core:relates ?degree .
|
|
|
|
?degree a core:AcademicDegree .
|
|
|
|
?degree core:abbreviation ?degreeAbbr
|
|
|
|
}
|
|
|
|
OPTIONAL { ?edTraining <http://purl.obolibrary.org/obo/RO_0000057> ?person .
|
|
|
|
?person a foaf:Person .
|
|
|
|
?person rdfs:label ?personName
|
|
|
|
}
|
|
|
|
OPTIONAL { ?edTraining core:majorField ?majorField }
|
|
|
|
OPTIONAL { ?edTraining core:supplementalInformation ?info }
|
|
|
|
OPTIONAL { ?edTraining core:dateTimeInterval ?dateTimeInterval .
|
|
|
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
|
|
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
|
|
|
}
|
|
|
|
OPTIONAL { ?edTraining core:dateTimeInterval ?dateTimeInterval .
|
|
|
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
|
|
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
|
|
|
}
|
|
|
|
} ORDER BY ?subclass DESC(?dateTimeEnd) DESC(?dateTimeStart)
|
|
|
|
</query-select>
|
|
|
|
|
|
|
|
<query-construct>
|
|
|
|
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 {
|
|
|
|
?edTraining vitro:mostSpecificType ?subclass
|
|
|
|
} WHERE {
|
|
|
|
?subject ?property ?edTraining .
|
|
|
|
?edTraining a core:EducationalProcess .
|
|
|
|
?edTraining vitro:mostSpecificType ?subclass .
|
|
|
|
}
|
|
|
|
</query-construct>
|
|
|
|
|
|
|
|
<query-construct>
|
|
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
|
|
|
|
|
|
CONSTRUCT {
|
|
|
|
?subject ?property ?edTraining .
|
|
|
|
?edTraining a core:EducationalProcess .
|
|
|
|
?edTraining ?edTrainingProp ?edTrainingValue .
|
|
|
|
?edTraining <http://purl.obolibrary.org/obo/RO_0002234> ?awardedDegree .
|
|
|
|
?awardedDegree core:relates ?degree .
|
|
|
|
?edTraining core:dateTimeInterval ?dateTimeInterval
|
|
|
|
} WHERE {
|
|
|
|
{
|
|
|
|
?subject ?property ?edTraining .
|
|
|
|
?edTraining a core:EducationalProcess
|
|
|
|
}
|
|
|
|
UNION {
|
|
|
|
?subject ?property ?edTraining .
|
|
|
|
?edTraining a core:EducationalProcess .
|
|
|
|
?edTraining ?edTrainingProp ?edTrainingValue
|
|
|
|
}
|
|
|
|
UNION {
|
|
|
|
?subject ?property ?edTraining .
|
|
|
|
?edTraining a core:EducationalProcess .
|
|
|
|
?edTraining <http://purl.obolibrary.org/obo/RO_0002234> ?awardedDegree .
|
|
|
|
}
|
|
|
|
UNION {
|
|
|
|
?subject ?property ?edTraining .
|
|
|
|
?edTraining a core:EducationalProcess .
|
|
|
|
?edTraining <http://purl.obolibrary.org/obo/RO_0002234> ?awardedDegree .
|
|
|
|
?awardedDegree core:relates ?degree
|
|
|
|
}
|
|
|
|
UNION {
|
|
|
|
?subject ?property ?edTraining .
|
|
|
|
?edTraining a core:EducationalProcess .
|
|
|
|
?edTraining core:dateTimeInterval ?dateTimeInterval
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</query-construct>
|
|
|
|
|
|
|
|
<query-construct>
|
|
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
|
|
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
|
|
|
|
|
|
|
CONSTRUCT {
|
|
|
|
?subject ?property ?edTraining .
|
|
|
|
?edTraining a core:EducationalProcess .
|
|
|
|
?edTraining ?edTrainingProp ?edTrainingValue .
|
|
|
|
?edTraining <http://purl.obolibrary.org/obo/RO_0000057> ?person .
|
|
|
|
?person a foaf:Person .
|
|
|
|
?person rdfs:label ?personName
|
|
|
|
} WHERE {
|
|
|
|
{
|
|
|
|
?subject ?property ?edTraining .
|
|
|
|
?edTraining a core:EducationalProcess
|
|
|
|
}
|
|
|
|
UNION {
|
|
|
|
?subject ?property ?edTraining .
|
|
|
|
?edTraining a core:EducationalProcess .
|
|
|
|
?edTraining ?edTrainingProp ?edTrainingValue
|
|
|
|
}
|
|
|
|
UNION {
|
|
|
|
?subject ?property ?edTraining .
|
|
|
|
?edTraining a core:EducationalProcess .
|
|
|
|
?edTraining <http://purl.obolibrary.org/obo/RO_0000057> ?person .
|
|
|
|
?person a foaf:Person .
|
|
|
|
?person rdfs:label ?personName
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</query-construct>
|
|
|
|
|
|
|
|
<query-construct>
|
|
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
|
|
|
|
|
|
CONSTRUCT {
|
|
|
|
?degree a core:AcademicDegree .
|
|
|
|
?degree rdfs:label ?degreeName .
|
|
|
|
?degree core:abbreviation ?degreeAbbr
|
|
|
|
} WHERE {
|
|
|
|
{
|
|
|
|
?subject ?property ?edTraining .
|
|
|
|
?edTraining a core:EducationalProcess .
|
|
|
|
?edTraining <http://purl.obolibrary.org/obo/RO_0002234> ?awardedDegree .
|
|
|
|
?awardedDegree core:relates ?degree .
|
|
|
|
?degree a core:AcademicDegree .
|
|
|
|
?degree rdfs:label ?degreeName
|
|
|
|
} UNION {
|
|
|
|
?subject ?property ?edTraining .
|
|
|
|
?edTraining a core:EducationalProcess .
|
|
|
|
?edTraining <http://purl.obolibrary.org/obo/RO_0002234> ?awardedDegree .
|
|
|
|
?awardedDegree core:relates ?degree .
|
|
|
|
?degree a core:AcademicDegree .
|
|
|
|
?degree core:abbreviation ?degreeAbbr
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</query-construct>
|
|
|
|
|
|
|
|
<query-construct>
|
2013-11-12 12:23:44 -05:00
|
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
|
|
CONSTRUCT {
|
|
|
|
?subject ?property ?edTraining .
|
2014-12-10 16:13:13 -05:00
|
|
|
?edTraining core:dateTimeInterval ?dateTimeInterval .
|
2013-11-12 12:23:44 -05:00
|
|
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
|
|
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
2013-11-03 17:18:17 -05:00
|
|
|
} WHERE {
|
|
|
|
?subject ?property ?edTraining .
|
|
|
|
?edTraining a core:EducationalProcess .
|
2014-12-10 16:13:13 -05:00
|
|
|
?edTraining core:dateTimeInterval ?dateTimeInterval .
|
2013-11-12 12:23:44 -05:00
|
|
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
|
|
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
|
|
|
}
|
2013-11-03 17:18:17 -05:00
|
|
|
</query-construct>
|
|
|
|
|
|
|
|
<query-construct>
|
2013-11-12 12:23:44 -05:00
|
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
|
|
CONSTRUCT {
|
|
|
|
?subject ?property ?edTraining .
|
2014-12-10 16:13:13 -05:00
|
|
|
?edTraining core:dateTimeInterval ?dateTimeInterval .
|
2013-11-12 12:23:44 -05:00
|
|
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
2014-12-10 16:13:13 -05:00
|
|
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
2013-11-03 17:18:17 -05:00
|
|
|
} WHERE {
|
|
|
|
?subject ?property ?edTraining .
|
|
|
|
?edTraining a core:EducationalProcess .
|
2014-12-10 16:13:13 -05:00
|
|
|
?edTraining core:dateTimeInterval ?dateTimeInterval .
|
2013-11-12 12:23:44 -05:00
|
|
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
2014-12-10 16:13:13 -05:00
|
|
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
2013-11-03 17:18:17 -05:00
|
|
|
}
|
|
|
|
</query-construct>
|
|
|
|
|
|
|
|
<template>propStatement-organizationForTraining.ftl</template>
|
|
|
|
</list-view-config>
|