so far I can state two problems :

1/ in a fresh empty V7 build Version 7.2.2-rc1.3215-pthreads as of Nov 23 2015,
using bulkloader,

ld_dir('/LN_Hupe', '*.nt', 'http://www.hub.abes.fr/springer/ebooksLN2011/SPR_EBOOK_642_19NOV');
rdf_loader_run();

on a simple file :

<http://www.hub.abes.fr/springerB/ebook/3540192379/chapter/37/w> <http://dbpedia.org/ontology/subtitle> "Part III: a sharp result on the lack of uniform stabilization"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>

will store the object part of the triple as a http://www.w3.org/2001/XMLSchema#string literal instead of http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral (but the string is displayed in a correct manner)



2/ something in my virtuoso.db V6 Version 6.1.6.3127-pthreads as of Oct 19 2012 is causing the same problem when i try to use it as the starting point of my V7 installation, + it adds misinterpretation of the literal string and decodes it with spurious chars.


Thomas Michaux


Le 09/12/2015 10:15, Thomas Michaux a écrit :

-------- Message transféré --------
Sujet : Re: [Virtuoso-users] Fwd: Re: Problems using +backup-dump from Virtuoso 6 to Virtuoso 7 with +restore-crash-dump
Date :  Tue, 8 Dec 2015 19:16:27 +0100
De :    Thomas Michaux <mich...@abes.fr>
Pour :  Hugh Williams <hwilli...@openlinksw.com>
Copie à : virtuoso-users@lists.sourceforge.net <virtuoso-users@lists.sourceforge.net>, Yann NICOLAS <nico...@abes.fr>



ok last one for today,

I found my last test wasn't really "unit testing", because i did not start from an empty V7 db ! I suspect I mixed a V6 conductor (present in virtuoso.db copy) my V7 RDF instance !

So I've done another test importing from a graph dump V6 in a clean, empty V7 and this time things change a bit as we do not have spurious chars at the beginning of the strings when querying ! (but still problem with the return of DATATYPE() function anyway) :

select ?graph ?titre (DATATYPE(?titre ))from <http://www.hub.abes.fr/springer/ebooksLN2011/SPR_EBOOK_642_19NOV> where {
 GRAPH ?graph {
<http://www.hub.abes.fr/springerB/ebook/3540192379/chapter/37/w> <http://dbpedia.org/ontology/subtitle> ?titre
}
}

graph   titre   callret-2
http://www.hub.abes.fr/springer/ebooksLN2011/SPR_EBOOK_642_19NOV "Part III: a sharp result on the lack of uniform stabilization" http://www.w3.org/2001/XMLSchema#string


Thomas



Le 08/12/2015 17:47, Thomas Michaux a écrit :
one more bad news :(

this time I tried with the dump_one_graph_nt procedure from V6 (because in V6 dump_nquads() calls the http_nquad() function which is not available)

I then checked with grep that the dump file for the graph (72Mo) contained the XMLLiteral literals, and it has, here are few examples lines :

<http://www.hub.abes.fr/springerB/ebook/3540192379/chapter/37/w> <http://dbpedia.org/ontology/subtitle> "Part III: a sharp result on the lack of uniform stabilization"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> . <http://www.hub.abes.fr/springerB/ebook/3540192379/chapter/86/w> <http://dbpedia.org/ontology/subtitle> "The existence and unicity problem for bases"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> . <http://www.hub.abes.fr/springerB/ebook/3540544089/chapter/22/w> <http://dbpedia.org/ontology/subtitle> "System of non linear ordinary differential equations"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> . <http://www.hub.abes.fr/springerB/ebook/3540761691/chapter/11/w> <http://dbpedia.org/ontology/subtitle> "Experiences in LAN and WAN environments"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .

Then, I imported in V7 from this file using bulkloader :

ld_dir('/LN_Hupe', '*.nt', 'http://www.hub.abes.fr/springer/ebooksLN2011/SPR_EBOOK_642_19NOV');
rdf_loader_run();


....but still got the problem when querying in V7 with DATATYPE returning http://www.w3.org/2001/XMLSchema#string (instead of http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral ), for example same "Subject" uri and same predicate in query from the first example above :

select ?graph ?titre (DATATYPE(?titre ))from <http://www.hub.abes.fr/springer/ebooksLN2011/SPR_EBOOK_642_19NOV> where {
 GRAPH ?graph {
<http://www.hub.abes.fr/springerB/ebook/3540192379/chapter/37/w> <http://dbpedia.org/ontology/subtitle> ?titre
}
}


graph   titre   callret-2
http://www.hub.abes.fr/springer/ebooksLN2011/SPR_EBOOK_642_19NOV "???� rootzPart III: a sharp result on the lack of uniform stabilization" http://www.w3.org/2001/XMLSchema#string


...hope it will help to investigate

Thomas









------------------------------------------------------------------------------


_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

------------------------------------------------------------------------------
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to