name of the datatype

> > (Honestly, don't throw rocks, but I'm having second thoughts about the
> > renaming.  It's just... long.
> 
> OK, then try rdf:plain (or rdf:Plain )instead of rdf:text, if length  
> really is an issue. I think the link to plain literal is really useful.
> 
> > And we have to figure out whether to
> > rename all the builtins and the namespace for the builtins now,  
> > too.  I
> > guess we should wait for Axel to be back next week before going  
> > farther
> > with that.)

Okay, it's not just that it's long.  I'm also imagining people coming to
this stuff fresh.  The see datatypes with names like 'integer',
'dateTime', 'string', and 'PlainLiteral'?  It seems a little odd.  But,
there is 'XMLLiteral' too, it's true.  So...  whatever.  (I don't really
like 'rdf:plain' or 'rdf:Plain'.)

If we stick with rdf:PlainLiteral, what do we can the builtins and the
namespace for the builtins?   Here's my best guess....

   ====== OLD ======          ======= NEW =======
   text-from-string           plain-literal-from-string
   string-from-text           string-from-plain-literal
   lang-from-text             lang-from-plain-literal
   compare                    compare
   length                     length
   matches-language-range     matches-language-range

There's also the XML namespace name, which was
    rtfn  <http://www.w3.org/2009/rdf-text-functions>
and I guess we should change to 
    plfn <http://www.w3.org/2009/plain-literal-functions>
This namespace only comes up when using these functions in 
something like XPath or XQuery, where they are purely optional.  When
they are used in RIF, where they are mandatory, they appear in the
normal RIF function namespace.

      -- Sandro

Received on Thursday, 28 May 2009 14:54:15 UTC