Re: How to check if a graph is a sub-set of another graph?

2012-07-03 Thread Andy Seaborne
On 03/07/12 02:45, Holger Knublauch wrote: My use case is executing the OWL (RL) test cases from Michael Schneider et al. Basically they consist of two turtle files, one before and one after inferencing. I run inferences (using SPIN) myself and then want to check that all triples from Michael's c

Re: How to check if a graph is a sub-set of another graph?

2012-07-02 Thread Holger Knublauch
My use case is executing the OWL (RL) test cases from Michael Schneider et al. Basically they consist of two turtle files, one before and one after inferencing. I run inferences (using SPIN) myself and then want to check that all triples from Michael's conclusions file are found in the SPIN inf

Re: How to check if a graph is a sub-set of another graph?

2012-07-02 Thread Stephen Allen
On Mon, Jul 2, 2012 at 3:27 AM, Dave Reynolds wrote: > On 02/07/12 11:07, Holger Knublauch wrote: >> >> On 7/2/2012 18:47, Stephen Allen wrote: >>> >>> On Mon, Jul 2, 2012 at 12:36 AM, Holger Knublauch >>> wrote: Hi all, I am aware of Graph.isIsomorphicWith, but I need a funct

Re: How to check if a graph is a sub-set of another graph?

2012-07-02 Thread Dave Reynolds
On 02/07/12 11:07, Holger Knublauch wrote: On 7/2/2012 18:47, Stephen Allen wrote: On Mon, Jul 2, 2012 at 12:36 AM, Holger Knublauch 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 bnod

Re: How to check if a graph is a sub-set of another graph?

2012-07-02 Thread Holger Knublauch
On 7/2/2012 18:47, Stephen Allen wrote: On Mon, Jul 2, 2012 at 12:36 AM, Holger Knublauch 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?

Re: How to check if a graph is a sub-set of another graph?

2012-07-02 Thread Stephen Allen
On Mon, Jul 2, 2012 at 12:36 AM, Holger Knublauch 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 { ?

How to check if a graph is a sub-set of another graph?

2012-07-02 Thread Holger Knublauch
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? Thanks Holger