morph-kgc / morph-kgc

Powerful RDF Knowledge Graph Generation with RML Mappings
https://morph-kgc.readthedocs.io
Apache License 2.0
169 stars 32 forks source link

Question: Why is using RML file slower than YARRRML #213

Closed x-m-el closed 5 months ago

x-m-el commented 5 months ago

When testing the usage of yarrrml versus rml mapping file (with the rml file being a conversion of yarrrml, so the same mappings), yarrrml is slightly quicker (+-10%). When looking in the code of morph-kgc, yarrrml is converted to rml when using it as mapping config. So how come it is quicker? Is this because yarrrml is easier to load in than rml?

x-m-el commented 5 months ago

This might have been because the the rml mapping seem to also map the graph, but yarrrml does not, because of bug https://github.com/morph-kgc/morph-kgc/issues/202, for which the bugfix has not been released as of writing