W3C home > Mailing lists > Public > semantic-web@w3.org > June 2005

Re: Is it a semantic problem?

From: Petko Petkov <p.d.petkov@gmail.com>
Date: Sun, 19 Jun 2005 14:32:39 +0100
Message-ID: <703a6acc050619063263d6a773@mail.gmail.com>
To: semantic-web@w3.org

Yes, blank nodes can be used to find relations between to statement,
however it seams to me that this is more like a hack than an actual
solution. :-) Sorry about that, I guess I expected something else. :-)

As far as I can see, when dealing with RDF data, we should design the
statements, not the actual structure of the XML file. I guess this
will be a big problem for many XML developers.

However, I wonder, what it will be the best way to create sort of
relationship between statements. Anyone?

Thanks!

On 6/18/05, Charles McCathieNevile <chaals@opera.com> wrote:
> On Sat, 18 Jun 2005 10:39:10 +0200, Petko Petkov <p.d.petkov@gmail.com>
> wrote:
> 
> > <item rdf:about="http://www.w3.org"><title>Some
> > Title</title><link>http://www.w3.org</link><description>Description
> > Here</description><ns:writtenBy>Bob</
> > ns: writtenBy ></item>
> > <item rdf:about="http://www.w3.org"><title>Some Title
> > 2</title><link>http://www.w3.org</link><description>Description Here 2</
> > description><ns:writtenBy>John</ns: writtenBy ></item>
> 
> The solution is to model the information differently. Instead of making
> everything a direct property of the resource, you can use a blank node to
> group some information:
> 
> <item r:about="http://www.w3.org">
>    <dc:title xml:lang="en">Some title</dc:title>
>    <dc:description r:parseType="Resource">
>      <dc:creator>Bob</dc:creator>
>      <ns:text r:parseType="Literal">
>        <div xmlns="http://www.w3.org/1999/xhtml">
>          <p>Whee! <strong>HTML Inside</strong></p>
>        </div>
>      </ns:text>
>    </dc:description>
>    <link
> r:datatype=""http://www.w3.org/2001/XMLSchema#anyURI">http://www.w3.org</link>
> </item>
> 
> This says that the item has a description which is a thing with text and a
> creator. The description has no URI, so you cannot generally merge it with
> another decsription, even one which has the same properties. (This is
> useful if two books have an author with the same name, but you don't yet
> know anything else about them. There are lots of people with the same name
> and some of them write books...)
> 
> So you can then look for the thing you actually want...
> 
> cheers
> 
> Chaals
> 
> --
> Charles McCathieNevile                              chaals@opera.com
>           hablo espa˝ol - je parle franšais - jeg lŠrer norsk
>    Here's one we prepared earlier:   http://www.opera.com/download
>
Received on Sunday, 19 June 2005 13:33:06 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 21:45:05 GMT