Re: URIs for termtype choices?

Hi Drew,

Thanks for the feedback. This issue is now tracked as ISSUE-45:
http://www.w3.org/2001/sw/rdb2rdf/track/issues/45

Best,
Richard


On 8 Jun 2011, at 21:44, Drew Perttula wrote:

> 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 Monday, 20 June 2011 11:38:57 UTC