Skip to content

Commit 8b57a97

Browse files
committed
GH-5709: added vocabularies typically used in EU projects
1 parent d874f67 commit 8b57a97

16 files changed

Lines changed: 2806 additions & 0 deletions

File tree

core/model-vocabulary-eu/pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<parent>
5+
<groupId>org.eclipse.rdf4j</groupId>
6+
<artifactId>rdf4j-core</artifactId>
7+
<version>6.0.0-SNAPSHOT</version>
8+
</parent>
9+
<artifactId>rdf4j-model-vocabulary-eu</artifactId>
10+
<packaging>jar</packaging>
11+
<name>RDF4J: RDF Vocabularies EU</name>
12+
<description>Well-known RDF Vocabularies typically used in EU projects</description>
13+
<dependencies>
14+
<dependency>
15+
<groupId>${project.groupId}</groupId>
16+
<artifactId>rdf4j-model-api</artifactId>
17+
<version>${project.version}</version>
18+
</dependency>
19+
</dependencies>
20+
</project>
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
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.eu;
13+
14+
import org.eclipse.rdf4j.model.IRI;
15+
import org.eclipse.rdf4j.model.Namespace;
16+
17+
/**
18+
* Constants for the SEMIC Asset Description Metadata Schema.
19+
*
20+
* @see <a href="https://semiceu.github.io/ADMS/releases/2.00/">SEMIC Asset Description Metadata Schema</a>
21+
*
22+
* @author Bart Hanssens
23+
*/
24+
public class ADMS {
25+
/**
26+
* The ADMS namespace: http://www.w3.org/ns/adms#
27+
*/
28+
public static final String NAMESPACE = "http://www.w3.org/ns/adms#";
29+
30+
/**
31+
* Recommended prefix for the namespace: "adms"
32+
*/
33+
public static final String PREFIX = "adms";
34+
35+
/**
36+
* An immutable {@link Namespace} constant that represents the namespace.
37+
*/
38+
public static final Namespace NS = Vocabularies.createNamespace(PREFIX, NAMESPACE);
39+
40+
// Classes
41+
/** adms:Asset */
42+
public static final IRI ASSET;
43+
44+
/** adms:AssetDistribution */
45+
public static final IRI ASSET_DISTRIBUTION;
46+
47+
/** adms:AssetRepository */
48+
public static final IRI ASSET_REPOSITORY;
49+
50+
/** adms:Identifier */
51+
public static final IRI IDENTIFIER;
52+
53+
// Properties
54+
/** adms:identifier */
55+
public static final IRI IDENTIFIER_PROP;
56+
57+
/** adms:includedAsset */
58+
public static final IRI INCLUDED_ASSET;
59+
60+
/** adms:interoperabilityLevel */
61+
public static final IRI INTEROPERABILITY_LEVEL;
62+
63+
/** adms:last */
64+
public static final IRI LAST;
65+
66+
/** adms:next */
67+
public static final IRI NEXT;
68+
69+
/** adms:prev */
70+
public static final IRI PREV;
71+
72+
/** adms:representationTechnique */
73+
public static final IRI REPRESENTATION_TECHNIQUE;
74+
75+
/** adms:sample */
76+
public static final IRI SAMPLE;
77+
78+
/** adms:schemaAgency */
79+
public static final IRI SCHEMA_AGENCY;
80+
81+
/** adms:schemeAgency */
82+
public static final IRI SCHEME_AGENCY;
83+
84+
/** adms:status */
85+
public static final IRI STATUS;
86+
87+
/** adms:supportedSchema */
88+
public static final IRI SUPPORTED_SCHEMA;
89+
90+
/** adms:translation */
91+
public static final IRI TRANSLATION;
92+
93+
/** adms:versionNotes */
94+
public static final IRI VERSION_NOTES;
95+
96+
static {
97+
ASSET = Vocabularies.createIRI(NAMESPACE, "Asset");
98+
ASSET_DISTRIBUTION = Vocabularies.createIRI(NAMESPACE, "AssetDistribution");
99+
ASSET_REPOSITORY = Vocabularies.createIRI(NAMESPACE, "AssetRepository");
100+
IDENTIFIER = Vocabularies.createIRI(NAMESPACE, "Identifier");
101+
102+
IDENTIFIER_PROP = Vocabularies.createIRI(NAMESPACE, "identifier");
103+
INCLUDED_ASSET = Vocabularies.createIRI(NAMESPACE, "includedAsset");
104+
INTEROPERABILITY_LEVEL = Vocabularies.createIRI(NAMESPACE, "interoperabilityLevel");
105+
LAST = Vocabularies.createIRI(NAMESPACE, "last");
106+
NEXT = Vocabularies.createIRI(NAMESPACE, "next");
107+
PREV = Vocabularies.createIRI(NAMESPACE, "prev");
108+
REPRESENTATION_TECHNIQUE = Vocabularies.createIRI(NAMESPACE, "representationTechnique");
109+
SAMPLE = Vocabularies.createIRI(NAMESPACE, "sample");
110+
SCHEMA_AGENCY = Vocabularies.createIRI(NAMESPACE, "schemaAgency");
111+
SCHEME_AGENCY = Vocabularies.createIRI(NAMESPACE, "schemeAgency");
112+
STATUS = Vocabularies.createIRI(NAMESPACE, "status");
113+
SUPPORTED_SCHEMA = Vocabularies.createIRI(NAMESPACE, "supportedSchema");
114+
TRANSLATION = Vocabularies.createIRI(NAMESPACE, "translation");
115+
VERSION_NOTES = Vocabularies.createIRI(NAMESPACE, "versionNotes");
116+
117+
}
118+
}
Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
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.eu;
13+
14+
import org.eclipse.rdf4j.model.IRI;
15+
import org.eclipse.rdf4j.model.Namespace;
16+
17+
/**
18+
* Constants for the JRC DataCite to DCAT-AP Mapping.
19+
*
20+
* @see <a href="https://ec-jrc.github.io/datacite-to-dcat-ap/">JRC DataCite to DCAT-AP Mapping</a>
21+
*
22+
* @author Bart Hanssens
23+
*/
24+
public class CITEDCAT {
25+
/**
26+
* The CITEDCAT namespace: https://w3id.org/citedcat-ap/
27+
*/
28+
public static final String NAMESPACE = "https://w3id.org/citedcat-ap/";
29+
30+
/**
31+
* Recommended prefix for the namespace: "citedcat"
32+
*/
33+
public static final String PREFIX = "citedcat";
34+
35+
/**
36+
* An immutable {@link Namespace} constant that represents the namespace.
37+
*/
38+
public static final Namespace NS = Vocabularies.createNamespace(PREFIX, NAMESPACE);
39+
40+
// Classes
41+
/** citedcat:DataPaper */
42+
public static final IRI DATA_PAPER;
43+
44+
/** citedcat:Model */
45+
public static final IRI MODEL;
46+
47+
/** citedcat:Workflow */
48+
public static final IRI WORKFLOW;
49+
50+
// Properties
51+
/** citedcat:compiles */
52+
public static final IRI COMPILES;
53+
54+
/** citedcat:continues */
55+
public static final IRI CONTINUES;
56+
57+
/** citedcat:dataCollector */
58+
public static final IRI DATA_COLLECTOR;
59+
60+
/** citedcat:dataCurator */
61+
public static final IRI DATA_CURATOR;
62+
63+
/** citedcat:dataManager */
64+
public static final IRI DATA_MANAGER;
65+
66+
/** citedcat:describes */
67+
public static final IRI DESCRIBES;
68+
69+
/** citedcat:funder */
70+
public static final IRI FUNDER;
71+
72+
/** citedcat:hostingInstitution */
73+
public static final IRI HOSTING_INSTITUTION;
74+
75+
/** citedcat:isAwardedBy */
76+
public static final IRI IS_AWARDED_BY;
77+
78+
/** citedcat:isCompiledBy */
79+
public static final IRI IS_COMPILED_BY;
80+
81+
/** citedcat:isContinuedBy */
82+
public static final IRI IS_CONTINUED_BY;
83+
84+
/** citedcat:isFundedBy */
85+
public static final IRI IS_FUNDED_BY;
86+
87+
/** citedcat:isOriginalFormOf */
88+
public static final IRI IS_ORIGINAL_FORM_OF;
89+
90+
/** citedcat:isReviewedBy */
91+
public static final IRI IS_REVIEWED_BY;
92+
93+
/** citedcat:isSupplementTo */
94+
public static final IRI IS_SUPPLEMENT_TO;
95+
96+
/** citedcat:isSupplementedBy */
97+
public static final IRI IS_SUPPLEMENTED_BY;
98+
99+
/** citedcat:isVariantFormOf */
100+
public static final IRI IS_VARIANT_FORM_OF;
101+
102+
/** citedcat:projectLeader */
103+
public static final IRI PROJECT_LEADER;
104+
105+
/** citedcat:projectManager */
106+
public static final IRI PROJECT_MANAGER;
107+
108+
/** citedcat:projectMember */
109+
public static final IRI PROJECT_MEMBER;
110+
111+
/** citedcat:registrationAgency */
112+
public static final IRI REGISTRATION_AGENCY;
113+
114+
/** citedcat:registrationAuthority */
115+
public static final IRI REGISTRATION_AUTHORITY;
116+
117+
/** citedcat:researchGroup */
118+
public static final IRI RESEARCH_GROUP;
119+
120+
/** citedcat:researcher */
121+
public static final IRI RESEARCHER;
122+
123+
/** citedcat:sponsor */
124+
public static final IRI SPONSOR;
125+
126+
/** citedcat:supervisor */
127+
public static final IRI SUPERVISOR;
128+
129+
/** citedcat:workPackageLeader */
130+
public static final IRI WORK_PACKAGE_LEADER;
131+
132+
// Individuals
133+
134+
static {
135+
DATA_PAPER = Vocabularies.createIRI(NAMESPACE, "DataPaper");
136+
MODEL = Vocabularies.createIRI(NAMESPACE, "Model");
137+
WORKFLOW = Vocabularies.createIRI(NAMESPACE, "Workflow");
138+
139+
COMPILES = Vocabularies.createIRI(NAMESPACE, "compiles");
140+
CONTINUES = Vocabularies.createIRI(NAMESPACE, "continues");
141+
DATA_COLLECTOR = Vocabularies.createIRI(NAMESPACE, "dataCollector");
142+
DATA_CURATOR = Vocabularies.createIRI(NAMESPACE, "dataCurator");
143+
DATA_MANAGER = Vocabularies.createIRI(NAMESPACE, "dataManager");
144+
DESCRIBES = Vocabularies.createIRI(NAMESPACE, "describes");
145+
FUNDER = Vocabularies.createIRI(NAMESPACE, "funder");
146+
HOSTING_INSTITUTION = Vocabularies.createIRI(NAMESPACE, "hostingInstitution");
147+
IS_AWARDED_BY = Vocabularies.createIRI(NAMESPACE, "isAwardedBy");
148+
IS_COMPILED_BY = Vocabularies.createIRI(NAMESPACE, "isCompiledBy");
149+
IS_CONTINUED_BY = Vocabularies.createIRI(NAMESPACE, "isContinuedBy");
150+
IS_FUNDED_BY = Vocabularies.createIRI(NAMESPACE, "isFundedBy");
151+
IS_ORIGINAL_FORM_OF = Vocabularies.createIRI(NAMESPACE, "isOriginalFormOf");
152+
IS_REVIEWED_BY = Vocabularies.createIRI(NAMESPACE, "isReviewedBy");
153+
IS_SUPPLEMENT_TO = Vocabularies.createIRI(NAMESPACE, "isSupplementTo");
154+
IS_SUPPLEMENTED_BY = Vocabularies.createIRI(NAMESPACE, "isSupplementedBy");
155+
IS_VARIANT_FORM_OF = Vocabularies.createIRI(NAMESPACE, "isVariantFormOf");
156+
PROJECT_LEADER = Vocabularies.createIRI(NAMESPACE, "projectLeader");
157+
PROJECT_MANAGER = Vocabularies.createIRI(NAMESPACE, "projectManager");
158+
PROJECT_MEMBER = Vocabularies.createIRI(NAMESPACE, "projectMember");
159+
REGISTRATION_AGENCY = Vocabularies.createIRI(NAMESPACE, "registrationAgency");
160+
REGISTRATION_AUTHORITY = Vocabularies.createIRI(NAMESPACE, "registrationAuthority");
161+
RESEARCH_GROUP = Vocabularies.createIRI(NAMESPACE, "researchGroup");
162+
RESEARCHER = Vocabularies.createIRI(NAMESPACE, "researcher");
163+
SPONSOR = Vocabularies.createIRI(NAMESPACE, "sponsor");
164+
SUPERVISOR = Vocabularies.createIRI(NAMESPACE, "supervisor");
165+
WORK_PACKAGE_LEADER = Vocabularies.createIRI(NAMESPACE, "workPackageLeader");
166+
167+
}
168+
}

0 commit comments

Comments
 (0)