SPARQL property path queries with arbitrary properties
You’re right that you can’t use variables in property path expressions. There are a few things that you can do, though, that might help you. A wildcard to check whether a path exists You can use a wildcard by taking the disjunction of it and its negation, so you can do a simple query that … Read more