W3C home > Mailing lists > Public > www-rdf-interest@w3.org > August 2003

Re: RFC for regex object builtin (was Re: Question about CWM)

From: James Michael DuPont <mdupont777@yahoo.com>
Date: Thu, 28 Aug 2003 12:36:03 -0700 (PDT)
Message-ID: <20030828193603.95892.qmail@web41504.mail.yahoo.com>
To: (wrong string) ėl-Massieux" <dom@w3.org>
Cc: www-rdf-interest@w3.org

Dominique ,
thank you kindly for you help.

> > > 2. How can i convert an string to an uri? 
> > > i would like to take "<http://goo.foo.com/bar/baz#>" and convert
> it
> > to
> > > the  uri <http://goo.foo.com/bar/baz#>. Any ideas?
> > 
> > AFAIK, log:uri does that (but without the < >), e.g.
> > :toto log:uri "http://example.org/foobar#"
> 
> How about a new built in for that ?
>    log:uri-absolute
> that  will emit "<http://example.org/foobar#>"
> 
>    log:uri-prefixed
> that  will emit "foo:"
> if foo: is 
> @prefix foo: <http://example.org/foobar#>
> 
> Any comments?

Well, this is not needed. CWM is smart enought to handle the reversing
and the conversion of strings to uris and the prefixing of them!!!

I am very impressed, thank you to all the people who made cwm.

mike

=====
James Michael DuPont
http://introspector.sourceforge.net/

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
Received on Thursday, 28 August 2003 15:36:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:01 GMT