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 12:13:33 UTC