In default list view, require subclass to belong to a classgroup. This is the same criterion we use for displaying class information elsewhere in the app.
This commit is contained in:
parent
80234688a6
commit
f25c835ccc
1 changed files with 7 additions and 1 deletions
|
@ -22,7 +22,13 @@
|
||||||
OPTIONAL { ?object rdfs:label ?label }
|
OPTIONAL { ?object rdfs:label ?label }
|
||||||
|
|
||||||
<collated>
|
<collated>
|
||||||
OPTIONAL { ?object a ?subclass }
|
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#" )
|
FILTER ( afn:namespace(?subclass) != "http://vitro.mannlib.cornell.edu/ns/vitro/0.7#" )
|
||||||
</collated>
|
</collated>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue