-
Notifications
You must be signed in to change notification settings - Fork 4
/
DescriptorModel.java
29 lines (21 loc) · 1.11 KB
/
DescriptorModel.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
package cz.cvut.spipes.sutime;
import org.apache.jena.rdf.model.Property;
import org.apache.jena.rdf.model.Resource;
import org.apache.jena.rdf.model.ResourceFactory;
public class DescriptorModel {
/**
* The namespace of the vocabulary as a string
*/
public static final String prefix = "http://onto.fel.cvut.cz/ontologies/dataset-descriptor/temporal-v1/";
protected static final Resource resource(String local )
{ return ResourceFactory.createResource( prefix + local ); }
protected static final Property property(String local )
{ return ResourceFactory.createProperty( prefix, local ); }
public static final Resource sutime_extraction = resource("sutime-extraction");
public static final Property has_document_date = property("has-document-date");
public static final Property has_rule_file = property("has-rule-file");
public static final Property beginDate = property("beginDate");
public static final Property endDate = property("endDate");
public static final Property type = property("type");
public static final Property extracted = property("extracted");
}