2010-12-07 21:30:13 +00:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
2010-12-21 13:41:09 +00:00
|
|
|
|
|
|
|
<!--
|
|
|
|
Required elements:
|
|
|
|
- query: the sparql query used to retrieve the data
|
|
|
|
- template: the name of the template used to display a single property statement
|
|
|
|
|
|
|
|
Optional elements:
|
|
|
|
postprocessor: a Java class that postprocesses the data retrieved from the query before
|
|
|
|
sending it to the template
|
|
|
|
|
|
|
|
Query requirements:
|
2010-12-21 20:30:13 +00:00
|
|
|
- WHERE clause must contain a statement ?subject ?property ?object, with the variables
|
|
|
|
?subject and ?property named as such. The object can be given any name, but it must be
|
2010-12-21 13:41:09 +00:00
|
|
|
included in the SELECT terms retrieved by the query. This is the statement that will be edited
|
|
|
|
from the edit links.
|
|
|
|
-->
|
|
|
|
|
2010-12-17 22:11:02 +00:00
|
|
|
<list-view-config>
|
2010-12-16 14:57:04 +00:00
|
|
|
<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 {
|
2010-12-07 21:30:13 +00:00
|
|
|
?subject ?property ?object .
|
2010-12-16 14:57:04 +00:00
|
|
|
OPTIONAL { ?object rdfs:label ?name . }
|
|
|
|
OPTIONAL { ?object vitro:moniker ?moniker . }
|
2010-12-07 21:30:13 +00:00
|
|
|
}
|
|
|
|
</query>
|
|
|
|
|
2010-12-13 20:03:06 +00:00
|
|
|
<collation-target>object</collation-target>
|
2010-12-21 13:41:09 +00:00
|
|
|
|
2010-12-20 01:41:42 +00:00
|
|
|
<postprocessor>edu.cornell.mannlib.vitro.webapp.web.templatemodels.individual.DefaultObjectPropertyDataPostprocessor</postprocessor>
|
2010-12-16 14:57:04 +00:00
|
|
|
|
2010-12-17 22:11:02 +00:00
|
|
|
<template>propStatement-default.ftl</template>
|
|
|
|
</list-view-config>
|