RMLio / matey

Web-based editor for YARRRML rules.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ› YARRML with condition is not parsed correctly

Mar-ai opened this issue Β· comments

commented

I followed the example 105 on https://rml.io/yarrrml/spec/#conditions and created the YARRRML like so

prefixes:
  ex: "http://example.com/"

mappings:
  name:
    sources:
      - ['some.csv~csv']
    subjects: $(NAME)
    condition:
      function: equal
      parameters:
         - [valueParameter, $(IMPORTANTVALUE)]
         - [valueParameter2, "yes"]
    predicateobjects:
     - predicates: ex:isFriendsWith
       objects: $(FRIEND)

but when I put the generated rml-File through morph_kgc.materialize I get the error KeyError: 'object-map'

commented

The issue seems to be with morph_kgc. Will close this for now.