Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add rml:datatypeMap #29

Open
VladimirAlexiev opened this issue Jun 23, 2020 · 0 comments
Open

add rml:datatypeMap #29

VladimirAlexiev opened this issue Jun 23, 2020 · 0 comments

Comments

@VladimirAlexiev
Copy link

VladimirAlexiev commented Jun 23, 2020

If we can attach a lang tag to a literal dynamically (see #9), maybe we should be able to do the same for datatypes. This won't happen very often but it may happen that the datatype of some value is stored in a different column.

  • rml:datatypeMap is an IRI term map that produces a datatype IRI to be used in the current object.
  • rr:datatype is a constant IRI used as fallback when the IRI designated by rml:datatypeMap is null for the current row.

See some YARRML and test data in this comment of #9.

  • It's interesting to consider how to add prefixes, eg how to get from a string value like "integer" to a IRI like xsd:integer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant