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

Re: Storing RDF in a relational database

From: Aaron Swartz <aswartz@upclink.com>
Date: Mon, 18 Jun 2001 15:52:05 -0500
Message-Id: <200106182055.f5IKt2Q01435@theinfo.org>
Cc: "RDF-Interest" <www-rdf-interest@w3.org>
To: "Danny Ayers" <danny.ayers@btinternet.com>
On Monday, June 18, 2001, at 03:31  PM, Danny Ayers wrote:

> What tables/columns/relationships?

It's pretty plain right now:

CREATE TABLE statements (
        context          text,
        context_id       int2,
        predicate        text,
        predicate_id     int2,
        subject          text,
        subject_id       int2,
        object           text,
        object_id        int2
);

The IDs correspond to the constants in the SWAP stuff -- 
LITERAL, RESOURCE, FORMULA, ANONYMOUS, etc.

--
[ "Aaron Swartz" ; <mailto:me@aaronsw.com> ; <http://www.aaronsw.com/> ]
Received on Monday, 18 June 2001 16:52:08 GMT

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