Commit af717c40 authored by Ole Voldsæter's avatar Ole Voldsæter
Browse files

la til ny hjelpeklasse

parent effc1ec1
package com.nesstar.rdf;
import com.hp.hpl.jena.rdf.model.Property;
import com.hp.hpl.jena.rdf.model.Resource;
import com.hp.hpl.jena.rdf.model.ResourceFactory;
/**
* @author Ole Voldsæter
*/
public class TimeVocab {
static final String TIME_NAMESPACE = "http://www.w3.org/2006/time#";
static final Resource Interval = ResourceFactory.createResource(TIME_NAMESPACE + "Interval");
static final Resource Instant = ResourceFactory.createResource(TIME_NAMESPACE + "Instant");
static final Property hasBeginning = ResourceFactory.createProperty(TIME_NAMESPACE, "hasBegining");
static final Property hasEnd = ResourceFactory.createProperty(TIME_NAMESPACE, "hasEnd");
static final Property before = ResourceFactory.createProperty(TIME_NAMESPACE, "before");
static final Property after = ResourceFactory.createProperty(TIME_NAMESPACE, "after");
static final Property inXSDDateTime = ResourceFactory.createProperty(TIME_NAMESPACE, "inXSDDateTime");
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment