From 0c500246640d65ce8940c83704539e2de43a1bba Mon Sep 17 00:00:00 2001 From: bkoniden Date: Thu, 20 Jan 2011 21:47:08 +0000 Subject: [PATCH] Fixing minor syntax error in copigrant query. --- .../CoPIGrantCountQueryRunner.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/coprincipalinvestigator/CoPIGrantCountQueryRunner.java b/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/coprincipalinvestigator/CoPIGrantCountQueryRunner.java index 5b584cd9..0a659498 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/coprincipalinvestigator/CoPIGrantCountQueryRunner.java +++ b/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/coprincipalinvestigator/CoPIGrantCountQueryRunner.java @@ -150,11 +150,9 @@ public class CoPIGrantCountQueryRunner implements QueryRunner { + "?CoPI rdfs:label ?CoPILabel . " - + "OPTIONAL { ?Grant core:startDate ?GrantStartDate } . " - - + "OPTIONAL { ?Grant core:endDate ?GrantEndDate } . " - - + "} " + + SPARQL_QUERY_COMMON_OPTIONAL_BLOCK + + + "} " + "UNION "