w3c / rdf-star

RDF-star specification
https://w3c.github.io/rdf-star/
Other
120 stars 23 forks source link

sparql-compare type signature conflicts with description #263

Closed kasei closed 2 years ago

kasei commented 2 years ago

The type signature for sparql-compare is:

xsd:boolean   sparql-compare (RDF-star term, RDF-star term)

with a return value of xsd:boolean. However, the description says:

The function sparql-compare returns -1, 0, 1, or throws an error, based on the comparison of two RDF-star terms.

I believe xsd:boolean should be changed to xsd:integer here.