[Virtuoso-users] Fwd: Re: Fwd: Re: Problems using +backup-dump from Virtuoso 6 to Virtuoso 7 with +restore-crash-dump

2015-12-09 Thread Thomas Michaux


 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 
Pour :  Hugh Williams 
Copie à : 	virtuoso-users@lists.sourceforge.net 
, Yann NICOLAS 




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 
 where {

 GRAPH ?graph {
 
 ?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 :


 
 "Part III: a sharp result on 
the lack of uniform 
stabilization"^^ .
 
 "The existence and unicity 
problem for 
bases"^^ .
 
 "System of non linear ordinary 
differential 
equations"^^ .
 
 "Experiences in LAN and WAN 
environments"^^ .


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 
 where {

 GRAPH ?graph {
 
 ?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


Re: [Virtuoso-users] Fwd: Re: Fwd: Re: Problems using +backup-dump from Virtuoso 6 to Virtuoso 7 with +restore-crash-dump

2015-12-09 Thread Thomas Michaux

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 :

 
 "Part III: a sharp result on the 
lack of uniform 
stabilization"^^


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 
Pour :  Hugh Williams 
Copie à : 	virtuoso-users@lists.sourceforge.net 
, Yann NICOLAS 




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 
 where {

 GRAPH ?graph {
 
 ?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 :


 
 "Part III: a sharp result on 
the lack of uniform 
stabilization"^^ .
 
 "The existence and unicity 
problem for 
bases"^^ .
 
 "System of non linear ordinary 
differential 
equations"^^ .
 
 "Experiences in LAN and WAN 
environments"^^ .


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 
 
where {

 GRAPH ?graph {
 
 ?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


--

Re: [Virtuoso-users] Fwd: Re: Fwd: Re: Problems using +backup-dump from Virtuoso 6 to Virtuoso 7 with +restore-crash-dump

2015-12-09 Thread Hugh Williams
Hi Thomas,

These issues have been reported to development to look into …

Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc.  //  http://www.openlinksw.com/
Weblog   -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter  -- http://twitter.com/OpenLink
Google+  -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers

> On 9 Dec 2015, at 11:02, Thomas Michaux  wrote:
> 
> 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 :
> 
>  
> 
>  
>   
>  "Part III: a sharp result on the lack of uniform stabilization"^^ 
> 
>   
> 
> 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  
>> Pour :   Hugh Williams  
>> 
>> Copie à :virtuoso-users@lists.sourceforge.net 
>>  
>>  
>> , Yann NICOLAS 
>>  
>> 
>> 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  
>> 
>>   where {
>>  GRAPH ?graph {
>>  
>>  
>>  
>>  ?titre
>> }
>> }
>> 
>> graphtitre   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 :
>>> 
>>>  
>>> 
>>>  
>>>   "Part III: a sharp result on the 
>>> lack of uniform 
>>> 

[Virtuoso-users] Send SPARQL queries via C# ?

2015-12-09 Thread Eng.Bassam
Hi
I want to query my graphs in virtuoso via C# .Net, I note vi google there
is a dotnet dll to do that, any body has experience to query virtuoso via
C# -send sqprql to virtuoso and iterate query result data set- ???

thanks

-- 
---
> Eng.Bassam Najeeb.
>Software Engineer.
--
___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] Send SPARQL queries via C# ?

2015-12-09 Thread Patrick van Kleef
HI,

> I want to query my graphs in virtuoso via C# .Net, I note vi google there is 
> a dotnet dll to do that, any body has experience to query virtuoso via C# 
> -send sqprql to virtuoso and iterate query result data set- ???


Yes, the virtuoso open source version contains a OpenLink.Data.Virtuoso.dll 
which works with Mono.

You can execute any sparql query via the Virtuoso .NET Adapter by prefixing the 
query with the SPARQL keyword as shown here:

http://docs.openlinksw.com/virtuoso/rdfsparql.html#rdfsparqlinline

The resultset is returned as a set of rows which can be iterated over.


Patrick





Patrick
---
Patrick van Kleef
Program Manager
OpenLink Software

http://www.openlinksw.com/
http://twitter.com/openlink/


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