AtomGraph / LinkedDataHub

The low-code Knowledge Graph application platform. Apache license.

Home Page:https://atomgraph.github.io/LinkedDataHub/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SPARQL `ASK` query results not written properly

namedgraph opened this issue · comments

Boolean results should simply contain

<boolean>true</boolean>

Currently they are returning an empty result set:

<head>
</head>
<results>
</results>

The solution could be to add a new BooleanResultWriter provider:

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