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 DOAP primitives and for the DOAP namespace.
14: */
15: public class DOAP {
16:
17: public static final String NAMESPACE = "http://usefulinc.com/ns/doap#";
18:
19: public final static URI PROJECT;
20:
21: public final static URI NAME;
22:
23: public final static URI RELEASE;
24:
25: public final static URI VERSION;
26:
27: public final static URI CREATED;
28:
29: static {
30: ValueFactory factory = ValueFactoryImpl.getInstance();
31: PROJECT = factory.createURI(DOAP.NAMESPACE, "Project");
32: NAME = factory.createURI(DOAP.NAMESPACE, "name");
33: RELEASE = factory.createURI(DOAP.NAMESPACE, "release");
34: VERSION = factory.createURI(DOAP.NAMESPACE, "Version");
35: CREATED = factory.createURI(DOAP.NAMESPACE, "created");
36: }
37: }
|