- From: Daniel Hernandez <daniel@degu.cl>
- Date: Thu, 20 Jan 2022 08:43:03 +0100
- To: "Public Rdf Ruby" <public-rdf-ruby@w3.org>
- Cc: "Andy Seaborne" <andy@seaborne.org>
Hi all,
The SPARQL parsers in Ruby RDF and Jena produce different S-Expressions
for queries with RDF-star. For instance, consider the following query:
SELECT *
WHERE { { ?s ?p ?o BIND (<< ?s ?p ?o >> AS ?t) } }
Ruby RDF generates:
(extend ((?t (triple ?s ?p ?o))) (bgp (triple ?s ?p ?o)))
Jena generates:
(extend ((?t << ?s ?p ?o >>)) (bgp (triple ?s ?p ?o)))
In my opinion, it is better to have and standard representation for all tools that
generate S-Expressions. The problem here is that the result of parsing a
SPARQL query with Ruby RDF cannot be interpreted by Jena (and vice versa).
Daniel
Received on Thursday, 20 January 2022 07:43:25 UTC