NIHVIVO-1570 changes to support SPARQL queries with GRAPH filtering in non-SDB Jena implementation

This commit is contained in:
bjl23 2010-12-22 20:11:01 +00:00
parent 546b214a86
commit 4848117fc9
12 changed files with 168 additions and 71 deletions

View file

@ -23,9 +23,9 @@
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?object ?name ?moniker {
?subject ?property ?object .
OPTIONAL { ?object rdfs:label ?name . }
OPTIONAL { ?object vitro:moniker ?moniker . }
GRAPH ?g1 { ?subject ?property ?object }
OPTIONAL { GRAPH ?g2 { ?object rdfs:label ?name } }
OPTIONAL { GRAPH ?g3 { ?object vitro:moniker ?moniker } }
}
</query>
@ -34,4 +34,4 @@
<postprocessor>edu.cornell.mannlib.vitro.webapp.web.templatemodels.individual.DefaultObjectPropertyDataPostprocessor</postprocessor>
<template>propStatement-default.ftl</template>
</list-view-config>
</list-view-config>