-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDcat.java
24 lines (16 loc) · 969 Bytes
/
Dcat.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
/* CVS $Id: $ */
import com.hp.hpl.jena.rdf.model.*;
public class Dcat {
/** <p>The RDF model that holds the vocabulary terms</p> */
private static final Model m_model = ModelFactory.createDefaultModel();
/** <p>The namespace of the vocabulary as a string</p> */
public static final String NS = "http://www.w3.org/ns/dcat#";
/** <p>The namespace of the vocabulary as a string</p>
* @see #NS */
public static String getURI() {return NS;}
/** <p>The namespace of the vocabulary as a resource</p> */
public static final Resource NAMESPACE = m_model.createResource( NS );
public static final Property landingPage = m_model.createProperty("http://www.w3.org/ns/dcat#landingPage" );
public static final Property downloadURL = m_model.createProperty("http://www.w3.org/ns/dcat#downloadURL" );
public static final Property mediaType = m_model.createProperty("http://www.w3.org/ns/dcat#mediaType" );
}