graph-lakehouse
Property Paths
SPARQL property paths enable users to examine the patterns between properties in the data. Property paths reveal the routes between nodes in a graph.
Syntax
Specify property paths in the predicate part of a triple pattern. Combine predicates using the operators described in the table below. For more information, see the W3C Property Path specification.
| Construct | Expression Name | Description |
|---|---|---|
| <URI> | PredicatePath | A predicate URI in a triple pattern matches a path length of one. |
| **^**path1 | InversePath | Matches on backwards paths--subject to object. |
| path1**/**path2 | SequencePath | Matches on forward paths--path1 followed by path2. |
| path1** | **path2 | AlternativePath |
| path1***** | ZeroOrMorePath | Connects the subject and object of the path by zero or more matches of path1, i.e., path1 repeated zero or more times. |
| path1**+** | OneOrMorePath | Connects the subject and object of the path by one or more matches of path1, i.e., path1 repeated one or more times. |
| path1**?** | ZeroOrOnePath | Connects the subject and object of the path by zero or one matches of path1, i.e., path1 is optional. |
| (path) | N/A | Specifies groups of paths. Use parentheses around groups to control precedence. |
| **!**URI | ||
| or | ||
| !(URI1 | ... | URIn) |
| **!^**URI | ||
| or | ||
| !(^URI1 | ... | ^URIn) |
| You can include a combination of forward and reverse properties in a negated property set: !(URI1 | ... | URIj |
Source: https://docs.sw.siemens.com/documentation/external/PL20260518131381558/en-US/html/system-property-paths.htm · retrieved 2026-08-23