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

Contexts (not again!)

From: Danny Ayers <danny666@virgilio.it>
Date: Sat, 2 Nov 2002 22:59:14 +0100
To: "RDF-Interest" <www-rdf-interest@w3.org>
Message-ID: <EBEPLGMHCDOJJJPCFHEFIEOIIEAA.danny666@virgilio.it>

Hi folks,

Did any kind of consensus, or even decision (!?) result from Pat's 'dark
triples' suggestion [1] etc. earlier in the year (or any other of the
familiar context discussions)? I've had a look through the archives and as
usual the threads are hard to follow. I'm wondering because I'm running up
against this thing again.

If there isn't anything sorted or on the cards in this area, I'd appreciate
comments on the following first crack hackiness for a context vocabulary.
I've not really got a grip on the reification angle with it yet, but the use
I'm after is really just to be able to tag triples (make 'em quads in
memory), and it'd be nice to do it in a moderately sound fashion.

Just three terms (the pseudo-schemas are undoubtedly way out) : context,
contains, contents

*context* - a group of statements (identified collectively by a single URI)
with which a particular statement can be associated. In practice this would
usually be

[triple]-context->[RDF file]

Property "context"
   domain Resource
   range Statement
   inverseOf contains


*contains* - the other way around,

[RDF file]-contains->[triple]

Property "contains"
   domain Statement
   range  Resource


*contents* - a list/collection whatever of (references to) the statements to
be identified by a given URI (i.e. the triples in a file)

Property "contents"
   domain Bag
   range Resource

[RDF file]-contents->[s1, s2...]

The first of these is probably all that I'd need, but the second insisted on
coming along. The third heard there was a party.
When I started thinking of a way around this, the first thing that came to
mind was a Context class, akin to a collection/bag, instances of which could
be used to identify a file but with this it seemed to get messy a lot
quicker...
I'm pretty sure I'm badly conflating the unreified/reified triples here, and
it does seem like it goes a bit beyond what can be expressed in RDF(S) alone
(i.e. a minilayer on top) but I'm hoping that something usable won't be far
away. I'm willing to bet there's something along these lines already, but I
can think of worse ways to spend a Sunday evening.

Cheers,
Danny.

[1] http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Mar/0253.html


-----------
Danny Ayers

Semantic Web Log :
http://www.citnames.com/blog
Received on Saturday, 2 November 2002 17:09:42 GMT

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