NIHVIVO-2883 Vivo default list view filters out mostSpecificType values that are not members of a classgroup

This commit is contained in:
ryounes 2011-07-15 13:47:17 +00:00
parent becabb076f
commit 9633d73a1a

View file

@ -30,6 +30,11 @@
?object a foaf:Person . ?object a foaf:Person .
?object vitro:mostSpecificType ?typeUri . ?object vitro:mostSpecificType ?typeUri .
?typeUri rdfs:label ?type . ?typeUri rdfs:label ?type .
# Since we're only getting one (others removed during postprocessing),
# make sure it's one that's in a classgroup. This elimates types like
# the internal institutional class, etc.
?typeUri vitro:inClassGroup ?classGroup .
?classGroup a vitro:ClassGroup
} }
OPTIONAL { ?object core:preferredTitle ?title } OPTIONAL { ?object core:preferredTitle ?title }