Re: PostgreSQL as a triple store - Mailing list pgsql-general

From Jonas Xie
Subject Re: PostgreSQL as a triple store
Date
Msg-id 53EA215B.3000805@jxie.de
Whole thread Raw
In response to PostgreSQL as a triple store  (Jimmy Thrasibule <thrasibule.jimmy@gmail.com>)
List pgsql-general
We are currently working on in-database semantic reasoning.
However, if you do not need any T-Box or A-Box reasoning, maybe JSON is
a better choice in your case.

Am 12.08.2014 15:19, schrieb Jimmy Thrasibule:
>
> Hello,
>
> I'm looking into gathering information about geographical locations:
>
> - Coordinates
> - Place name
> - Pictures
> - etc.
>
> Since a place can be anything, a specific place may need any kind of
> data type to be described.
>
> I'm therefore looking into using the same method as the semantic Web
> and trying to describe a place with triples.
>
> 1. The "triples" table will reference a subject, attribute and value.
> 2. The "attributes" table will have an attribute name, a type and
> mauve a table name.
> 3. For each attribute type, a new table is created to store the values.
> 4. A "resources" table list all the available resources (location,
> picture, ...).
>
> Using this, I can easily add a new resource and describe it by adding
> new triples. Every item is identified using UUIDs as primary key.
>
> This seems too simple to be true so I falling back to you in case you
> see any pitfalls here.
>
> The "triples" table will grow very fast in this setup and may become a
> bottleneck. However, I don't see any other way to store information
> about something as wide as places around the world.
>
> Regards,
> Jimmy
>



pgsql-general by date:

Previous
From: Chris Travers
Date:
Subject: Re: PostgreSQL as a triple store
Next
From: Jimmy Thrasibule
Date:
Subject: Re: PostgreSQL as a triple store