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.dawg;
07:
08: import org.openrdf.model.Literal;
09: import org.openrdf.model.URI;
10: import org.openrdf.model.ValueFactory;
11: import org.openrdf.model.impl.ValueFactoryImpl;
12:
13: /**
14: * @author Arjohn Kampman
15: */
16: public class DAWGTestResultSetSchema {
17:
18: public static final String NAMESPACE = "http://www.w3.org/2001/sw/DataAccess/tests/result-set#";
19:
20: public static final URI RESULTSET;
21:
22: public static final URI RESULTVARIABLE;
23:
24: public static final URI SOLUTION;
25:
26: public static final URI BINDING;
27:
28: public static final URI VALUE;
29:
30: public static final URI VARIABLE;
31:
32: public static final URI BOOLEAN;
33:
34: public static final Literal TRUE;
35:
36: public static final Literal FALSE;
37:
38: static {
39: ValueFactory vf = ValueFactoryImpl.getInstance();
40: RESULTSET = vf.createURI(NAMESPACE, "ResultSet");
41: RESULTVARIABLE = vf.createURI(NAMESPACE, "resultVariable");
42: SOLUTION = vf.createURI(NAMESPACE, "solution");
43: BINDING = vf.createURI(NAMESPACE, "binding");
44: VALUE = vf.createURI(NAMESPACE, "value");
45: VARIABLE = vf.createURI(NAMESPACE, "variable");
46: BOOLEAN = vf.createURI(NAMESPACE, "boolean");
47: TRUE = vf.createLiteral(true);
48: FALSE = vf.createLiteral(false);
49: }
50: }
|