[12] | 1 | <?php
|
---|
| 2 | /**
|
---|
| 3 | * OWL Vocabulary (ResResource)
|
---|
| 4 | *
|
---|
| 5 | * @version $Id: OWL_RES.php 431 2007-05-01 15:49:19Z cweiske $
|
---|
| 6 | * @author Daniel Westphal (dawe@gmx.de)
|
---|
| 7 | * @package vocabulary
|
---|
| 8 | *
|
---|
| 9 | * Wrapper, defining resources for all terms of theWeb
|
---|
| 10 | * Ontology Language (OWL). For details about OWL see:
|
---|
| 11 | * http://www.w3.org/TR/owl-ref/
|
---|
| 12 | * Using the wrapper allows you to define all aspects of
|
---|
| 13 | * the vocabulary in one spot, simplifing implementation and
|
---|
| 14 | * maintainence.
|
---|
| 15 | */
|
---|
| 16 | class OWL_RES{
|
---|
| 17 |
|
---|
| 18 | // OWL concepts
|
---|
| 19 | function ANNOTATION_PROPERTY()
|
---|
| 20 | {
|
---|
| 21 | return new ResResource(OWL_NS . 'AnnotationProperty');
|
---|
| 22 |
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | function ALL_DIFFERENT()
|
---|
| 26 | {
|
---|
| 27 | return new ResResource(OWL_NS . 'AllDifferent');
|
---|
| 28 |
|
---|
| 29 | }
|
---|
| 30 |
|
---|
| 31 | function ALL_VALUES_FROM()
|
---|
| 32 | {
|
---|
| 33 | return new ResResource(OWL_NS . 'allValuesFrom');
|
---|
| 34 |
|
---|
| 35 | }
|
---|
| 36 |
|
---|
| 37 | function BACKWARD_COMPATIBLE_WITH()
|
---|
| 38 | {
|
---|
| 39 | return new ResResource(OWL_NS . 'backwardCompatibleWith');
|
---|
| 40 |
|
---|
| 41 | }
|
---|
| 42 |
|
---|
| 43 | function CARDINALITY()
|
---|
| 44 | {
|
---|
| 45 | return new ResResource(OWL_NS . 'cardinality');
|
---|
| 46 |
|
---|
| 47 | }
|
---|
| 48 |
|
---|
| 49 | function OWL_CLASS()
|
---|
| 50 | {
|
---|
| 51 | return new ResResource(OWL_NS . 'Class');
|
---|
| 52 |
|
---|
| 53 | }
|
---|
| 54 |
|
---|
| 55 | function COMPLEMENT_OF()
|
---|
| 56 | {
|
---|
| 57 | return new ResResource(OWL_NS . 'complementOf');
|
---|
| 58 |
|
---|
| 59 | }
|
---|
| 60 |
|
---|
| 61 | function DATATYPE()
|
---|
| 62 | {
|
---|
| 63 | return new ResResource(OWL_NS . 'Datatype');
|
---|
| 64 |
|
---|
| 65 | }
|
---|
| 66 |
|
---|
| 67 | function DATATYPE_PROPERTY()
|
---|
| 68 | {
|
---|
| 69 | return new ResResource(OWL_NS . 'DatatypeProperty');
|
---|
| 70 |
|
---|
| 71 | }
|
---|
| 72 |
|
---|
| 73 | function DATA_RANGE()
|
---|
| 74 | {
|
---|
| 75 | return new ResResource(OWL_NS . 'DataRange');
|
---|
| 76 |
|
---|
| 77 | }
|
---|
| 78 |
|
---|
| 79 | function DATATYPE_RESTRICTION()
|
---|
| 80 | {
|
---|
| 81 | return new ResResource(OWL_NS . 'DatatypeRestriction');
|
---|
| 82 |
|
---|
| 83 | }
|
---|
| 84 |
|
---|
| 85 | function DEPRECATED_CLASS()
|
---|
| 86 | {
|
---|
| 87 | return new ResResource(OWL_NS . 'DeprecatedClass');
|
---|
| 88 |
|
---|
| 89 | }
|
---|
| 90 |
|
---|
| 91 | function DEPRECATED_PROPERTY()
|
---|
| 92 | {
|
---|
| 93 | return new ResResource(OWL_NS . 'DeprecatedProperty');
|
---|
| 94 |
|
---|
| 95 | }
|
---|
| 96 |
|
---|
| 97 | function DISTINCT_MEMBERS()
|
---|
| 98 | {
|
---|
| 99 | return new ResResource(OWL_NS . 'distinctMembers');
|
---|
| 100 |
|
---|
| 101 | }
|
---|
| 102 |
|
---|
| 103 | function DIFFERENT_FROM()
|
---|
| 104 | {
|
---|
| 105 | return new ResResource(OWL_NS . 'differentFrom');
|
---|
| 106 |
|
---|
| 107 | }
|
---|
| 108 |
|
---|
| 109 | function DISJOINT_WITH()
|
---|
| 110 | {
|
---|
| 111 | return new ResResource(OWL_NS . 'disjointWith');
|
---|
| 112 |
|
---|
| 113 | }
|
---|
| 114 |
|
---|
| 115 | function EQUIVALENT_CLASS()
|
---|
| 116 | {
|
---|
| 117 | return new ResResource(OWL_NS . 'equivalentClass');
|
---|
| 118 |
|
---|
| 119 | }
|
---|
| 120 |
|
---|
| 121 | function EQUIVALENT_PROPERTY()
|
---|
| 122 | {
|
---|
| 123 | return new ResResource(OWL_NS . 'equivalentProperty');
|
---|
| 124 |
|
---|
| 125 | }
|
---|
| 126 |
|
---|
| 127 | function FUNCTIONAL_PROPERTY()
|
---|
| 128 | {
|
---|
| 129 | return new ResResource(OWL_NS . 'FunctionalProperty');
|
---|
| 130 |
|
---|
| 131 | }
|
---|
| 132 |
|
---|
| 133 | function HAS_VALUE()
|
---|
| 134 | {
|
---|
| 135 | return new ResResource(OWL_NS . 'hasValue');
|
---|
| 136 |
|
---|
| 137 | }
|
---|
| 138 |
|
---|
| 139 | function INCOMPATIBLE_WITH()
|
---|
| 140 | {
|
---|
| 141 | return new ResResource(OWL_NS . 'incompatibleWith');
|
---|
| 142 |
|
---|
| 143 | }
|
---|
| 144 |
|
---|
| 145 | function IMPORTS()
|
---|
| 146 | {
|
---|
| 147 | return new ResResource(OWL_NS . 'imports');
|
---|
| 148 |
|
---|
| 149 | }
|
---|
| 150 |
|
---|
| 151 | function INTERSECTION_OF()
|
---|
| 152 | {
|
---|
| 153 | return new ResResource(OWL_NS . 'intersectionOf');
|
---|
| 154 |
|
---|
| 155 | }
|
---|
| 156 |
|
---|
| 157 | function INVERSE_FUNCTIONAL_PROPERTY()
|
---|
| 158 | {
|
---|
| 159 | return new ResResource(OWL_NS . 'InverseFunctionalProperty');
|
---|
| 160 |
|
---|
| 161 | }
|
---|
| 162 |
|
---|
| 163 | function INVERSE_OF()
|
---|
| 164 | {
|
---|
| 165 | return new ResResource(OWL_NS . 'inverseOf');
|
---|
| 166 |
|
---|
| 167 | }
|
---|
| 168 |
|
---|
| 169 | function MAX_CARDINALITY()
|
---|
| 170 | {
|
---|
| 171 | return new ResResource(OWL_NS . 'maxCardinality');
|
---|
| 172 |
|
---|
| 173 | }
|
---|
| 174 |
|
---|
| 175 | function MIN_CARDINALITY()
|
---|
| 176 | {
|
---|
| 177 | return new ResResource(OWL_NS . 'minCardinality');
|
---|
| 178 |
|
---|
| 179 | }
|
---|
| 180 |
|
---|
| 181 | function NOTHING()
|
---|
| 182 | {
|
---|
| 183 | return new ResResource(OWL_NS . 'Nothing');
|
---|
| 184 |
|
---|
| 185 | }
|
---|
| 186 |
|
---|
| 187 | function OBJECT_CLASS()
|
---|
| 188 | {
|
---|
| 189 | return new ResResource(OWL_NS . 'ObjectClass');
|
---|
| 190 |
|
---|
| 191 | }
|
---|
| 192 |
|
---|
| 193 | function OBJECT_PROPERTY()
|
---|
| 194 | {
|
---|
| 195 | return new ResResource(OWL_NS . 'ObjectProperty');
|
---|
| 196 |
|
---|
| 197 | }
|
---|
| 198 |
|
---|
| 199 | function OBJECT_RESTRICTION()
|
---|
| 200 | {
|
---|
| 201 | return new ResResource(OWL_NS . 'ObjectRestriction');
|
---|
| 202 |
|
---|
| 203 | }
|
---|
| 204 |
|
---|
| 205 | function ONE_OF()
|
---|
| 206 | {
|
---|
| 207 | return new ResResource(OWL_NS . 'oneOf');
|
---|
| 208 |
|
---|
| 209 | }
|
---|
| 210 |
|
---|
| 211 | function ON_PROPERTY()
|
---|
| 212 | {
|
---|
| 213 | return new ResResource(OWL_NS . 'onProperty');
|
---|
| 214 |
|
---|
| 215 | }
|
---|
| 216 |
|
---|
| 217 | function ONTOLOGY()
|
---|
| 218 | {
|
---|
| 219 | return new ResResource(OWL_NS . 'Ontology');
|
---|
| 220 |
|
---|
| 221 | }
|
---|
| 222 |
|
---|
| 223 | function PRIOR_VERSION()
|
---|
| 224 | {
|
---|
| 225 | return new ResResource(OWL_NS . 'priorVersion');
|
---|
| 226 |
|
---|
| 227 | }
|
---|
| 228 |
|
---|
| 229 | function PROPERTY()
|
---|
| 230 | {
|
---|
| 231 | return new ResResource(OWL_NS . 'Property');
|
---|
| 232 |
|
---|
| 233 | }
|
---|
| 234 |
|
---|
| 235 | function RESTRICTION()
|
---|
| 236 | {
|
---|
| 237 | return new ResResource(OWL_NS . 'Restriction');
|
---|
| 238 |
|
---|
| 239 | }
|
---|
| 240 |
|
---|
| 241 | function SAME_AS()
|
---|
| 242 | {
|
---|
| 243 | return new ResResource(OWL_NS . 'sameAs');
|
---|
| 244 |
|
---|
| 245 | }
|
---|
| 246 |
|
---|
| 247 | function SAME_CLASS_AS()
|
---|
| 248 | {
|
---|
| 249 | return new ResResource(OWL_NS . 'sameClassAs');
|
---|
| 250 |
|
---|
| 251 | }
|
---|
| 252 |
|
---|
| 253 | function SAME_INDIVIDUAL_AS()
|
---|
| 254 | {
|
---|
| 255 | return new ResResource(OWL_NS . 'sameIndividualAs');
|
---|
| 256 |
|
---|
| 257 | }
|
---|
| 258 |
|
---|
| 259 | function SAME_PROPERTY_AS()
|
---|
| 260 | {
|
---|
| 261 | return new ResResource(OWL_NS . 'samePropertyAs');
|
---|
| 262 |
|
---|
| 263 | }
|
---|
| 264 |
|
---|
| 265 | function SOME_VALUES_FROM()
|
---|
| 266 | {
|
---|
| 267 | return new ResResource(OWL_NS . 'someValuesFrom');
|
---|
| 268 |
|
---|
| 269 | }
|
---|
| 270 |
|
---|
| 271 | function SYMMETRIC_PROPERTY()
|
---|
| 272 | {
|
---|
| 273 | return new ResResource(OWL_NS . 'SymmetricProperty');
|
---|
| 274 |
|
---|
| 275 | }
|
---|
| 276 |
|
---|
| 277 | function THING()
|
---|
| 278 | {
|
---|
| 279 | return new ResResource(OWL_NS . 'Thing');
|
---|
| 280 |
|
---|
| 281 | }
|
---|
| 282 |
|
---|
| 283 | function TRANSITIVE_PROPERTY()
|
---|
| 284 | {
|
---|
| 285 | return new ResResource(OWL_NS . 'TransitiveProperty');
|
---|
| 286 |
|
---|
| 287 | }
|
---|
| 288 |
|
---|
| 289 | function UNION_OF()
|
---|
| 290 | {
|
---|
| 291 | return new ResResource(OWL_NS . 'unionOf');
|
---|
| 292 |
|
---|
| 293 | }
|
---|
| 294 |
|
---|
| 295 | function VERSION_INFO()
|
---|
| 296 | {
|
---|
| 297 | return new ResResource(OWL_NS . 'versionInfo');
|
---|
| 298 | }
|
---|
| 299 | }
|
---|
| 300 |
|
---|
| 301 |
|
---|
| 302 |
|
---|
| 303 | ?> |
---|