You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Hasan Hasan (Jira)" <ji...@apache.org> on 2022/05/12 05:59:00 UTC

[jira] [Closed] (CLEREZZA-908) Cannot save literals of datatype rdf:XMLLiteral with the virtuoso storage

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

Hasan Hasan closed CLEREZZA-908.
--------------------------------
    Resolution: Workaround

> Cannot save literals of datatype rdf:XMLLiteral with the virtuoso storage
> -------------------------------------------------------------------------
>
>                 Key: CLEREZZA-908
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-908
>             Project: Clerezza
>          Issue Type: Bug
>            Reporter: Enrico Daga
>            Assignee: Enrico Daga
>            Priority: Major
>
> This problem raised some time ago for the first time but it needs some time to be clarified. Discussions has been done in the virtuoso mailing list [1].
> Specifically, inserting a triple with a value of type rdf:XMLLiteral caused a string "0" to be inserted. At that time a partial solution was to serialize the whole triple as TTL and use a stored procedure db.dba.ttl(...) to save the triple. This worked, but caused the triple to loose the datatype (see [2]).
> This is also what is currently implemented.
> Anyway, this solution is bad for other reasons, especially:
> - performance is too bad (serializes any triple...)
> - you still don't have the correct datatype (there are two tests with "Ignore" annotation in VirtuosoMGraphTest that witness this)
> [1] http://sourceforge.net/p/virtuoso/mailman/message/31987368/
> [2] http://sourceforge.net/p/virtuoso/mailman/message/31992357/



--
This message was sent by Atlassian Jira
(v8.20.7#820007)