hi ivan, thanks a lot! that pointer was enough.. i didn't realize my sparql endpoint defaults to text/html for sparql queries with missing accept headers...
works like a charm, great! wkr turnguard ----- Original Message ----- From: "Ivan Mikhailov" <imikhai...@openlinksw.com> To: "Jürgen Jakobitsch" <j.jakobit...@semantic-web.at> Cc: virtuoso-users@lists.sourceforge.net Sent: Tuesday, June 26, 2012 11:46:30 PM Subject: Re: [Virtuoso-users] SPARQL Service Experiment Hello Jürgen, The remote endpoint ( i.e., http://tuqs.semantic-web.at/sparql/UKAT ) returns HTML instead of expected result set and Virtuoso fails to parse it. I'll get more details later today. Best Regards, Ivan Mikhailov OpenLink Software http://virtuoso.openlinksw.com On Mon, 2012-06-25 at 21:52 +0200, Jürgen Jakobitsch wrote: > hi, > > i'm trying to do some experiments with a SPARQL Service, but > something is not working as expected... at least i'm producing > the longest stacktrace i've seen so far from virtuoso :-) > > when i issue this query [1] at this sparqlEndpoint [2] > i get a long stacktrace. in the stacktrace however i'm seeing > this resource http://www.ukat.org.uk/thesaurus/concept/4795 along with it's > label > which is the resource i'm exptecting to see, so i'm assuming that at least > some > parts of the whole workflow are working correctly. > > note : this query works on another (openrdf) endpoint as expected. > > any pointer or comment really appreciated... > > wkr turnguard > > [1] > > PREFIX tg:<http://schema.turnguard.com/tuqs/1.1/function#> > PREFIX skos:<http://www.w3.org/2004/02/skos/core#> > SELECT * WHERE { > SERVICE <http://tuqs.semantic-web.at/sparql/UKAT> { > ?s <http://www.w3.org/2004/02/skos/core#altLabel> ?o > FILTER(tg:fts(?o,"semantic","en")). > } > } > > [2] http://uriburner.com/sparql > -- | Jürgen Jakobitsch, | Software Developer | Semantic Web Company GmbH | Mariahilfer Straße 70 / Neubaugasse 1, Top 8 | A - 1070 Wien, Austria | Mob +43 676 62 12 710 | Fax +43.1.402 12 35 - 22 COMPANY INFORMATION | web : http://www.semantic-web.at/ | foaf : http://company.semantic-web.at/person/juergen_jakobitsch PERSONAL INFORMATION | web : http://www.turnguard.com | foaf : http://www.turnguard.com/turnguard | g+ : https://plus.google.com/111233759991616358206/posts | skype : jakobitsch-punkt | xmlns:tg = "http://www.turnguard.com/turnguard#"