Hi Alexander,

On Wed, Jan 6, 2010 at 4:32 PM, Alexander Sidorov <[email protected]> wrote:
> Hello!
>
> I am storing triples generated from natural language texts at RDF-store.
> Also I need to store some metadata for these triples (for example, how often
> and where this triple occurs in the text). Of course, I could use
> reification for storing metadata... but I would like to store it at relation
> store. Is there any way to specify which triple's metadata I'm storing?

Virtuoso is a Quad Store, which means that Triples are in fact 4-tuples.
( G, S, P, O )

G is for Graph and is usually the way to attach metadata to a set of
(related) triples.
This is the standard way.

Now, if you need to store metadata about each separate triple, then
maybe you could try to create a copy of DB.DBA.RDF_QUAD ( for example,
RDF_QUAD_META ) with more columns and use it freely to attach more
data.

We do a lot of stuff like this.
- Space is not an issue as you will only be storing RDF_ID, small
strings or RDF Box natives ( which is what RDF_QUAD stores )
-- This means you don't duplicate big strings
- The ability to mix SPARQL and SQL plus some clever use of iri_to_id
et Al allows you make sense of it all ( for example, for aggregate
analysis ).

Of course a third option would be to actually create an extended main
RDF_QUAD ( with more columns ). I have never done it and I don't know
if it may generate any issues with the RDF abstraction layer in
Virtuoso ( at this point or further down the road ).
Perhaps someone from OpenLink can comment on this.

Also, I have heard of Quints as yet another reification level ( atop
Quads graphs ) but I have never actually used them.

Regards,
A



>
> Regards,
> Alexander
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Virtuoso-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>
>



-- 
Aldo Bucchi
skype:aldo.bucchi
http://www.univrz.com/
http://aldobucchi.com/

PRIVILEGED AND CONFIDENTIAL INFORMATION
This message is only for the use of the individual or entity to which it is
addressed and may contain information that is privileged and confidential. If
you are not the intended recipient, please do not distribute or copy this
communication, by e-mail or otherwise. Instead, please notify us immediately by
return e-mail.

Reply via email to