|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.larkc.core.query.LocalStoreSPARQLService
public class LocalStoreSPARQLService
LocalStoreSPARQLService class implements SPARQL query evaluation over a local memory RDF Store.
Constructor Summary | |
---|---|
LocalStoreSPARQLService(com.ontotext.ordi.tripleset.TConnection con)
|
Method Summary | |
---|---|
DataSet |
createDataSet(java.util.Collection<org.openrdf.model.URI> defaultGraphs,
java.util.Collection<org.openrdf.model.URI> namedGraphs)
Creates a SPARQL dataset from this endpoint. |
RdfGraph |
createRdfGraph(org.openrdf.model.URI name)
Creates a named graph from this endpoint. |
boolean |
executeAsk(SPARQLQuery query)
Executes ASK query. |
SetOfStatements |
executeConstruct(SPARQLQuery query)
Executes CONSTRUCT or DESCRIBE query. |
VariableBinding |
executeSelect(SPARQLQuery query)
Executes SELECT query. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalStoreSPARQLService(com.ontotext.ordi.tripleset.TConnection con)
Method Detail |
---|
public boolean executeAsk(SPARQLQuery query)
SPARQLEndpoint
executeAsk
in interface SPARQLEndpoint
query
- is ask query to be executed
public SetOfStatements executeConstruct(SPARQLQuery query)
SPARQLEndpoint
executeConstruct
in interface SPARQLEndpoint
query
- is construct or describe query to be executed
public VariableBinding executeSelect(SPARQLQuery query)
SPARQLEndpoint
executeSelect
in interface SPARQLEndpoint
query
- is select query to be executed
public DataSet createDataSet(java.util.Collection<org.openrdf.model.URI> defaultGraphs, java.util.Collection<org.openrdf.model.URI> namedGraphs)
SPARQLEndpoint
createDataSet
in interface SPARQLEndpoint
defaultGraphs
- is list of default graphsnamedGraphs
- is a list of named graphs
public RdfGraph createRdfGraph(org.openrdf.model.URI name)
SPARQLEndpoint
createRdfGraph
in interface SPARQLEndpoint
name
- is the URI of the named graph
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |