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-03-03 18:30:37 +00:00
|
|
|
<!-- Default list view config file for 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-03-02 22:32:57 +00:00
|
|
|
<query-select>
|
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-03-21 22:24:33 +00:00
|
|
|
SELECT <collated> ?subclass </collated>
|
2011-06-29 15:50:23 +00:00
|
|
|
?object ?label ?localName WHERE {
|
2011-03-22 18:52:39 +00:00
|
|
|
|
2011-01-31 21:53:24 +00:00
|
|
|
?subject ?property ?object
|
2011-06-29 15:50:23 +00:00
|
|
|
LET (?localName := afn:localname(?object))
|
2011-03-21 22:24:33 +00:00
|
|
|
<collated> OPTIONAL { ?object a ?subclass }
|
2011-03-03 15:15:47 +00:00
|
|
|
FILTER ( afn:namespace(?subclass) != "http://vitro.mannlib.cornell.edu/ns/vitro/0.7#" )
|
2011-03-21 22:24:33 +00:00
|
|
|
</collated>
|
2011-06-29 15:50:23 +00:00
|
|
|
OPTIONAL { ?object rdfs:label ?label }
|
|
|
|
} ORDER BY <collated> ?subclass </collated> ?label ?label ?localName
|
2011-03-02 22:32:57 +00:00
|
|
|
</query-select>
|
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 .
|
2011-06-29 15:50:23 +00:00
|
|
|
?object rdfs:label ?label .
|
2011-01-31 21:53:24 +00:00
|
|
|
} WHERE {
|
|
|
|
{
|
|
|
|
?subject ?property ?object
|
|
|
|
}
|
|
|
|
UNION {
|
|
|
|
?subject ?property ?object .
|
|
|
|
?object a ?subclass .
|
|
|
|
}
|
|
|
|
UNION {
|
|
|
|
?subject ?property ?object .
|
2011-06-29 15:50:23 +00:00
|
|
|
?object rdfs:label ?label .
|
2011-01-31 21:53:24 +00:00
|
|
|
}
|
2011-06-29 15:50:23 +00:00
|
|
|
|
2011-01-31 21:53:24 +00:00
|
|
|
}
|
|
|
|
</query-construct>
|
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>
|