Re: URIs in constraints, isBound, casting in eq

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 UTC