Skip to content

Commit

Permalink
[ex/plenary] docs: initial idea for a hackathon project
Browse files Browse the repository at this point in the history
  • Loading branch information
elf-pavlik committed Mar 18, 2024
1 parent bd57479 commit 47e069e
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 1 deletion.
29 changes: 29 additions & 0 deletions examples/plenary/README.md
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions packages/css-storage-fixture/shapetrees/shapes/Event$.shex
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX shex: <http://www.w3.org/ns/shex>
PREFIX schema: <https://schema.org/>
PREFIX solidshapes: <http://localhost:3000/shapetrees/shapes/>

solidshapes:Event {
a [ schema:Event ] ;
schema:name xsd:string ;
schema:startDate xsd:dateTime ;
schema:attendee IRI * // shex:reference solidshapes:Role
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
lines (9 sloc) 305 Bytes
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX solidshapes: <http://localhost:3000/shapetrees/shapes/>
Expand Down
10 changes: 10 additions & 0 deletions packages/css-storage-fixture/shapetrees/shapes/Role$.shex
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX schema: <https://schema.org/>
PREFIX solidshapes: <http://localhost:3000/shapetrees/shapes/>
PREFIX pdo: <http://ontologies.smile.deri.ie/pdo#>

solidshapes:Role {
a [ schema:Event ] ;
schema:attendee IRI ;
schema:roleName [ pdo:Chair pdo:Scribe pdo:Attendee pdo:Absentee]
}

0 comments on commit 47e069e

Please sign in to comment.