Skip to content

grel:controls_if cannot return an IRI (?) #263

Description

@frmichel

Hey guys, not sure if I've found a bug or if I'm doing something wrong.
I use grel:controls_if function to test a value, and depending on the result I want to generate an IRI with grel:any_true and another with grel:any_false.
But this always returns a literal instead of an IRI.

I attach the mapping and data file.
input_nic.csv
mapping.txt

I've tried with:

        rr:predicateObjectMap [
          rr:predicate grel:any_true ;
          rr:object <https://w3id.org/noria/kos/Resource/OperationalState/enabled> ;
        ];

but also

        rr:predicateObjectMap [
          rr:predicate grel:any_true ;
          rr:objectMap [ rr:constant <https://w3id.org/noria/kos/Resource/OperationalState/enabled>; rr:termType rr:IRI ] ;
        ];

as well as with a template, same behavior in all the cases.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions