summaryrefslogtreecommitdiff
path: root/rdf/waste.sdm
blob: df5655b08cdb3156fc3ebdbe90024950ece6eb27 (plain)
  1. module waste action <https://thoughtroam.abcdefghijklmnopqrstuvxyzæøå.dk/rdf/> is
  2. import [ dc skos xsd ]
  3. import [ waste_view ]
  4. entity Resident is
  5. identity citizenId -> unknown
  6. viewsWasteAs -> {unique 0..6} waste_view:Grossness
  7. end
  8. entity Household is
  9. identity apartmentId -> unknown
  10. furnishedWith -> {10} Bin
  11. inhabitedBy -> {1..4} Resident
  12. end
  13. entity Host is
  14. identity HostingId -> unknown
  15. providesContainer -> Container
  16. end
  17. entity WasteCollector
  18. entity Bin is
  19. identity binId -> unknown
  20. forTrashTypeType -> TrashType
  21. binCapacity -> BinCapacity
  22. binSpareCapacity -> BinSpareCapacity
  23. end
  24. enum TrashType of
  25. @owl:equivalentClass = unsigned
  26. Food is
  27. @rdf:value = 1
  28. @skos:prefLabel = "Food waste"@en, "Mad"@da
  29. end
  30. Paper is
  31. @rdf:value = 2
  32. @skos:prefLabel = "Paper"@en, "Papir"@da
  33. end
  34. Cardboard is
  35. @rdf:value = 3
  36. end
  37. Metal is
  38. @rdf:value = 4
  39. end
  40. Glass is
  41. @rdf:value = 5
  42. end
  43. Plastic is
  44. @rdf:value = 6
  45. end
  46. Textiles is
  47. @rdf:value = 7
  48. end
  49. Cartons is
  50. @rdf:value = 8
  51. end
  52. Residual is
  53. @rdf:value = 9
  54. end
  55. Hazardous is
  56. @rdf:value = 10
  57. end
  58. end
  59. event BinEmptied source Bin is
  60. binEmptied -> Bin
  61. binEmptiedBy -> Resident
  62. binEmptiedTo -> Container
  63. binResets -> BinSpareCapacity
  64. end
  65. event BinFilled source Bin is
  66. by -> Resident
  67. end
  68. event ContainerEmptied source Container is
  69. containerEmptied -> Container
  70. containerEmptiedBy -> WasteCollector
  71. containerEmptiedTo -> RecyclingPlant
  72. containerResets -> ContainerSpareCapacity
  73. end
  74. structure Container
  75. structure Incinerator
  76. end