diff --git a/gendocs.sh b/gendocs.sh index 9d95d32..381b719 100755 --- a/gendocs.sh +++ b/gendocs.sh @@ -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" \ No newline at end of file diff --git a/rights/rights.shacl.ttl b/rights/rights.shacl.ttl index fe4d459..6003bfe 100644 --- a/rights/rights.shacl.ttl +++ b/rights/rights.shacl.ttl @@ -20,6 +20,8 @@ @prefix vann: . @prefix xsd: . @prefix haRig: . +@prefix haMot: . +@prefix haPer: . @base . @@ -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 ;