W3C home > Mailing lists > Public > www-rdf-interest@w3.org > June 2001

RE: Storing RDF in a relational database

From: Danny Ayers <danny.ayers@btinternet.com>
Date: Mon, 18 Jun 2001 23:24:57 +0100
To: "Aaron Swartz" <me@aaronsw.com>
Cc: "RDF-Interest" <www-rdf-interest@w3.org>
Message-ID: <EBEPLGMHCDOJJJPCFHEFMEJDDKAA.danny.ayers@btinternet.com>
Thanks, clear now. Were FORMULA and VARIABLE useful in your implementation?

---
Danny Ayers
http://www.isacat.net

>-----Original Message-----
>From: Aaron Swartz [mailto:me@aaronsw.com]
>Sent: 18 June 2001 23:11
>To: Danny Ayers
>Cc: RDF-Interest
>Subject: Re: Storing RDF in a relational database
>
>
>On Monday, June 18, 2001, at 04:16  PM, Danny Ayers wrote:
>
>> I've had a look at the SWAP (I assume you're meaning the 
>> internals of cwm)
>> but still haven't grokked what's going on with the _ids - 
>> perhaps you could
>> help me with an example, what would go in the various fields 
>> with the (all
>> too familiar ;-)example below.
>
>Sure, my system spits out :
>
>   context (id): 
>http://blogspace.com/rdf/swap/ns/2001-06-18/44/#_formula (1)
>   subject (id): http://www.w3.org/Home/Lassila (0)
>predicate (id): http://description.org/schema/Creator (0)
>    object (id): Ora Lassila (2)
>
>notation3.py defines these IDs as:
>
>	RESOURCE = 0        # which or may not have a fragment
>	FORMULA = 1         # A { } set of statements
>	LITERAL = 2         # string etc - maps to data:
>	ANONYMOUS = 3       # existentially qualified unlabelled resource
>	VARIABLE = 4        #
>
>The http://blogspace.com/rdf/swap/ns/2001-06-18/44/ is a made-up 
>URI to distinguish different entries (files/submissions) which 
>are stored in the database. This lets me do provenance-type 
>stuff, like looking up who said what and when.
>
>--
>[ "Aaron Swartz" ; <mailto:me@aaronsw.com> ; <http://www.aaronsw.com/> ]
Received on Monday, 18 June 2001 18:29:58 GMT

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