From 0f6c18fca1636eb4d59b93d5f23566737a087f5d Mon Sep 17 00:00:00 2001 From: cdtank Date: Fri, 1 Oct 2010 17:25:51 +0000 Subject: [PATCH] 1. Removed the checking of publication being an instance of bibo:Document in sparql query. This check is unnecessary. Refer [VIVOFEED-583] at http://issues.library.cornell.edu/browse/VIVOFEED-583 for more info. --- .../visualization/coauthorship/CoAuthorshipQueryRunner.java | 1 - .../collegepubcount/CollegePublicationCountQueryRunner.java | 1 - .../personpubcount/PersonPublicationCountQueryRunner.java | 1 - 3 files changed, 3 deletions(-) diff --git a/src/edu/cornell/mannlib/vitro/webapp/visualization/coauthorship/CoAuthorshipQueryRunner.java b/src/edu/cornell/mannlib/vitro/webapp/visualization/coauthorship/CoAuthorshipQueryRunner.java index 131fbb2f..3b1381fa 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/visualization/coauthorship/CoAuthorshipQueryRunner.java +++ b/src/edu/cornell/mannlib/vitro/webapp/visualization/coauthorship/CoAuthorshipQueryRunner.java @@ -445,7 +445,6 @@ public class CoAuthorshipQueryRunner implements QueryRunner { + " core:authorInAuthorship ?authorshipNode . " + "?authorshipNode rdf:type core:Authorship ;" + " core:linkedInformationResource ?document . " - + "?document rdf:type bibo:Document . " + "?document rdfs:label ?documentLabel . " + "?document core:informationResourceInAuthorship ?coAuthorshipNode . " + "?coAuthorshipNode core:linkedAuthor ?coAuthorPerson . " diff --git a/src/edu/cornell/mannlib/vitro/webapp/visualization/collegepubcount/CollegePublicationCountQueryRunner.java b/src/edu/cornell/mannlib/vitro/webapp/visualization/collegepubcount/CollegePublicationCountQueryRunner.java index c2654b7a..a83660a0 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/visualization/collegepubcount/CollegePublicationCountQueryRunner.java +++ b/src/edu/cornell/mannlib/vitro/webapp/visualization/collegepubcount/CollegePublicationCountQueryRunner.java @@ -282,7 +282,6 @@ public class CollegePublicationCountQueryRunner implements QueryRunner