W3C home > Mailing lists > Public > www-webont-wg@w3.org > September 2003

Re: done: test results ontology

From: Peter F. Patel-Schneider <pfps@research.bell-labs.com>
Date: Tue, 16 Sep 2003 10:58:39 -0400 (EDT)
Message-Id: <20030916.105839.119976289.pfps@research.bell-labs.com>
To: sandro@w3.org
Cc: www-webont-wg@w3.org

Here are some comments on the test results ontology.

peter


* Comments prefixed with asterisks

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
	 xmlns:rtest="http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#"
         xmlns:otest="http://www.w3.org/2002/03owlt/testOntology#"
         xmlns:tres="http://www.w3.org/2002/03owlt/resultsOntology#"
         xmlns:owl="http://www.w3.org/2002/07/owl#"
         xmlns:foaf="http://xmlns.com/foaf/0.1/"
         xml:base="http://www.w3.org/2002/03owlt/resultsOntology#"
         xmlns="http://www.w3.org/1999/xhtml"
>

<owl:Class rdf:about="#PassingRun">
* Why are comments arbitrary XML?  Wouldn't strings be better?
   <rdfs:comment rdf:parseType="Literal">A TestRun where the system's
behavior is sufficient for passing the test.
   </rdfs:comment>
   <rdfs:subClassOf rdf:resource="#TestRun" />
</owl:Class>

<owl:Class rdf:about="#IncompleteRun">
   <rdfs:comment rdf:parseType="Literal">A TestRun where the system's
behavior does not pass the test, but also does not fail.  Typically
this is caused by behaving in a way the system SHOULD NOT.  For OWL
tests, returning an UNKNOWN for most tests should be reported as an
IncompleteRun. 
   </rdfs:comment>
   <rdfs:subClassOf rdf:resource="#TestRun" />
   <owl:disjointWith rdf:resource="#PassingRun" />
</owl:Class>

<owl:Class rdf:about="#FailingRun">
   <rdfs:comment rdf:parseType="Literal">A TestRun where the system's
behavior fails the test, violating a MUST NOT.
   </rdfs:comment>
   <rdfs:subClassOf rdf:resource="#TestRun" />
   <owl:disjointWith rdf:resource="#PassingRun" />
   <owl:disjointWith rdf:resource="#IncompleteRun" />
</owl:Class>

<owl:Class rdf:about="#TestRun">
   <rdfs:comment rdf:parseType="Literal">An event where some system
attempts to pass some test.
   </rdfs:comment>
  <owl:unionOf rdf:parseType="Collection">
    <owl:Class rdf:about="#PassingRun" />
    <owl:Class rdf:about="#FailingRun" />
    <owl:Class rdf:about="#IncompleteRun" />
  </owl:unionOf>
</owl:Class>

<owl:FunctionalProperty rdf:about="#test">
   <rdfs:comment rdf:parseType="Literal">The test in question, such as
an otest:PositiveEntailmentTest.
   </rdfs:comment>
   <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
   <rdfs:domain rdf:resource="#TestRun" />
</owl:FunctionalProperty>

<owl:FunctionalProperty rdf:about="#output">
* There is the distinct possibility that the output of a test run may not
* be a web page.  It might instead be a fragment of a web page, or even a
* document in some other medium.
   <rdfs:comment rdf:parseType="Literal">A web page presenting the
output of the test run, including system-specific additional details.
   </rdfs:comment>
   <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
   <rdfs:domain rdf:resource="#TestRun" />
* The lack of typing information for this means that this is an OWL Full
* document.  It should be possible to turn it into OWL Lite.
* saras65k 140> ./owlParse http://www.w3.org/2002/03owlt/resultsOntology
* Reading DL http://www.w3.org/2002/03owlt/resultsOntology
* Fatal error: exception Owl.Syntax("Non-class uri for description: <http://xmlns.com/foaf/0.1/Document>")
   <rdfs:range rdf:resource="http://xmlns.com/foaf/0.1/Document" />
</owl:FunctionalProperty>

<owl:FunctionalProperty rdf:about="#system">
   <rdfs:comment rdf:parseType="Literal">The complete system
instance on which the test was run, conceptually including software
and hardware components.  No range restriction is provided, however,
so the details are flexible; providing an rdfs:label and rdfs:comment 
may be sufficient for many applications. 
   </rdfs:comment>
   <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
   <rdfs:domain rdf:resource="#TestRun" />
</owl:FunctionalProperty>

<owl:FunctionalProperty rdf:about="#begins">
   <rdfs:comment rdf:parseType="Literal">The point in time
at which the test run started; an
<a href="http://www.w3.org/TR/xmlschema-2/#dateTime">xsd:dateTime</a>.
   </rdfs:comment>
   <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
   <rdfs:domain rdf:resource="#TestRun" />
</owl:FunctionalProperty>

<owl:FunctionalProperty rdf:about="#duration">
* xsd:duration is not appropriate in RDF and OWL as there are problems with
* its value space
   <rdfs:comment rdf:parseType="Literal">The time taken for the
test to run (as far as it did run) on the tested system; an
<a href="http://www.w3.org/TR/xmlschema-2/#duration">xsd:duration</a>.
This value depends on many factors, of course, such as the performance
of the hardware components of the tested system.   If the system is
opaque, these values should only be used for comparison against other
tests run on same system.
   </rdfs:comment>
   <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
   <rdfs:domain rdf:resource="#TestRun" />
</owl:FunctionalProperty>

</rdf:RDF>
Received on Tuesday, 16 September 2003 10:58:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:02 GMT