forked from dice-group/IGUANA
/
Vocab.java
34 lines (28 loc) · 2.14 KB
/
Vocab.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package org.aksw.iguana.rp.vocab;
import org.aksw.iguana.commons.constants.COMMON;
import org.apache.jena.rdf.model.Property;
import org.apache.jena.rdf.model.Resource;
import org.apache.jena.rdf.model.ResourceFactory;
/**
* RDF Vocabulary Classes and Properties
*/
public class Vocab {
private static String rdfs = "http://www.w3.org/2000/01/rdf-schema#";
public static Property aggrProperty = ResourceFactory.createProperty(COMMON.PROP_BASE_URI + "aggregations");
public static Property rdfsID = ResourceFactory.createProperty(rdfs + "ID");
public static Property filterProperty = ResourceFactory.createProperty(COMMON.PROP_BASE_URI + "filter");
public static Property groupByProperty = ResourceFactory.createProperty(COMMON.PROP_BASE_URI + "groupBy");
public static Property havingProperty = ResourceFactory.createProperty(COMMON.PROP_BASE_URI + "having");
public static Property triplesProperty = ResourceFactory.createProperty(COMMON.PROP_BASE_URI + "triples");
public static Property offsetProperty = ResourceFactory.createProperty(COMMON.PROP_BASE_URI + "offset");
public static Property optionalProperty = ResourceFactory.createProperty(COMMON.PROP_BASE_URI + "optional");
public static Property orderByProperty = ResourceFactory.createProperty(COMMON.PROP_BASE_URI + "orderBy");
public static Property unionProperty = ResourceFactory.createProperty(COMMON.PROP_BASE_URI + "union");
public static Property worker2metric = ResourceFactory.createProperty(COMMON.PROP_BASE_URI+"metric");
public static Property workerResult = ResourceFactory.createProperty(COMMON.PROP_BASE_URI+"workerResult");
public static Property insertProperty = ResourceFactory.createProperty(COMMON.PROP_BASE_URI + "insert");
public static Property deleteProperty = ResourceFactory.createProperty(COMMON.PROP_BASE_URI + "delete");
public static Resource workerClass = ResourceFactory.createResource(COMMON.CLASS_BASE_URI+"Worker");
public static Resource queryClass = ResourceFactory.createResource(COMMON.CLASS_BASE_URI+"Query");
public static Resource metricClass = ResourceFactory.createResource( COMMON.CLASS_BASE_URI+"Metric");
}