- From: Danny Ayers <danny.ayers@gmail.com>
- Date: Mon, 20 Jun 2005 18:09:14 +0200
- To: Petko Petkov <p.d.petkov@gmail.com>
- Cc: semantic-web@w3.org
What Tom said and... given the three samples that have come up, turning them into statements: 1) <rdf:Description rdf:about="http://url.com"> <news:title>Some title Here</news:title> <news:description>This is fun</news:description> </rdf:Description> http://url.com http://purl.org/rss/1.0/title "Some title Here" http://url.com http://purl.org/rss/1.0/description "This is fun" The title and description are both about the resource identified by http://url.com 2) <item rdf:about="http://url.com"> <title>Some title Here</title> <description>This is fun</description> </item> http://url.com http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/rss/1.0/item http://url.com http://purl.org/rss/1.0/title "Some title Here" http://url.com http://purl.org/rss/1.0/description "This is fun" The title and description are both about the resource identified by http://url.com, which is an instance of the *class* 'item'. 3) <rdf:Description rdf:about="http://url.com"> <news:item rdf:parseType="Resource"> <news:title>Some title Here</news:title> <news:description>This is fun</news:description> </news:item> </rdf:Description> genid:ARP913880 http://purl.org/rss/1.0/title "Some title Here" genid:ARP913880 http://purl.org/rss/1.0/description "This is fun" http://url.com http://purl.org/rss/1.0/item genid:ARP913880 The title and description are both about something not identified (a bnode with the local label genid:ARP913880). The resource identified by http://url.com, has a *property* 'item', the object of which is the bnode. So your queries might be: 1) what is the title of the resource http://url.com? 2) what is the title of the item http://url.com? 3) what is the title of the item of http://url.com? (any could potentially return multiple results) btw, I got the above statements using the RDF validator: http://www.w3.org/RDF/Validator/ The graph view is very useful when trying to figure out modelling. Cheers, Danny. -- http://dannyayers.com
Received on Monday, 20 June 2005 16:09:23 UTC