118 lines
No EOL
4.8 KiB
XML
118 lines
No EOL
4.8 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 -->
|
|
|
|
<list-view-config>
|
|
<query-select>
|
|
PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
|
|
|
SELECT DISTINCT <collated> ?subclass </collated>
|
|
?role
|
|
?subclassLabel
|
|
?activity
|
|
(afn:localname(?activity) AS ?activityLocal)
|
|
?activityName
|
|
?dateTimeStart
|
|
?dateTimeEnd
|
|
WHERE {
|
|
|
|
?subject ?property ?role
|
|
OPTIONAL { ?role core:roleContributesTo ?activity .
|
|
?activity vitro:mostSpecificType ?subclass .
|
|
?subclass rdfs:label ?subclassLabel
|
|
}
|
|
OPTIONAL { ?role core:roleContributesTo ?activity .
|
|
?activity rdfs:label ?activityName
|
|
}
|
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval .
|
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
|
}
|
|
OPTIONAL { ?role core:dateTimeInterval ?dateTimeInterval .
|
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
|
}
|
|
|
|
} ORDER BY <collated> ?subclass </collated> DESC(?dateTimeEnd) DESC(?dateTimeStart) ?activityName
|
|
</query-select>
|
|
|
|
<query-construct>
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
|
|
|
CONSTRUCT {
|
|
?subject ?property ?role .
|
|
?role a core:EditorRole .
|
|
?role vitro:mostSpecificType ?roleSubclass .
|
|
?role core:roleContributesTo ?activity .
|
|
?activity rdfs:label ?activityName .
|
|
?activity vitro:mostSpecificType ?subclass .
|
|
?subclass rdfs:label ?subclassLabel
|
|
} WHERE {
|
|
{
|
|
?subject ?property ?role .
|
|
?role a core:EditorRole .
|
|
} UNION {
|
|
?subject ?property ?role .
|
|
?role a core:EditorRole .
|
|
?role vitro:mostSpecificType ?roleSubclass
|
|
} UNION {
|
|
?subject ?property ?role .
|
|
?role a core:EditorRole .
|
|
?role core:roleContributesTo ?activity
|
|
} UNION {
|
|
?subject ?property ?role .
|
|
?role a core:EditorRole .
|
|
?role core:roleContributesTo ?activity .
|
|
?activity rdfs:label ?activityName .
|
|
} UNION {
|
|
?subject ?property ?role .
|
|
?role a core:EditorRole .
|
|
?role core:roleContributesTo ?activity .
|
|
?activity vitro:mostSpecificType ?subclass .
|
|
?subclass rdfs:label ?subclassLabel
|
|
}
|
|
}
|
|
</query-construct>
|
|
|
|
<query-construct>
|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
|
|
CONSTRUCT {
|
|
?subject ?property ?role .
|
|
?role a core:EditorRole .
|
|
?role core:dateTimeInterval ?dateTimeInterval .
|
|
?dateTimeInterval core:start ?dateTimeStartValue .
|
|
?dateTimeStartValue core:dateTime ?dateTimeStart
|
|
} WHERE {
|
|
?subject ?property ?role .
|
|
?role a core:EditorRole .
|
|
?role 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 ?role .
|
|
?role a core:EditorRole .
|
|
?role core:dateTimeInterval ?dateTimeInterval .
|
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
|
} WHERE {
|
|
?subject ?property ?role .
|
|
?role a core:EditorRole .
|
|
?role core:dateTimeInterval ?dateTimeInterval .
|
|
?dateTimeInterval core:end ?dateTimeEndValue .
|
|
?dateTimeEndValue core:dateTime ?dateTimeEnd
|
|
}
|
|
</query-construct>
|
|
|
|
<template>propStatement-hasEditReviewRole.ftl</template>
|
|
</list-view-config> |