|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.larkc.core.query.RemoteSPARQLEndpoint
public class RemoteSPARQLEndpoint
RemoteSPARQLEndpoint class automates the result reading from a specific SPARQL endpoint available on the web.
Constructor Summary | |
---|---|
RemoteSPARQLEndpoint(org.openrdf.model.URI uri)
|
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 graph)
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. |
java.io.InputStream |
sendHTTPGet(SPARQLQuery query)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteSPARQLEndpoint(org.openrdf.model.URI uri)
Method Detail |
---|
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 graph)
SPARQLEndpoint
createRdfGraph
in interface SPARQLEndpoint
graph
- is the URI of the named graph
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 java.io.InputStream sendHTTPGet(SPARQLQuery query)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |