On 09/04/13 08:50, Uri Shani wrote:
Hi,
Is there a solution for comparing two models? Specifically based on their
XML format?

Here is a solution I made with some drawbacks:
I took the triples representation of both models, sorted them by subjects,
and made a similar attempt as diff does, although a bit more
RDF oriented than plain diff.
Some disruptions come from the fact (specifically when comparing ontology
OWL models) that there are sometimes triples with blank nodes
required to represent what appears "cleaner" in the xml format.
The difference of these triples in the two compared models seem to be due
more to cosmetics.
Perhaps a simple solution is to ignore blank nodes in the comparison.

So again my Q at the top of this note.

Thanks,
- Uri


Model.isIsomprphicWith(Model)

Calculating the difference is somewhat harder.

        Andy

Reply via email to