Return-Path: X-Original-To: apmail-clerezza-dev-archive@www.apache.org Delivered-To: apmail-clerezza-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E725F104FF for ; Fri, 11 Apr 2014 17:04:23 +0000 (UTC) Received: (qmail 12157 invoked by uid 500); 11 Apr 2014 17:04:22 -0000 Delivered-To: apmail-clerezza-dev-archive@clerezza.apache.org Received: (qmail 11891 invoked by uid 500); 11 Apr 2014 17:04:19 -0000 Mailing-List: contact dev-help@clerezza.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@clerezza.apache.org Delivered-To: mailing list dev@clerezza.apache.org Received: (qmail 11873 invoked by uid 500); 11 Apr 2014 17:04:18 -0000 Delivered-To: apmail-incubator-clerezza-dev@incubator.apache.org Received: (qmail 11864 invoked by uid 99); 11 Apr 2014 17:04:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2014 17:04:18 +0000 Date: Fri, 11 Apr 2014 17:04:18 +0000 (UTC) From: "Enrico Daga (JIRA)" To: clerezza-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLEREZZA-908) Cannot save literals of datatype rdf:XMLLiteral with the virtuoso storage MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)