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

Re: Summary of @href/@resource completing triples issue (v2.0)

From: Mark Birbeck <mark.birbeck@formsPlayer.com>
Date: Thu, 10 Jan 2008 11:12:20 +0000
Message-ID: <a707f8300801100312w478299c5k7479b94c27f0535e@mail.gmail.com>
To: "Ivan Herman" <ivan@w3.org>
Cc: "Manu Sporny" <msporny@digitalbazaar.com>, RDFa <public-rdf-in-xhtml-tf@w3.org>

Hi Ivan,

This is a separate reply just on one of the examples.

On 10/01/2008, Ivan Herman <ivan@w3.org> wrote:
>
>
> Manu Sporny wrote:
> > Sorry folks, Ben's right, there were several bugs in the last summary...
> > I'm repeating this because all three of these should turn into test
> > cases and we need to make sure that they're correct representations of
> > the issue:
> >
> > This works for both models:
> >
> > -----------------------------------------------------------------
> > <div href="#me">
> >    <span rel="foaf:knows" href="#ivan">
> >    <span rel="foaf:knows" href="#shane">
> > </div>
> > --------
> > <#me> foaf:knows <#ivan> .
> > <#me> foaf:knows <#shane> .
> > -----------------------------------------------------------------
> >
>
> I was not 100% comfortable with that yesterday, and I am still a bit
> ambivalent with it. My problem is that @href in the <div>: would that
> also lead to spurious triples if, for example, I use <a> instead of the
> <div>? Hm. Maybe not... (not sure here, as you can see).

I think there's a lot of confusion here. I thought that there was
general acceptance that if an author places RDFa statements as
children of an element that contains an @href, then they almost
certainly know what they are doing? I thought that the only
disagreement was whether @href and @resource should complete hanging
triples.


> Another slight problem I see is: say a person has the following code
> somewhere:
>
> <span property="a:b" content="something" rel="b:c" resource="#d">bla</span>
>
> Which would yield
>
> <> a:b "something" ;
>     b:c <#d> .
>
> However, *for html reasons*, so to say, we want to enclose that into a
> clickable link which, a priori, has nothing to do with RDF. What happens is
>
> <a href="SOMEURI"><span property="a:b" content="something" rel="b:c"
> resource="#d">bla</span></a>
>
> which makes perfect sense for the HTML author.

Well...to be clear, this author is an 'HTML+RDFa author', since
they've used @property and @rel on the <span>.

The rest of the post is replied to in another email.

Regards,

Mark

-- 
  Mark Birbeck, formsPlayer

  mark.birbeck@formsPlayer.com | +44 (0) 20 7689 9232
  http://www.formsPlayer.com | http://internet-apps.blogspot.com

  standards. innovation.
Received on Thursday, 10 January 2008 11:12:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 10 January 2008 11:12:27 GMT