|
||||||||||
| 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 SPARQLEndpointdefaultGraphs - is list of default graphsnamedGraphs - is a list of named graphs
public RdfGraph createRdfGraph(org.openrdf.model.URI graph)
SPARQLEndpoint
createRdfGraph in interface SPARQLEndpointgraph - is the URI of the named graph
public boolean executeAsk(SPARQLQuery query)
SPARQLEndpoint
executeAsk in interface SPARQLEndpointquery - is ask query to be executed
public SetOfStatements executeConstruct(SPARQLQuery query)
SPARQLEndpoint
executeConstruct in interface SPARQLEndpointquery - is construct or describe query to be executed
public VariableBinding executeSelect(SPARQLQuery query)
SPARQLEndpoint
executeSelect in interface SPARQLEndpointquery - 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 | |||||||||