1
2
3
4
5
6
7
8
9
10
11
12
13
14 package eu.fbk.rdfpro.vocab;
15
16 import java.util.Arrays;
17 import java.util.Collections;
18 import java.util.HashSet;
19 import java.util.Set;
20
21 import org.openrdf.model.Namespace;
22 import org.openrdf.model.URI;
23 import org.openrdf.model.impl.NamespaceImpl;
24 import org.openrdf.model.impl.ValueFactoryImpl;
25
26
27
28
29
30
31 public final class VOIDX {
32
33
34 public static final String PREFIX = "voidx";
35
36
37 public static final String NAMESPACE = "http://rdfpro.fbk.eu/ontologies/voidx#";
38
39
40 public static final Namespace NS = new NamespaceImpl(PREFIX, NAMESPACE);
41
42
43
44
45 public static final URI LABEL = createURI("label");
46
47
48 public static final URI EXAMPLE = createURI("example");
49
50
51 public static final URI TYPE = createURI("type");
52
53
54 public static final URI SOURCE = createURI("source");
55
56
57 public static final URI GLOBAL_STATS = createURI("globalStats");
58
59
60 public static final URI SOURCE_STATS = createURI("sourceStats");
61
62
63 public static final URI TBOX_TRIPLES = createURI("tboxTriples");
64
65
66 public static final URI ABOX_TRIPLES = createURI("aboxTriples");
67
68
69 public static final URI TYPE_TRIPLES = createURI("typeTriples");
70
71
72 public static final URI SAME_AS_TRIPLES = createURI("sameAsTriples");
73
74
75 public static final URI AVERAGE_PROPERTIES = createURI("averageProperties");
76
77
78
79 public static Set<URI> TERMS = Collections.unmodifiableSet(new HashSet<URI>(Arrays.asList(
80 LABEL, EXAMPLE, TYPE, SOURCE, GLOBAL_STATS, SOURCE_STATS, TBOX_TRIPLES, ABOX_TRIPLES,
81 TYPE_TRIPLES, SAME_AS_TRIPLES, AVERAGE_PROPERTIES)));
82
83
84
85 private static URI createURI(final String localName) {
86 return ValueFactoryImpl.getInstance().createURI(NAMESPACE, localName);
87 }
88
89 private VOIDX() {
90 }
91
92 }