Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

besluitvorming: prov:hadRole lijkt skos:Concept als range te hebben #378

Open
gezever opened this issue Jan 21, 2021 · 1 comment
Open

Comments

@gezever
Copy link

gezever commented Jan 21, 2021

Model(len) waarop de issue van toepassing is:
Besluitvorming
Omschrijving van het probleem:
prov:hadRole heeft range prov:Role
In het applicatieprofiel besluitvorming heeft de prov:Association (Agent (in rol)) attribuut prov:hadRole met verwacht type skos:Concept.

Omschrijving van een mogelijke oplossing:
prov:Association -> (prov:hadRole) -> prov:Role -> (dcterms:type) -> skos:Concept
of gewoon de instances van prov:Role als codelijst beschouwen (zie als voorbeeld: https://data.dba.omgeving.vlaanderen.be/id/role)

https://data.vlaanderen.be/shacl/besluitvorming-ap#AgentInRolShape a shacl:NodeShape;
shacl:closed false;
shacl:property [
shacl:class prov:Role;
shacl:description "De functie van een agent met betrekking tot een activiteit.";
shacl:maxCount 1;
shacl:minCount 1;
shacl:name "rol";
shacl:path prov:hadRole
];
shacl:targetClass prov:Association .

@gezever
Copy link
Author

gezever commented Jan 26, 2021

sh:result [ a sh:ValidationResult ;
sh:focusNode https://data.dba.omgeving.vlaanderen.be/id/association/activity_dba_NiM9hqZSSiiodbnqxSvqGg_d41d8cd98f00b204e9800998ecf8427e_aanvrager ;
sh:resultMessage "ClassConstraint[http://www.w3.org/2004/02/skos/core#Concept]: Expected class :http://www.w3.org/2004/02/skos/core#Concept for https://data.dba.omgeving.vlaanderen.be/id/role/aanvrager" ;
sh:resultPath prov:hadRole ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:ClassConstraintComponent ;
sh:sourceShape [] ;
sh:value https://data.dba.omgeving.vlaanderen.be/id/role/aanvrager
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants