clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmür (JIRA) <>
Subject [jira] [Commented] (CLEREZZA-761) Implement SPARQL PreParser to support fastlane
Date Fri, 29 Mar 2013 12:47:16 GMT


Reto Bachmann-Gmür commented on CLEREZZA-761:

zz>import org.apache.clerezza.rdf.core.sparql._
import org.apache.clerezza.rdf.core.sparql._
zz>val spp = $[SparqlPreParser]
spp: org.apache.clerezza.rdf.core.sparql.SparqlPreParser = org.apache.clerezza.rdf.core.sparql.SparqlPreParser@3aa78e7a
zz>spp.getReferredGraphs("SELECT DISTINCT ?g { GRAPH ?g { ?s ?p ?o } }", new UriRef("urn:x-localinstance:/content.graph"))
res0: java.util.Set[org.apache.clerezza.rdf.core.UriRef] = [<urn:x-localinstance:/content.graph>]

As discussed in
this should return all the graphs in the dataset. I think that SParqlPreParser being a service
it could consider by default TcManager being the dataset, but it probably should also have
a method that takes any TcProvider as dataset and return it's triple collections.
> Implement SPARQL PreParser to support fastlane
> ----------------------------------------------
>                 Key: CLEREZZA-761
>                 URL:
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Hasan
>            Assignee: Hasan
> The purpose is to have a class with a method to obtain referred graphs in a SPARQL Query
or SPARQL Update

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message