AtomGraph / LinkedDataHub

The low-code Knowledge Graph application platform. Apache license.
https://atomgraph.github.io/LinkedDataHub/
Apache License 2.0
485 stars 122 forks source link

SPARQL `ASK` query results not written properly #118

Open namedgraph opened 2 years ago

namedgraph commented 2 years ago

Boolean results should simply contain

<boolean>true</boolean>

Currently they are returning an empty result set:

<head>
</head>
<results>
</results>
namedgraph commented 2 years ago

The solution could be to add a new BooleanResultWriter provider:

BooleanResultWriter extends ResultSetProvider implements MessageBodyReader<Boolean>, MessageBodyWriter<Boolean>