2011-01-08 00:11:26 +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>
|
|
|
|
<query>
|
|
|
|
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-01-18 02:16:14 +00:00
|
|
|
SELECT DISTINCT ?dateTimeInterval (afn:localname(?dateTimeInterval) AS ?intervalName)
|
|
|
|
?valueStart (afn:localname(?valueStart) AS ?valueStartName)
|
|
|
|
?dateTimeStart
|
|
|
|
(afn:localname(?dateTimePrecisionStart) AS ?precisionStart)
|
|
|
|
?valueEnd (afn:localname(?valueEnd) AS ?valueEndName)
|
|
|
|
?dateTimeEnd
|
|
|
|
(afn:localname(?dateTimePrecisionEnd) AS ?precisionEnd) WHERE {
|
2011-01-08 00:11:26 +00:00
|
|
|
GRAPH ?g1 { ?subject ?property ?dateTimeInterval }
|
2011-01-18 02:16:14 +00:00
|
|
|
OPTIONAL { GRAPH ?g2 { ?dateTimeInterval core:start ?valueStart }
|
|
|
|
OPTIONAL { GRAPH ?g3 { ?valueStart core:dateTime ?dateTimeStart } }
|
|
|
|
OPTIONAL { GRAPH ?g4 { ?valueStart core:dateTimePrecision ?dateTimePrecisionStart } }
|
|
|
|
}
|
|
|
|
OPTIONAL { GRAPH ?g5 { ?dateTimeInterval core:end ?valueEnd }
|
|
|
|
OPTIONAL { GRAPH ?g6 { ?valueEnd core:dateTime ?dateTimeEnd } }
|
|
|
|
OPTIONAL { GRAPH ?g7 { ?valueEnd core:dateTimePrecision ?dateTimePrecisionEnd } }
|
2011-01-08 00:11:26 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</query>
|
|
|
|
|
|
|
|
<template>propStatement-dateTimeInterval.ftl</template>
|
|
|
|
</list-view-config>
|