28 lines
1.5 KiB
XML
28 lines
1.5 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>
|
||
|
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#>
|
||
|
|
||
|
SELECT DISTINCT ?dateTimeStart ?precisionStart ?dateTimeEnd ?precisionEnd WHERE {
|
||
|
GRAPH ?g1 { ?subject ?property ?dateTimeInterval }
|
||
|
OPTIONAL { GRAPH ?g2 { ?dateTimeInterval core:start ?dateTimeStartValue .
|
||
|
?dateTimeStartValue core:dateTime ?dateTimeStart ;
|
||
|
core:dateTimePrecision ?dateTimePrecisionStart . }
|
||
|
GRAPH ?g3 { ?dateTimePrecisionStart rdfs:label ?precisionStart }
|
||
|
}
|
||
|
OPTIONAL { GRAPH ?g4 { ?dateTimeInterval core:end ?dateTimeEndValue .
|
||
|
?dateTimeEndValue core:dateTime ?dateTimeEnd ;
|
||
|
core:dateTimePrecision ?dateTimePrecisionEnd . }
|
||
|
GRAPH ?g5 { ?dateTimePrecisionEnd rdfs:label ?precisionEnd }
|
||
|
}
|
||
|
}
|
||
|
</query>
|
||
|
|
||
|
<template>propStatement-dateTimeInterval.ftl</template>
|
||
|
</list-view-config>
|