Class Queries
java.lang.Object
org.eclipse.rdf4j.sparqlbuilder.core.query.Queries
A class with static methods to create SPARQL queries
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic AddQueryADD()Creates a new SPARQL ADD Querystatic ClearQueryCLEAR()Creates a SPARQL CLEAR Querystatic ConstructQueryCONSTRUCT(GraphTemplate construct) Create a SPARQL Construct querystatic ConstructQueryCONSTRUCT(TriplePattern... patterns) Create a SPARQL Construct querystatic CopyQueryCOPY()Creates a SPARQL COPY Querystatic CreateQueryCREATE()Creates a SPARQL CREATE Querystatic ModifyQueryDELETE(TriplePattern... triples) Convenience method, creates a SPARQL DELETE query using ModifyQuery.static DeleteDataQueryDELETE_DATA(TriplesTemplate triplesTemplate) Create a SPARQL DELETE DATA querystatic DeleteDataQueryDELETE_DATA(TriplePattern... triples) Create a SPARQL DELETE DATA querystatic DropQueryDROP()Creates a SPARQL DROP Querystatic ModifyQueryINSERT(TriplePattern... triples) Convenience method, creates a SPARQL INSERT query using ModifyQuery.static InsertDataQueryINSERT_DATA(TriplesTemplate triplesTemplate) Create a SPARQL INSERT DATA querystatic InsertDataQueryINSERT_DATA(TriplePattern... triples) Create a SPARQL INSERT DATA querystatic LoadQueryLOAD()Creates a SPARQL LOAD querystatic ModifyQueryMODIFY()Creates a SPARQL Modify querystatic MoveQueryMOVE()Creates a SPARQL MOVE Querystatic SelectQuerySELECT(Projectable... projectables) Create a SPARQL Select querystatic SelectQuerySELECT(Projection select) Create a SPARQL Select query
-
Method Details
-
SELECT
Create a SPARQL Select query- Parameters:
projectables- the initial set ofProjectable(s), if any, to select- Returns:
- a new
SelectQuery - See Also:
-
SELECT
Create a SPARQL Select query- Parameters:
select- theProjectionto set initially- Returns:
- a new
SelectQuery - See Also:
-
CONSTRUCT
Create a SPARQL Construct query- Parameters:
patterns- the initial set ofTriplePattern(s), if any, to construct- Returns:
- a new
ConstructQuery - See Also:
-
CONSTRUCT
Create a SPARQL Construct query- Parameters:
construct- theGraphTemplateto set initially- Returns:
- a new
ConstructQuery - See Also:
-
INSERT_DATA
Create a SPARQL INSERT DATA query- Parameters:
triples- the initial set ofTriplePattern(s), if any, to use- Returns:
- a new
InsertDataQuery - See Also:
-
INSERT_DATA
Create a SPARQL INSERT DATA query- Parameters:
triplesTemplate- theTriplesTemplateto set initially- Returns:
- a new
InsertDataQuery - See Also:
-
DELETE_DATA
Create a SPARQL DELETE DATA query- Parameters:
triples- the initial set ofTriplePattern(s), if any, to use- Returns:
- a new
DeleteDataQuery - See Also:
-
DELETE_DATA
Create a SPARQL DELETE DATA query- Parameters:
triplesTemplate- theTriplesTemplateto set initially- Returns:
- a new
DeleteDataQuery - See Also:
-
MODIFY
Creates a SPARQL Modify query- Returns:
- a new
ModifyQuery - See Also:
-
DELETE
Convenience method, creates a SPARQL DELETE query using ModifyQuery.- Parameters:
triples- the initial set ofTriplePattern(s), if any, to use- Returns:
- a new
ModifyQuery - See Also:
-
INSERT
Convenience method, creates a SPARQL INSERT query using ModifyQuery.- Parameters:
triples- the initial set ofTriplePattern(s), if any, to use- Returns:
- a new
ModifyQuery - See Also:
-
LOAD
Creates a SPARQL LOAD query- Returns:
- a new
LoadQuery - See Also:
-
CLEAR
Creates a SPARQL CLEAR Query- Returns:
- a new
ClearQuery - See Also:
-
CREATE
Creates a SPARQL CREATE Query- Returns:
- a new
CreateQuery - See Also:
-
DROP
Creates a SPARQL DROP Query- Returns:
- a new
DropQuery - See Also:
-
COPY
Creates a SPARQL COPY Query- Returns:
- a new
CopyQuery - See Also:
-
MOVE
Creates a SPARQL MOVE Query- Returns:
- a new
MoveQuery - See Also:
-
ADD
Creates a new SPARQL ADD Query- Returns:
- a new
AddQuery - See Also:
-