146 lines
6.1 KiB
XML
146 lines
6.1 KiB
XML
<?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
|
|
<http://localhost:8080/vivo/n1402> <http://vivoweb.org/ontology/core#organizationForTraining>
|
|
-->
|
|
|
|
<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 vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
|
|
|
SELECT DISTINCT <collated> ?subclass </collated>
|
|
?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 }
|
|
}
|
|
<collated>
|
|
OPTIONAL { ?training vitro:mostSpecificType ?subclass .
|
|
?subclass rdfs:subClassOf core:EducationalTraining
|
|
}
|
|
</collated>
|
|
|
|
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
|
|
}
|
|
}
|
|
<critical-data-required>
|
|
FILTER ( bound(?person) )
|
|
</critical-data-required>
|
|
} ORDER BY <collated> ?subclass </collated> ?personName
|
|
</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 {
|
|
?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
|
|
}
|
|
</query-construct>
|
|
|
|
<query-construct>
|
|
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
|
|
}
|
|
}
|
|
</query-construct>
|
|
|
|
<query-construct>
|
|
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
|
|
}
|
|
}
|
|
</query-construct>
|
|
|
|
<query-construct>
|
|
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
|
|
}
|
|
</query-construct>
|
|
|
|
<query-construct>
|
|
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
|
|
}
|
|
</query-construct>
|
|
|
|
<template>propStatement-organizationForTraining.ftl</template>
|
|
</list-view-config>
|