updated list views with CONSTRUCTs
This commit is contained in:
parent
efb953bbc2
commit
51ce919b28
8 changed files with 776 additions and 315 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue