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

n3 wishlist: automatic namespace selection

From: Sandro Hawke <sandro@w3.org>
Date: Thu, 07 Mar 2002 12:13:22 -0500
Message-Id: <200203071713.g27HDMO23831@wadimousa.hawke.org>
Cc: www-rdf-interest@w3.org
To: timbl@w3.org

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 GMT

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