KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > hp > hpl > jena > vocabulary > OWLResults


1 /******************************************************************
2  * File: OWLResults.java
3  * Created by: Dave Reynolds
4  * Created on: 12-Sep-2003
5  *
6    (c) Copyright 2002, 2003, 2004, 2005 Hewlett-Packard Development Company, LP
7  * [See end of file]
8  * $Id: OWLResults.java,v 1.4 2005/02/21 12:21:32 andy_seaborne Exp $
9  *****************************************************************/

10 package com.hp.hpl.jena.vocabulary;
11
12 import com.hp.hpl.jena.rdf.model.*;
13  
14 /**
15  * The vocabulary used by WebOnt to encode results of test runs.
16  * <p>
17  * Vocabulary definitions from file:data/resultsOntology.rdf
18  * @author Auto-generated by schemagen on 12 Sep 2003 17:18
19  */

20 public class OWLResults {
21     /** <p>The RDF model that holds the vocabulary terms</p> */
22     private static Model m_model = ModelFactory.createDefaultModel();
23     
24     /** <p>The namespace of the vocabalary as a string ({@value})</p> */
25     public static final String JavaDoc NS = "http://www.w3.org/2002/03owlt/resultsOntology#";
26     
27     /** <p>The namespace of the vocabalary as a string</p>
28      * @see #NS */

29     public static String JavaDoc getURI() {return NS;}
30     
31     /** <p>The namespace of the vocabalary as a resource</p> */
32     public static final Resource NAMESPACE = m_model.createResource( NS );
33     
34     /** <p>A web page presenting the output of the test run, including system-specific
35      * additional details.</p>
36      */

37     public static final Property output = m_model.createProperty( "http://www.w3.org/2002/03owlt/resultsOntology#output" );
38     
39     
40     /** <p>The test in question, such as an otest:PositiveEntailmentTest.</p> */
41     public static final Property test = m_model.createProperty( "http://www.w3.org/2002/03owlt/resultsOntology#test" );
42     
43     /** <p>Syntactic tests.</p> */
44     public static final Property syntacticLevelTestFrom = m_model.createProperty( "http://www.w3.org/2002/03owlt/resultsOntology#syntacticLevelTestFrom" );
45     
46     /** <p>The complete system instance on which the test was run, conceptually including
47      * software and hardware components. No range restriction is provided, however,
48      * so the details are flexible; providing an rdfs:label and rdfs:comment may
49      * be sufficient for many applications.</p>
50      */

51     public static final Property system = m_model.createProperty( "http://www.w3.org/2002/03owlt/resultsOntology#system" );
52     
53     /** <p>The point in time at which the test run started; an <a xmlns="http://www.w3.org/1999/xhtml"
54      * HREF="http://www.w3.org/TR/xmlschema-2/#dateTime">xsd:dateTime</a>.</p>
55      */

56     public static final Property begins = m_model.createProperty( "http://www.w3.org/2002/03owlt/resultsOntology#begins" );
57     
58     /** <p>The time taken for the test to run (as far as it did run) on the tested system;
59      * an <a xmlns="http://www.w3.org/1999/xhtml" HREF="http://www.w3.org/TR/xmlschema-2/#duration">xsd:duration</a>.
60      * This value depends on many factors, of course, such as the performance of
61      * the hardware components of the tested system. If the system is opaque, these
62      * values should only be used for comparison against other tests run on same
63      * system.</p>
64      */

65     public static final Property duration = m_model.createProperty( "http://www.w3.org/2002/03owlt/resultsOntology#duration" );
66     
67     /** <p>An event where some system attempts to pass some test.</p> */
68     public static final Resource TestRun = m_model.createResource( "http://www.w3.org/2002/03owlt/resultsOntology#TestRun" );
69     
70     /** <p>A TestRun where the system's behavior does not pass the test, but also does
71      * not fail. Typically this is caused by behaving in a way the system SHOULD
72      * NOT. For OWL tests, returning an UNKNOWN for most tests should be reported
73      * as an IncompleteRun.</p>
74      */

75     public static final Resource IncompleteRun = m_model.createResource( "http://www.w3.org/2002/03owlt/resultsOntology#IncompleteRun" );
76     
77     /** <p>A TestRun where the system's behavior fails the test, violating a MUST NOT.</p> */
78     public static final Resource FailingRun = m_model.createResource( "http://www.w3.org/2002/03owlt/resultsOntology#FailingRun" );
79     
80     /** <p>A TestRun where the system's behavior is sufficient for passing the test.</p> */
81     public static final Resource PassingRun = m_model.createResource( "http://www.w3.org/2002/03owlt/resultsOntology#PassingRun" );
82     
83 }
84
85
86 /*
87    (c) Copyright 2002, 2003, 2004, 2005 Hewlett-Packard Development Company, LP
88     All rights reserved.
89
90     Redistribution and use in source and binary forms, with or without
91     modification, are permitted provided that the following conditions
92     are met:
93
94     1. Redistributions of source code must retain the above copyright
95        notice, this list of conditions and the following disclaimer.
96
97     2. Redistributions in binary form must reproduce the above copyright
98        notice, this list of conditions and the following disclaimer in the
99        documentation and/or other materials provided with the distribution.
100
101     3. The name of the author may not be used to endorse or promote products
102        derived from this software without specific prior written permission.
103
104     THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
105     IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
106     OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
107     IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
108     INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
109     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
110     DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
111     THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
112     (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
113     THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
114 */
Popular Tags