2011-01-31 22:52:40 +00: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>
|
2011-03-02 22:33:01 +00:00
|
|
|
<query-select>
|
2011-01-31 22:52:40 +00:00
|
|
|
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#>
|
2011-10-25 20:45:13 +00:00
|
|
|
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
2011-01-31 22:52:40 +00:00
|
|
|
|
2011-03-21 22:24:37 +00:00
|
|
|
SELECT DISTINCT <collated>?subclass</collated>
|
2011-02-08 22:52:53 +00:00
|
|
|
?position
|
2011-02-04 14:52:06 +00:00
|
|
|
?positionTitle
|
2012-03-05 21:20:49 +00:00
|
|
|
?hrJobTitle
|
|
|
|
?rank
|
2011-01-31 22:52:40 +00:00
|
|
|
?org ?orgName
|
2011-11-08 16:45:06 +00:00
|
|
|
?middleOrg ?middleOrgName
|
|
|
|
?outerOrg ?outerOrgName
|
2011-01-31 22:52:40 +00:00
|
|
|
?dateTimeStart ?dateTimeEnd WHERE {
|
|
|
|
?subject ?property ?position
|
|
|
|
OPTIONAL { ?position core:positionInOrganization ?org .
|
|
|
|
?org rdfs:label ?orgName
|
2011-11-08 16:45:06 +00:00
|
|
|
OPTIONAL { ?org core:subOrganizationWithin ?middleOrg .
|
|
|
|
?middleOrg rdfs:label ?middleOrgName
|
|
|
|
OPTIONAL { ?middleOrg core:subOrganizationWithin ?outerOrg .
|
|
|
|
?outerOrg rdfs:label ?outerOrgName
|
|
|
|
}
|
|
|
|
}
|
2011-01-31 22:52:40 +00:00
|
|
|
}
|
|
|
|
OPTIONAL { ?position rdfs:label ?positionTitle }
|
2011-02-04 14:52:06 +00:00
|
|
|
OPTIONAL { ?position core:hrJobTitle ?hrJobTitle }
|
2012-03-05 21:20:49 +00:00
|
|
|
OPTIONAL { ?position core:rank ?rank }
|
2011-01-31 22:52:40 +00:00
|
|
|
OPTIONAL { ?position core:dateTimeInterval ?dateTimeInterval
|
|
|
|
OPTIONAL { ?dateTimeInterval core:start ?dateTimeStartValue .
|
|
|
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
|
|
|
}
|
|
|
|
OPTIONAL { ?dateTimeInterval core:end ?dateTimeEndValue .
|
|
|
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
|
|
|
}
|
|
|
|
}
|
2011-03-21 22:24:37 +00:00
|
|
|
<collated>
|
2011-10-25 20:45:13 +00:00
|
|
|
OPTIONAL { ?position vitro:mostSpecificType ?subclass .
|
2011-01-31 22:52:40 +00:00
|
|
|
?subclass rdfs:subClassOf core:Position
|
|
|
|
}
|
2011-03-21 22:24:37 +00:00
|
|
|
</collated>
|
2011-03-22 20:22:20 +00:00
|
|
|
<critical-data-required>
|
2011-03-21 22:24:37 +00:00
|
|
|
FILTER ( bound(?org) )
|
2011-03-22 20:22:20 +00:00
|
|
|
</critical-data-required>
|
2012-03-05 21:20:49 +00:00
|
|
|
} ORDER BY <collated>?subclass</collated> DESC(?dateTimeEnd) ?rank
|
2011-03-02 22:33:01 +00:00
|
|
|
</query-select>
|
2011-01-31 22:52:40 +00:00
|
|
|
|
|
|
|
<query-construct>
|
|
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
2011-10-25 20:45:13 +00:00
|
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
|
|
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
2011-01-31 22:52:40 +00:00
|
|
|
CONSTRUCT {
|
2011-10-25 20:45:13 +00:00
|
|
|
?subject ?property ?position .
|
|
|
|
?position vitro:mostSpecificType ?subclass .
|
2011-01-31 22:52:40 +00:00
|
|
|
?subclass rdfs:subClassOf core:Position
|
|
|
|
} WHERE {
|
2011-10-25 20:45:13 +00:00
|
|
|
?subject ?property ?position .
|
|
|
|
?position vitro:mostSpecificType ?subclass .
|
2011-01-31 22:52:40 +00:00
|
|
|
?subclass rdfs:subClassOf core:Position
|
|
|
|
}
|
|
|
|
</query-construct>
|
|
|
|
|
|
|
|
<query-construct>
|
|
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
|
|
CONSTRUCT {
|
|
|
|
?subject ?property ?position .
|
|
|
|
?position ?positionProperty ?positionValue .
|
2011-11-08 16:45:06 +00:00
|
|
|
?org rdfs:label ?orgName .
|
|
|
|
?org core:subOrganizationWithin ?middleOrg .
|
|
|
|
?middleOrg rdfs:label ?middleOrgName .
|
|
|
|
?middleOrg core:subOrganizationWithin ?outerOrg .
|
|
|
|
?outerOrg rdfs:label ?outerOrgName
|
2011-01-31 22:52:40 +00:00
|
|
|
} WHERE {
|
|
|
|
{
|
|
|
|
?subject ?property ?position
|
|
|
|
} UNION {
|
|
|
|
?subject ?property ?position .
|
|
|
|
?position ?positionProperty ?positionValue
|
2012-03-05 21:20:49 +00:00
|
|
|
} UNION {
|
|
|
|
?subject ?property ?position .
|
|
|
|
?position core:rank ?rank
|
2011-01-31 22:52:40 +00:00
|
|
|
} UNION {
|
|
|
|
?subject ?property ?position .
|
|
|
|
?position core:positionInOrganization ?org .
|
|
|
|
?org rdfs:label ?orgName
|
2011-11-08 16:45:06 +00:00
|
|
|
} UNION {
|
|
|
|
?subject ?property ?position .
|
|
|
|
?position core:positionInOrganization ?org .
|
|
|
|
?org core:subOrganizationWithin ?middleOrg
|
|
|
|
} UNION {
|
|
|
|
?subject ?property ?position .
|
|
|
|
?position core:positionInOrganization ?org .
|
|
|
|
?org core:subOrganizationWithin ?middleOrg .
|
|
|
|
?middleOrg rdfs:label ?middleOrgName
|
|
|
|
} UNION {
|
|
|
|
?subject ?property ?position .
|
|
|
|
?position core:positionInOrganization ?org .
|
|
|
|
?org core:subOrganizationWithin ?middleOrg .
|
|
|
|
?middleOrg core:subOrganizationWithin ?outerOrg
|
|
|
|
} UNION {
|
|
|
|
?subject ?property ?position .
|
|
|
|
?position core:positionInOrganization ?org .
|
|
|
|
?org core:subOrganizationWithin ?middleOrg .
|
|
|
|
?middleOrg core:subOrganizationWithin ?outerOrg .
|
|
|
|
?outerOrg rdfs:label ?outerOrgName
|
2011-01-31 22:52:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</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-personInPosition.ftl</template>
|
2011-01-28 16:49:54 +00:00
|
|
|
</list-view-config>
|