forked from andrawaag/EnsemblLinksetExtractor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSkos.java
119 lines (81 loc) · 6.6 KB
/
Skos.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/* CVS $Id: $ */
import com.hp.hpl.jena.rdf.model.*;
/**
* Vocabulary definitions from http://www.w3.org/TR/skos-reference/skos.rdf
* @author Auto-generated by schemagen on 23 Mar 2012 19:41
*/
public class Skos {
/** <p>The RDF model that holds the vocabulary terms</p> */
private static Model m_model = ModelFactory.createDefaultModel();
/** <p>The namespace of the vocabulary as a string</p> */
public static final String NS = "http://www.w3.org/2004/02/skos/core#";
/** <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 );
/** <p>The range of skos:altLabel is the class of RDF plain literals.skos:prefLabel,
* skos:altLabel and skos:hiddenLabel are pairwise disjoint properties.</p>
*/
public static final Property altLabel = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#altLabel" );
public static final Property broadMatch = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#broadMatch" );
/** <p>Broader concepts are typically rendered as parents in a concept hierarchy
* (tree).</p>
*/
public static final Property broader = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#broader" );
public static final Property broaderTransitive = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#broaderTransitive" );
public static final Property changeNote = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#changeNote" );
public static final Property closeMatch = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#closeMatch" );
public static final Property definition = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#definition" );
public static final Property editorialNote = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#editorialNote" );
/** <p>skos:exactMatch is disjoint with each of the properties skos:broadMatch and
* skos:relatedMatch.</p>
*/
public static final Property exactMatch = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#exactMatch" );
public static final Property example = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#example" );
public static final Property hasTopConcept = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#hasTopConcept" );
/** <p>The range of skos:hiddenLabel is the class of RDF plain literals.skos:prefLabel,
* skos:altLabel and skos:hiddenLabel are pairwise disjoint properties.</p>
*/
public static final Property hiddenLabel = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#hiddenLabel" );
public static final Property historyNote = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#historyNote" );
public static final Property inScheme = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#inScheme" );
/** <p>These concept mapping relations mirror semantic relations, and the data model
* defined below is similar (with the exception of skos:exactMatch) to the data
* model defined for semantic relations. A distinct vocabulary is provided for
* concept mapping relations, to provide a convenient way to differentiate links
* within a concept scheme from links between concept schemes. However, this
* pattern of usage is not a formal requirement of the SKOS data model, and relies
* on informal definitions of best practice.</p>
*/
public static final Property mappingRelation = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#mappingRelation" );
public static final Property member = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#member" );
/** <p>For any resource, every item in the list given as the value of the skos:memberList
* property is also a value of the skos:member property.</p>
*/
public static final Property memberList = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#memberList" );
public static final Property narrowMatch = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#narrowMatch" );
/** <p>Narrower concepts are typically rendered as children in a concept hierarchy
* (tree).</p>
*/
public static final Property narrower = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#narrower" );
public static final Property narrowerTransitive = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#narrowerTransitive" );
public static final Property notation = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#notation" );
public static final Property note = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#note" );
/** <p>skos:prefLabel, skos:altLabel and skos:hiddenLabel are pairwise disjoint properties.A
* resource has no more than one value of skos:prefLabel per language tag, and
* no more than one value of skos:prefLabel without language tag.The range of
* skos:prefLabel is the class of RDF plain literals.</p>
*/
public static final Property prefLabel = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#prefLabel" );
/** <p>skos:related is disjoint with skos:broaderTransitive</p> */
public static final Property related = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#related" );
public static final Property relatedMatch = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#relatedMatch" );
public static final Property scopeNote = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#scopeNote" );
public static final Property semanticRelation = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#semanticRelation" );
public static final Property topConceptOf = m_model.createProperty( "http://www.w3.org/2004/02/skos/core#topConceptOf" );
public static final Resource Collection = m_model.createResource( "http://www.w3.org/2004/02/skos/core#Collection" );
public static final Resource Concept = m_model.createResource( "http://www.w3.org/2004/02/skos/core#Concept" );
public static final Resource ConceptScheme = m_model.createResource( "http://www.w3.org/2004/02/skos/core#ConceptScheme" );
public static final Resource OrderedCollection = m_model.createResource( "http://www.w3.org/2004/02/skos/core#OrderedCollection" );
}