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 15:12:49 -0600
To: "Seaborne, Andy" <andy.seaborne@hp.com>
Cc: RDF Data Access Working Group <public-rdf-dawg@w3.org>
Message-Id: <1101157969.27188.156.camel@dirk>
On Mon, 2004-11-22 at 20:23 +0000, Seaborne, Andy wrote:
> 
> Dan Connolly wrote:
> > On Mon, 2004-11-22 at 18:47 +0000, Seaborne, Andy wrote:
> > 
> >>Dan Connolly wrote:
> > 
> > [...]
> > 
> >>>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:/
> >>
> >>I'd prefer to reuse the function fn:string() from F&O that stringify's anything 
> >>it's give
> > 
> > 
> > anything including RDF Properties? (not the name of a property, but
> > the property itself)
> > 
> > I don't think this works.
> 
> Not sure where properties themselves come into it.  It's the URI  - there 
> aren't properties or resources in the query data model.

I think there are; in particular, matching is defined in terms
of entailment.

>   There are 
> URIrefs, bNodes and RDF literals.
> 
> So fn:string() applied to a URIref is log:uri isn't it?

No, it isn't. log:uri relates something to a URI that
identifies that something.

>   Just with a 
> syntax that is more suited to the usage in expressions.
> 
> 	Andy
> 
> > 
> > 
> >> as we already have a syntax for expressions.  I just had that implicit 
> >>in the =~ operation.  On typed literals, it would be the lexical form.
> >>
> >>	string(dc:title) =~ /^http:/
> >>
> >>	Andy
-- 
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 21:12:01 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:21 GMT