From eb802e2c6a0dcf2aa965cfc23d4bb54210b49342 Mon Sep 17 00:00:00 2001 From: tworrall Date: Thu, 22 May 2014 10:48:09 -0400 Subject: [PATCH] needed to filter out most specific types where the type is not in a class group --- productMods/config/listViewConfig-fauxPropertyDefault.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/productMods/config/listViewConfig-fauxPropertyDefault.xml b/productMods/config/listViewConfig-fauxPropertyDefault.xml index 5d54b0e0..560f0a65 100644 --- a/productMods/config/listViewConfig-fauxPropertyDefault.xml +++ b/productMods/config/listViewConfig-fauxPropertyDefault.xml @@ -34,6 +34,9 @@ ?object a foaf:Person . ?object vitro:mostSpecificType ?typeUri . ?typeUri rdfs:label ?type . + # Display only a mostSpecificType that belongs to a classgroup. + ?typeUri vitro:inClassGroup ?classGroup . + ?classGroup a vitro:ClassGroup } OPTIONAL { ?object obo:ARG_2000028 ?vcard . @@ -83,6 +86,8 @@ CONSTRUCT { ?subject ?property ?object . ?object vitro:mostSpecificType ?typeUri . + ?typeUri vitro:inClassGroup ?classGroup . + ?classGroup a vitro:ClassGroup . ?typeUri rdfs:label ?type . ?object obo:ARG_2000028 ?vcard . ?vcard vcard:hasTitle ?titleObj . @@ -94,6 +99,8 @@ ?subject ?property ?object . ?object vitro:mostSpecificType ?typeUri . ?typeUri rdfs:label ?type . + ?typeUri vitro:inClassGroup ?classGroup . + ?classGroup a vitro:ClassGroup } UNION { ?subject ?property ?object . ?object obo:ARG_2000028 ?vcard .