public class PropertyPaths extends Object
Constructor and Description |
---|
PropertyPaths() |
Modifier and Type | Method and Description |
---|---|
static RdfPredicate |
oneOrMore(RdfPredicate aElement) |
static RdfPredicate |
path(RdfPredicate... aElements)
Construct property paths for use with the
SparqlBuilder |
static RdfPredicate |
zeroOrMore(RdfPredicate aElement) |
public static RdfPredicate path(RdfPredicate... aElements)
SparqlBuilder
Example: subject.has(path(zeroOrMore(property)), object)
.
aElements
- the path elementspublic static RdfPredicate zeroOrMore(RdfPredicate aElement)
public static RdfPredicate oneOrMore(RdfPredicate aElement)
Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.