kg-construct / yarrrml-spec

A human readable text-based representation for declarative Linked Data generation rules.
https://w3id.org/kg-construct/yarrrml
1 stars 1 forks source link

Add option to use `graph` as keyword instead of `graphs` #9

Open x-m-el opened 9 months ago

x-m-el commented 9 months ago

For the yarrrml spec, it might be okay to use graph instead of graphs as a keyword, more info about this discussion at https://github.com/oeg-upm/yatter/issues/78

E.g. the following should be correct, following the spec (currently the spec only mentions graphs)

mappings:
  test:
    graph: https://example.com/$(id)
    s: https://example.com/$(id)
    po:
      - [a, ext:Test]