Package | Description |
---|---|
org.eclipse.rdf4j.sparqlbuilder.core |
Core classes and interfaces for the
SPARQLBuilder.
|
org.eclipse.rdf4j.sparqlbuilder.core.query | |
org.eclipse.rdf4j.sparqlbuilder.graphpattern | |
org.eclipse.rdf4j.sparqlbuilder.rdf |
Modifier and Type | Method and Description |
---|---|
TriplesTemplate |
TriplesTemplate.and(TriplePattern... triples)
add triples to this template
|
static GraphTemplate |
SparqlBuilder.construct(TriplePattern... triples)
Create a SPARQL graph template
|
GraphTemplate |
GraphTemplate.construct(TriplePattern... triples)
Add triple patterns to this graph template
|
static TriplesTemplate |
SparqlBuilder.triplesTemplate(TriplePattern... triples)
Create a TriplesTemplate instance, for use with Construct and Update queries
|
Modifier and Type | Method and Description |
---|---|
ConstructQuery |
ConstructQuery.construct(TriplePattern... patterns)
Add triples to this query's graph template
|
static ConstructQuery |
Queries.CONSTRUCT(TriplePattern... patterns)
Create a SPARQL Construct query
|
static DeleteDataQuery |
Queries.DELETE_DATA(TriplePattern... triples)
Create a SPARQL DELETE DATA query
|
ModifyQuery |
ModifyQuery.delete(TriplePattern... triples)
Specify triples to delete (or leave empty for DELETE WHERE shortcut)
|
static ModifyQuery |
Queries.DELETE(TriplePattern... triples)
Convenience method, creates a SPARQL DELETE query using ModifyQuery.
|
DeleteDataQuery |
DeleteDataQuery.deleteData(TriplePattern... triples)
Add triples to be deleted
|
static InsertDataQuery |
Queries.INSERT_DATA(TriplePattern... triples)
Create a SPARQL INSERT DATA query
|
ModifyQuery |
ModifyQuery.insert(TriplePattern... triples)
Specify triples to insert
|
static ModifyQuery |
Queries.INSERT(TriplePattern... triples)
Convenience method, creates a SPARQL INSERT query using ModifyQuery.
|
InsertDataQuery |
InsertDataQuery.insertData(TriplePattern... triples)
Add triples to be inserted
|
Modifier and Type | Method and Description |
---|---|
default TriplePattern |
TriplePattern.andHas(RdfPredicate predicate,
Boolean... objects)
Convenience version of
andHas(RdfPredicate, RdfObject...) that takes Boolean and converts them to
BooleanLiterals |
default TriplePattern |
TriplePattern.andHas(RdfPredicate predicate,
Number... objects)
Convenience version of
andHas(RdfPredicate, RdfObject...) that takes Numbers and converts them to
NumberLiterals |
TriplePattern |
TriplePattern.andHas(RdfPredicateObjectList... lists)
Add predicate-object lists describing this triple pattern's subject
|
default TriplePattern |
TriplePattern.andHas(RdfPredicate predicate,
RdfObject... objects)
Add predicate-object lists describing this triple pattern's subject
|
default TriplePattern |
TriplePattern.andHas(RdfPredicate predicate,
String... objects)
Convenience version of
andHas(RdfPredicate, RdfObject...) that takes Strings and converts them to
StringLiterals |
default TriplePattern |
TriplePattern.andIsA(RdfObject object)
Use the built-in RDF shortcut
a for rdf:type to specify the subject's type |
static TriplePattern |
GraphPatterns.tp(RdfBlankNode.PropertiesBlankNode bnode)
Create a triple pattern from a property-list blank node
|
static TriplePattern |
GraphPatterns.tp(RdfSubject subject,
IRI predicate,
RdfObject... objects)
Create a triple pattern with the given subject, predicate, and object(s)
|
static TriplePattern |
GraphPatterns.tp(RdfSubject subject,
IRI predicate,
Value... objects) |
static TriplePattern |
GraphPatterns.tp(RdfSubject subject,
RdfPredicateObjectList... lists)
Create a triple pattern with the given subject and predicate-object list(s)
|
static TriplePattern |
GraphPatterns.tp(RdfSubject subject,
RdfPredicate predicate,
RdfObject... objects)
Create a triple pattern with the given subject, predicate, and object(s)
|
static TriplePattern |
GraphPatterns.tp(RdfSubject subject,
RdfPredicate predicate,
Value... objects) |
static TriplePattern |
GraphPatterns.tp(Resource subject,
IRI predicate,
RdfObject... objects)
Create a triple pattern with the given subject, predicate, and object(s)
|
static TriplePattern |
GraphPatterns.tp(Resource subject,
IRI predicate,
Value... objects) |
static TriplePattern |
GraphPatterns.tp(Resource subject,
RdfPredicate predicate,
RdfObject... objects)
Create a triple pattern with the given subject, predicate, and object(s)
|
static TriplePattern |
GraphPatterns.tp(Resource subject,
RdfPredicate predicate,
Value... objects) |
Modifier and Type | Method and Description |
---|---|
default TriplePattern |
RdfSubject.has(IRI predicate,
RdfObject... objects)
Create a triple pattern from this subject and the given predicate and object
|
default TriplePattern |
RdfSubject.has(IRI predicate,
Value... values)
Create a triple pattern from this subject and the given predicate and object
|
default TriplePattern |
RdfSubject.has(RdfPredicate predicate,
Boolean... objects)
Wrapper for
RdfSubject.has(RdfPredicate, RdfObject...) that converts Boolean objects into RdfLiteral instances |
default TriplePattern |
RdfSubject.has(RdfPredicate predicate,
Number... objects)
Wrapper for
RdfSubject.has(RdfPredicate, RdfObject...) that converts Number objects into RdfLiteral instances |
default TriplePattern |
RdfSubject.has(RdfPredicateObjectList... lists)
Create a triple pattern from this subject and the given predicate-object list(s)
|
default TriplePattern |
RdfSubject.has(RdfPredicate predicate,
RdfObject... objects)
Create a triple pattern from this subject and the given predicate and object
|
default TriplePattern |
RdfSubject.has(RdfPredicate predicate,
String... objects)
Wrapper for
RdfSubject.has(RdfPredicate, RdfObject...) that converts String objects into RdfLiteral instances |
default TriplePattern |
RdfSubject.has(RdfPredicate predicate,
Value... values)
Create a triple pattern from this subject and the given predicate and object
|
default TriplePattern |
RdfSubject.isA(RdfObject... objects)
Use the built-in shortcut "a" for
rdf:type to build a triple with this subject and the given objects |
TriplePattern |
RdfBlankNode.PropertiesBlankNode.toTp()
convert this blank node to a triple pattern
|
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.