Skip to content

SPARQL: Add test on TRIPLE selectivity #302

@jitsedesmet

Description

@jitsedesmet

The TRIPLE function does not allow for any arbitrary terms as arguments.
Instead, it throws when wrong term types are provided to wrong locations:

If the 3-tuple (subj, pred, obj) is an RDF triple (that is, subj is an IRI or blank node; pred is an IRI; and obj is an IRI, triple term, blank node or literal) the function returns a triple term with these three elements. Otherwise, the function raises an error.

Our implementation in Comunica was wrong, so @rubensworks asked me to make this issue here :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions