Re: Pragmatism: An EARL Processing Example (that actually works)

Sean,
Thanks for the refs on the refs on the "RDF/N3 tools" thread.  Now I've got 
a question about your example.  You wrote

<http://testpage.org/>
   :sean [ wcag:rating wcag:A ];
   :len [ wcag:rating wcag:AA ];
   :william [ wcag:rating wcag:A ]  .

(I truncated a bit)

Now, since N3 triples give subject, verb, and object (or subject, property, 
value) then in the first line

The subject is <http://testpage.org>
the verb is :sean
the object is a thing with property wcag:rating and value wcag:A.

I'm having trouble grokking :sean, :len, and :william as verbs or properties

What do you think about this:

<http://testpage.org>
    earl:hasEvaluation [earl:humanEvaluator :sean   ;  wcag:compliance 
wcag:A  ] ;
    earl:hasEvaluation [earl:humanEvaluator :len    ;  wcag:compliance 
wcag:AA ] ;
    earl:hasEvaluation [earl:humanEvaluator :william;  wcag:compliance 
wcag:AAA] ;

In other words, I'm defining what we might call an "evaluation statement" 
that can have
- a  property "humanEvaluator" with value :sean, :len, or :william,
- and another property "wcag:compliance" that can have value wcag:A, AA, or AAA

Now, this makes the human evaluator a property of the "evaluation 
statement".  Another way to do this is to use contexts, e.g.

:sean    earl:asserts {<http://testpage.org> wcag:compliance  wcag:A } .
:len     earl:asserts {<http://tsetpage.org> wcag:compliance  wcag:AA } .
:william earl:asserts {<http://testpage.org> wcag:compliance  wcag:AA } .

I suppose we can do it any way we want, even with :sean :len and :william 
as verbs or properties, but like I say I find it hard to grok that.

As for the other approaches, contexts are more complicated but if there's 
machinery in place that manipulates them it may be worth it.

What do folks think?

Len

--
Leonard R. Kasday, Ph.D.
Institute on Disabilities/UAP and Dept. of Electrical Engineering at Temple 
University
(215) 204-2247 (voice)                 (800) 750-7428 (TTY)
http://astro.temple.edu/~kasday         mailto:kasday@acm.org

Chair, W3C Web Accessibility Initiative Evaluation and Repair Tools Group
http://www.w3.org/WAI/ER/IG/

The WAVE web page accessibility evaluation assistant: 
http://www.temple.edu/inst_disabilities/piat/wave/

Received on Saturday, 17 February 2001 18:58:12 UTC