[VIVO-1031] Remove redundant parts of construct query

This commit is contained in:
grahamtriggs 2015-10-21 12:59:50 +01:00
parent 5c01cca0ab
commit 84a7733bd6

View file

@ -67,7 +67,6 @@
?object a ?objectType . ?object a ?objectType .
} UNION { } UNION {
?subject ?property ?object . ?subject ?property ?object .
?object a ?objectType .
?object rdfs:label ?label . ?object rdfs:label ?label .
} }
} }
@ -96,14 +95,12 @@
?object a ?objectType . ?object a ?objectType .
} UNION { } UNION {
?subject ?property ?object . ?subject ?property ?object .
?object a ?objectType .
?object vitro:mostSpecificType ?subclass . ?object vitro:mostSpecificType ?subclass .
?subclass rdfs:label ?type . ?subclass rdfs:label ?type .
?subclass vitro:inClassGroup ?classGroup . ?subclass vitro:inClassGroup ?classGroup .
?classGroup a vitro:ClassGroup ?classGroup a vitro:ClassGroup
} UNION { } UNION {
?subject ?property ?object . ?subject ?property ?object .
?object a ?objectType .
?object obo:ARG_2000028 ?vcard . ?object obo:ARG_2000028 ?vcard .
?vcard vcard:hasTitle ?titleObj . ?vcard vcard:hasTitle ?titleObj .
?titleObj vcard:title ?title ?titleObj vcard:title ?title