Removing researchAreaOf from the informationresource queries.

This commit is contained in:
deepakkoni 2011-07-01 18:59:45 +00:00
parent 44ee8c88bf
commit 5a4a2d22f5

View file

@ -384,7 +384,7 @@ public class ContextNodeFields implements DocumentModifier{
multiValuedQueryForInformationResource = prefix + multiValuedQueryForInformationResource = prefix +
"SELECT (str(?LinkedAuthor) as ?linkedAuthor) (str(?LinkedInformationResource) as ?linkedInformationResource) " "SELECT (str(?LinkedAuthor) as ?linkedAuthor) (str(?LinkedInformationResource) as ?linkedInformationResource) "
+ "(str(?Editor) as ?editor) (str(?SubjectArea) as ?subjectArea) (str(?ResearchAreaOf) as ?researchAreaOf) " + + "(str(?Editor) as ?editor) (str(?SubjectArea) as ?subjectArea) " +
"(str(?Features) as ?features) WHERE {" "(str(?Features) as ?features) WHERE {"
+ " ?uri rdf:type core:InformationResource . " + " ?uri rdf:type core:InformationResource . "
@ -392,7 +392,7 @@ public class ContextNodeFields implements DocumentModifier{
+ "OPTIONAL { ?uri core:informationResourceInAuthorship ?a . ?a core:linkedAuthor ?b ; core:linkedInformationResource ?d ." + + "OPTIONAL { ?uri core:informationResourceInAuthorship ?a . ?a core:linkedAuthor ?b ; core:linkedInformationResource ?d ." +
"?b rdfs:label ?LinkedAuthor . ?d rdfs:label ?LinkedInformationResource } . " "?b rdfs:label ?LinkedAuthor . ?d rdfs:label ?LinkedInformationResource } . "
+ "OPTIONAL { ?uri bibo:editor ?e . ?e rdfs:label ?Editor . } ." + "OPTIONAL { ?uri bibo:editor ?e . ?e rdfs:label ?Editor . } ."
+ " OPTIONAL { ?uri core:hasSubjectArea ?f . ?f rdfs:label ?SubjectArea ; core:researchAreaOf ?h . ?h rdfs:label ?ResearchAreaOf . } " + " OPTIONAL { ?uri core:hasSubjectArea ?f . ?f rdfs:label ?SubjectArea . } "
+ " OPTIONAL { ?uri core:features ?i . ?i rdfs:label ?Features . } . " + " OPTIONAL { ?uri core:features ?i . ?i rdfs:label ?Features . } . "
+"}" ; +"}" ;