I only had a quick look at the reference, but it seems to me that SPARQL property paths might cover at least some of the cases.
Just realized it does not. Sorry for the noise!
I only had a quick look at the reference, but it seems to me that SPARQL property paths might cover at least some of the cases.
Just realized it does not. Sorry for the noise!