Fix SPARQL ASK queries to return W3C standard JSON format #42
Open
csajedi
wants to merge 1 commits from csajedi/nextgraph-rs:fix/sparql-ask-json-format
into master
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'csajedi/nextgraph-rs:fix/sparql-ask-json-format'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Description
This PR fixes ASK queries returning raw JavaScript booleans instead of the W3C SPARQL 1.1
standard JSON format.
Problem
true
orfalse
(raw booleans)Solution
QueryResultsSerializer
to format ASK results properly{"head": {}, "boolean": true/false}
as per W3C standardTesting
true
andfalse
cases return correct formatReferences