NIHVIVO-3587 - moving fix over from 1.4 branch
This commit is contained in:
parent
7690f83cfe
commit
e273bc5f3e
1 changed files with 0 additions and 60 deletions
|
@ -1,60 +0,0 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<!-- Default list view config file for object properties
|
||||
|
||||
See guidelines in vitro/doc/list_view_configuration_guidelines.txt -->
|
||||
|
||||
<list-view-config>
|
||||
<query-select>
|
||||
PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
|
||||
SELECT <collated> ?subclass </collated>
|
||||
?object
|
||||
?label
|
||||
?localName WHERE {
|
||||
|
||||
?subject ?property ?object
|
||||
LET (?localName := afn:localname(?object))
|
||||
|
||||
OPTIONAL { ?object rdfs:label ?label }
|
||||
|
||||
<collated>
|
||||
OPTIONAL {
|
||||
?object a ?subclass.
|
||||
# Require the subclasses retrieved to be in a classgroup, since others are not generally
|
||||
# for display. See vivo-dev-all thread titled "Internal Entity and mostSpecificType,"
|
||||
# Aug 9-10, 2011.
|
||||
?subclass vitro:inClassGroup ?classgroup
|
||||
}
|
||||
FILTER ( afn:namespace(?subclass) != "http://vitro.mannlib.cornell.edu/ns/vitro/0.7#" )
|
||||
</collated>
|
||||
|
||||
} ORDER BY <collated> ?subclass </collated> ?label ?label ?localName
|
||||
</query-select>
|
||||
|
||||
<query-construct>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
||||
|
||||
CONSTRUCT {
|
||||
?subject ?property ?object .
|
||||
?object a ?subclass .
|
||||
?object rdfs:label ?label .
|
||||
} WHERE {
|
||||
{
|
||||
?subject ?property ?object
|
||||
} UNION {
|
||||
?subject ?property ?object .
|
||||
?object a ?subclass .
|
||||
} UNION {
|
||||
?subject ?property ?object .
|
||||
?object rdfs:label ?label .
|
||||
}
|
||||
}
|
||||
</query-construct>
|
||||
|
||||
<template>propStatement-default.ftl</template>
|
||||
</list-view-config>
|
Loading…
Add table
Add a link
Reference in a new issue