Hi,

>> return for example in this case a subject and subjects of it's children


prefix ex: <http://example.org>
select * where {
  ex:subject ?p ?o
  filter(isURI(?o))
}

>> or even more complex a subject and all it's descendant

Using SPARQL 1.1 Property Path :

prefix ex: <http://example.org>
select * where {
  ex:subject (! ex:undef)* ?o
  filter(isURI(?o))
}

Olivier

Reply via email to