NIHVIVO-2883 Vivo default list view filters out mostSpecificType values that are not members of a classgroup
This commit is contained in:
parent
becabb076f
commit
9633d73a1a
1 changed files with 5 additions and 0 deletions
|
@ -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 }
|
||||||
|
|
Loading…
Add table
Reference in a new issue