Interface RdfSubject
- All Superinterfaces:
QueryElement
- All Known Subinterfaces:
Iri
,RdfBlankNode
,RdfResource
- All Known Implementing Classes:
RdfBlankNode.AnonymousBlankNode
,RdfBlankNode.LabeledBlankNode
,RdfBlankNode.PropertiesBlankNode
,Variable
Denotes an element that can represent a subject in a
TriplePattern
-
Method Summary
Modifier and TypeMethodDescriptiondefault TriplePattern
has
(Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer, Boolean... objects) default TriplePattern
has
(Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer, Number... objects) default TriplePattern
has
(Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer, String... objects) default TriplePattern
has
(Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer, Value... objects) default TriplePattern
has
(Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer, RdfObject... objects) Create a triple pattern from this subject, predicate path and object.default TriplePattern
Wrapper forhas(RdfPredicate, RdfObject...)
that converts Boolean objects into RdfLiteral instancesdefault TriplePattern
Wrapper forhas(RdfPredicate, RdfObject...)
that converts Number objects into RdfLiteral instancesdefault TriplePattern
Wrapper forhas(RdfPredicate, RdfObject...)
that converts String objects into RdfLiteral instancesdefault TriplePattern
Create a triple pattern from this subject and the given predicate and objectdefault TriplePattern
Create a triple pattern from this subject and the given predicate and objectdefault TriplePattern
has
(RdfPredicateObjectList... lists) Create a triple pattern from this subject and the given predicate-object list(s)default TriplePattern
has
(RdfPredicate predicate, Boolean... objects) Wrapper forhas(RdfPredicate, RdfObject...)
that converts Boolean objects into RdfLiteral instancesdefault TriplePattern
has
(RdfPredicate predicate, Number... objects) Wrapper forhas(RdfPredicate, RdfObject...)
that converts Number objects into RdfLiteral instancesdefault TriplePattern
has
(RdfPredicate predicate, String... objects) Wrapper forhas(RdfPredicate, RdfObject...)
that converts String objects into RdfLiteral instancesdefault TriplePattern
has
(RdfPredicate predicate, Value... values) Create a triple pattern from this subject and the given predicate and objectdefault TriplePattern
has
(RdfPredicate predicate, RdfObject... objects) Create a triple pattern from this subject and the given predicate and objectdefault TriplePattern
Use the built-in shortcut "a" forrdf:type
to build a triple with this subject and the given objectsdefault TriplePattern
Use the built-in shortcut "a" forrdf:type
to build a triple with this subject and the given objectsMethods inherited from interface org.eclipse.rdf4j.sparqlbuilder.core.QueryElement
getQueryString
-
Method Details
-
has
Create a triple pattern from this subject and the given predicate and object- Parameters:
predicate
- the predicate of the triple patternobjects
- the object(s) of the triple pattern- Returns:
- a new
TriplePattern
with this subject, and the given predicate and object(s) - See Also:
-
has
Create a triple pattern from this subject and the given predicate and object- Parameters:
predicate
- the predicateIRI
of the triple patternobjects
- the object(s) of the triple pattern- Returns:
- a new
TriplePattern
with this subject, and the given predicate and object(s) - See Also:
-
has
Create a triple pattern from this subject and the given predicate and object- Parameters:
predicate
- the predicate of the triple patternvalues
- the object value(s) of the triple pattern.- Returns:
- a new
TriplePattern
with this subject, and the given predicate and object(s) - See Also:
-
has
Create a triple pattern from this subject and the given predicate and object- Parameters:
predicate
- the predicateIRI
of the triple patternvalues
- the object value(s) of the triple pattern.- Returns:
- a new
TriplePattern
with this subject, and the given predicate and object(s) - See Also:
-
has
Create a triple pattern from this subject and the given predicate-object list(s)- Parameters:
lists
- theRdfPredicateObjectList
(s) to describing this subject- Returns:
- a new
TriplePattern
with this subject, and the given predicate-object list(s)
-
has
Wrapper forhas(RdfPredicate, RdfObject...)
that converts String objects into RdfLiteral instances- Parameters:
predicate
- the predicate of the triple patternobjects
- the String object(s) of the triple pattern- Returns:
- a new
TriplePattern
with this subject, and the given predicate and object(s)
-
has
Wrapper forhas(RdfPredicate, RdfObject...)
that converts String objects into RdfLiteral instances- Parameters:
predicate
- the predicate of the triple patternobjects
- the String object(s) of the triple pattern- Returns:
- a new
TriplePattern
with this subject, and the given predicate and object(s)
-
has
Wrapper forhas(RdfPredicate, RdfObject...)
that converts Number objects into RdfLiteral instances- Parameters:
predicate
- the predicate of the triple patternobjects
- the Number object(s) of the triple pattern- Returns:
- a new
TriplePattern
with this subject, and the given predicate and object(s)
-
has
Wrapper forhas(RdfPredicate, RdfObject...)
that converts Number objects into RdfLiteral instances- Parameters:
predicate
- the predicate of the triple patternobjects
- the Number object(s) of the triple pattern- Returns:
- a new
TriplePattern
with this subject, and the given predicate and object(s)
-
has
Wrapper forhas(RdfPredicate, RdfObject...)
that converts Boolean objects into RdfLiteral instances- Parameters:
predicate
- the predicate of the triple patternobjects
- the Boolean object(s) of the triple pattern- Returns:
- a new
TriplePattern
with this subject, and the given predicate and object(s)
-
has
Wrapper forhas(RdfPredicate, RdfObject...)
that converts Boolean objects into RdfLiteral instances- Parameters:
predicate
- the predicate of the triple patternobjects
- the Boolean object(s) of the triple pattern- Returns:
- a new
TriplePattern
with this subject, and the given predicate and object(s)
-
isA
Use the built-in shortcut "a" forrdf:type
to build a triple with this subject and the given objects- Parameters:
objects
- the objects to use to describe therdf:type
of this subject- Returns:
- a
TriplePattern
object with this subject, the "a" shortcut predicate, and the given objects - See Also:
-
isA
Use the built-in shortcut "a" forrdf:type
to build a triple with this subject and the given objects- Parameters:
objects
- the objects to use to describe therdf:type
of this subject- Returns:
- a
TriplePattern
object with this subject, the "a" shortcut predicate, and the given objects - See Also:
-
has
default TriplePattern has(Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer, RdfObject... objects) Create a triple pattern from this subject, predicate path and object.- Parameters:
propertyPathConfigurer
- an object that accepts anEmptyPropertyPathBuilder
objects
- the object(s) of the triple pattern- Returns:
- a new
TriplePattern
with this subject, and the given predicate path and object(s)
-
has
default TriplePattern has(Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer, Value... objects) -
has
default TriplePattern has(Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer, String... objects) -
has
default TriplePattern has(Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer, Number... objects) -
has
default TriplePattern has(Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer, Boolean... objects)
-