@rmlio/yarrrml-parser
Version:
Parse YARRRML descriptions into RML RDF statements
20 lines (19 loc) • 365 B
YAML
prefixes:
smth: 'http://example.com/smth'
ont: 'http://example.com/ont'
mappings:
ParentSmth:
sources:
- [text.csv~csv]
graphs: smth:$(id)
s: smth:$(id)#this
po:
- p: ont:isSmthOf
o:
- mapping: ChildSmth
ChildSmth:
sources:
- [text.csv~csv]
s: smth:$(id)child#this
po:
- [a, smth:child]