1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.any23.vocab;
19
20 import org.eclipse.rdf4j.model.IRI;
21
22
23
24
25 public class Review extends Vocabulary {
26
27 private static Review instance;
28
29 public static Review getInstance() {
30 if (instance == null) {
31 instance = new Review();
32 }
33 return instance;
34 }
35
36
37
38
39 public static final String NS = "http://purl.org/stuff/rev#";
40
41
42
43
44 public final IRI NAMESPACE = createIRI(NS);
45
46
47
48
49 public final IRI commenter = createProperty("commenter");
50
51
52
53
54 public final IRI hasComment = createProperty("hasComment");
55
56
57
58
59 public final IRI hasFeedback = createProperty("hasFeedback");
60
61
62
63
64 public final IRI hasReview = createProperty("hasReview");
65
66
67
68
69 public final IRI maxRating = createProperty("maxRating");
70
71
72
73
74 public final IRI minRating = createProperty("minRating");
75
76
77
78
79 public final IRI positiveVotes = createProperty("positiveVotes");
80
81
82
83
84 public final IRI rating = createProperty("rating");
85
86
87
88
89 public final IRI reviewer = createProperty("reviewer");
90
91
92
93
94 public final IRI text = createProperty("text");
95
96
97
98
99 public final IRI title = createProperty("title");
100
101
102
103
104 public final IRI totalVotes = createProperty("totalVotes");
105
106
107
108
109 public final IRI type = createProperty("type");
110
111
112
113
114 public final IRI Comment = createProperty("Comment");
115
116
117
118
119 public final IRI Feedback = createProperty("Feedback");
120
121
122
123
124 public final IRI Review = createProperty("Review");
125
126 private IRI createProperty(String localName) {
127 return createProperty(NS, localName);
128 }
129
130 private Review() {
131 super(NS);
132 }
133
134 }