Skip to content

incorrect result with aggregate "MIN" #264

Description

@pchampin

According to the spec, the MIN aggregation function "makes use of the SPARQL ORDER BY ordering definition".

By that definition, IRIs come before literals, and CORESE complies with that for ORDER BY. However, it does not for MIN.

Example:

SELECT (MIN(?x) as ?a) { VALUES ?x { 3 <x:1> 4 <x:2> } }

retuns 3 instead of <x:1>.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcorese legacyIssue related to the legacy version of Corese

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions