SPARQL::Client expects boolean literals to have the type set to 'typed-literal' rather than just 'literal'. If you run the example below you will see that the JSON data has the type set to 'literal' and when this is parsed by SPARQL::Client.parse_json_bindings it becomes a RDF::Literal rather than a RDF::Literal::Boolean.
SPARQL::Client expects boolean literals to have the type set to 'typed-literal' rather than just 'literal'. If you run the example below you will see that the JSON data has the type set to 'literal' and when this is parsed by SPARQL::Client.parse_json_bindings it becomes a RDF::Literal rather than a RDF::Literal::Boolean.