updated list views with CONSTRUCTs

This commit is contained in:
bjl23 2011-01-31 22:52:40 +00:00
parent efb953bbc2
commit 51ce919b28
8 changed files with 776 additions and 315 deletions

View file

@ -13,11 +13,26 @@
(afn:localname(?dateTimeValue) AS ?dateTimeValueName)
(afn:localname(?dateTimePrecision) AS ?precision)
?dateTime WHERE {
GRAPH ?g1 { ?subject ?property ?dateTimeValue }
OPTIONAL { GRAPH ?g2 { ?dateTimeValue core:dateTime ?dateTime } }
OPTIONAL { GRAPH ?g3 { ?dateTimeValue core:dateTimePrecision ?dateTimePrecision } }
?subject ?property ?dateTimeValue
OPTIONAL { ?dateTimeValue core:dateTime ?dateTime }
OPTIONAL { ?dateTimeValue core:dateTimePrecision ?dateTimePrecision }
}
</query-base>
<query-construct>
CONSTRUCT {
?subject ?property ?dateTimeValue .
?dateTimeValue ?p ?o .
} WHERE {
{
?subject ?property ?dateTimeValue
}
UNION {
?subject ?property ?dateTimeValue .
?dateTimeValue ?p ?o .
}
}
</query-construct>
<template>propStatement-dateTimeValue.ftl</template>
</list-view-config>
</list-view-config>