You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2016/01/14 12:59:39 UTC

[jira] [Commented] (JENA-1117) Model.isIsomorphicWith() does not behave correctly

    [ https://issues.apache.org/jira/browse/JENA-1117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15098028#comment-15098028 ] 

Andy Seaborne commented on JENA-1117:
-------------------------------------

Hi - do you have a complete, minimal example? 

2 data files that when used with the code above illustrate the problem?

Using the current code (3.0.1), I loaded your large data twice and both asserts passed.



> Model.isIsomorphicWith() does not behave correctly
> --------------------------------------------------
>
>                 Key: JENA-1117
>                 URL: https://issues.apache.org/jira/browse/JENA-1117
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Jena
>    Affects Versions: Jena 2.13.0
>         Environment: Ubuntu 15.10
>            Reporter: Dimitris Kontokostas
>            Priority: Minor
>
> The following code succeeds on the first check where the difference is empty but fails with isIsomorphicWith() where it shouldn't
> {code:java}
>    Model difference = inputModel.difference(outputModel);
>    assertThat(difference.isEmpty()).isTrue();
>    assertThat(inputModel.isIsomorphicWith(outputModel)).isTrue();
> {code}
> The code does not fail always, works with all of my test files except the following:
> https://raw.githubusercontent.com/AKSW/RDFUnit/d29315a5fef16855253222d5606555bbf2b5a1f6/rdfunit-model/src/test/resources/org/aksw/rdfunit/model/results/sample.extendedTestCaseResult.ttl



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)