Skip to content

Commit d2759da

Browse files
committed
GH-5709: added DUV
1 parent 4af6141 commit d2759da

1 file changed

Lines changed: 86 additions & 0 deletions

File tree

  • core/model-vocabulary-annotation/src/main/java/org/eclipse/rdf4j/model/vocabulary/annotation
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
/*******************************************************************************
2+
* Copyright (c) 2026 Eclipse RDF4J contributors.
3+
*
4+
* All rights reserved. This program and the accompanying materials
5+
* are made available under the terms of the Eclipse Distribution License v1.0
6+
* which accompanies this distribution, and is available at
7+
* http://www.eclipse.org/org/documents/edl-v10.php.
8+
*
9+
* SPDX-License-Identifier: BSD-3-Clause
10+
*******************************************************************************/
11+
12+
package org.eclipse.rdf4j.model.vocabulary.annotation;
13+
14+
import org.eclipse.rdf4j.model.IRI;
15+
import org.eclipse.rdf4j.model.Namespace;
16+
import org.eclipse.rdf4j.model.base.Vocabularies;
17+
18+
/**
19+
* Constants for the Dataset Usage Vocabulary.
20+
*
21+
* @see <a href="https://www.w3.org/TR/vocab-duv/">Dataset Usage Vocabulary</a>
22+
*
23+
* @author Bart Hanssens
24+
*/
25+
public class DUV {
26+
/**
27+
* The DQV namespace: http://www.w3.org/ns/duv#
28+
*/
29+
public static final String NAMESPACE = "http://www.w3.org/ns/duv#";
30+
31+
/**
32+
* Recommended prefix for the namespace: "duv"
33+
*/
34+
public static final String PREFIX = "duv";
35+
36+
/**
37+
* An immutable {@link Namespace} constant that represents the namespace.
38+
*/
39+
public static final Namespace NS = Vocabularies.createNamespace(PREFIX, NAMESPACE);
40+
41+
// Classes
42+
/** duv:RatingFeedback */
43+
public static final IRI RatingFeedback;
44+
45+
/** duv:Usage */
46+
public static final IRI Usage;
47+
48+
/** duv:UsageTool */
49+
public static final IRI UsageTool;
50+
51+
/** duv:UserFeedback */
52+
public static final IRI UserFeedback;
53+
54+
// Properties
55+
/** duv:hasDistributor */
56+
public static final IRI hasDistributor;
57+
58+
/** duv:hasRating */
59+
public static final IRI hasRating;
60+
61+
/** duv:hasUsage */
62+
public static final IRI hasUsage;
63+
64+
/** duv:hasUsageToom */
65+
public static final IRI hasUsageTool;
66+
67+
/** duv:performedBy */
68+
public static final IRI performedBy;
69+
70+
/** duv:refersTo */
71+
public static final IRI refersTo;
72+
73+
static {
74+
RatingFeedback = Vocabularies.createIRI(NAMESPACE, "RatingFeedback");
75+
Usage = Vocabularies.createIRI(NAMESPACE, "Usage");
76+
UsageTool = Vocabularies.createIRI(NAMESPACE, "UsageTool");
77+
UserFeedback = Vocabularies.createIRI(NAMESPACE, "UserFeedback");
78+
79+
hasDistributor = Vocabularies.createIRI(NAMESPACE, "hasDistributor");
80+
hasRating = Vocabularies.createIRI(NAMESPACE, "hasRating");
81+
hasUsage = Vocabularies.createIRI(NAMESPACE, "hasUage");
82+
hasUsageTool = Vocabularies.createIRI(NAMESPACE, "hasUageTool");
83+
performedBy = Vocabularies.createIRI(NAMESPACE, "performedBy");
84+
refersTo = Vocabularies.createIRI(NAMESPACE, "refersTo");
85+
}
86+
}

0 commit comments

Comments
 (0)