W3C home > Mailing lists > Public > www-rdf-interest@w3.org > March 2002

Re: n3 wishlist: automatic namespace selection

From: Seth Russell <seth@robustai.net>
Date: Thu, 7 Mar 2002 10:36:31 -0800
Message-ID: <009501c1c607$00c892a0$657ba8c0@c1457248a.sttls1.wa.home.com>
To: <timbl@w3.org>, "Sandro Hawke" <sandro@w3.org>
Cc: <www-rdf-interest@w3.org>
Great idea!  Trouble is if you do that you could end up by eliminating the
need for a leading colon entirely and that would make the N3 language just
too easy to write.

Seth Russell

----- Original Message -----
From: "Sandro Hawke" <sandro@w3.org>
To: <timbl@w3.org>
Cc: <www-rdf-interest@w3.org>
Sent: Thursday, March 07, 2002 9:13 AM
Subject: n3 wishlist: automatic namespace selection


>
> I'd love to have cwm (etc) figure out which namespace (prefix) to use,
> from a list.   Something like
>
>    @prefix foo: <http://normal/prefix#>
>    @import ont1: <http://address/of/one/ontology/>
>    @import ont2: <http://address/of/another/ontology>
>
>    foo:a text "Hello".
>
> and have it fetch the two ontologies, see if either defines a "text",
> and use it.  This is a pretty natural thing to do if you're already
> doing validation (which I think should be the default mode anyway).
>
> There are several approaches; what do you think of the basic idea?
>
> Aside from the convenience of not having to keep track of prefixes
> (when you don't feel like it), I think it would help motivate people
> to actually publish their ontologies.
>
> The n3 keyword "a" could also then properly be a vocabulary term, from
> an implicitely imported n3-defaults namespace.
>
>     -- sandro
>
>
Received on Thursday, 7 March 2002 13:40:26 GMT

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