Re: Modeling over-riding inheritance in a triple store

On Thu, 2012-08-02 at 13:54 -0700, James Rothering wrote:
> Is is possible to implement an inheritance hierarchy in a SPARQL query?
> In other words, is it possible to select all from a parent type, but
> overriding from a child type wherever an entry exists?

Yes.  NOT EXISTS should do the trick.
http://www.w3.org/TR/sparql11-query/#negation


-- 
David Booth, Ph.D.
http://dbooth.org/

Opinions expressed herein are those of the author and do not necessarily
reflect those of his employer.

Received on Friday, 3 August 2012 02:02:26 UTC