kg-construct / mapping-challenges

Issues for discussion about limitations of current mapping languages
Apache License 2.0
4 stars 9 forks source link

added language map challenge #21

Closed bjdmeest closed 3 years ago

bjdmeest commented 3 years ago

This is an example of how to create challenges: from (varying) input(s) to output RDF, with possible solutions and conclusions

pmaria commented 3 years ago

I think this is a good format. It would be nice to be able to use the test case framework to test these cases as well.

Some comments:

I'd argue that we need to define LanguageMap, and it's place in the RML vocabulary, more clearly first. It's not a term map, since it is not "A function that generates an RDF term". Rather it's a LiteralElementMap or something better named than that. Same goes for data types.

In general it might be good to also add a file for vocabulary extensions, per proposed challenge, if the solution extends the vocabulary.

As it's a termMap, you can apply joins and data transformations similar to how other term maps work

What would a join on a language map look like?