URIs for termtype choices?

http://www.w3.org/TR/2011/WD-r2rml-20110324/#ObjectMapClass_termType_Property
currently says:
rr:termtype rdfs:range {"IRI", "BlankNode", "Literal"} .

I was expecting those choices to be URIs themselves, not strings. 
http://www.w3.org/TR/rdf-schema/#ch_literal 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 Wednesday, 8 June 2011 20:44:58 UTC