Hi Frans, On Wed, Sep 7, 2016 at 2:54 PM, Frans Knibbe <frans.kni...@geodan.nl> wrote: > > Using Marmotta 3.3.0, I am trying SPARQL queries with cURL. I have > understood that I can use a single SPARQL endpoint: /{BASE}/sparql?query=. > Using that endpoint, it seems that I can only get results for SELECT > queries in CSV format (accept header set to text/csv). Is that correct? Is > there an overview of the content types that Marmotta supports for different > SPARQL queries somewhere? >
For tuple queries (results lists) Marmotta currently supports: jon, xml, tsb, csv and html. The format can be selected using regular http content negotiation (i.e., Accept header) or forcing it by sending the 'output` query parameter. You can find the mimetype mappings at: https://github.com/apache/marmotta/blob/develop/platform/marmotta-sparql/src/main/java/org/apache/marmotta/platform/sparql/webservices/SparqlWebService.java#L89 Hope that helps. Cheers, -- Sergio Fernández Partner Technology Manager Redlink GmbH m: +43 6602747925 e: sergio.fernan...@redlink.co w: http://redlink.co