LinkedDataHub icon indicating copy to clipboard operation
LinkedDataHub copied to clipboard

SPARQL `ASK` query results not written properly

Open namedgraph opened this issue 3 years ago • 1 comments

Boolean results should simply contain

<boolean>true</boolean>

Currently they are returning an empty result set:

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

namedgraph avatar Mar 23 '22 22:03 namedgraph

The solution could be to add a new BooleanResultWriter provider:

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

namedgraph avatar Mar 23 '22 22:03 namedgraph