Hi,
don't now whether this is related to my other email [1] but it looks like
the XML datatype is skipped by the ttlp function I am using to load large
XML literals using a JDBC connection.
The following shows the problem (run from conductor's iSQL UI):
db.dba.ttlp('<enridaga> <*http://property/name <http://property/name>*>
"""<div>Enrico
Daga</div>"""^^<*http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral
<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>*> .', '',
'TTLPTEST')
and
db.dba.ttlp('<enridaga> <*http://property/name <http://property/name>*>
"""<div>Enrico
Daga</div>"""^^<*http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral2
<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral2>*> .', '',
'TTLPTEST')
Note the '2' added to the datatype name on the second.
Then, executing the following (from the SPARQL UI, to see datatypes...):
select * from <TTLPTEST> where {?s ?p ?o}
I get:
enridaga <http://localhost:8890/conductor/enridaga>
http://property/name"<div>Enrico
Daga</div>"enridaga <http://localhost:8890/conductor/enridaga>
http://property/name"<div>Enrico Daga</div>"^^<
http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral2>
so it looks like the XMLLiteral datatype is not registered.
Is this a bug?
My version:
Virtuoso Open Source Edition (Column Store) (multi threaded)
Version 7.0.0.3203-pthreads as of Feb 13 2014
Compiled for Linux (x86_64-unknown-linux-gnu)
Best,
Enrico
[1]
http://sourceforge.net/mailarchive/forum.php?thread_name=CAGTWk79K_jB4G7kUNWC9ti3vgoGdV1u4bQT%3DB_BHeeHZ8Db0yA%40mail.gmail.com&forum_name=virtuoso-users
--
Enrico Daga
--
http://www.enridaga.net
skype: enri-pan
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users