From ecbee098cb594a8e193c9d3928c2cb357700ba67 Mon Sep 17 00:00:00 2001 From: Jim Blake Date: Fri, 13 Jun 2014 11:15:27 -0400 Subject: [PATCH] VIVO-784 remove duplicate results from "show statements". The clause to include statements in the default graph was showing everything twice, without filtering the statements in the named graph. Don't know why. Talked with Brian, and decided to remove it. --- webapp/web/templates/edit/specific/ents_edit.jsp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/webapp/web/templates/edit/specific/ents_edit.jsp b/webapp/web/templates/edit/specific/ents_edit.jsp index 5c478e01b..82c95e2be 100644 --- a/webapp/web/templates/edit/specific/ents_edit.jsp +++ b/webapp/web/templates/edit/specific/ents_edit.jsp @@ -37,10 +37,7 @@ SELECT ?pred ?obj ?graph WHERE { - { <${entity.URI}> ?pred ?obj - MINUS { GRAPH ?g { <${entity.URI}> ?pred ?obj } } } - UNION - { GRAPH ?graph { <${entity.URI}> ?pred ?obj} } + GRAPH ?graph { <${entity.URI}> ?pred ?obj} } ORDER BY ?graph ?pred limit 10000"/>
@@ -55,10 +52,7 @@ SELECT ?sub ?pred ?graph WHERE { - { ?sub ?pred <${entity.URI}> - MINUS { GRAPH ?g { ?sub ?pred <${entity.URI}> } } } - UNION - { GRAPH ?graph { ?sub ?pred <${entity.URI}> } } + GRAPH ?graph { ?sub ?pred <${entity.URI}> } } ORDER BY ?graph ?pred limit 10000"/>