@prefix : <#> . @prefix earl: . @prefix earldata: . @prefix rdf: . @prefix rdfs: . @prefix daml: . @prefix dc: . @prefix foaf: . @prefix doc: . @prefix rcs: . <> dc:title "EARL (Evaluation And Report Language) 1.0 RDF Schema"; doc:obsoletes ; doc:derivedFrom ; rcs:id "$Id$" . earl:Evaluation a rdfs:Class; rdfs:label "Evaluation"; rdfs:subClassOf rdf:Statement; daml:intersectionOf ([ daml:onProperty rdf:subject; daml:toClass earl:Assertor ] [ daml:onProperty rdf:predicate; daml:hasValue earl:asserts ] [ daml:onProperty rdf:object; daml:toClass earl:Assertion ]); rdfs:comment """An Evaluation is the most basic unit of EARL as it stands. An EARL document will always have at least one statement in it.""" . earl:Assertor a rdfs:Class; rdfs:label "Assertor"; rdfs:subClassOf [ daml:onProperty earl:platform; daml:toClass earl:TestPlatform ], [ daml:onProperty earl:asserts; daml:toClass earl:Assertion ], [ daml:disjointUnionOf (earl:Person earl:Machine) ]; rdfs:comment """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.""" . # The following are mainly for demonstration: use earl:Machine and # earl:Person instead. # earl:MachineAssertor rdfs:comment "An assertor which is a machine"; # daml:intersectionOf (earl:Assertor earl:Machine) . # earl:PersonAssertor rdfs:comment "An assertor which is a person"; # daml:intersectionOf (earl:Assertor earl:Person) . earl:asserts a rdf:Property; rdfs:label "asserts"; rdfs:comment """For earl:asserts(x,y), in general, the assertor (x) asserts the assertion (y). EARL has specific classes for these""" . earl:Assertion a rdfs:Class; rdfs:label "Assertion"; rdfs:subClassOf rdf:Statement; daml:intersectionOf ([ daml:onProperty rdf:subject; daml:toClass earl:TestSubject ] [ daml:onProperty rdf:predicate; daml:toClass earl:ResultProperty ] [ daml:onProperty rdf:object; daml:toClass earl:TestCase ]); rdfs:comment """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 earl:Evaluation(s) if required. N.B. Assertion is the range of earl:asserts.""" . # earl:Assertor terms earl:operator a rdf:Property; rdfs:label "operator"; rdfs:comment "This is the operator of a machine (range undefined)"; rdfs:domain [ rdfs:subClassOf earl:Assertor ]; rdfs:range [ earl:note "Who cares what an operator is? We won't define it" ] . earl:contactInfo a rdf:Property; rdfs:label "contactInfo"; rdfs:comment """This is a sub classable prperty; for contactInfo(x, y), y is some some kind of generic contact information for y."""; rdfs:domain earl:Assertor . # range undefined earl:email a daml:UnambiguousProperty; rdfs:label "email"; rdfs:subPropertyOf earl:contactInfo, foaf:mbox; rdfs:domain earl:Assertor; rdfs:range earl:Email; # a machine can have one too rdfs:comment """Generally, for earl:email(x, y) x has an email address of y. The URI of y will normally start with "mailto:", and will not be a literal."""; earl:note "Do we really want to start using other people's properties?" . earl:name a rdf:Property; rdfs:label "name"; rdfs:seeAlso foaf:name; rdfs:domain earl:Assertor; rdfs:range rdfs:Literal; rdfs:comment """The common proper name for some earl:Assertor. This is related to foaf:name.""" . earl:platform a rdf:Property; rdfs:label "platform"; rdfs:comment """e.g. the platform on which the test(s) were run, or the general platform on which something runs""" . earl:TestPlatform rdfs:label "TestPlatform"; rdfs:comment "The platform on which the test(s) were run" . earl:Platform rdfs:label "Platform"; rdfs:comment "The general platform on which something runs" . earl:os a rdf:Property; rdfs:label "os"; rdfs:comment """The Operating System on which an assertion was run, or of which an Assertor uses."""; rdfs:subPropertyOf earl:platform . # earl:ccppSetting earl:note "Just a strawman property" . # earl:TestSubject terms earl:TestSubject a rdfs:Class; rdfs:label "TestSubject"; rdfs:comment """The class of things which are being evaluated in an EARL evaluation - the things that are the subject of every assertion"""; rdfs:subClassOf [ daml:onProperty earl:uniqueMarker; daml:minCardinality "1" ], [ daml:onProperty earl:platform; daml:toClass earl:Platform ] . earl:WebContent a rdfs:Class; rdfs:label "WebContent"; rdfs:subClassOf earl:TestSubject, [ daml:onProperty earl:reprOf; daml:minCardinality "1"; daml:maxCardinality "1" ]; rdfs:comment """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""" . <> earl:note """It is of course possible to be very specific about Web Content, how it links to other documents, the type of links, and so on""" . earl:Tool a rdfs:Class; rdfs:label "Tool"; rdfs:comment "This is a tool; a bit of software, perhaps with a desc."; rdfs:subClassOf earl:TestSubject . earl:UserAgent a rdfs:Class; rdfs:label "UserAgent"; rdfs:comment "A user agent"; rdfs:subClassOf earl:TestSubject . # The three classes are pairwise disjoint (earl:WebContent earl:Tool earl:UserAgent) a daml:Disjoint . earl:date a daml:UniqueProperty, daml:DatatypeProperty; rdfs:label "date"; rdfs:range earldata:Date; # domain undefined rdfs:comment "The date of a resource, with a specific datatype range" . earl:version a daml:UniqueProperty; rdfs:label "version"; rdfs:comment "For earl:version(x, y), read: x is of version y" . earl:reprOf a rdf:Property; rdfs:label "reprOf"; rdfs:domain earl:WebContent; rdfs:range rdfs:Resource; rdfs:comment """For reprOf(x, y), read that x is a representation of y, possibly derived from an HTTP GET transaction."""; earl:note "a daml:UniqueProperty?" . earl:format a rdf:Property; rdfs:label "format"; rdfs:domain earl:WebContent; rdfs:range rdfs:Literal; rdfs:comment "The MIME type of the WebContent subject." . earl:sameSubjectAs a rdf:Property; rdfs:label "sameSubjectAs"; rdfs:seeAlso daml:equivalentTo; rdfs:domain earl:TestSubject; rdf:range earl:TestSubject; rdfs:comment """For earl:sameSubjectAs(x, y), x is defined as being the same subject being evaluated (in an assertion) as y. In other words, there is some property of sameness between the two - the exact semantics of which are not defined here, but may be useful to individual processors."""; earl:note "Probably replace this with equivalence stuff"; daml:inverseOf earl:sameSubjectAs . earl:snapshot a rdf:Property; rdfs:label "snapshot"; rdfs:domain earl:TestSubject; rdfs:comment """Points to a snapshot of a serialization of the resource when it was evaluated""" . earl:note a rdf:Property; rdfs:label "note"; rdfs:comment "A loose comment; the range is rdfs:Resource/Literal"; earl:note "The range can be anything; is this wise?" . rdfs:comment rdfs:subPropertyOf earl:note . # earl:ResultProperty terms earl:ResultProperty a rdfs:Class; rdfs:label "ResultProperty"; rdfs:subClassOf [ daml:onProperty earl:note; daml:toClass rdfs:Resource ]; rdfs:comment """The set of result properties in EARL; they are the range of rdf:predicate for all EARL Assertions."""; rdfs:subClassOf rdf:Property . earl:validity a rdf:Property; rdfs:label "validity"; rdfs:comment "The validity state for an EARL ResultProperty."; rdfs:domain earl:ResultProperty; rdfs:range earl:ValidityState . # e.g. earl:passes a earl:ResultProperty; rdfs:label "passes"; earl:validity earl:Pass . earl:fails a earl:ResultProperty; rdfs:label "fails"; earl:validity earl:Fail . earl:notApplicableTo a earl:ResultProperty; rdfs:label "notApplicableTo"; earl:validity earl:NotApplicable . earl:notTestedAgainst a earl:ResultProperty; rdfs:label "notTestedAgainst"; earl:validity earl:NotTested . earl:cannotTell a earl:ResultProperty; rdfs:label "cannotTell"; earl:validity earl:CannotTell . earl:ValidityProperty daml:oneOf (earl:passes earl:fails earl:notApplicableTo earl:notTestedAgainst earl:cannotTell); earl:note "Do we really want to be so restrictive?" . earl:confidence a rdf:Property . # kinda redundant # earl:Assertion terms earl:testMode a rdf:Property; rdfs:label "testMode"; rdfs:comment "The test mode of some EARL assertion"; rdfs:domain earl:Assertion; rdfs:range earl:TestMode . earl:Manual a earl:TestMode . earl:Auto a earl:TestMode . earl:Heuristic a earl:TestMode . # earl:TestCase terms earl:TestCase a rdfs:Class . earl:repairInfo a rdf:Property; rdfs:label "repairInfo"; rdfs:range earl:RepairInfo . earl:RepairInfo rdfs:subClassOf [ daml:onProperty earl:expectedResult; daml:toClass earl:ExpectedResult ] . earl:purpose a rdf:Property; rdfs:label "purpose"; rdfs:domain earl:TestCase; rdfs:range rdfs:Literal . earl:expectedResult a rdf:Property; rdfs:label "expectedResult"; rdfs:comment "The expected result of a test case" . earl:testCriteria rdfs:domain earl:TestCase; rdfs:range earl:TestCriteria . earl:TestCriteria daml:unionOf ([ daml:onProperty earl:level; daml:minCardinality "1" ] [ daml:onProperty earl:excludes; daml:minCardinality "1" ]) . earl:suite a rdf:Property; rdfs:label "suite"; rdfs:domain [ daml:disjointUnionOf (earl:TestCase earl:TestCriteria earl:Exclusion) ]; rdfs:range earl:Suite; rdfs:comment """A suite of checkpoints, guidelines, or any other form of rules that an earl:TestSubject can be evaluated against. e.g. WCAG 1.0""" . earl:id a rdf:Property; rdfs:label "id"; rdfs:domain [ daml:disjointUnionOf (earl:TestCase earl:TestCriteria earl:Exclusion) ]; rdfs:range earl:Id; rdfs:comment "A single guideline, checkpoint, etc." . earl:Suite daml:disjointWith earl:Id . earl:excludes rdfs:domain earl:TestCriteria; rdfs:range earl:Exclusion . earl:level rdfs:domain [ daml:disjointUnionOf (earl:TestCriteria earl:Exclusion) ]; rdfs:comment """This is a generic level of test criteria, for example, the priorities/levels in WCAG. These shouldn't be a string literal""" . earl:operatorInstructions rdfs:label "operatorInstructions"; rdfs:domain earl:TestCase; rdfs:range rdfs:Literal . earl:reproducableStep rdfs:label "reproducableStep"; rdfs:domain earl:TestCase; rdfs:range rdfs:Literal . earl:EARL rdfs:label "EARL (Evaluation And Report Language)"; earl:version "1.0" .