diff --git a/examples/plenary/README.md b/examples/plenary/README.md new file mode 100644 index 00000000..5ae02989 --- /dev/null +++ b/examples/plenary/README.md @@ -0,0 +1,29 @@ +## Vocabs + +* [Schema.org](https://schema.org) + * [Event](https://schema.org/Event) + * [Role](https://schema.org/Role) +* [Organization Activity ontology](https://innoweb.mondragon.edu/ontologies/dabgeo/domain-task/application_type/organization_energy_assessment/organizationactivity/1.0/index.html) + * [Chair](https://innoweb.mondragon.edu/ontologies/dabgeo/domain-task/application_type/organization_energy_assessment/organizationactivity/1.0/index.html#http://ontologies.smile.deri.ie/pdo#Chair) + * [Scribe](https://innoweb.mondragon.edu/ontologies/dabgeo/domain-task/application_type/organization_energy_assessment/organizationactivity/1.0/index.html#http://ontologies.smile.deri.ie/pdo#Scribe) + * [Attendee](https://innoweb.mondragon.edu/ontologies/dabgeo/domain-task/application_type/organization_energy_assessment/organizationactivity/1.0/index.html#http://ontologies.smile.deri.ie/pdo#Attendee) + * [Absentee](https://innoweb.mondragon.edu/ontologies/dabgeo/domain-task/application_type/organization_energy_assessment/organizationactivity/1.0/index.html#http://ontologies.smile.deri.ie/pdo#Absentee) + +## Shapes + +* [Event](https://github.com/janeirodigital/sai-js/blob/main/packages/css-storage-fixture/shapetrees/shapes/Event%24.shex) +* [Role](https://github.com/janeirodigital/sai-js/blob/main/packages/css-storage-fixture/shapetrees/shapes/Role%24.shex) + +## Trees + +* [Event](https://github.com/janeirodigital/sai-js/blob/main/packages/css-storage-fixture/shapetrees/trees/Event%24.ttl) +* [Role](https://github.com/janeirodigital/sai-js/blob/main/packages/css-storage-fixture/shapetrees/trees/Role%24.ttl) + + +## Requirements + +* Only CG chairs can create a new event +* Only CG chairs can add/remove the meeting chair +* Only the meeting chair can promote the attendee to a scribe +* Only CG participants can add themselves as attendee or absentee +* Each person can only have one role in a meeting diff --git a/packages/css-storage-fixture/shapetrees/shapes/Event$.shex b/packages/css-storage-fixture/shapetrees/shapes/Event$.shex new file mode 100644 index 00000000..a67cac12 --- /dev/null +++ b/packages/css-storage-fixture/shapetrees/shapes/Event$.shex @@ -0,0 +1,11 @@ +PREFIX xsd: +PREFIX shex: +PREFIX schema: +PREFIX solidshapes: + +solidshapes:Event { + a [ schema:Event ] ; + schema:name xsd:string ; + schema:startDate xsd:dateTime ; + schema:attendee IRI * // shex:reference solidshapes:Role +} diff --git a/packages/css-storage-fixture/shapetrees/shapes/Project$.shex b/packages/css-storage-fixture/shapetrees/shapes/Project$.shex index a3b2892b..22216e06 100644 --- a/packages/css-storage-fixture/shapetrees/shapes/Project$.shex +++ b/packages/css-storage-fixture/shapetrees/shapes/Project$.shex @@ -1,4 +1,3 @@ -lines (9 sloc) 305 Bytes PREFIX xsd: PREFIX rdfs: PREFIX solidshapes: diff --git a/packages/css-storage-fixture/shapetrees/shapes/Role$.shex b/packages/css-storage-fixture/shapetrees/shapes/Role$.shex new file mode 100644 index 00000000..5b4402ad --- /dev/null +++ b/packages/css-storage-fixture/shapetrees/shapes/Role$.shex @@ -0,0 +1,10 @@ +PREFIX xsd: +PREFIX schema: +PREFIX solidshapes: +PREFIX pdo: + +solidshapes:Role { + a [ schema:Event ] ; + schema:attendee IRI ; + schema:roleName [ pdo:Chair pdo:Scribe pdo:Attendee pdo:Absentee] +}