w3c / rdf-dir-literal

Proposal to add base direction to RDF Literals
Other
8 stars 6 forks source link

What about RDB2RDF? #12

Closed pchampin closed 5 years ago

pchampin commented 5 years ago

2 more recommendations to add to the list ?

https://www.w3.org/2001/sw/rdb2rdf/

iherman commented 5 years ago

There is a comment in the charter on r2rml; that is the name of the spec produced by the group. It is probably to be added, but I should refresh my memory on how it works in case sql doesn't have the notion of direction. To be checked...

pchampin commented 5 years ago

There is a comment in the charter on r2rml

Oops, sorry, I missed it.

Anyway, I think the answer is trivially "yes". Base direction for a column could be stored in another column of the same table (just like language).

Even if the direction is not stored in the RDB, external knowledge about its content could be added in the mapping to force the generated literals to have a given base direction.

iherman commented 5 years ago

You are right. I have added it in https://github.com/w3c/rdf-dir-literal/commit/89a8b8d76f3013ce913035d1057fcef7778a56a4

Closing the issue.