[
https://issues.apache.org/jira/browse/CLEREZZA-908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Enrico Daga updated CLEREZZA-908:
---------------------------------
Summary: Cannot save literals of datatype rdf:XMLLiteral with the virtuoso
storage (was: Cannot save XMLDatatype on literals in virtuoso)
> 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
>
> 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
(v6.2#6252)