public interface TriplePattern extends GraphPattern
Modifier and Type | Method and Description |
---|---|
default TriplePattern |
andHas(RdfPredicate predicate,
Boolean... objects)
Convenience version of
andHas(RdfPredicate, RdfObject...) that takes Boolean and converts them to
BooleanLiterals |
default TriplePattern |
andHas(RdfPredicate predicate,
Number... objects)
Convenience version of
andHas(RdfPredicate, RdfObject...) that takes Numbers and converts them to
NumberLiterals |
TriplePattern |
andHas(RdfPredicateObjectList... lists)
Add predicate-object lists describing this triple pattern's subject
|
default TriplePattern |
andHas(RdfPredicate predicate,
RdfObject... objects)
Add predicate-object lists describing this triple pattern's subject
|
default TriplePattern |
andHas(RdfPredicate predicate,
String... objects)
Convenience version of
andHas(RdfPredicate, RdfObject...) that takes Strings and converts them to
StringLiterals |
default TriplePattern |
andIsA(RdfObject object)
Use the built-in RDF shortcut
a for rdf:type to specify the subject's type |
default boolean |
isEmpty() |
and, filter, filterExists, filterExists, filterNotExists, from, minus, optional, optional, union
getQueryString
static final String SUFFIX
default TriplePattern andHas(RdfPredicate predicate, RdfObject... objects)
predicate
- the predicate to use to describe this triple pattern's subjectobjects
- the corresponding object(s)TriplePattern andHas(RdfPredicateObjectList... lists)
lists
- the RdfPredicateObjectList
(s) to adddefault TriplePattern andHas(RdfPredicate predicate, String... objects)
andHas(RdfPredicate, RdfObject...)
that takes Strings and converts them to
StringLiteralspredicate
- the predicate to use to describe this triple pattern's subjectobjects
- the corresponding object(s)default TriplePattern andHas(RdfPredicate predicate, Boolean... objects)
andHas(RdfPredicate, RdfObject...)
that takes Boolean and converts them to
BooleanLiteralspredicate
- the predicate to use to describe this triple pattern's subjectobjects
- the corresponding object(s)default TriplePattern andHas(RdfPredicate predicate, Number... objects)
andHas(RdfPredicate, RdfObject...)
that takes Numbers and converts them to
NumberLiteralspredicate
- the predicate to use to describe this triple pattern's subjectobjects
- the corresponding object(s)default TriplePattern andIsA(RdfObject object)
a
for rdf:type
to specify the subject's typeobject
- the object describing this triple pattern's subject's rdf:type
default boolean isEmpty()
isEmpty
in interface GraphPattern
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.