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
public static class RdfBlankNode.PropertiesBlankNode extends Object implements RdfBlankNode
A blank node representing a resource that matches the contained set of predicate-object lists- See Also:
- Blank node syntax
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.rdf4j.sparqlbuilder.rdf.RdfBlankNode
RdfBlankNode.AnonymousBlankNode, RdfBlankNode.LabeledBlankNode, RdfBlankNode.PropertiesBlankNode
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RdfBlankNode.PropertiesBlankNodeandHas(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)RdfBlankNode.PropertiesBlankNodeandHas(IRI 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)RdfBlankNode.PropertiesBlankNodeandHas(RdfPredicateObjectList... lists)Add predicate-object lists to this blank node's patternRdfBlankNode.PropertiesBlankNodeandHas(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)StringgetQueryString()TriplePatterntoTp()convert this blank node to a triple pattern
-
-
-
Method Detail
-
andHas
public RdfBlankNode.PropertiesBlankNode andHas(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)- Parameters:
predicate- the predicate of the triple to addobjects- the object or objects of the triple to add- Returns:
- this blank node
- See Also:
- Predicate-Object Lists, Object Lists
-
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
public RdfBlankNode.PropertiesBlankNode andHas(IRI 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)- Parameters:
predicate- the predicate of the triple to addobjects- the object or objects of the triple to add- Returns:
- this blank node
- See Also:
- Predicate-Object Lists, Object Lists
-
andHas
public RdfBlankNode.PropertiesBlankNode andHas(RdfPredicateObjectList... lists)
Add predicate-object lists to this blank node's pattern- Parameters:
lists- theRdfPredicateObjectList(s) to add- Returns:
- this blank node
- See Also:
- Predicate-Object Lists, Object Lists
-
toTp
public TriplePattern toTp()
convert this blank node to a triple pattern- Returns:
- the triple pattern identified by this blank node
- See Also:
- blank node syntax
-
getQueryString
public String getQueryString()
- Specified by:
getQueryStringin interfaceQueryElement- Returns:
- the String representing the SPARQL syntax of this element
-
-