|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SPARQLQuery
The class represent a SPARQL query that might be executed by a SPARQL endpoint.
Method Summary | |
---|---|
DataSet |
getDataSet()
Gets the SPARQL dataset of this query. |
org.openrdf.model.URI |
getLabelledGroup()
Gets the labeled group this query to be executed against. |
boolean |
isAsk()
Checks whether this query is ASK. |
boolean |
isConstruct()
Checks whether this query is CONSTRUCT |
boolean |
isDescribe()
Checks whether this query is DESCRIBE |
boolean |
isSelect()
Checks whether this query is SELECT |
void |
setDataSet(DataSet ds)
Sets the SPARQL dataset of this query. |
void |
setLabelledGroup(org.openrdf.model.URI label)
Sets the labeled group this query to be executed against.SPARQL syntax does not support this feature and it is currently accessible only via this the API. |
SetOfStatements |
toRDF()
Returns an RDF representation of the query |
Methods inherited from interface eu.larkc.core.query.Query |
---|
toRDF |
Method Detail |
---|
boolean isAsk()
boolean isDescribe()
boolean isConstruct()
boolean isSelect()
DataSet getDataSet()
void setDataSet(DataSet ds)
ds
- dataset (may be null)org.openrdf.model.URI getLabelledGroup()
void setLabelledGroup(org.openrdf.model.URI label)
label
- of the labeled group (may be null)SetOfStatements toRDF()
toRDF
in interface Query
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |