Re: Storing RDF in a relational database

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 UTC