Skip to content

Commit

Permalink
Issues/#1580 vocab dcat2 (#1587)
Browse files Browse the repository at this point in the history
* Added W3C TIME ontology
* Added W3C PROV-O ontology
* Added ODRL 2 ontology
* Added DCAT2 properties and classes, same namespace as DCAT
* Formatting
* Update core/model/src/main/java/org/eclipse/rdf4j/model/vocabulary/TIME.java
* comment syntax
Co-Authored-By: Jeen Broekstra <jeen.broekstra@gmail.com>
* Update core/model/src/main/java/org/eclipse/rdf4j/model/vocabulary/TIME.java
* comment syntax
Co-Authored-By: Jeen Broekstra <jeen.broekstra@gmail.com>
* Comment syntax
Signed-off-by: Bart Hanssens <bart.hanssens@bosa.fgov.be>

* Added odrl2/prov/time to default prefixes in console

Signed-off-by: Bart Hanssens <bart.hanssens@bosa.fgov.be>
  • Loading branch information
barthanssens authored Nov 28, 2019
1 parent ecf895d commit 6011563
Show file tree
Hide file tree
Showing 5 changed files with 1,939 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* Constants for the W3C Data Catalog Vocabulary.
*
* @see <a href="https://www.w3.org/TR/vocab-dcat/">Data Catalog Vocabulary</a>
* @see <a href="https://www.w3.org/TR/vocab-dcat-2/">Data Catalog Vocabulary version 2</a>
*
* @author Bart Hanssens
*/
Expand Down Expand Up @@ -44,30 +45,75 @@ public class DCAT {
/** dcat:CatalogRecord */
public static final IRI CATALOG_RECORD;

/** dcat:DataService */
public static final IRI DATA_SERVICE;

/** dcat:Dataset */
public static final IRI DATASET;

/** dcat:Distribution */
public static final IRI DISTRIBUTION;

/** dcat:Relationship */
public static final IRI RELATIONSHIP;

/** dcat:Resource */
public static final IRI RESOURCE;

/** dcat:Role */
public static final IRI ROLE;

// Properties
/** dcat:accessService */
public static final IRI ACCESS_SERVICE;

/** dcat:accessURL */
public static final IRI ACCESS_URL;

/** dcat:bbox */
public static final IRI BBOX;

/** dcat:byteSize */
public static final IRI BYTE_SIZE;

/** dcat:centroid */
public static final IRI CENTROID;

/** dcat:compressFormat */
public static final IRI COMPRESS_FORMAT;

/** dcat:contactPoint */
public static final IRI CONTACT_POINT;

/** dcat:downloadURL */
public static final IRI DOWNLOAD_URL;

/** dcat:endDate */
public static final IRI END_DATE;

/** dcat:endpointDescription */
public static final IRI ENDPOINT_DESCRIPTION;

/** dcat:endpointURL */
public static final IRI ENDPOINT_URL;

/** dcat:hadRole */
public static final IRI HAD_ROLE;

/** dcat:catalog */
public static final IRI HAS_CATALOG;

/** dcat:dataset */
public static final IRI HAS_DATASET;

/** dcat:distribution */
public static final IRI HAS_DISTRIBUTION;

/** dcat:downloadURL */
public static final IRI DOWNLOAD_URL;
/** dcat:record */
public static final IRI HAS_RECORD;

/** dcat:service */
public static final IRI HAS_SERVICE;

/** dcat:keyword */
public static final IRI KEYWORD;
Expand All @@ -78,8 +124,23 @@ public class DCAT {
/** dcat:mediaType */
public static final IRI MEDIA_TYPE;

/** dcat:record */
public static final IRI HAS_RECORD;
/** dcat:packageFormat */
public static final IRI PACKAGE_FORMAT;

/** dcat:qualifiedRelation */
public static final IRI QUALIFIED_RELATION;

/** dcat:servesDataset */
public static final IRI SERVES_DATASET;

/** dcat:spatialResolutionInMeters */
public static final IRI SPATIAL_RESOLUTION_IN_METERS;

/** dcat:startDate */
public static final IRI START_DATE;

/** dcat:temporalResolution */
public static final IRI TEMPORAL_RESOLUTION;

/** dcat:theme */
public static final IRI THEME;
Expand All @@ -92,19 +153,39 @@ public class DCAT {

CATALOG = factory.createIRI(NAMESPACE, "Catalog");
CATALOG_RECORD = factory.createIRI(NAMESPACE, "CatalogRecord");
DATA_SERVICE = factory.createIRI(NAMESPACE, "DataService");
DATASET = factory.createIRI(NAMESPACE, "Dataset");
DISTRIBUTION = factory.createIRI(NAMESPACE, "Distribution");
RELATIONSHIP = factory.createIRI(NAMESPACE, "Relationship");
RESOURCE = factory.createIRI(NAMESPACE, "Resource");
ROLE = factory.createIRI(NAMESPACE, "Role");

ACCESS_SERVICE = factory.createIRI(NAMESPACE, "accessService");
ACCESS_URL = factory.createIRI(NAMESPACE, "accessURL");
BBOX = factory.createIRI(NAMESPACE, "bbox");
BYTE_SIZE = factory.createIRI(NAMESPACE, "byteSize");
CENTROID = factory.createIRI(NAMESPACE, "centroid");
COMPRESS_FORMAT = factory.createIRI(NAMESPACE, "compressFormat");
CONTACT_POINT = factory.createIRI(NAMESPACE, "contactPoint");
DOWNLOAD_URL = factory.createIRI(NAMESPACE, "downloadURL");
END_DATE = factory.createIRI(NAMESPACE, "endDate");
ENDPOINT_DESCRIPTION = factory.createIRI(NAMESPACE, "endpointDescription");
ENDPOINT_URL = factory.createIRI(NAMESPACE, "endpointURL");
HAD_ROLE = factory.createIRI(NAMESPACE, "hadRole");
HAS_CATALOG = factory.createIRI(NAMESPACE, "catalog");
HAS_DATASET = factory.createIRI(NAMESPACE, "dataset");
HAS_DISTRIBUTION = factory.createIRI(NAMESPACE, "distribution");
DOWNLOAD_URL = factory.createIRI(NAMESPACE, "downloadURL");
HAS_RECORD = factory.createIRI(NAMESPACE, "record");
HAS_SERVICE = factory.createIRI(NAMESPACE, "service");
KEYWORD = factory.createIRI(NAMESPACE, "keyword");
LANDING_PAGE = factory.createIRI(NAMESPACE, "landingPage");
MEDIA_TYPE = factory.createIRI(NAMESPACE, "mediaType");
HAS_RECORD = factory.createIRI(NAMESPACE, "record");
PACKAGE_FORMAT = factory.createIRI(NAMESPACE, "packageFormat");
QUALIFIED_RELATION = factory.createIRI(NAMESPACE, "qualifiedRelation");
SERVES_DATASET = factory.createIRI(NAMESPACE, "servesDataset");
SPATIAL_RESOLUTION_IN_METERS = factory.createIRI(NAMESPACE, "spatialResolutionInMeters");
START_DATE = factory.createIRI(NAMESPACE, "startDate");
TEMPORAL_RESOLUTION = factory.createIRI(NAMESPACE, "temporalResolution");
THEME = factory.createIRI(NAMESPACE, "theme");
THEME_TAXONOMY = factory.createIRI(NAMESPACE, "themeTaxonomy");
}
Expand Down
Loading

0 comments on commit 6011563

Please sign in to comment.