2.1.8
There is one new feature provided by Andrew Mcveigh, which is that we now include an API and clojure DSL for building SPARQL property paths.
The DSL syntax covers the whole property path spec, and we provide some illustrative examples ported into our DSL syntax from the W3C SPARQL 1.1 spec examples into our DSL in our tests.
These paths can then also be substituted into grafter.rdf4j.sparql/query
queries as a predicate binding.
There are two interfaces to build paths, either via standard clojure function calls, or via a thin macro layer that is syntactically almost identical to the paths in the W3C spec. Additionally the macro provides compile time syntax checking of the property path grammer.