Skip to content

Commit

Permalink
[ex/plenary] feat: define shape trees
Browse files Browse the repository at this point in the history
  • Loading branch information
elf-pavlik committed Mar 18, 2024
1 parent 47e069e commit 0c13e3a
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 0 deletions.
25 changes: 25 additions & 0 deletions packages/css-storage-fixture/shapetrees/trees/Event$.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX uuid: <urn:uuid>
PREFIX shapetrees: <http://www.w3.org/ns/shapetrees#>
PREFIX solidshapes: <http://localhost:3000/shapetrees/shapes/>
PREFIX solidtrees: <http://localhost:3000/shapetrees/trees/>
PREFIX schema: <https://schema.org/>

solidtrees:Event
a shapetrees:ShapeTree ;
shapetrees:expectsType shapetrees:Resource ;
shapetrees:shape solidshapes:Project ;
shapetrees:describesInstance schema:name ;
shapetrees:references
uuid:6feabd5e-d595-5996-ae90-cdc700076d50 .

uuid:6feabd5e-d595-5996-ae90-cdc700076d50
shapetrees:hasShapeTree solidtrees:Role ;
shapetrees:viaPredicate schema:attendee .

solidtrees:desc-en\#Event
shapetrees:inDescriptionSet solidtrees:cg-en ;
shapetrees:describes solidtrees:Event .

solidtrees:cg-en
shapetrees:usesLanguage "en"^^xsd:language .
19 changes: 19 additions & 0 deletions packages/css-storage-fixture/shapetrees/trees/Role$.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX uuid: <urn:uuid>
PREFIX shapetrees: <http://www.w3.org/ns/shapetrees#>
PREFIX solidshapes: <http://localhost:3000/shapetrees/shapes/>
PREFIX solidtrees: <http://localhost:3000/shapetrees/trees/>
PREFIX schema: <https://schema.org/>

solidtrees:Role
a shapetrees:ShapeTree ;
shapetrees:expectsType shapetrees:Resource ;
shapetrees:shape solidshapes:Project ;
shapetrees:describesInstance schema:name .

solidtrees:desc-en\#Role
shapetrees:inDescriptionSet solidtrees:cg-en ;
shapetrees:describes solidtrees:Role .

solidtrees:cg-en
shapetrees:usesLanguage "en"^^xsd:language .
21 changes: 21 additions & 0 deletions packages/css-storage-fixture/shapetrees/trees/cg-en$.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX shapetrees: <http://www.w3.org/ns/shapetrees#>
PREFIX solidshapes: <http://localhost:3000/shapetrees/shapes/>
PREFIX solidtrees: <http://localhost:3000/shapetrees/trees/>

solidtrees:cg-en
a shapetrees:DescriptionSet ;
shapetrees:usesLanguage "en"^^xsd:language .

solidtrees:cg-en\#Event
a shapetrees:Description ;
shapetrees:inDescriptionSet solidtrees:cg-en ;
shapetrees:describes solidshapes:Event ;
skos:prefLabel "Events"@en .

solidtrees:cg-en\#Role
a shapetrees:Description ;
shapetrees:inDescriptionSet solidtrees:cg-en ;
shapetrees:describes solidshapes:Role ;
skos:prefLabel "Roles"@en .

0 comments on commit 0c13e3a

Please sign in to comment.