Re: Does SPARQL return data only if found the whole pattern?

Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/Does-SPARQL-return-data-only-if-found-the-whole-pattern-tp2529p2538.html

Hi,

I think you can achieve that by using an OPTIONAL block:

OPTIONAL {
    ?A ns:has_sister ?B .
    ?B rdfs:label "Marry" .
}

Jiba