W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2004

Re: URIs in constraints, isBound, casting in eq

From: Dan Connolly <connolly@w3.org>
Date: Mon, 22 Nov 2004 11:56:48 -0600
To: andy.seaborne@hp.com
Cc: RDF Data Access Working Group <public-rdf-dawg@w3.org>
Message-Id: <1101146208.27188.139.camel@dirk>
On Mon, 2004-11-22 at 16:48 +0000, Seaborne, Andy wrote:
> Yes - it is.  Maybe it shouldn't be, but the following is possible:
>     dc:title =~ /^http:/    # Test whether http URI
> so extension functions may take URIs as arguments.

Whoah... I'm rushing to get out the door for Thanksgiving travel,
so apologies for lack of suggested replacement and such...
but that sets off a huge use/mention RED FLAG, for me.

dc:title is a an RDF property, not a string.

We can introduce something ala log:uri if we want
to do that sort of use/mention level-breaking:

	WHERE dc:title log:uri ?TITLEURI
	AND ?TITLEURI =~ /^http:/

Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E

Received on Monday, 22 November 2004 17:56:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:00:45 UTC