w3c/rdf-star

sparql-compare type signature conflicts with description

kasei opened this issue · 0 comments

kasei commented

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.