Structure of Evidence class

Hi,

Right now the proposal for earl:evidence suggests the class to be a collection of assertions. This will make queries (for example to compare if two evidence clauses are equal) difficult because the order of the assertions defines the actual RDF graph.


Here is the current proposal (excluding the earl:ruleSet which is still under discussion):

<earl:evidence parsetype="Collection">
  <earl:Assertion rdf:resource="someAssertion"/>
  <earl:Assertion rdf:resource="anotherAssertion"/>
  ...
</earl:evidence> 


Another approach is to define a property with range earl:evidence and domain earl:assertion. This property will describe a relationship between the evidence and the sub-assertions. Here is an example:

<earl:evidence>
  <earl:hasAssertion rdf:resource="someAssertion"/>
  <earl:hasAssertion rdf:resource="anotherAssertion"/>
  ...
</earl:evidence> 


This is how the property earl:hasAssertion can be defined in the EARL 1.0 Schema:

<rdf:Property rdf:about="http://www.w3.org/WAI/ER/EARL/nmg-strawman#hasAssertion">
  <rdfs:label xml:lang="en">Evidence Assertion</rdfs:label>
  <rdfs:domain rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#Evidence"/>
  <rdfs:range rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#Assertion"/>
</rdf:Property>


What do you think of this approach?

Regards,
  Shadi


-- 
Shadi Abou-Zahra,     Web Accessibility Specialist for Europe 
Chair and Team Contact for the Evaluation and Repair Tools WG 
World Wide Web Consortium (W3C),           http://www.w3.org/ 
Web Accessibility Initiative (WAI),    http://www.w3.org/WAI/ 
WAI-TIES Project,                 http://www.w3.org/WAI/TIES/ 
Evaluation and Repair Tools WG,     http://www.w3.org/WAI/ER/ 
2004, Route des Lucioles -- 06560, Sophia-Antipolis -- France 
Voice: +33(0)4 92 38 50 64           Fax: +33(0)4 92 38 78 22 

Received on Wednesday, 28 September 2005 15:11:34 UTC