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

Shacl-form is not able to deal correctly with sh:qualifiedValueShapesDisjoint #6

Open
psaboia opened this issue Jul 30, 2020 · 0 comments

Comments

@psaboia
Copy link
Collaborator

psaboia commented Jul 30, 2020

Statement 1 a Flight Controller Board must host at least one Sensor AND at least one Actuator.
NOTE: This issue only makes sense If the Statement 1 is true.

sh:property [
sh:path sosa:hosts ;
sh:minCount 2 ;
] ;
sh:property [
sh:path sosa:hosts ;
sh:qualifiedValueShape [ sh:class landrs:Sensor ] ;
sh:qualifiedValueShapesDisjoint true ;
sh:qualifiedMinCount 1 ;
sh:name "Sensor" ;
sh:description "Sensor hosted on the flight controller board." ;
sh:resultSeverity sh:Violation ;
sh:order 0 ;
] ;
sh:property [
sh:path sosa:hosts ;
sh:qualifiedValueShape [ sh:class landrs:Actuator ] ;
sh:qualifiedValueShapesDisjoint true ;
sh:qualifiedMinCount 1 ;
sh:description "Actuator hosted on the flight controller board." ;
sh:description "." ;
sh:resultSeverity sh:Violation ;
sh:order 0 ;
] .

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

No branches or pull requests

1 participant