001: /*****************************************************************************
002: * Source code information
003: * -----------------------
004: * Package Jena 2
005: * Web site http://jena.sourceforge.net
006: * Created 13 Aug 2004 15:35
007: * Filename $RCSfile: OWL.java,v $
008: * Revision $Revision: 1.18 $
009: * Release status @releaseStatus@ $State: Exp $
010: *
011: * Last modified on $Date: 2008/01/02 12:07:29 $
012: * by $Author: andy_seaborne $
013: *
014: * (c) Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
015: * (see footer for full conditions)
016: *****************************************************************************/package com.hp.hpl.jena.vocabulary;
017:
018: // Imports
019: ///////////////////////////////////////
020: import com.hp.hpl.jena.rdf.model.*;
021:
022: /**
023: * Vocabulary definitions from file:vocabularies/owl.owl
024: * @author Auto-generated by jena.schemagen on 13 Aug 2004 15:35
025: */
026: public class OWL {
027: /** <p>The RDF model that holds the vocabulary terms</p> */
028: private static Model m_model = ModelFactory.createDefaultModel();
029:
030: /** <p>The namespace of the vocabulary as a string ({@value})</p> */
031: public static final String NS = "http://www.w3.org/2002/07/owl#";
032:
033: /** <p>The namespace of the vocabulary as a string</p>
034: * @see #NS */
035: public static String getURI() {
036: return NS;
037: }
038:
039: /** <p>The namespace of the vocabulary as a resource</p> */
040: public static final Resource NAMESPACE = m_model.createResource(NS);
041:
042: /** A resource that denotes the OWL-full sublanguage of OWL */
043: public static final Resource FULL_LANG = m_model
044: .getResource(getURI());
045:
046: /** A resource, not officially sanctioned by WebOnt, that denotes the OWL-DL sublanguage of OWL */
047: public static final Resource DL_LANG = m_model
048: .getResource("http://www.w3.org/TR/owl-features/#term_OWLDL");
049:
050: /** A resource, not officially sanctioned by WebOnt, that denotes the OWL-Lite sublanguage of OWL */
051: public static final Resource LITE_LANG = m_model
052: .getResource("http://www.w3.org/TR/owl-features/#term_OWLLite");
053:
054: // Vocabulary properties
055: ///////////////////////////
056:
057: public static final Property maxCardinality = m_model
058: .createProperty("http://www.w3.org/2002/07/owl#maxCardinality");
059:
060: public static final Property versionInfo = m_model
061: .createProperty("http://www.w3.org/2002/07/owl#versionInfo");
062:
063: public static final Property equivalentClass = m_model
064: .createProperty("http://www.w3.org/2002/07/owl#equivalentClass");
065:
066: public static final Property distinctMembers = m_model
067: .createProperty("http://www.w3.org/2002/07/owl#distinctMembers");
068:
069: public static final Property oneOf = m_model
070: .createProperty("http://www.w3.org/2002/07/owl#oneOf");
071:
072: public static final Property sameAs = m_model
073: .createProperty("http://www.w3.org/2002/07/owl#sameAs");
074:
075: public static final Property incompatibleWith = m_model
076: .createProperty("http://www.w3.org/2002/07/owl#incompatibleWith");
077:
078: public static final Property minCardinality = m_model
079: .createProperty("http://www.w3.org/2002/07/owl#minCardinality");
080:
081: public static final Property complementOf = m_model
082: .createProperty("http://www.w3.org/2002/07/owl#complementOf");
083:
084: public static final Property onProperty = m_model
085: .createProperty("http://www.w3.org/2002/07/owl#onProperty");
086:
087: public static final Property equivalentProperty = m_model
088: .createProperty("http://www.w3.org/2002/07/owl#equivalentProperty");
089:
090: public static final Property inverseOf = m_model
091: .createProperty("http://www.w3.org/2002/07/owl#inverseOf");
092:
093: public static final Property backwardCompatibleWith = m_model
094: .createProperty("http://www.w3.org/2002/07/owl#backwardCompatibleWith");
095:
096: public static final Property differentFrom = m_model
097: .createProperty("http://www.w3.org/2002/07/owl#differentFrom");
098:
099: public static final Property priorVersion = m_model
100: .createProperty("http://www.w3.org/2002/07/owl#priorVersion");
101:
102: public static final Property imports = m_model
103: .createProperty("http://www.w3.org/2002/07/owl#imports");
104:
105: public static final Property allValuesFrom = m_model
106: .createProperty("http://www.w3.org/2002/07/owl#allValuesFrom");
107:
108: public static final Property unionOf = m_model
109: .createProperty("http://www.w3.org/2002/07/owl#unionOf");
110:
111: public static final Property hasValue = m_model
112: .createProperty("http://www.w3.org/2002/07/owl#hasValue");
113:
114: public static final Property someValuesFrom = m_model
115: .createProperty("http://www.w3.org/2002/07/owl#someValuesFrom");
116:
117: public static final Property disjointWith = m_model
118: .createProperty("http://www.w3.org/2002/07/owl#disjointWith");
119:
120: public static final Property cardinality = m_model
121: .createProperty("http://www.w3.org/2002/07/owl#cardinality");
122:
123: public static final Property intersectionOf = m_model
124: .createProperty("http://www.w3.org/2002/07/owl#intersectionOf");
125:
126: // Vocabulary classes
127: ///////////////////////////
128:
129: public static final Resource Thing = m_model
130: .createResource("http://www.w3.org/2002/07/owl#Thing");
131:
132: public static final Resource DataRange = m_model
133: .createResource("http://www.w3.org/2002/07/owl#DataRange");
134:
135: public static final Resource Ontology = m_model
136: .createResource("http://www.w3.org/2002/07/owl#Ontology");
137:
138: public static final Resource DeprecatedClass = m_model
139: .createResource("http://www.w3.org/2002/07/owl#DeprecatedClass");
140:
141: public static final Resource AllDifferent = m_model
142: .createResource("http://www.w3.org/2002/07/owl#AllDifferent");
143:
144: public static final Resource DatatypeProperty = m_model
145: .createResource("http://www.w3.org/2002/07/owl#DatatypeProperty");
146:
147: public static final Resource SymmetricProperty = m_model
148: .createResource("http://www.w3.org/2002/07/owl#SymmetricProperty");
149:
150: public static final Resource TransitiveProperty = m_model
151: .createResource("http://www.w3.org/2002/07/owl#TransitiveProperty");
152:
153: public static final Resource DeprecatedProperty = m_model
154: .createResource("http://www.w3.org/2002/07/owl#DeprecatedProperty");
155:
156: public static final Resource AnnotationProperty = m_model
157: .createResource("http://www.w3.org/2002/07/owl#AnnotationProperty");
158:
159: public static final Resource Restriction = m_model
160: .createResource("http://www.w3.org/2002/07/owl#Restriction");
161:
162: public static final Resource Class = m_model
163: .createResource("http://www.w3.org/2002/07/owl#Class");
164:
165: public static final Resource OntologyProperty = m_model
166: .createResource("http://www.w3.org/2002/07/owl#OntologyProperty");
167:
168: public static final Resource ObjectProperty = m_model
169: .createResource("http://www.w3.org/2002/07/owl#ObjectProperty");
170:
171: public static final Resource FunctionalProperty = m_model
172: .createResource("http://www.w3.org/2002/07/owl#FunctionalProperty");
173:
174: public static final Resource InverseFunctionalProperty = m_model
175: .createResource("http://www.w3.org/2002/07/owl#InverseFunctionalProperty");
176:
177: public static final Resource Nothing = m_model
178: .createResource("http://www.w3.org/2002/07/owl#Nothing");
179:
180: // Vocabulary individuals
181: ///////////////////////////
182:
183: }
184:
185: /*
186: (c) Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
187: All rights reserved.
188:
189: Redistribution and use in source and binary forms, with or without
190: modification, are permitted provided that the following conditions
191: are met:
192:
193: 1. Redistributions of source code must retain the above copyright
194: notice, this list of conditions and the following disclaimer.
195:
196: 2. Redistributions in binary form must reproduce the above copyright
197: notice, this list of conditions and the following disclaimer in the
198: documentation and/or other materials provided with the distribution.
199:
200: 3. The name of the author may not be used to endorse or promote products
201: derived from this software without specific prior written permission.
202:
203: THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
204: IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
205: OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
206: IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
207: INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
208: NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
209: DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
210: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
211: (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
212: THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
213: */
|