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: OntEventsVocab.java,v $
008: * Revision $Revision: 1.7 $
009: * Release status @releaseStatus@ $State: Exp $
010: *
011: * Last modified on $Date: 2008/01/02 12:07:27 $
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: import com.hp.hpl.jena.ontology.*;
022:
023: /**
024: * Vocabulary definitions from file:vocabularies/ont-event.rdf
025: * @author Auto-generated by jena.schemagen on 13 Aug 2004 15:35
026: */
027: public class OntEventsVocab {
028: /** <p>The ontology model that holds the vocabulary terms</p> */
029: private static OntModel m_model = ModelFactory.createOntologyModel(
030: OntModelSpec.OWL_MEM, null);
031:
032: /** <p>The namespace of the vocabulary as a string ({@value})</p> */
033: public static final String NS = "http://jena.hpl.hp.com/schemas/2003/03/ont-event#";
034:
035: /** <p>The namespace of the vocabulary as a string</p>
036: * @see #NS */
037: public static String getURI() {
038: return NS;
039: }
040:
041: /** <p>The namespace of the vocabulary as a resource</p> */
042: public static final Resource NAMESPACE = m_model.createResource(NS);
043:
044: // Vocabulary properties
045: ///////////////////////////
046:
047: // Vocabulary classes
048: ///////////////////////////
049:
050: /** <p>A class representing observable events in an ontology model</p> */
051: public static final OntClass OntEvent = m_model
052: .createClass("http://jena.hpl.hp.com/schemas/2003/03/ont-event#OntEvent");
053:
054: // Vocabulary individuals
055: ///////////////////////////
056:
057: /** <p>Event representing the declaration of one ontology individual being related
058: * to another by some named predicate.</p>
059: */
060: public static final Individual related = m_model.createIndividual(
061: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#related",
062: OntEvent);
063:
064: /** <p>Event representing the declaration of a property as having a given class,
065: * datatype or datarange as the range</p>
066: */
067: public static final Individual range = m_model.createIndividual(
068: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#range",
069: OntEvent);
070:
071: /** <p>Event representing the declaration of a resource as an ontology Class.</p> */
072: public static final Individual classDeclaration = m_model
073: .createIndividual(
074: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#classDeclaration",
075: OntEvent);
076:
077: /** <p>Event representing the declaration that a restriction applies to a given property</p> */
078: public static final Individual onProperty = m_model
079: .createIndividual(
080: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#onProperty",
081: OntEvent);
082:
083: /** <p>Event representing the declaration of that a qualified restriction has the
084: * given class or datatype for the qualification restriction</p>
085: */
086: public static final Individual hasClassQ = m_model
087: .createIndividual(
088: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#hasClassQ",
089: OntEvent);
090:
091: /** <p>Event representing the declaration of one class being the sub-class of another.</p> */
092: public static final Individual subClassOf = m_model
093: .createIndividual(
094: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#subClassOf",
095: OntEvent);
096:
097: /** <p>Event representing the declaration of a class expression being composed of
098: * a finite enumeration of identified individuals.</p>
099: */
100: public static final Individual oneOf = m_model.createIndividual(
101: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#oneOf",
102: OntEvent);
103:
104: /** <p>Event representing the declaration of a property as being the inverse of another
105: * property</p>
106: */
107: public static final Individual inverseOf = m_model
108: .createIndividual(
109: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#inverseOf",
110: OntEvent);
111:
112: /** <p>Event representing the declaration of a resource of type owl:Ontology or daml:Ontology,
113: * representing meta-data about the ontology.</p>
114: */
115: public static final Individual ontologyDeclaration = m_model
116: .createIndividual(
117: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#ontologyDeclaration",
118: OntEvent);
119:
120: /** <p>Event representing the declaration of a property as being functional.</p> */
121: public static final Individual functionalPropertyDeclaration = m_model
122: .createIndividual(
123: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#functionalPropertyDeclaration",
124: OntEvent);
125:
126: /** <p>Event representing the declaration that a restriction constrains the property
127: * to have a given value</p>
128: */
129: public static final Individual hasValue = m_model
130: .createIndividual(
131: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#hasValue",
132: OntEvent);
133:
134: /** <p>Event representing the declaration of that a restriction has the given minimum
135: * cardinality on the restricted property</p>
136: */
137: public static final Individual minCardinality = m_model
138: .createIndividual(
139: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#minCardinality",
140: OntEvent);
141:
142: /** <p>Event representing a label on an ontology element</p> */
143: public static final Individual label = m_model.createIndividual(
144: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#label",
145: OntEvent);
146:
147: /** <p>Event representing the declaration of a class as being deprecated.</p> */
148: public static final Individual DeprecatedClass = m_model
149: .createIndividual(
150: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#DeprecatedClass",
151: OntEvent);
152:
153: /** <p>Event representing the declaration of a property as having a given class,
154: * datatype or datarange as the domain</p>
155: */
156: public static final Individual domain = m_model.createIndividual(
157: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#domain",
158: OntEvent);
159:
160: /** <p>Event representing the declaration of one class expression being disjoint
161: * with another.</p>
162: */
163: public static final Individual disjointWith = m_model
164: .createIndividual(
165: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#disjointWith",
166: OntEvent);
167:
168: /** <p>Event representing the declaration that a restriction constrains at least
169: * one value of the property to have some class or datatype</p>
170: */
171: public static final Individual someValuesFrom = m_model
172: .createIndividual(
173: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#someValuesFrom",
174: OntEvent);
175:
176: /** <p>Event representing the declaration that one ontology is imported into another
177: * ontology.</p>
178: */
179: public static final Individual imports = m_model.createIndividual(
180: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#imports",
181: OntEvent);
182:
183: /** <p>Event representing the declaration of a class expression being a union of
184: * class descriptions.</p>
185: */
186: public static final Individual unionOf = m_model.createIndividual(
187: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#unionOf",
188: OntEvent);
189:
190: /** <p>Event representing the declaration of an ontology property.</p> */
191: public static final Individual ontologyPropertyDeclaration = m_model
192: .createIndividual(
193: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#ontologyPropertyDeclaration",
194: OntEvent);
195:
196: /** <p>Event representing the declaration of a property as being deprecated.</p> */
197: public static final Individual DeprecatedProperty = m_model
198: .createIndividual(
199: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#DeprecatedProperty",
200: OntEvent);
201:
202: /** <p>Event representing the declaration of a resource being a Restriction</p> */
203: public static final Individual restrictionDeclaration = m_model
204: .createIndividual(
205: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#restrictionDeclaration",
206: OntEvent);
207:
208: /** <p>Event representing the declaration of a property as being symmetric</p> */
209: public static final Individual symmetricPropertyDeclaration = m_model
210: .createIndividual(
211: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#symmetricPropertyDeclaration",
212: OntEvent);
213:
214: /** <p>Event representing the declaration of that a restriction has the given maximum
215: * cardinality on the restricted property</p>
216: */
217: public static final Individual maxCardinality = m_model
218: .createIndividual(
219: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#maxCardinality",
220: OntEvent);
221:
222: /** <p>Event representing the declaration of one ontology individual being distinct
223: * from another</p>
224: */
225: public static final Individual differentFrom = m_model
226: .createIndividual(
227: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#differentFrom",
228: OntEvent);
229:
230: /** <p>Event representing a comment on an ontology element</p> */
231: public static final Individual comment = m_model.createIndividual(
232: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#comment",
233: OntEvent);
234:
235: /** <p>Event representing the declaration of one class expression being equivalent
236: * to another.</p>
237: */
238: public static final Individual equivalentClass = m_model
239: .createIndividual(
240: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#equivalentClass",
241: OntEvent);
242:
243: /** <p>Event representing a catch-all category of user-specified data, ie triples
244: * in the graph that relate to the use of ontology terms on instances, rather
245: * than the definition of ontology terms.</p>
246: */
247: public static final Individual userData = m_model
248: .createIndividual(
249: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#userData",
250: OntEvent);
251:
252: /** <p>Event representing the declaration of a class expression being an intersection
253: * of class descriptions.</p>
254: */
255: public static final Individual intersectionOf = m_model
256: .createIndividual(
257: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#intersectionOf",
258: OntEvent);
259:
260: /** <p>Event representing the declaration of that a restriction has the given cardinality
261: * on the restricted property</p>
262: */
263: public static final Individual cardinality = m_model
264: .createIndividual(
265: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#cardinality",
266: OntEvent);
267:
268: /** <p>Event representing the declaration of a resource as a Datarange.</p> */
269: public static final Individual datarangeDeclaration = m_model
270: .createIndividual(
271: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#datarangeDeclaration",
272: OntEvent);
273:
274: /** <p>Event representing the declaration of a prior version of a given ontology,
275: * which the ontology is compatible with.</p>
276: */
277: public static final Individual backwardCompatibleWith = m_model
278: .createIndividual(
279: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#backwardCompatibleWith",
280: OntEvent);
281:
282: /** <p>Event representing the declaration of a prior version of a given ontology,
283: * which the ontology is not compatible with.</p>
284: */
285: public static final Individual incompatibleWith = m_model
286: .createIndividual(
287: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#incompatibleWith",
288: OntEvent);
289:
290: /** <p>Event representing the declaration of one ontology individual being the same
291: * as another</p>
292: */
293: public static final Individual sameIndividualAs = m_model
294: .createIndividual(
295: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#sameIndividualAs",
296: OntEvent);
297:
298: /** <p>Event representing the declaration of a set of individuals being pairwise
299: * distinct.</p>
300: */
301: public static final Individual allDifferentDeclaration = m_model
302: .createIndividual(
303: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#allDifferentDeclaration",
304: OntEvent);
305:
306: /** <p>Event representing the declaration of a resource as an annotation property.</p> */
307: public static final Individual annotationPropertyDeclaration = m_model
308: .createIndividual(
309: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#annotationPropertyDeclaration",
310: OntEvent);
311:
312: /** <p>Event representing the identification of a set of individuals that are in
313: * the scope of an AllDifferent declaration.</p>
314: */
315: public static final Individual distinctMembers = m_model
316: .createIndividual(
317: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#distinctMembers",
318: OntEvent);
319:
320: /** <p>Event representing the declaration of an ontology individual</p> */
321: public static final Individual individualDeclaration = m_model
322: .createIndividual(
323: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#individualDeclaration",
324: OntEvent);
325:
326: /** <p>Event representing the declaration of version information on an ontology resource.</p> */
327: public static final Individual versionInfo = m_model
328: .createIndividual(
329: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#versionInfo",
330: OntEvent);
331:
332: /** <p>Event representing the declaration of a resource as a plain property.</p> */
333: public static final Individual propertyDeclaration = m_model
334: .createIndividual(
335: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#propertyDeclaration",
336: OntEvent);
337:
338: /** <p>Event representing the declaration of that a qualified restriction has the
339: * given cardinality on the restricted property</p>
340: */
341: public static final Individual cardinalityQ = m_model
342: .createIndividual(
343: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#cardinalityQ",
344: OntEvent);
345:
346: /** <p>Event representing the declaration of a resource as an object property.</p> */
347: public static final Individual objectPropertyDeclaration = m_model
348: .createIndividual(
349: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#objectPropertyDeclaration",
350: OntEvent);
351:
352: /** <p>Event representing the declaration of a prior version of a given ontology.</p> */
353: public static final Individual priorVersion = m_model
354: .createIndividual(
355: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#priorVersion",
356: OntEvent);
357:
358: /** <p>Event representing the declaration of a property as being equivalent to another
359: * property</p>
360: */
361: public static final Individual equivalentProperty = m_model
362: .createIndividual(
363: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#equivalentProperty",
364: OntEvent);
365:
366: /** <p>Event representing the declaration of that a qualified restriction has the
367: * given minimum cardinality on the restricted property</p>
368: */
369: public static final Individual minCardinalityQ = m_model
370: .createIndividual(
371: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#minCardinalityQ",
372: OntEvent);
373:
374: /** <p>Event representing the declaration of a property as being the sub-property
375: * of another property</p>
376: */
377: public static final Individual subPropertyOf = m_model
378: .createIndividual(
379: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#subPropertyOf",
380: OntEvent);
381:
382: /** <p>Event representing the declaration of a class expression being the complement
383: * of another class description.</p>
384: */
385: public static final Individual complementOf = m_model
386: .createIndividual(
387: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#complementOf",
388: OntEvent);
389:
390: /** <p>Event representing a declaration that one resource is the same as another.</p> */
391: public static final Individual sameAs = m_model.createIndividual(
392: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#sameAs",
393: OntEvent);
394:
395: /** <p>Event representing the declaration that a restriction constrains all values
396: * of the property to have some class or datatype</p>
397: */
398: public static final Individual allValuesFrom = m_model
399: .createIndividual(
400: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#allValuesFrom",
401: OntEvent);
402:
403: /** <p>Event representing the declaration of a property as being inverse functional.</p> */
404: public static final Individual inverseFunctionalPropertyDeclaration = m_model
405: .createIndividual(
406: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#inverseFunctionalPropertyDeclaration",
407: OntEvent);
408:
409: /** <p>Event representing the declaration of a property as being transitive.</p> */
410: public static final Individual transitivePropertyDeclaration = m_model
411: .createIndividual(
412: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#transitivePropertyDeclaration",
413: OntEvent);
414:
415: /** <p>Event representing the declaration of a resource as a datatype property.</p> */
416: public static final Individual datatypePropertyDeclaration = m_model
417: .createIndividual(
418: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#datatypePropertyDeclaration",
419: OntEvent);
420:
421: /** <p>Event representing the declaration of that a qualified restriction has the
422: * given maximum cardinality on the restricted property</p>
423: */
424: public static final Individual maxCardinalityQ = m_model
425: .createIndividual(
426: "http://jena.hpl.hp.com/schemas/2003/03/ont-event#maxCardinalityQ",
427: OntEvent);
428:
429: }
430:
431: /*
432: (c) Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
433: All rights reserved.
434:
435: Redistribution and use in source and binary forms, with or without
436: modification, are permitted provided that the following conditions
437: are met:
438:
439: 1. Redistributions of source code must retain the above copyright
440: notice, this list of conditions and the following disclaimer.
441:
442: 2. Redistributions in binary form must reproduce the above copyright
443: notice, this list of conditions and the following disclaimer in the
444: documentation and/or other materials provided with the distribution.
445:
446: 3. The name of the author may not be used to endorse or promote products
447: derived from this software without specific prior written permission.
448:
449: THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
450: IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
451: OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
452: IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
453: INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
454: NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
455: DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
456: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
457: (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
458: THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
459: */
|