That curl approach worked.

I'll try some other clients and see how they behave...

Ta



On Thu, 19 May 2016 at 16:49 Sergio Fernández <wik...@apache.org> wrote:

> Hi Rob,
>
>
> On Tue, May 17, 2016 at 2:49 PM, Rob Atkinson <r...@metalinkage.com.au>
> wrote:
>>
>> I can run a SPARQL query from the embedded client at
>> http://192.168.56.151:8080/marmotta/sparql/admin/squebi.html
>>
>> but I can't get a SPARQL client to access what the docs suggest is the
>> sparql endpoint
>> http://192.168.56.151:8080/marmotta/sparql/select
>>
>> hitting this in a browser gives me a HTML dump of stuff.
>>
>> tried Sesame Web Client and python sparql-client
>>
>> What am i missing?
>>
>
> Wrong headers?
>
> I always use Marmotta to test the SPARQLWrapper <
> https://rdflib.github.io/sparqlwrapper/>
>
> Or try manually:
>
> curl -H "Accept: application/sparql-results+json"
> http://192.168.56.151:8080/marmotta/sparql/select -H 'Content-Type:
> text/plain' --data 'SELECT * WHERE { ?s ?p ?o } limit 10'
>
>
> --
> Sergio Fernández
> Partner Technology Manager
> Redlink GmbH
> m: +43 6602747925
> e: sergio.fernan...@redlink.co
> w: http://redlink.co
>

Reply via email to