mkdf / api-factory-sparql

SPARQL addon for api-factory
0 stars 0 forks source link

Add parameter for choosing RDF return format #1

Closed JaseMK closed 3 years ago

JaseMK commented 3 years ago

Query results are currently returned as JSON. Blazegraph supports alternative formats though, so these should be made accessible via an API parameter.

JaseMK commented 3 years ago

The addon has been prepared to accept a 'format' parameter of json, xml, csv, tab, binary. However, since the API Factory uses a JSON-based ViewModel to return results, this is going to require some more significant modification of existing code in order that non-JSON results can be returned.