W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > January 2008

Re: Rethinking @src in the context of chaining rules

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Tue, 08 Jan 2008 12:14:11 -0500
Message-ID: <4783AF63.8080306@digitalbazaar.com>
To: RDFa <public-rdf-in-xhtml-tf@w3.org>

Ben Adida wrote:
> I think we're going to have to bring this to a vote.

Before we do that, I'd like to make sure we all know what each other is
talking about, as I see several comments that still show some amount of
misunderstanding. I'm starting to get confused as well. I believe Mark
is correct... we're talking about two separate issues, here.

Issues:

#1: @src sets the subject.
#2: @resource and @href do not set a new subject when chaining, only
    @about and @src set a new subject when chaining.

Here is a list of examples and the triples that they generate. I believe
this is the viewpoint that Ben, Ivan and I have... does anything look
out of place, Mark?:

-----------------------------------------------------------------------
<div about="#me" rel="foaf:knows">
   <div about="#mark" />
</div>
--------
<#me> foaf:knows <#mark> .
-----------------------------------------------------------------------

-----------------------------------------------------------------------
<div about="#me" rel="foaf:knows">
   <div resource="#ben" />
   <div resource="#mark" />
</div>
--------
<#me> foaf:knows <#ben> .
<#me> foaf:knows <#mark> .
-----------------------------------------------------------------------

-----------------------------------------------------------------------
<span about="#me" rel="foaf:img">
   <img src="me.jpg" />
</span>
--------
<#me> foaf:img <me.jpg> .
-----------------------------------------------------------------------

-----------------------------------------------------------------------
<span about="#me" rel="foaf:img">
   <img src="me.jpg" instanceof="foaf:Image"/>
</span>
--------
<#me> foaf:img <me.jpg> .
<me.jpg> rdf:type foaf:Image .
-----------------------------------------------------------------------

-----------------------------------------------------------------------
<img src="me.jpg" instanceof="foaf:Image" rev="foaf:img"
     resource="#me" />
--------
<#me> foaf:img <me.jpg> .
<me.jpg> rdf:type foaf:Image .
-----------------------------------------------------------------------

-----------------------------------------------------------------------
<div about="#me" rel="foaf:knows">
   <div about="#ben" rel="foaf:knows">
      <div about="#mark" />
   </div>
</div>
--------
<#me> foaf:knows <#ben> .
<#ben> foaf:knows <#mark> .
-----------------------------------------------------------------------

-----------------------------------------------------------------------
<span about="http://example.org/ben" rel="foaf:knows">Ben knows
   <span href="http://example.org/mark" rel="foaf:knows">Mark, who knows
      <span href="http://example.org/ivan">Ivan</span>
   </span>
</span>
--------
<http://example.org/ben> foaf:knows <http://example.org/mark> .
<http://example.org/ben> foaf:knows <http://example.org/ivan> .
[I believe that this is the point of contention - Mark thinks this
 should be chained together so that Mark knows Ivan]
-----------------------------------------------------------------------

-- manu

-- 
Manu Sporny
President/CEO - Digital Bazaar, Inc.
blog: Intro to the Semantic Web in 6 minutes (video)
http://blog.digitalbazaar.com/2007/12/26/semantic-web-intro
Received on Tuesday, 8 January 2008 17:14:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 17:14:16 GMT