Re: Questions about Jena Model difference and isIsomorphicWith with Blank Nodes

2015-09-23 Thread Juan Sequeda
On Wed, Sep 23, 2015 at 5:12 PM, Chris Dollin wrote: > On 09/23/2015 04:06 PM, Juan Sequeda wrote: > > I was looking into the difference and isIsomorphicWith method of a Jena >> Model when there are Blank Nodes. >> >> The isIsomorphicWith returns the expected

Re: Questions about Jena Model difference and isIsomorphicWith with Blank Nodes

2015-09-23 Thread Chris Dollin
On 09/23/2015 04:06 PM, Juan Sequeda wrote: I was looking into the difference and isIsomorphicWith method of a Jena Model when there are Blank Nodes. The isIsomorphicWith returns the expected results when two RDF graphs with blank nodes are effectively isomorphic. However, I would expect that

Re: Questions about Jena Model difference and isIsomorphicWith with Blank Nodes

2015-09-23 Thread Rob Vesse
Juan I've not done it in Jena but I have done it in dotNetRDF The general approach is to treat triples with blank nodes separately from those without. For triples with no blank nodes you can simply do contains() checks across the two models to find the differences. For those with blank nodes