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.
This commit is contained in:
parent
bc89ddbb91
commit
0f6c18fca1
3 changed files with 0 additions and 3 deletions
|
@ -445,7 +445,6 @@ public class CoAuthorshipQueryRunner implements QueryRunner<CoAuthorshipData> {
|
|||
+ " 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 . "
|
||||
|
|
|
@ -282,7 +282,6 @@ public class CollegePublicationCountQueryRunner implements QueryRunner<Set<VivoE
|
|||
String sparqlQuery = " {?department " + ontologyHandle + " ?" + employeeHandle + " . "
|
||||
+ "?" + employeeHandle + " rdf:type foaf:Person; rdfs:label ?authorLabel. "
|
||||
+ "OPTIONAL { ?" + employeeHandle + " vivo:authorOf ?document ." +
|
||||
" ?document rdf:type bibo:Document ." +
|
||||
" ?document rdfs:label ?documentLabel ." +
|
||||
" OPTIONAL { ?document vitro:moniker ?documentMoniker } ." +
|
||||
" OPTIONAL { ?document vitro:blurb ?documentBlurb } ." +
|
||||
|
|
|
@ -63,7 +63,6 @@ public class PersonPublicationCountQueryRunner implements QueryRunner<Set<BiboDo
|
|||
+ " (str(?documentDescription) as ?documentDescriptionLit) ";
|
||||
|
||||
private static final String SPARQL_QUERY_COMMON_WHERE_CLAUSE = ""
|
||||
+ "?document rdf:type bibo:Document ."
|
||||
+ "?document rdfs:label ?documentLabel ."
|
||||
+ "OPTIONAL { ?document core:year ?publicationYear } ."
|
||||
+ "OPTIONAL { ?document core:yearMonth ?publicationYearMonth } ."
|
||||
|
|
Loading…
Add table
Reference in a new issue