From: Julien P. <jul...@re...> - 2014-11-24 13:34:04
|
Hi Rob, Here the normal query without the encoding problem : INSERT IN GRAPH <http://data.linkedevents.org/lastfm/> {< http://data.linkedevents.org/agent/60f13cb8-004f-498d-9e8e-0c5b6331c92d> < http://www.w3.org/1999/02/22-rdf-syntax-ns#type> < http://xmlns.com/foaf/0.1/Agent> . <http://data.linkedevents.org/agent/60f13cb8-004f-498d-9e8e-0c5b6331c92d> < http://www.w3.org/2000/01/rdf-schema#label> "Flávio Vajman"@sk . <http://data.linkedevents.org/agent/60f13cb8-004f-498d-9e8e-0c5b6331c92d> < http://www.w3.org/2002/07/owl#sameAs> <http://www.last.fm> . <http://data.linkedevents.org/agent/60f13cb8-004f-498d-9e8e-0c5b6331c92d> < http://purl.org/dc/elements/1.1/publisher> <http://www.last.fm> . <http://data.linkedevents.org/agent/60f13cb8-004f-498d-9e8e-0c5b6331c92d> < http://purl.org/dc/elements/1.1/issued> "2014-10-20T14:24:10"^^< http://www.w3.org/2001/XMLSchema#dateTime> . } The query with the marker problem is how Virtuoso receive that query. Best. -- Julien Plu PhD Student at Eurecom. Personal webpage: http://jplu.developpez.com FOAF file : http://jplu.developpez.com/julien Email address : jul...@eu... && *plu...@gm... <plu...@gm...>* Phone : +33493008103 Twitter : @julienplu 2014-11-24 11:08 GMT+01:00 Rob Vesse <rv...@do...>: > Julien > > Tried to look at this last week but didn't get anywhere. Strangely your > email is UTF-8 encoded but your pasted query displays some unknown > character markers which implies something is screwed up in the encoding (of > at least your email) and possibly your original query. > > Can you post the query again as a paste bin/gist somewhere? > > Rob > > From: Julien Plu <plu...@gm...> > Reply-To: dotNetRDF User Help and Support < > dot...@li...> > Date: Thursday, 23 October 2014 14:57 > To: dotNetRDF User Help and Support < > dot...@li...> > Subject: Re: [dotNetRDF-Support] Problem with SPARQL INSERT query > > After few more tests, I confirm it's an encoding problem, but I don't know > if it comes from Virtuoso or from dotnetRDF or both. > > -- > Julien Plu > > PhD Student at Eurecom. > Personal webpage: http://jplu.developpez.com > FOAF file : http://jplu.developpez.com/julien > Email address : jul...@eu... && *plu...@gm... > <plu...@gm...>* > Phone : +33493008103 > Twitter : @julienplu > > 2014-10-23 13:56 GMT+02:00 Julien Plu <plu...@gm...>: > >> Hi Rob, >> >> Thanks for your answer. I understand it can be complicated to debug, but >> I investigated a bit and I suspect an encoding issue, I continue my >> investigation and I will let you know if I find something. >> >> Best. >> >> -- >> Julien Plu >> >> PhD Student at Eurecom. >> Personal webpage: http://jplu.developpez.com >> FOAF file : http://jplu.developpez.com/julien >> Email address : jul...@eu... && *plu...@gm... >> <plu...@gm...>* >> Phone : +33493008103 >> Twitter : @julienplu >> >> 2014-10-23 12:26 GMT+02:00 Rob Vesse <rv...@do...>: >> >>> Julian >>> >>> That could be a bug in either but it is hard to tell without debugging >>> which I haven't had chance to do yet (I just moved house and don't have my >>> full dev setup back up yet) >>> >>> The error messages comes from the Virtuoso layer but it could be caused >>> by dotNetRDF feeding it bad data in the first place so at a glance it is >>> unclear where the problem lies. >>> >>> Rob >>> >>> From: Julien Plu <plu...@gm...> >>> Reply-To: dotNetRDF User Help and Support < >>> dot...@li...> >>> Date: Monday, 20 October 2014 13:47 >>> To: <dot...@li...> >>> Subject: [dotNetRDF-Support] Problem with SPARQL INSERT query >>> >>> Hi all, >>> >>> Each that I try to make a SPARQL INSERT through my dotnet application I >>> have this error : >>> >>> Error : 20/10/2014 14:24:10 : Error on SPARQL insert | INSERT IN GRAPH >>> <http://data.linkedevents.org/lastfm/> {< >>> http://data.linkedevents.org/agent/60f13cb8-004f-498d-9e8e-0c5b6331c92d> >>> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> < >>> http://xmlns.com/foaf/0.1/Agent> . >>> <http://data.linkedevents.org/agent/60f13cb8-004f-498d-9e8e-0c5b6331c92d> >>> <http://www.w3.org/2000/01/rdf-schema#label> "Fl��vio Vajman"@sk . >>> <http://data.linkedevents.org/agent/60f13cb8-004f-498d-9e8e-0c5b6331c92d> >>> <http://www.w3.org/2002/07/owl#sameAs> <http://www.last.fm> . >>> <http://data.linkedevents.org/agent/60f13cb8-004f-498d-9e8e-0c5b6331c92d> >>> <http://purl.org/dc/elements/1.1/publisher> <http://www.last.fm> . >>> <http://data.linkedevents.org/agent/60f13cb8-004f-498d-9e8e-0c5b6331c92d> >>> <http://purl.org/dc/elements/1.1/issued> "2014-10-20T14:24:10"^^< >>> http://www.w3.org/2001/XMLSchema#dateTime> . >>> } >>> Virtuoso Error: SQL_ERROR >>> SQLSTATE: RDFXX >>> Message: [Virtuoso .NET Data Provider][Virtuoso Server]Language is >>> specified for typed literal in DB.DBA.RDF_MAKE_LONG_OF_TYPEDSQLVAL() >>> >>> But if I execute the query directly into the isql-v command prompt of >>> Virtuoso there is no problem. So I'm asking me if it come from Virtuoso or >>> from dotnetRDF lib. >>> >>> I execute my application with mono 3.2.3 on a Fedora OS and my Virtuos >>> is the 7.1 stable. The application works without any problem on Windows 7 >>> with the same version of Virtuoso and mono. The version of dotnetRDF is >>> 1.0.6 with dotnet framework 4.0. >>> >>> Thanks in advance. >>> >>> -- >>> Julien Plu >>> >>> PhD Student at Eurecom. >>> Personal webpage: http://jplu.developpez.com >>> FOAF file : http://jplu.developpez.com/julien >>> Email address : jul...@eu... && *plu...@gm... >>> <plu...@gm...>* >>> Phone : +33493008103 >>> Twitter : @julienplu >>> ------------------------------------------------------------------------------ >>> Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for >>> $9/Month. Get alerted through email, SMS, voice calls or mobile push >>> notifications. Take corrective actions from your mobile device. >>> http://p.sf.net/sfu/Zoho_______________________________________________ >>> dotNetRDF-Support mailing list dot...@li... >>> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> dotNetRDF-Support mailing list >>> dot...@li... >>> https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support >>> >>> >> > ------------------------------------------------------------------------------ > _______________________________________________ dotNetRDF-Support mailing > list dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > dotNetRDF-Support mailing list > dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotnetrdf-support > > |