NIHVIVO-1341 Implement preprocessing structure to process object property statement query data before sending to template. Reorganize markup in templates to reduce repetition.
This commit is contained in:
parent
dbb07aa152
commit
b6b3499922
19 changed files with 241 additions and 169 deletions
|
@ -1,13 +1,22 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
<view-config>
|
||||
<query>
|
||||
SELECT ?object {
|
||||
<query>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
|
||||
SELECT ?object ?name ?moniker {
|
||||
?subject ?property ?object .
|
||||
OPTIONAL { ?object rdfs:label ?name . }
|
||||
OPTIONAL { ?object vitro:moniker ?moniker . }
|
||||
}
|
||||
</query>
|
||||
|
||||
<collation-target>object</collation-target>
|
||||
|
||||
<template>objectPropertyList-default.ftl</template>
|
||||
<link-target>object</link-target>
|
||||
|
||||
<preprocessor></preprocessor>
|
||||
|
||||
<template>shortView-default.ftl</template>
|
||||
</view-config>
|
Loading…
Add table
Add a link
Reference in a new issue