EARL Documentation
Classes
- Assertion
- An assertion is a sub class of statement, where the subject
is a TestSubject, the predicate a ResultProperty, and the object a TestCase. (These could be free standing units - used outside of Evaluation(s)
if required. N.B. Assertion is the range of earl:asserts.)
- Assertor
- The class of entities making an assertion in EARL (e.g.
running the test). (This could be anonymous if required. There are two further
sub classes of Assertor defined, but they are basically unused.)
- EquivalenceRelation
- An Equivalence relation
- Evaluation
- The class of all EARL evaluations, as asserted in an EARL
document (An Evaluation is the most basic unit of EARL as it stands. An EARL
document will always have at least one statement in it.)
- ResultProperty
- The set of result properties in EARL; they are the range of
rdf:predicate for all EARL Assertions.
- TestCase
- The class of all TestCases
- TestSubject
- The class of things which are being evaluated in an
EARL evaluation - the things that are the subject of every assertion
- Tool
- This is a tool; a bit of software, perhaps with a desc.
- UserAgent
- A user agent
- Validity
- The class of all EARL validity states.
- WebContent
- Anything which is an instance of WebContent must have
exactly one reprOf predicate hanging from it. WebContent is synonymous
with "Document Source" in UAAG/"representation" in URI RFC
Properties
- asserts
- For earl:asserts(x,y), in general, the assertor (x)
asserts the assertion (y). (EARL has specific classes for the domain/range)
- confidence
- for confidence(x, y), x has the confidence y
- contactInfo
- for contactInfo(x, y), y is some some kind of generic contact
information for y. (This is a sub classable property)
- excludes
- for excludes(x, y), TestCriteria x exclude the Exclusion y
- expectedResult
- The expected result of a test case
- format
- The MIME type of the WebContent subject.
- id
- A single guideline, checkpoint, etc.
- level
- This is a generic level of test criteria, for example, the
priorities/levels in WCAG. (These shouldn't be a string literal.)
- name
- The common proper name for some earl:Assertor. (This is related to foaf:name.)
- operator
- for operator(x, y), y is the operator of x (This is the operator of a machine (range undefined))
- operatorInstructions
- for operatorInstruction(x, y), y is an operator instruction
for x.
- os
- The Operating System on which an assertion was run, or of
which an Assertor uses.
- platform
- for platform(x, y), y is the platform on which x ran/runs (e.g. the platform on which the test(s) were run, or the general
platform on which something runs)
- purpose
- for purpose(x, y), y is the (literal node) purpose of x
- repairInfo
- for repairInfo(x, y), y is repair information for x
- reprOf
- For reprOf(x, y), read that x is a representation of y,
possibly derived from an HTTP GET transaction.
- snapshot
- Points to a snapshot of a serialization of the resource
when it was evaluated
- suite
- A suite of checkpoints, guidelines, or any other form of
rules that an earl:TestSubject can be evaluated against. e.g. WCAG 1.0
- testMode
- The test mode of some EARL assertion
- validity
- The validity state for an EARL ResultProperty.