Skip to content
Merged
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
6 changes: 4 additions & 2 deletions gendocs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@ out=${1:-./output}
parent="Knowledge Graph"
#pip install shacl2md --extra-index-url http://do-prd-mvn-01.do.viaa.be:8081/repository/pypi-all/simple --trusted-host do-prd-mvn-01.do.viaa.be
shacl2md generate \
all:organizations/organizations.shacl.ttl,objects/objects.shacl.ttl,description/description.shacl.ttl,events/events.shacl.ttl,terms/terms.shacl.ttl \
all:organizations/organizations.shacl.ttl,objects/objects.shacl.ttl,description/description.shacl.ttl,events/events.shacl.ttl,terms/terms.shacl.ttl,rights/rights.shacl.ttl \
organization:organizations/organizations.shacl.ttl \
object:objects/objects.shacl.ttl \
descriptive:description/description.shacl.ttl \
events:events/events.shacl.ttl \
terms:terms/terms.shacl.ttl \
rights:rights/rights.shacl.ttl \
--languages en --languages nl --languages fr \
--output_dir $out \
--ontology_file objects/objects.rdfs.ttl --ontology_file organizations/organizations.rdfs.ttl --ontology_file description/description.rdfs.ttl --ontology_file ontologies/dct.rdfs.ttl --ontology_file ontologies/ebucore.rdfs.ttl --ontology_file ontologies/edm.rdfs.ttl --ontology_file ontologies/foaf.rdfs.ttl --ontology_file ontologies/org.rdfs.ttl --ontology_file ontologies/premis.rdfs.ttl --ontology_file ontologies/prov.rdfs.ttl --ontology_file ontologies/rdf.rdfs.ttl --ontology_file ontologies/schema.rdfs.ttl --ontology_file ontologies/seq.rdfs.ttl --ontology_file ontologies/skos-xl.rdfs.ttl --ontology_file ontologies/skos.rdfs.ttl \
--ontology_file objects/objects.rdfs.ttl --ontology_file organizations/organizations.rdfs.ttl --ontology_file description/description.rdfs.ttl --ontology_file ontologies/dct.rdfs.ttl --ontology_file ontologies/ebucore.rdfs.ttl --ontology_file ontologies/edm.rdfs.ttl --ontology_file ontologies/foaf.rdfs.ttl --ontology_file ontologies/org.rdfs.ttl --ontology_file ontologies/premis.rdfs.ttl --ontology_file ontologies/prov.rdfs.ttl --ontology_file ontologies/rdf.rdfs.ttl --ontology_file ontologies/schema.rdfs.ttl --ontology_file ontologies/seq.rdfs.ttl --ontology_file ontologies/skos-xl.rdfs.ttl --ontology_file ontologies/skos.rdfs.ttl --ontology_file ontologies/odrl.rdfs.ttl --ontology_file rights/rights.rdfs.ttl \
--ontology_file rights/motivation.skos.ttl --ontology_file rights/permission.skos.ttl --ontology_file rights/reuse-licenses.skos.ttl --ontology_file rights/rights-statement.skos.ttl \
--crosslink --version_directory --shacl_shacl_validation \
--jekyll_parent_page "$parent"
10 changes: 6 additions & 4 deletions rights/rights.shacl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix haRig: <https://data.hetarchief.be/ns/rights/> .
@prefix haMot: <https://data.hetarchief.be/id/motivation/> .
@prefix haPer: <https://data.hetarchief.be/id/permission/> .

@base <https://data.hetarchief.be/ns/rights> .

Expand Down Expand Up @@ -200,12 +202,12 @@
sh:targetClass premis:License, skos:Concept .

<#RightsStatusShape> a sh:NodeShape ;
sh:path premis:basis ;
sh:name "has basis"@en ;
sh:name "a une base"@fr ;
sh:name "heeft basis"@nl ;
sh:targetClass premis:RightsStatus ;
sh:property [
sh:path premis:basis ;
sh:name "has basis"@en ;
sh:name "a une base"@fr ;
sh:name "heeft basis"@nl ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:nodeKind sh:IRI ;
Expand Down