W3C home > Mailing lists > Public > www-rdf-interest@w3.org > April 2000

Re: Some questions on properties

From: Jan Wielemaker <jan@swi.psy.uva.nl>
Date: Wed, 26 Apr 2000 09:30:51 +0200
Message-Id: <200004260730.JAA21176@gollem.swi.psy.uva.nl>
To: Jan Wielemaker <jan@swi.psy.uva.nl>, www-rdf-interest@w3.org, stefan@db.stanford.edu
Thanks Stefan

[ As you probably guess, I decided to have a look at interpreting
  RDF directly in Prolog.  Sofar it looks rather trivial.  Less then
  300 lines of Prolog provide me with a Prolog structure ready for
  generating triples (on top of the output of an XML parser).  I
  now try to understand the semantics :-)

  P.s. I failed to find a good test-suite.  Does it exist?
]

> RDF is capable to make statements about statements.
> The ID elements is used to identify the particular statement.
> I think the following quote handles this:
> <quote>
> Within propertyElt (production [6.12]), the URI used in a resource attribute
> identifies (after resolution) the resource that is the object of the
> statement (i.e., the value of this property). The value of the ID attribute,
> if specified, is the identifier for the resource that represents the
> reification of the statement.
> </quote>
> 
> An example:
> lets say i want to express that i believe the statement that
> the creator of the resource http://www.w3.org/Home/Lassila is Ora Lassila:
> 
> The original statement
>    <rdf:RDF>
>      <rdf:Description about="http://www.w3.org/Home/Lassila">
>        <s:Creator ID="statement1" >Ora Lassila</s:Creator>
>      </rdf:Description>
> 
> <!-- The statement saying that i believe the above statement -->
> 
>      <rdf:Description about="#statement1">
>        <s:believedBy>Stefan Decker</s:believedBy>
>      </rdf:Description>
>    </rdf:RDF>

That is clear.  Now, which triples should this create?  Is this
(bit sloppy on the notation).

http://www.w3.org/Home/Lassila, Creator, genid1
genid1, type, RDF:#Statement
genid1, ID, #statement1
genid1, subject, http://www.w3.org/Home/Lassila
genid1, predicate, Creator
genid1, object, Ora Lassila

I.e. using reification of the statement?

	Regards --- Jan
Received on Wednesday, 26 April 2000 03:30:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:43 GMT