W3C home > Mailing lists > Public > www-rdf-interest@w3.org > March 2004

Re: A very basic question

From: Danny Ayers <danny666@virgilio.it>
Date: Tue, 23 Mar 2004 15:43:49 +0100
Message-ID: <40604D25.9010600@virgilio.it>
To: "Zhu, Bin" <zhubin@uclab.org>
Cc: www-rdf-interest@w3.org

Zhu, Bin wrote:

>   I have a very basic question. RDF statements are all triples. But if
>I want to express "Tom borrowed a book from Mike", how do I express this
>sentence using triples?  Thanks in advance!
There are a few ways it could be done, depends how you want to model it. 
One method would be to have "Borrow" as a class, and use properties to 
fill in the details:

x rdf:type ns:Borrow
x ns:lender "Mike"
x ns:borrower "Tom"
x ns:object "a book"

The subject x would be a blank node or a URI that identified this 
particular event.

See also:





Received on Tuesday, 23 March 2004 09:43:57 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:07:50 UTC