Reified EARL

Just for those who question the use of context brackets in EARL [1],
and the conversion to parseType="quote" [2] by CWM [3], here is a
reified [4] version of the first EARL example [5], (cf. [6], [7]):-

@prefix earl: <http://www.w3.org/2001/03/earl/0.9#> .
@prefix : <http://myns.org/1/#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .

:Daniel earl:asserts
[ a rdf:Statement;
  rdf:subject :MyImg;
  rdf:predicate :altText;
  rdf:object [ a earl:TestResult;
   earl:date  [ dc:date "2001/03/14" ];
   earl:validity earl:Fail;
   earl:confidence earl:High ] ],
[ a rdf:Statement;
  rdf:subject :MyPage;
  rdf:predicate :fontThing;
  rdf:object [ a earl:TestResult;
   earl:date  [ dc:date "2001/03/14" ];
   earl:validity earl:Fail;
   earl:confidence earl:Medium ] ] .

:Daniel earl:hasEmail <mailto:danield@w3.org>;
   earl:hasPlatform "linux", "netscape 4.75" .

:MyImg
      earl:testSubject <http://example.org/page#img[3]>;
      a earl:webContent;
      earl:lastModified [ dc:date "2001/01/01" ];
      earl:hasSnapshot <http://store.com/example.org/page#img[3]> .
:altText
   a earl:TestCase;
   earl:comment """ alt text provided is just filename
     http://w3.org/tr/wcag#cp1.1, according to the test suite provided
     www.cast.org/bobby """;
   earl:testMode "manual";
   earl:expectedResult "presence of alt text describing function" .

:MyPage
     earl:testSubject <http://example.org/page#name>;
     a earl:webContent;
     earl:lastModified [ dc:date "2001/01/01" ];
     earl:hasSnapshot <http://store.com/example.org/page#name> .
:fontThing
   a earl:testCase;
   earl:comment """use a font instead of h3
     http://w3.org/tr/wcag#cp2.1, according to the test suite
     provided www.cast.org/bobby""";
   earl:testMode "manual";
   earl:expectedResult "use proper structure instead of style" .

[1] http://www.w3.org/2001/03/earl/
[2] http://www.w3.org/2000/03/rdf-tracking/#rdfms-contexts
[3] http://www.w3.org/2000/10/swap/cwm.py
[4] http://www.w3.org/TR/REC-rdf-syntax/#higherorder
[5] http://www.w3.org/2001/03/earl/0.9-ex1.n3
[6] http://ilrt.org/discovery/chatlogs/rdfig/2001-05-05.txt
[7] http://lists.w3.org/Archives/Public/www-rdf-interest/2001May/0062

--
Kindest Regards,
Sean B. Palmer
@prefix : <http://webns.net/roughterms/> .
:Sean :hasHomepage <http://purl.org/net/sbp/> .

Received on Saturday, 5 May 2001 19:50:52 UTC