summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-04-29 08:27:05 +0200
committerJonas Smedegaard <dr@jones.dk>2024-04-29 08:27:05 +0200
commitad2a34ed0bcfebc2f0dda57c8aaf7677e597430b (patch)
tree167768a96c7fc21f603dbd30cf476c4cb180f41a
parent7d42562b13cdfb802e5dbb33aa274924619bbca9 (diff)
add class TrashType
-rw-r--r--rdf/waste.sdm39
1 files changed, 38 insertions, 1 deletions
diff --git a/rdf/waste.sdm b/rdf/waste.sdm
index b89a6bb..df5655b 100644
--- a/rdf/waste.sdm
+++ b/rdf/waste.sdm
@@ -12,7 +12,7 @@ module waste action <https://thoughtroam.abcdefghijklmnopqrstuvxyzæøå.dk/rdf/
entity Household is
identity apartmentId -> unknown
- furnishedWith -> {1..9} Bin
+ furnishedWith -> {10} Bin
inhabitedBy -> {1..4} Resident
end
@@ -27,10 +27,47 @@ module waste action <https://thoughtroam.abcdefghijklmnopqrstuvxyzæøå.dk/rdf/
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
+ end
+ Metal is
+ @rdf:value = 4
+ end
+ Glass is
+ @rdf:value = 5
+ end
+ Plastic is
+ @rdf:value = 6
+ end
+ Textiles is
+ @rdf:value = 7
+ end
+ Cartons is
+ @rdf:value = 8
+ end
+ Residual is
+ @rdf:value = 9
+ end
+ Hazardous is
+ @rdf:value = 10
+ end
+ end
+
event BinEmptied source Bin is
binEmptied -> Bin
binEmptiedBy -> Resident