W3C home > Mailing lists > Public > w3c-wai-er-ig@w3.org > January 2004

earl:result Re: introduction to EARL updated

From: Charles McCathieNevile <charles@w3.org>
Date: Mon, 26 Jan 2004 06:58:45 -0500 (EST)
To: WAI ER group <w3c-wai-er-ig@w3.org>
Message-ID: <Pine.LNX.4.55.0401251903040.27882@homer.w3.org>

And in workiing on this example I found something that feels like a bug in
the specification's model, as well as a bug in my examples.

I have been using

  <earl:result rdf:resource="&earl;Fail"/>

which made problems for finding things where the result was some kind of Fail
if I subClass it. It seems to work if I use

  <earl:result rdf:type="&earl;Fail"/>

because if I have

  <earl:result rdf:type="&example;Nearly"/>

where Nearly is a subClass of fail the the result is a blank node with a
type, and so it is a correct inference that the result is also of type
earl:Fail. But this assumes a simpler model than appears in the spec, I
think. (It's hard to be sure - I can't get a graph from the spec, because
there is a syntax error in the schema according to the RDF validator).

On the other hand my example produces nice graphs now - although I need to
re-check how they relate to the scchema as published.

Anyone care to comment?



On Sun, 25 Jan 2004, Charles McCathieNevile wrote:

>Hi folks,
>I updated my EARL by example thing.
>main change is to explain in detail how to extend result types (this came up
>as an actual query for Hera)
>I'll also try to get the talk I gave at OzEWAI (which explains the idea of
>EARL while avoiding the code) online.

Charles McCathieNevile  http://www.w3.org/People/Charles  tel: +61 409 134 136
SWAD-E http://www.w3.org/2001/sw/Europe         fax(france): +33 4 92 38 78 22
 Post:   21 Mitchell street, FOOTSCRAY Vic 3011, Australia    or
 W3C, 2004 Route des Lucioles, 06902 Sophia Antipolis Cedex, France
Received on Monday, 26 January 2004 06:58:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:01:35 UTC