01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 2007.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.query.parser.sparql;
07:
08: import org.openrdf.model.URI;
09: import org.openrdf.model.ValueFactory;
10: import org.openrdf.model.impl.ValueFactoryImpl;
11:
12: /**
13: * Constants for Dublin Core primitives and for the Dublin Core namespace.
14: */
15: public final class DC {
16:
17: /** http://purl.org/dc/elements/1.1/ */
18: public final static String NAMESPACE = "http://purl.org/dc/elements/1.1/";
19:
20: /** http://purl.org/dc/elements/1.1/contributor */
21: public final static URI CONTRIBUTOR;
22:
23: /** http://purl.org/dc/elements/1.1/coverage */
24: public final static URI COVERAGE;
25:
26: /** http://purl.org/dc/elements/1.1/creator */
27: public final static URI CREATOR;
28:
29: /** http://purl.org/dc/elements/1.1/date */
30: public final static URI DATE;
31:
32: /** http://purl.org/dc/elements/1.1/description */
33: public final static URI DESCRIPTION;
34:
35: /** http://purl.org/dc/elements/1.1/format */
36: public final static URI FORMAT;
37:
38: /** http://purl.org/dc/elements/1.1/identifier */
39: public final static URI IDENTIFIER;
40:
41: /** http://purl.org/dc/elements/1.1/language */
42: public final static URI LANGUAGE;
43:
44: /** http://purl.org/dc/elements/1.1/publisher */
45: public final static URI PUBLISHER;
46:
47: /** http://purl.org/dc/elements/1.1/relation */
48: public final static URI RELATION;
49:
50: /** http://purl.org/dc/elements/1.1/rights */
51: public final static URI RIGHTS;
52:
53: /** http://purl.org/dc/elements/1.1/source */
54: public final static URI SOURCE;
55:
56: /** http://purl.org/dc/elements/1.1/subject */
57: public final static URI SUBJECT;
58:
59: /** http://purl.org/dc/elements/1.1/title */
60: public final static URI TITLE;
61:
62: /** http://purl.org/dc/elements/1.1/type */
63: public final static URI TYPE;
64:
65: static {
66: ValueFactory factory = ValueFactoryImpl.getInstance();
67: CONTRIBUTOR = factory.createURI(NAMESPACE, "contributor");
68: COVERAGE = factory.createURI(NAMESPACE, "coverage");
69: CREATOR = factory.createURI(NAMESPACE, "creator");
70: DATE = factory.createURI(NAMESPACE, "date");
71: DESCRIPTION = factory.createURI(NAMESPACE, "description");
72: FORMAT = factory.createURI(NAMESPACE, "format");
73: IDENTIFIER = factory.createURI(NAMESPACE, "identifier");
74: LANGUAGE = factory.createURI(NAMESPACE, "language");
75: PUBLISHER = factory.createURI(NAMESPACE, "publisher");
76: RELATION = factory.createURI(NAMESPACE, "relation");
77: RIGHTS = factory.createURI(NAMESPACE, "rights");
78: SOURCE = factory.createURI(NAMESPACE, "source");
79: SUBJECT = factory.createURI(NAMESPACE, "subject");
80: TITLE = factory.createURI(NAMESPACE, "title");
81: TYPE = factory.createURI(NAMESPACE, "type");
82: }
83: }
|