diff options
author | Jonas Smedegaard <dr@jones.dk> | 2024-05-21 09:38:09 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-06-04 17:35:41 +0200 |
commit | 6a4ad9a5cc192d1d34a0dfac9d5934095e4371b8 (patch) | |
tree | 25ae794548b84dc035c8474d160110703b3254c8 /waste/core.sdm | |
parent | 897fec693212b12496044e3e45e4141351701085 (diff) |
reorganize: separate dif for each ontology and knowledge graphlearn-v0.0.2
Diffstat (limited to 'waste/core.sdm')
-rw-r--r-- | waste/core.sdm | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/waste/core.sdm b/waste/core.sdm new file mode 100644 index 0000000..6ff284f --- /dev/null +++ b/waste/core.sdm @@ -0,0 +1,102 @@ +module waste core <https://thoughtroam.abcdefghijklmnopqrstuvxyzæøå.dk/waste/> is + + import [ dc skos xsd ] + import [ waste_view ] + + entity Resident is + identity citizenId -> unknown + + viewsWasteAs -> {unique 0..6} waste_view:Grossness + end + + entity Household is + identity apartmentId -> unknown + + furnishedWith -> {10} Bin + inhabitedBy -> {1..4} Resident + end + + entity Host is + identity HostingId -> unknown + + providesContainer -> Container + end + + entity WasteCollector + + entity Bin is + identity binId -> unknown + + forTrashTypeType -> TrashType + binCapacity -> BinCapacity + binSpareCapacity -> BinSpareCapacity + end + + enum TrashType of + @owl:equivalentClass = unsigned + Food is + @rdf:value = 1 + @skos:prefLabel = "Food waste"@en, "Mad"@da + end + Paper is + @rdf:value = 2 + @skos:prefLabel = "Paper"@en, "Papir"@da + end + Cardboard is + @rdf:value = 3 + @skos:prefLabel = "Cardboard"@en, "Pap"@da + end + Metal is + @rdf:value = 4 + @skos:prefLabel = "Metal"@en, "Metal"@da + end + Glass is + @rdf:value = 5 + @skos:prefLabel = "Glass"@en, "Glas"@da + end + Plastic is + @rdf:value = 6 + @skos:prefLabel = "Plastic"@en, "Plast"@da + end + Textiles is + @rdf:value = 7 + @skos:prefLabel = "Textiles"@en, "Tekstil"@da + end + Cartons is + @rdf:value = 8 + @skos:prefLabel = "Paper"@en, "Papir"@da + @skos:prefLabel = "Food and beverage cartons"@en, "Mad- og drikkekartoner"@da + end + Residual is + @rdf:value = 9 + @skos:prefLabel = "Residual waste"@en, "Restaffald"@da + end + Hazardous is + @rdf:value = 10 + @skos:prefLabel = "Hazardous waste"@en, "Farligt affald"@da + end + end + + event BinEmptied source Bin is + binEmptied -> Bin + binEmptiedBy -> Resident + binEmptiedTo -> Container + binResets -> BinSpareCapacity + end + + event BinFilled source Bin is + by -> Resident + end + + event ContainerEmptied source Container is + containerEmptied -> Container + containerEmptiedBy -> WasteCollector + containerEmptiedTo -> RecyclingPlant + containerResets -> ContainerSpareCapacity + end + + structure Container + + structure Incinerator + +end |