You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commonsrdf.apache.org by "Stian Soiland-Reyes (JIRA)" <ji...@apache.org> on 2016/10/27 09:03:59 UTC

[jira] [Updated] (COMMONSRDF-38) simple Graph.contains(Triple) does not map bnodes consistently

     [ https://issues.apache.org/jira/browse/COMMONSRDF-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stian Soiland-Reyes updated COMMONSRDF-38:
------------------------------------------
    Fix Version/s: 0.3.0

> simple Graph.contains(Triple) does not map bnodes consistently
> --------------------------------------------------------------
>
>                 Key: COMMONSRDF-38
>                 URL: https://issues.apache.org/jira/browse/COMMONSRDF-38
>             Project: Apache Commons RDF
>          Issue Type: Bug
>    Affects Versions: 0.2.0
>            Reporter: Stian Soiland-Reyes
>            Assignee: Stian Soiland-Reyes
>             Fix For: 0.3.0
>
>
> .. but relies on Triple.equals() - which then would not do the expected mapping of "foreign" bnodes (as happens on Graph.add(Triple)
> This means it's behaviour differs from .contains(s,p,o) and .remove(s,p,o).
> The solution should be to do internal mapping also on the Triple methods, if needed.



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