ISSUE-45 (termtype-iris): IRIs instead of literals for rr:termType choices [R2RML]

ISSUE-45 (termtype-iris): IRIs instead of literals for rr:termType choices [R2RML]

Raised by: Richard Cyganiak
On product: R2RML

Raised by Drew Perttula:
currently says:
rr:termtype rdfs:range {"IRI", "BlankNode", "Literal"} .

I was expecting those choices to be URIs themselves, not strings. is already a well-known id for "Literal" that I think has the right meaning for this context. I'm less sure what existing URIs to use for the other two, but it seems like they ought to exist or be added to a more core spec. rdfs:Resource, maybe?

Some reasons it would be better to use URIs than strings:
1. The values will be able to link to their own metadata, notably documentation
2. It's a good habit to promote. People will be copying r2rml's practices in their own RDF data.
3. If you want, you can make up superclasses for the allowed values (something like "Term" in this case and "Reference" in the SubjectMapClass case) and potentially simplify the rr:termtype definitions. UIs for r2rml are probably making some equivalent of those superclasses (aka enums) anyway.

Received on Monday, 20 June 2011 11:36:16 UTC