KickJava   Java API By Example, From Geeks To Geeks.

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


1 /******************************************************************
2  * File: OWLTest.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: OWLTest.java,v 1.6 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 the WebOnt working group to define test manifests.
16  * <p>
17  * Vocabulary definitions from file:data/testOntology.rdf
18  * @author Auto-generated by schemagen on 12 Sep 2003 17:16
19  */

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

30     public static String JavaDoc getURI() {return NS;}
31     
32     /** <p>The namespace of the vocabalary as a resource</p> */
33     public static final Resource NAMESPACE = m_model.createResource( NS );
34     
35     /** <p>This property relates a test to a language feature. The language feature is
36      * usually indicated by a class or property.</p>
37      */

38     public static final Property feature = m_model.createProperty( "http://www.w3.org/2002/03owlt/testOntology#feature" );
39     
40     /** <p>The object is a datatype that appears in one of the test files in the subject
41      * test.</p>
42      */

43     public static final Property usedDatatype = m_model.createProperty( "http://www.w3.org/2002/03owlt/testOntology#usedDatatype" );
44     
45     /** <p>The subject test is valid only when the object datatype is included in the
46      * datatype theory.</p>
47      */

48     public static final Property supportedDatatype = m_model.createProperty( "http://www.w3.org/2002/03owlt/testOntology#supportedDatatype" );
49     
50     /** <p>Despite the property URI, the document indicated by this property may or may
51      * not be imported into the test.</p>
52      */

53     public static final Property importedPremiseDocument = m_model.createProperty( "http://www.w3.org/2002/03owlt/testOntology#importedPremiseDocument" );
54     
55     /** <p>Indicates the conformance level of a document or test in the OWL test suite.</p> */
56     public static final Property level = m_model.createProperty( "http://www.w3.org/2002/03owlt/testOntology#level" );
57
58     /** <p>One of the conformance levels in the OWL test suite.</p> */
59     public static final Resource Lite = m_model.createResource( "http://www.w3.org/2002/03owlt/testOntology#Lite" );
60     /** <p>One of the conformance levels in the OWL test suite.</p> */
61     public static final Resource DL = m_model.createResource( "http://www.w3.org/2002/03owlt/testOntology#DL" );
62     /** <p>One of the conformance levels in the OWL test suite.</p> */
63     public static final Resource Full = m_model.createResource( "http://www.w3.org/2002/03owlt/testOntology#Full" );
64     
65     /** <p>A string valued property that gives a numeral (or some other quasi-numeric
66      * string) associated with an issue.</p>
67      */

68     public static final Property issueNumber = m_model.createProperty( "http://www.w3.org/2002/03owlt/testOntology#issueNumber" );
69     public static final Property size = m_model.createProperty( "http://www.w3.org/2002/03owlt/testOntology#size" );
70     public static final Resource Large = m_model.createProperty( "http://www.w3.org/2002/03owlt/testOntology#Large" );
71     
72     public static final Resource Test = m_model.createResource( "http://www.w3.org/2002/03owlt/testOntology#Test" );
73     
74     /** <p>This is a positive entailment test according to the OWL entailment rules.</p> */
75     public static final Resource PositiveEntailmentTest = m_model.createResource( "http://www.w3.org/2002/03owlt/testOntology#PositiveEntailmentTest" );
76     
77     /** <p>This is a negative entailment test according to the OWL entailment rules.</p> */
78     public static final Resource NegativeEntailmentTest = m_model.createResource( "http://www.w3.org/2002/03owlt/testOntology#NegativeEntailmentTest" );
79     
80     /** <p>The conclusions follow from the empty premises.</p> */
81     public static final Resource TrueTest = m_model.createResource( "http://www.w3.org/2002/03owlt/testOntology#TrueTest" );
82     
83     /** <p>Illustrative of the use of OWL to describe OWL Full.</p> */
84     public static final Resource OWLforOWLTest = m_model.createResource( "http://www.w3.org/2002/03owlt/testOntology#OWLforOWLTest" );
85     
86     /** <p>These tests use two documents. One is named importsNNN.rdf, the other is named
87      * mainNNN.rdf. These tests indicate the interaction between owl:imports and
88      * the sublanguage levels of the main document.</p>
89      */

90     public static final Resource ImportLevelTest = m_model.createResource( "http://www.w3.org/2002/03owlt/testOntology#ImportLevelTest" );
91     
92     /** <p>This is a negative test. The input document contains some use of the OWL namespace
93      * which is not a feature of OWL. These typically show DAML+OIL features that
94      * are not being carried forward into OWL.</p>
95      */

96     public static final Resource NotOwlFeatureTest = m_model.createResource( "http://www.w3.org/2002/03owlt/testOntology#NotOwlFeatureTest" );
97     
98     /** <p>The premise document, and its imports closure, entails the conclusion document.</p> */
99     public static final Resource ImportEntailmentTest = m_model.createResource( "http://www.w3.org/2002/03owlt/testOntology#ImportEntailmentTest" );
100     
101     /** <p>An inconsistent OWL document. (One that entails falsehood).</p> */
102     public static final Resource InconsistencyTest = m_model.createResource( "http://www.w3.org/2002/03owlt/testOntology#InconsistencyTest" );
103     
104     /** <p>A consistent OWL document. (One that does not entail falsehood).</p> */
105     public static final Resource ConsistencyTest = m_model.createResource( "http://www.w3.org/2002/03owlt/testOntology#ConsistencyTest" );
106     
107     /** <p>A member of this class is an issue in some issue list.</p> */
108     public static final Resource Issue = m_model.createResource( "http://www.w3.org/2002/03owlt/testOntology#Issue" );
109     
110 }
111
112 /*
113    (c) Copyright 2002, 2003, 2004, 2005 Hewlett-Packard Development Company, LP
114     All rights reserved.
115
116     Redistribution and use in source and binary forms, with or without
117     modification, are permitted provided that the following conditions
118     are met:
119
120     1. Redistributions of source code must retain the above copyright
121        notice, this list of conditions and the following disclaimer.
122
123     2. Redistributions in binary form must reproduce the above copyright
124        notice, this list of conditions and the following disclaimer in the
125        documentation and/or other materials provided with the distribution.
126
127     3. The name of the author may not be used to endorse or promote products
128        derived from this software without specific prior written permission.
129
130     THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
131     IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
132     OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
133     IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
134     INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
135     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
136     DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
137     THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
138     (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
139     THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
140 */
Popular Tags