1 | <?php
|
---|
2 | /**
|
---|
3 | * Dublin Core Vocabulary (Resource)
|
---|
4 | *
|
---|
5 | * @version $Id: DC_C.php 431 2007-05-01 15:49:19Z cweiske $
|
---|
6 | * @author Chris Bizer (chris@bizer.de)
|
---|
7 | * @package vocabulary
|
---|
8 | *
|
---|
9 | * Wrapper, defining resources for all terms of the Dublin
|
---|
10 | * Core Vocabulary. For details about DC see: http://dublincore.org/
|
---|
11 | * Using the wrapper allows you to define all aspects of
|
---|
12 | * the vocabulary in one spot, simplifing implementation and
|
---|
13 | * maintainence.
|
---|
14 | */
|
---|
15 | class DC{
|
---|
16 | // DC concepts
|
---|
17 | function CONTRIBUTOR()
|
---|
18 | {
|
---|
19 | return new Resource(DC_NS . 'contributor');
|
---|
20 |
|
---|
21 | }
|
---|
22 |
|
---|
23 | function COVERAGE()
|
---|
24 | {
|
---|
25 | return new Resource(DC_NS . 'coverage');
|
---|
26 |
|
---|
27 | }
|
---|
28 |
|
---|
29 | function CREATOR()
|
---|
30 | {
|
---|
31 | return new Resource(DC_NS . 'creator');
|
---|
32 |
|
---|
33 | }
|
---|
34 |
|
---|
35 | function DATE()
|
---|
36 | {
|
---|
37 | return new Resource(DC_NS . 'date');
|
---|
38 |
|
---|
39 | }
|
---|
40 |
|
---|
41 | function DESCRIPTION()
|
---|
42 | {
|
---|
43 | return new Resource(DC_NS . 'description');
|
---|
44 |
|
---|
45 | }
|
---|
46 |
|
---|
47 | function FORMAT()
|
---|
48 | {
|
---|
49 | return new Resource(DC_NS . 'format');
|
---|
50 |
|
---|
51 | }
|
---|
52 |
|
---|
53 | function IDENTIFIER()
|
---|
54 | {
|
---|
55 | return new Resource(DC_NS . 'identifier');
|
---|
56 |
|
---|
57 | }
|
---|
58 |
|
---|
59 | function LANGUAGE()
|
---|
60 | {
|
---|
61 | return new Resource(DC_NS . 'language');
|
---|
62 |
|
---|
63 | }
|
---|
64 |
|
---|
65 | function PUBLISHER()
|
---|
66 | {
|
---|
67 | return new Resource(DC_NS . 'publisher');
|
---|
68 |
|
---|
69 | }
|
---|
70 |
|
---|
71 | function RIGHTS()
|
---|
72 | {
|
---|
73 | return new Resource(DC_NS . 'rights');
|
---|
74 |
|
---|
75 | }
|
---|
76 |
|
---|
77 | function SOURCE()
|
---|
78 | {
|
---|
79 | return new Resource(DC_NS . 'source');
|
---|
80 |
|
---|
81 | }
|
---|
82 |
|
---|
83 | function SUBJECT()
|
---|
84 | {
|
---|
85 | return new Resource(DC_NS . 'subject');
|
---|
86 |
|
---|
87 | }
|
---|
88 |
|
---|
89 | function TITLE()
|
---|
90 | {
|
---|
91 | return new Resource(DC_NS . 'title');
|
---|
92 |
|
---|
93 | }
|
---|
94 |
|
---|
95 | function TYPE()
|
---|
96 | {
|
---|
97 | return new Resource(DC_NS . 'type');
|
---|
98 | }
|
---|
99 |
|
---|
100 |
|
---|
101 | // Other Elements and Element Refinements
|
---|
102 | function ABSTRACT_()
|
---|
103 | {
|
---|
104 | return new Resource(DCTERM_NS . 'abstract');
|
---|
105 |
|
---|
106 | }
|
---|
107 |
|
---|
108 | function ACCESS_RIGHTS()
|
---|
109 | {
|
---|
110 | return new Resource(DCTERM_NS . 'accessRights');
|
---|
111 |
|
---|
112 | }
|
---|
113 |
|
---|
114 | function ALTERNATIVE()
|
---|
115 | {
|
---|
116 | return new Resource(DCTERM_NS . 'alternative');
|
---|
117 |
|
---|
118 | }
|
---|
119 |
|
---|
120 | function AUDIENCE()
|
---|
121 | {
|
---|
122 | return new Resource(DCTERM_NS . 'audience');
|
---|
123 |
|
---|
124 | }
|
---|
125 |
|
---|
126 | function AVAILABLE()
|
---|
127 | {
|
---|
128 | return new Resource(DCTERM_NS . 'available');
|
---|
129 |
|
---|
130 | }
|
---|
131 |
|
---|
132 | function BIBLIOGRAPHIC_CITATION()
|
---|
133 | {
|
---|
134 | return new Resource(DCTERM_NS . 'bibliographicCitation');
|
---|
135 |
|
---|
136 | }
|
---|
137 |
|
---|
138 | function CONFORMS_TO()
|
---|
139 | {
|
---|
140 | return new Resource(DCTERM_NS . 'conformsTo');
|
---|
141 |
|
---|
142 | }
|
---|
143 |
|
---|
144 | function CREATED()
|
---|
145 | {
|
---|
146 | return new Resource(DCTERM_NS . 'created');
|
---|
147 |
|
---|
148 | }
|
---|
149 |
|
---|
150 | function DATE_ACCEPTED()
|
---|
151 | {
|
---|
152 | return new Resource(DCTERM_NS . 'dateAccepted');
|
---|
153 |
|
---|
154 | }
|
---|
155 |
|
---|
156 | function DATE_COPYRIGHTED()
|
---|
157 | {
|
---|
158 | return new Resource(DCTERM_NS . 'dateCopyrighted');
|
---|
159 |
|
---|
160 | }
|
---|
161 |
|
---|
162 | function DATE_SUBMITTED()
|
---|
163 | {
|
---|
164 | return new Resource(DCTERM_NS . 'dateSubmitted');
|
---|
165 |
|
---|
166 | }
|
---|
167 |
|
---|
168 | function EDUCATION_LEVEL()
|
---|
169 | {
|
---|
170 | return new Resource(DCTERM_NS . 'educationLevel');
|
---|
171 |
|
---|
172 | }
|
---|
173 |
|
---|
174 | function EXTENT()
|
---|
175 | {
|
---|
176 | return new Resource(DCTERM_NS . 'extent');
|
---|
177 |
|
---|
178 | }
|
---|
179 |
|
---|
180 | function HAS_FORMAT()
|
---|
181 | {
|
---|
182 | return new Resource(DCTERM_NS . 'hasFormat');
|
---|
183 |
|
---|
184 | }
|
---|
185 |
|
---|
186 | function HAS_PART()
|
---|
187 | {
|
---|
188 | return new Resource(DCTERM_NS . 'hasPart');
|
---|
189 |
|
---|
190 | }
|
---|
191 |
|
---|
192 | function HAS_VERSION()
|
---|
193 | {
|
---|
194 | return new Resource(DCTERM_NS . 'hasVersion');
|
---|
195 |
|
---|
196 | }
|
---|
197 |
|
---|
198 | function IS_FORMAT_OF()
|
---|
199 | {
|
---|
200 | return new Resource(DCTERM_NS . 'isFormatOf');
|
---|
201 |
|
---|
202 | }
|
---|
203 |
|
---|
204 | function IS_PART_OF()
|
---|
205 | {
|
---|
206 | return new Resource(DCTERM_NS . 'isPartOf');
|
---|
207 |
|
---|
208 | }
|
---|
209 |
|
---|
210 | function IS_REFERENCED_BY()
|
---|
211 | {
|
---|
212 | return new Resource(DCTERM_NS . 'isReferencedBy');
|
---|
213 |
|
---|
214 | }
|
---|
215 |
|
---|
216 | function IS_REPLACED_BY()
|
---|
217 | {
|
---|
218 | return new Resource(DCTERM_NS . 'isReplacedBy');
|
---|
219 |
|
---|
220 | }
|
---|
221 |
|
---|
222 | function IS_REQUIRED_BY()
|
---|
223 | {
|
---|
224 | return new Resource(DCTERM_NS . 'isRequiredBy');
|
---|
225 |
|
---|
226 | }
|
---|
227 |
|
---|
228 | function ISSUED()
|
---|
229 | {
|
---|
230 | return new Resource(DCTERM_NS . 'issued');
|
---|
231 |
|
---|
232 | }
|
---|
233 |
|
---|
234 | function IS_VERSION_OF()
|
---|
235 | {
|
---|
236 | return new Resource(DCTERM_NS . 'isVersionOf');
|
---|
237 |
|
---|
238 | }
|
---|
239 |
|
---|
240 | function LICENSE()
|
---|
241 | {
|
---|
242 | return new Resource(DCTERM_NS . 'license');
|
---|
243 |
|
---|
244 | }
|
---|
245 |
|
---|
246 | function MEDIATOR()
|
---|
247 | {
|
---|
248 | return new Resource(DCTERM_NS . 'mediator');
|
---|
249 |
|
---|
250 | }
|
---|
251 |
|
---|
252 | function MEDIUM()
|
---|
253 | {
|
---|
254 | return new Resource(DCTERM_NS . 'medium');
|
---|
255 |
|
---|
256 | }
|
---|
257 |
|
---|
258 | function MODIFIED()
|
---|
259 | {
|
---|
260 | return new Resource(DCTERM_NS . 'modified');
|
---|
261 |
|
---|
262 | }
|
---|
263 |
|
---|
264 | function REFERENCES()
|
---|
265 | {
|
---|
266 | return new Resource(DCTERM_NS . 'references');
|
---|
267 |
|
---|
268 | }
|
---|
269 |
|
---|
270 | function REPLACES()
|
---|
271 | {
|
---|
272 | return new Resource(DCTERM_NS . 'replaces');
|
---|
273 |
|
---|
274 | }
|
---|
275 |
|
---|
276 | function REQUIRES()
|
---|
277 | {
|
---|
278 | return new Resource(DCTERM_NS . 'requires');
|
---|
279 |
|
---|
280 | }
|
---|
281 |
|
---|
282 | function RIGHTS_HOLDER()
|
---|
283 | {
|
---|
284 | return new Resource(DCTERM_NS . 'rightsHolder');
|
---|
285 |
|
---|
286 | }
|
---|
287 |
|
---|
288 | function SPATIAL()
|
---|
289 | {
|
---|
290 | return new Resource(DCTERM_NS . 'spatial');
|
---|
291 |
|
---|
292 | }
|
---|
293 |
|
---|
294 | function TABLE_OF_CONTENTS()
|
---|
295 | {
|
---|
296 | return new Resource(DCTERM_NS . 'tableOfContents');
|
---|
297 |
|
---|
298 | }
|
---|
299 |
|
---|
300 | function TEMPORAL()
|
---|
301 | {
|
---|
302 | return new Resource(DCTERM_NS . 'temporal');
|
---|
303 |
|
---|
304 | }
|
---|
305 |
|
---|
306 | function VALID()
|
---|
307 | {
|
---|
308 | return new Resource(DCTERM_NS . 'valid');
|
---|
309 |
|
---|
310 | }
|
---|
311 |
|
---|
312 |
|
---|
313 | // Encoding schemes
|
---|
314 | function BOX()
|
---|
315 | {
|
---|
316 | return new Resource(DCTERM_NS . 'Box');
|
---|
317 |
|
---|
318 | }
|
---|
319 |
|
---|
320 | function DCMI_TYPE()
|
---|
321 | {
|
---|
322 | return new Resource(DCTERM_NS . 'DCMIType');
|
---|
323 |
|
---|
324 | }
|
---|
325 |
|
---|
326 | function IMT()
|
---|
327 | {
|
---|
328 | return new Resource(DCTERM_NS . 'IMT');
|
---|
329 |
|
---|
330 | }
|
---|
331 |
|
---|
332 | function ISO3166()
|
---|
333 | {
|
---|
334 | return new Resource(DCTERM_NS . 'ISO3166');
|
---|
335 |
|
---|
336 | }
|
---|
337 |
|
---|
338 | function ISO639_2()
|
---|
339 | {
|
---|
340 | return new Resource(DCTERM_NS . 'ISO639-2');
|
---|
341 |
|
---|
342 | }
|
---|
343 |
|
---|
344 | function LCC()
|
---|
345 | {
|
---|
346 | return new Resource(DCTERM_NS . 'LCC');
|
---|
347 |
|
---|
348 | }
|
---|
349 |
|
---|
350 | function LCSH()
|
---|
351 | {
|
---|
352 | return new Resource(DCTERM_NS . 'LCSH');
|
---|
353 |
|
---|
354 | }
|
---|
355 |
|
---|
356 | function MESH()
|
---|
357 | {
|
---|
358 | return new Resource(DCTERM_NS . 'MESH');
|
---|
359 |
|
---|
360 | }
|
---|
361 |
|
---|
362 | function PERIOD()
|
---|
363 | {
|
---|
364 | return new Resource(DCTERM_NS . 'Period');
|
---|
365 |
|
---|
366 | }
|
---|
367 |
|
---|
368 | function POINT()
|
---|
369 | {
|
---|
370 | return new Resource(DCTERM_NS . 'Point');
|
---|
371 |
|
---|
372 | }
|
---|
373 |
|
---|
374 | function RFC1766()
|
---|
375 | {
|
---|
376 | return new Resource(DCTERM_NS . 'RFC1766');
|
---|
377 |
|
---|
378 | }
|
---|
379 |
|
---|
380 | function RFC3066()
|
---|
381 | {
|
---|
382 | return new Resource(DCTERM_NS . 'RFC3066');
|
---|
383 |
|
---|
384 | }
|
---|
385 |
|
---|
386 | function TGN()
|
---|
387 | {
|
---|
388 | return new Resource(DCTERM_NS . 'TGN');
|
---|
389 |
|
---|
390 | }
|
---|
391 |
|
---|
392 | function UDC()
|
---|
393 | {
|
---|
394 | return new Resource(DCTERM_NS . 'UDC');
|
---|
395 |
|
---|
396 | }
|
---|
397 |
|
---|
398 | function URI()
|
---|
399 | {
|
---|
400 | return new Resource(DCTERM_NS . 'URI');
|
---|
401 |
|
---|
402 | }
|
---|
403 |
|
---|
404 | function W3CDTF()
|
---|
405 | {
|
---|
406 | return new Resource(DCTERM_NS . 'W3CDTF');
|
---|
407 |
|
---|
408 | }
|
---|
409 |
|
---|
410 |
|
---|
411 | // DCMI Type Vocabulary
|
---|
412 | function COLLECTION()
|
---|
413 | {
|
---|
414 | return new Resource(DCMITYPE_NS . 'Collection');
|
---|
415 |
|
---|
416 | }
|
---|
417 |
|
---|
418 | function DATASET()
|
---|
419 | {
|
---|
420 | return new Resource(DCMITYPE_NS . 'Dataset');
|
---|
421 |
|
---|
422 | }
|
---|
423 |
|
---|
424 | function EVENT()
|
---|
425 | {
|
---|
426 | return new Resource(DCMITYPE_NS . 'Event');
|
---|
427 |
|
---|
428 | }
|
---|
429 |
|
---|
430 | function IMAGE()
|
---|
431 | {
|
---|
432 | return new Resource(DCMITYPE_NS . 'Image');
|
---|
433 |
|
---|
434 | }
|
---|
435 |
|
---|
436 | function INTERACTIVERESOURCE()
|
---|
437 | {
|
---|
438 | return new Resource(DCMITYPE_NS . 'Interactive_Resource');
|
---|
439 |
|
---|
440 | }
|
---|
441 |
|
---|
442 | function MOVINGIMAGE()
|
---|
443 | {
|
---|
444 | return new Resource(DCMITYPE_NS . 'Moving_Image');
|
---|
445 |
|
---|
446 | }
|
---|
447 |
|
---|
448 | function PHYSICALOBJECT()
|
---|
449 | {
|
---|
450 | return new Resource(DCMITYPE_NS . 'Physical_Object');
|
---|
451 |
|
---|
452 | }
|
---|
453 |
|
---|
454 | function SERVICE()
|
---|
455 | {
|
---|
456 | return new Resource(DCMITYPE_NS . 'Service');
|
---|
457 |
|
---|
458 | }
|
---|
459 |
|
---|
460 | function SOFTWARE()
|
---|
461 | {
|
---|
462 | return new Resource(DCMITYPE_NS . 'Software');
|
---|
463 |
|
---|
464 | }
|
---|
465 |
|
---|
466 | function SOUND()
|
---|
467 | {
|
---|
468 | return new Resource(DCMITYPE_NS . 'Sound');
|
---|
469 |
|
---|
470 | }
|
---|
471 |
|
---|
472 | function STILLIMAGE()
|
---|
473 | {
|
---|
474 | return new Resource(DCMITYPE_NS . 'Still_Image');
|
---|
475 |
|
---|
476 | }
|
---|
477 |
|
---|
478 | function TEXT()
|
---|
479 | {
|
---|
480 | return new Resource(DCMITYPE_NS . 'Text');
|
---|
481 | }
|
---|
482 |
|
---|
483 | }
|
---|
484 |
|
---|
485 |
|
---|
486 | ?> |
---|