Class RdfBlankNode.PropertiesBlankNode
java.lang.Object
org.eclipse.rdf4j.sparqlbuilder.rdf.RdfBlankNode.PropertiesBlankNode
- All Implemented Interfaces:
Operand
,QueryElement
,RdfBlankNode
,RdfObject
,RdfResource
,RdfSubject
,RdfValue
- Enclosing interface:
- RdfBlankNode
A blank node representing a resource that matches the contained set of predicate-object lists
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.rdf4j.sparqlbuilder.rdf.RdfBlankNode
RdfBlankNode.AnonymousBlankNode, RdfBlankNode.LabeledBlankNode, RdfBlankNode.PropertiesBlankNode
-
Method Summary
Modifier and TypeMethodDescriptionandHas
(Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer, RdfObject... objects) Using the predicate-object and object list mechanisms, expand this blank node's pattern to include triples consisting of this blank node as the subject, and the configured predicate path and object(s)Using the predicate-object and object list mechanisms, expand this blank node's pattern to include triples consisting of this blank node as the subject, and the given predicate and object(s)andHas
(RdfPredicateObjectList... lists) Add predicate-object lists to this blank node's patternandHas
(RdfPredicate predicate, RdfObject... objects) Using the predicate-object and object list mechanisms, expand this blank node's pattern to include triples consisting of this blank node as the subject, and the given predicate and object(s)toTp()
convert this blank node to a triple pattern
-
Method Details
-
andHas
Using the predicate-object and object list mechanisms, expand this blank node's pattern to include triples consisting of this blank node as the subject, and the given predicate and object(s)- Parameters:
predicate
- the predicate of the triple to addobjects
- the object or objects of the triple to add- Returns:
- this blank node
- See Also:
-
andHas
public RdfBlankNode.PropertiesBlankNode andHas(Consumer<EmptyPropertyPathBuilder> propertyPathConfigurer, RdfObject... objects) Using the predicate-object and object list mechanisms, expand this blank node's pattern to include triples consisting of this blank node as the subject, and the configured predicate path and object(s)- Parameters:
propertyPathConfigurer
-objects
-- Returns:
-
andHas
Using the predicate-object and object list mechanisms, expand this blank node's pattern to include triples consisting of this blank node as the subject, and the given predicate and object(s)- Parameters:
predicate
- the predicate of the triple to addobjects
- the object or objects of the triple to add- Returns:
- this blank node
- See Also:
-
andHas
Add predicate-object lists to this blank node's pattern- Parameters:
lists
- theRdfPredicateObjectList
(s) to add- Returns:
- this blank node
- See Also:
-
toTp
convert this blank node to a triple pattern- Returns:
- the triple pattern identified by this blank node
- See Also:
-
getQueryString
- Specified by:
getQueryString
in interfaceQueryElement
- Returns:
- the String representing the SPARQL syntax of this element
-