Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ REPO_DIR="$(dirname "$(realpath ${BASH_SOURCE[0]})")"
venv_dir="${REPO_DIR}/.venv"
system_python_bin="/usr/bin/python3"
system_python_version="0.0.0"
system_python_minimum_version="3.12"
system_python_minimum_version="3.13"
venv_python_bin="${venv_dir}/bin/python${system_python_minimum_version}"

function check_system_python() {
Expand Down
20 changes: 10 additions & 10 deletions ontology/dprod/dprod-shapes.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ dprod-shapes:DataProductShape
rdfs:isDefinedBy dprod-shapes:;
rdfs:label "data product shape" ;
sh:targetClass dprod:DataProduct;
sh:property dprod-shapes:DataProduct-label;
sh:property dprod-shapes:DataProduct-title;
sh:property dprod-shapes:DataProduct-description;
sh:property dprod-shapes:DataProduct-dataProductOwner;
sh:property dprod-shapes:DataProduct-domain;
Expand Down Expand Up @@ -105,7 +105,7 @@ dprod-shapes:DatasetShape
rdfs:label "dataset shape" ;
dct:description "A collection of data, published or curated by a single source, and available for access or download in one or more representations."@en ;
sh:targetClass dcat:Dataset ;
sh:property dprod-shapes:Dataset-label;
sh:property dprod-shapes:Dataset-title;
sh:property dprod-shapes:Dataset-description;
sh:property dprod-shapes:Dataset-type;
sh:property dprod-shapes:Dataset-distribution ;
Expand Down Expand Up @@ -148,13 +148,13 @@ dprod-shapes:SecuritySchemaTypeShape

############################# dprod Property Shapes ################

dprod-shapes:DataProduct-label
dprod-shapes:DataProduct-title
a sh:PropertyShape;
rdfs:isDefinedBy dprod-shapes:;
sh:path rdfs:label;
sh:path dct:title;
sh:datatype xsd:string;
dct:description "The name given to the data product."@en ;
rdfs:label "data product label shape";
dct:description "The title given to the data product."@en ;
rdfs:label "data product title shape";
.

dprod-shapes:DataProduct-description
Expand Down Expand Up @@ -255,13 +255,13 @@ dprod-shapes:DataProduct-outputDataset
rdfs:label "data product output dataset shape";
.

dprod-shapes:Dataset-label
dprod-shapes:Dataset-title
a sh:PropertyShape;
rdfs:isDefinedBy dprod-shapes:;
sh:path rdfs:label;
sh:path dct:title;
sh:datatype xsd:string ;
dct:description "The name given to the dataset"@en ;
rdfs:label "dataset label shape" ;
dct:description "The title given to the dataset."@en ;
rdfs:label "dataset title shape" ;
.

dprod-shapes:Dataset-description
Expand Down
23 changes: 11 additions & 12 deletions spec-generator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,17 @@ def main():
g_shapes = load_dprod_shapes()

jsonld_context_ontology = {
<<<<<<< HEAD
"@version": 1.1,
"dprod": ontology_namespace_iri,
"xsd": str(XSD),
"owl": str(OWL),
"dcat": str(DCAT),
"dct": str(DCTERMS),
"prov": str(PROV),
"rdfs": str(RDFS),
"rdf": str(RDF),
"sh": str(SH),
"linkedin": str(LINKEDIN)
"@version": 1.1,
"dprod": ontology_namespace_iri,
"xsd": str(XSD),
"owl": str(OWL),
"dcat": str(DCAT),
"dct": str(DCTERMS),
"prov": str(PROV),
"rdfs": str(RDFS),
"rdf": str(RDF),
"sh": str(SH),
"linkedin": str(LINKEDIN)
}

jsonld_context_shapes = {
Expand Down
Loading