W3C home > Mailing lists > Public > www-rdf-logic@w3.org > August 2007

Re: Beginner question: How to describe a subgraphs structure?

From: Heiko Stoermer <hstoermer@gmail.com>
Date: Thu, 23 Aug 2007 16:01:34 +0200
Message-ID: <dc3b16380708230701p3327b7e6nf1b14978c1daf5e8@mail.gmail.com>
To: "Stéphane Monteil" <stephane@engineering-studio.com>
Cc: www-rdf-logic@w3.org

What you might want to experiment with is a combination of blank nodes,
reification and the RDF container constructs (alt, bag, seq).

>From your example however I think that you don't really need that - it can
be modeled with straight RDF, just as you verbalized it below, with sth

event1 hasPicture pic1, pic1 takenBy person1
event1 hasPicture pic2, pic2 takenBy person1
event1 hasPicture pic3, pic3 takenBy person2
event1 location loc1
event1 date '2004-12-12'

This will create a little graph that has event1 as the root element, with
some properties like location and date, and some related pictures, each one
with its photographer.

Does this help? If not, you might want to submit a more detailed example ;)


On 8/23/07, Stéphane Monteil <stephane@engineering-studio.com> wrote:
> Hi all,
> I am a beginner with semantic web languages and my question is probably
> basic. Yet, I have not found a clear answer through the W3C documents I
> read
> so far.
> I would like to describe a graph (a set of triples) as a subject (a
> resource) by itself, and so on for a set of subgraphs.
> To express it differently, in my graphs some of the nodes could contain
> (reference) another graph.
> 1) Is it a consistent approach from a formal representation point of view?
> 2) Is it possible to represent that directly with RDF or any other
> standardized language (OWL, etc.)?
> My objective is to be able to consider a composite content of subjects as
> a
> subject by itself. The real world application could be for example to be
> able to manage a collection of pictures related to a specific event. Each
> picture is a subject (with several predicate - objects) and the grouping
> event is a higher level subject itself that can have semantic properties.
> Remark: The RDF Graph Modeling Language (RGML) seems to propose a kind of
> formal solution, but it does not look standardized and I would prefer to
> stay within something generic (ie: a graph can be a node).
> Thanks in advance for your help!
> Stephane Monteil
> Email:stephane@engineering-studio.com
> Web site: http://www.engineering-studio.com
Received on Thursday, 23 August 2007 14:01:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 2 March 2016 11:10:48 UTC