W3C home > Mailing lists > Public > public-rif-wg@w3.org > May 2008

Consts/CURIEs in PS (was Re: DTB status (on today's agenda) )

From: Sandro Hawke <sandro@w3.org>
Date: Fri, 02 May 2008 13:12:01 -0400
To: kifer@cs.sunysb.edu (Michael Kifer)
Cc: Axel Polleres <axel.polleres@deri.org>, "Public-Rif-Wg (E-mail)" <public-rif-wg@w3.org>
Message-ID: <26707.1209748321@ubuhebe>


Okay, I think I see a consensus here (more or less proposed by Jos and
Michael at different times):

(1) "foo"^^<bar>

This is the normal, full syntax for constants.  For example:

    "http://purl.org/dc/terms/creator"^^<http://www.w3.org/2007/rif#iri>

(2)  foo:bar    

is shorthand for

    "expand(foo)bar"^^<http://www.w3.org/2007/rif#iri>

except on the right-hand-side of a ^^.

(3) "foo"^^bar:baz

is shorthand for

    "foo"^^<expand(bar)baz>

This means that the CURIE syntax (a:b) is context sensitive; it's read
differently on the right-hand-side of ^^.

(4) <foo>

This is not allowed.  The pointy-brackets are only allowed as part of
the ^^ construct. Maybe someday we can figure out a way to allow it, but
right now it has problems.

(5) "foo"^^bar

is allowed for aliasing (I don't quite follow this), but doesn't
interact with the above.

================================================================

If I'm understanding everyone correctly, we can all live with that.
Yes?

     -- Sandro
Received on Friday, 2 May 2008 17:13:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:33:48 GMT