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
|
|
|
|
2011-01-19 20:46:36 +00:00
|
|
|
<!-- Default list view config file for uncollated object properties
|
2010-12-21 13:41:09 +00:00
|
|
|
|
2011-01-19 20:46:36 +00:00
|
|
|
See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
|
2010-12-21 13:41:09 +00:00
|
|
|
|
2010-12-17 22:11:02 +00:00
|
|
|
<list-view-config>
|
2011-01-19 20:46:36 +00:00
|
|
|
<query-base>
|
|
|
|
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
|
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
|
|
|
2011-01-31 21:16:05 +00:00
|
|
|
SELECT ?object ?name ?moniker WHERE {
|
2011-01-31 21:53:24 +00:00
|
|
|
?subject ?property ?object
|
|
|
|
OPTIONAL { ?object rdfs:label ?name }
|
|
|
|
OPTIONAL { ?object vitro:moniker ?moniker }
|
2011-02-07 15:52:51 +00:00
|
|
|
} ORDER BY ?name ?object
|
2011-01-19 20:46:36 +00:00
|
|
|
</query-base>
|
|
|
|
|
|
|
|
<query-collated>
|
2010-12-16 14:57:04 +00:00
|
|
|
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
|
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
2011-01-31 21:16:05 +00:00
|
|
|
PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>
|
2010-12-16 14:57:04 +00:00
|
|
|
|
2011-01-31 21:53:24 +00:00
|
|
|
SELECT ?subclass ?object ?name ?moniker {
|
|
|
|
?subject ?property ?object
|
|
|
|
OPTIONAL { ?object a ?subclass }
|
|
|
|
OPTIONAL { ?object rdfs:label ?name }
|
|
|
|
OPTIONAL { ?object vitro:moniker ?moniker }
|
2011-01-31 21:16:05 +00:00
|
|
|
FILTER ( afn:namespace(?subclass) != "http://vitro.mannlib.cornell.edu/ns/vitro/0.7#" )
|
2011-02-07 15:52:51 +00:00
|
|
|
} ORDER BY ?subclass ?name ?object
|
2011-01-19 20:46:36 +00:00
|
|
|
</query-collated>
|
2011-01-31 21:53:24 +00:00
|
|
|
|
|
|
|
<query-construct>
|
|
|
|
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
|
|
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
|
|
|
|
|
|
CONSTRUCT {
|
|
|
|
?subject ?property ?object .
|
|
|
|
?object a ?subclass .
|
|
|
|
?object rdfs:label ?name .
|
|
|
|
?object vitro:moniker ?moniker
|
|
|
|
} WHERE {
|
|
|
|
{
|
|
|
|
?subject ?property ?object
|
|
|
|
}
|
|
|
|
UNION {
|
|
|
|
?subject ?property ?object .
|
|
|
|
?object a ?subclass .
|
|
|
|
}
|
|
|
|
UNION {
|
|
|
|
?subject ?property ?object .
|
|
|
|
?object rdfs:label ?name .
|
|
|
|
}
|
|
|
|
UNION {
|
|
|
|
?subject ?property ?object .
|
|
|
|
?object vitro:moniker ?moniker .
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</query-construct>
|
|
|
|
|
2011-01-05 16:24:25 +00:00
|
|
|
<postprocessor>edu.cornell.mannlib.vitro.webapp.web.templatemodels.individual.DefaultListViewDataPostProcessor</postprocessor>
|
2010-12-16 14:57:04 +00:00
|
|
|
|
2010-12-17 22:11:02 +00:00
|
|
|
<template>propStatement-default.ftl</template>
|
2010-12-22 20:11:01 +00:00
|
|
|
</list-view-config>
|