Re: n3 wishlist: automatic namespace selection

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 UTC