Interface RdfSubject
-
- All Superinterfaces:
QueryElement
- All Known Subinterfaces:
Iri,RdfBlankNode,RdfResource
- All Known Implementing Classes:
RdfBlankNode.AnonymousBlankNode,RdfBlankNode.LabeledBlankNode,RdfBlankNode.PropertiesBlankNode,Variable
public interface RdfSubject extends QueryElement
Denotes an element that can represent a subject in aTriplePattern
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default TriplePatternhas(Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer, Boolean... objects)default TriplePatternhas(Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer, Number... objects)default TriplePatternhas(Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer, String... objects)default TriplePatternhas(Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer, Value... objects)default TriplePatternhas(Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer, RdfObject... objects)Create a triple pattern from this subject, predicate path and object.default TriplePatternhas(IRI predicate, Boolean... objects)Wrapper forhas(RdfPredicate, RdfObject...)that converts Boolean objects into RdfLiteral instancesdefault TriplePatternhas(IRI predicate, Number... objects)Wrapper forhas(RdfPredicate, RdfObject...)that converts Number objects into RdfLiteral instancesdefault TriplePatternhas(IRI predicate, String... objects)Wrapper forhas(RdfPredicate, RdfObject...)that converts String objects into RdfLiteral instancesdefault TriplePatternhas(IRI predicate, Value... values)Create a triple pattern from this subject and the given predicate and objectdefault TriplePatternhas(IRI predicate, RdfObject... objects)Create a triple pattern from this subject and the given predicate and objectdefault TriplePatternhas(RdfPredicateObjectList... lists)Create a triple pattern from this subject and the given predicate-object list(s)default TriplePatternhas(RdfPredicate predicate, Boolean... objects)Wrapper forhas(RdfPredicate, RdfObject...)that converts Boolean objects into RdfLiteral instancesdefault TriplePatternhas(RdfPredicate predicate, Number... objects)Wrapper forhas(RdfPredicate, RdfObject...)that converts Number objects into RdfLiteral instancesdefault TriplePatternhas(RdfPredicate predicate, String... objects)Wrapper forhas(RdfPredicate, RdfObject...)that converts String objects into RdfLiteral instancesdefault TriplePatternhas(RdfPredicate predicate, Value... values)Create a triple pattern from this subject and the given predicate and objectdefault TriplePatternhas(RdfPredicate predicate, RdfObject... objects)Create a triple pattern from this subject and the given predicate and objectdefault TriplePatternisA(IRI... objects)Use the built-in shortcut "a" forrdf:typeto build a triple with this subject and the given objectsdefault TriplePatternisA(RdfObject... objects)Use the built-in shortcut "a" forrdf:typeto build a triple with this subject and the given objects-
Methods inherited from interface org.eclipse.rdf4j.sparqlbuilder.core.QueryElement
getQueryString
-
-
-
-
Method Detail
-
has
default TriplePattern has(RdfPredicate predicate, RdfObject... objects)
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
TriplePatternwith this subject, and the given predicate and object(s) - See Also:
- Triple pattern syntax
-
has
default TriplePattern has(IRI predicate, RdfObject... objects)
Create a triple pattern from this subject and the given predicate and object- Parameters:
predicate- the predicateIRIof the triple patternobjects- the object(s) of the triple pattern- Returns:
- a new
TriplePatternwith this subject, and the given predicate and object(s) - See Also:
- Triple pattern syntax
-
has
default TriplePattern has(RdfPredicate predicate, Value... values)
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
TriplePatternwith this subject, and the given predicate and object(s) - See Also:
- Triple pattern syntax
-
has
default TriplePattern has(IRI predicate, Value... values)
Create a triple pattern from this subject and the given predicate and object- Parameters:
predicate- the predicateIRIof the triple patternvalues- the object value(s) of the triple pattern.- Returns:
- a new
TriplePatternwith this subject, and the given predicate and object(s) - See Also:
- Triple pattern syntax
-
has
default TriplePattern has(RdfPredicateObjectList... lists)
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
TriplePatternwith this subject, and the given predicate-object list(s)
-
has
default TriplePattern has(RdfPredicate predicate, String... objects)
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
TriplePatternwith this subject, and the given predicate and object(s)
-
has
default TriplePattern has(IRI predicate, String... objects)
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
TriplePatternwith this subject, and the given predicate and object(s)
-
has
default TriplePattern has(RdfPredicate predicate, Number... objects)
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
TriplePatternwith this subject, and the given predicate and object(s)
-
has
default TriplePattern has(IRI predicate, Number... objects)
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
TriplePatternwith this subject, and the given predicate and object(s)
-
has
default TriplePattern has(RdfPredicate predicate, Boolean... objects)
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
TriplePatternwith this subject, and the given predicate and object(s)
-
has
default TriplePattern has(IRI predicate, Boolean... objects)
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
TriplePatternwith this subject, and the given predicate and object(s)
-
isA
default TriplePattern isA(RdfObject... objects)
Use the built-in shortcut "a" forrdf:typeto build a triple with this subject and the given objects- Parameters:
objects- the objects to use to describe therdf:typeof this subject- Returns:
- a
TriplePatternobject with this subject, the "a" shortcut predicate, and the given objects - See Also:
- RDF Type abbreviation
-
isA
default TriplePattern isA(IRI... objects)
Use the built-in shortcut "a" forrdf:typeto build a triple with this subject and the given objects- Parameters:
objects- the objects to use to describe therdf:typeof this subject- Returns:
- a
TriplePatternobject with this subject, the "a" shortcut predicate, and the given objects - See Also:
- RDF Type abbreviation
-
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 anEmptyPropertyPathBuilderobjects- the object(s) of the triple pattern- Returns:
- a new
TriplePatternwith 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)
-
-