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
26
27
28 public class HProduct extends Vocabulary {
29 public static final String NS = SINDICE.NS + "hproduct/";
30
31 private static HProduct instance;
32
33 public static HProduct getInstance() {
34 if (instance == null) {
35 instance = new HProduct();
36 }
37 return instance;
38 }
39
40 public IRI product = createClass(NS, "Product");
41
42 public IRI name = createProperty(NS, "name");
43 public IRI photo = createProperty(NS, "photo");
44 public IRI brand = createProperty(NS, "brand");
45 public IRI category = createProperty(NS, "category");
46 public IRI description = createProperty(NS, "description");
47 public IRI url = createProperty(NS, "url");
48 public IRI identifier = createProperty(NS, "identifier");
49 public IRI price = createProperty(NS, "price");
50 public IRI review = createProperty(NS, "review");
51
52 private HProduct() {
53 super(NS);
54 }
55
56 }