On Mon, Jul 2, 2012 at 12:36 AM, Holger Knublauch <hol...@knublauch.com> wrote: > Hi all, > > I am aware of Graph.isIsomorphicWith, but I need a function that tests > whether Graph A is a sub-set of Graph B, including the ability to map bnodes > into each other. Does that exist in Jena? >
How about: ask { graph <A> { ?s ?p ?o } minus { graph <B> { ?s ?p ?o } } } You can try substituting "filter not exists" for "minus" and see if there are any performance differences. Not sure which one would be better. -Stephen