1 17 18 19 package com.hp.hpl.jena.vocabulary; 22 23 24 import com.hp.hpl.jena.rdf.model.*; 27 28 29 30 31 35 public class OWL { 36 37 private static Model m_model = ModelFactory.createDefaultModel(); 38 39 40 public static final String NS = "http://www.w3.org/2002/07/owl#"; 41 42 44 public static String getURI() {return NS;} 45 46 47 public static final Resource NAMESPACE = m_model.createResource( NS ); 48 49 50 public static final Resource FULL_LANG = m_model.getResource( getURI() ); 51 52 53 public static final Resource DL_LANG = m_model.getResource( "http://www.w3.org/TR/owl-features/#term_OWLDL" ); 54 55 56 public static final Resource LITE_LANG = m_model.getResource( "http://www.w3.org/TR/owl-features/#term_OWLLite" ); 57 58 61 public static final Property maxCardinality = m_model.createProperty( "http://www.w3.org/2002/07/owl#maxCardinality" ); 62 63 public static final Property versionInfo = m_model.createProperty( "http://www.w3.org/2002/07/owl#versionInfo" ); 64 65 public static final Property equivalentClass = m_model.createProperty( "http://www.w3.org/2002/07/owl#equivalentClass" ); 66 67 public static final Property distinctMembers = m_model.createProperty( "http://www.w3.org/2002/07/owl#distinctMembers" ); 68 69 public static final Property oneOf = m_model.createProperty( "http://www.w3.org/2002/07/owl#oneOf" ); 70 71 public static final Property sameAs = m_model.createProperty( "http://www.w3.org/2002/07/owl#sameAs" ); 72 73 public static final Property incompatibleWith = m_model.createProperty( "http://www.w3.org/2002/07/owl#incompatibleWith" ); 74 75 public static final Property minCardinality = m_model.createProperty( "http://www.w3.org/2002/07/owl#minCardinality" ); 76 77 public static final Property complementOf = m_model.createProperty( "http://www.w3.org/2002/07/owl#complementOf" ); 78 79 public static final Property onProperty = m_model.createProperty( "http://www.w3.org/2002/07/owl#onProperty" ); 80 81 public static final Property equivalentProperty = m_model.createProperty( "http://www.w3.org/2002/07/owl#equivalentProperty" ); 82 83 public static final Property inverseOf = m_model.createProperty( "http://www.w3.org/2002/07/owl#inverseOf" ); 84 85 public static final Property backwardCompatibleWith = m_model.createProperty( "http://www.w3.org/2002/07/owl#backwardCompatibleWith" ); 86 87 public static final Property differentFrom = m_model.createProperty( "http://www.w3.org/2002/07/owl#differentFrom" ); 88 89 public static final Property priorVersion = m_model.createProperty( "http://www.w3.org/2002/07/owl#priorVersion" ); 90 91 public static final Property imports = m_model.createProperty( "http://www.w3.org/2002/07/owl#imports" ); 92 93 public static final Property allValuesFrom = m_model.createProperty( "http://www.w3.org/2002/07/owl#allValuesFrom" ); 94 95 public static final Property unionOf = m_model.createProperty( "http://www.w3.org/2002/07/owl#unionOf" ); 96 97 public static final Property hasValue = m_model.createProperty( "http://www.w3.org/2002/07/owl#hasValue" ); 98 99 public static final Property someValuesFrom = m_model.createProperty( "http://www.w3.org/2002/07/owl#someValuesFrom" ); 100 101 public static final Property disjointWith = m_model.createProperty( "http://www.w3.org/2002/07/owl#disjointWith" ); 102 103 public static final Property cardinality = m_model.createProperty( "http://www.w3.org/2002/07/owl#cardinality" ); 104 105 public static final Property intersectionOf = m_model.createProperty( "http://www.w3.org/2002/07/owl#intersectionOf" ); 106 107 108 111 public static final Resource Thing = m_model.createResource( "http://www.w3.org/2002/07/owl#Thing" ); 112 113 public static final Resource DataRange = m_model.createResource( "http://www.w3.org/2002/07/owl#DataRange" ); 114 115 public static final Resource Ontology = m_model.createResource( "http://www.w3.org/2002/07/owl#Ontology" ); 116 117 public static final Resource DeprecatedClass = m_model.createResource( "http://www.w3.org/2002/07/owl#DeprecatedClass" ); 118 119 public static final Resource AllDifferent = m_model.createResource( "http://www.w3.org/2002/07/owl#AllDifferent" ); 120 121 public static final Resource DatatypeProperty = m_model.createResource( "http://www.w3.org/2002/07/owl#DatatypeProperty" ); 122 123 public static final Resource SymmetricProperty = m_model.createResource( "http://www.w3.org/2002/07/owl#SymmetricProperty" ); 124 125 public static final Resource TransitiveProperty = m_model.createResource( "http://www.w3.org/2002/07/owl#TransitiveProperty" ); 126 127 public static final Resource DeprecatedProperty = m_model.createResource( "http://www.w3.org/2002/07/owl#DeprecatedProperty" ); 128 129 public static final Resource AnnotationProperty = m_model.createResource( "http://www.w3.org/2002/07/owl#AnnotationProperty" ); 130 131 public static final Resource Restriction = m_model.createResource( "http://www.w3.org/2002/07/owl#Restriction" ); 132 133 public static final Resource Class = m_model.createResource( "http://www.w3.org/2002/07/owl#Class" ); 134 135 public static final Resource OntologyProperty = m_model.createResource( "http://www.w3.org/2002/07/owl#OntologyProperty" ); 136 137 public static final Resource ObjectProperty = m_model.createResource( "http://www.w3.org/2002/07/owl#ObjectProperty" ); 138 139 public static final Resource FunctionalProperty = m_model.createResource( "http://www.w3.org/2002/07/owl#FunctionalProperty" ); 140 141 public static final Resource InverseFunctionalProperty = m_model.createResource( "http://www.w3.org/2002/07/owl#InverseFunctionalProperty" ); 142 143 public static final Resource Nothing = m_model.createResource( "http://www.w3.org/2002/07/owl#Nothing" ); 144 145 146 149 } 150 151 180 181 | Popular Tags |