{"entity_types":["character","area","food","object","container","medicine","animal","tool","furniture"],"relationships":["in","holds","near","on","allergic_to","likes"],"actions":["move","eat","take","drop","give","open","close","inject","sleep"],"properties":["energy","can_be_opened","openness","size","aliveness","organicness","fatigue","injectability","sickness","color","availability"],"property_values":["full","low","opened","closed","tiny","small","large","normal","high","injectable","alive","organic","green","red","yellow","true","available","unavailable"],"property_schema":{"energy":["low","normal","high","full"],"fatigue":["low","normal","high","full"],"sickness":["low","normal","high","full"],"size":["tiny","small","normal","large"],"openness":["opened","closed"],"aliveness":["alive"],"organicness":["organic"],"injectability":["injectable"]},"icon_map":{"character":"👤","object":"📦","area":"🌳","food":"🍎","container":"📥","animal":"🐾","tool":"🔧","medicine":"💊","furniture":"🪑"},"is_a":{"character":["living","object"],"animal":["living","object"],"food":["object"],"container":["object"],"area":[],"living":[],"object":[],"medicine":["object"]},"defaults":{"object":{"availability":"available"},"living":{"aliveness":"alive"},"character":{"aliveness":"alive","energy":"normal"},"animal":{"aliveness":"alive","energy":"normal"},"food":{"organicness":"organic"},"container":{"can_be_opened":"true"},"area":{},"medicine":{"injectability":"injectable"}},"derived_defaults":{"availability":"available"},"rules":[{"name":"move","nodes":[{"name":"character_x"},{"name":"place_g"}],"action_cause":{"action_type":"move","subject":"character_x","target":"place_g"},"preconditions":{"relationships":[],"properties":[{"subject":"character_x","property":"aliveness","value":"alive"}]},"effects":[{"dim":"relationship","subject":"character_x","relation":"in","object":"place_g","change":"add","when":null},{"dim":"relationship","subject":"character_x","relation":"near","object":"place_g","change":"add","when":null}]},{"name":"eat","nodes":[{"name":"character_x"},{"name":"food_l"}],"action_cause":{"action_type":"eat","subject":"character_x","target":"food_l"},"preconditions":{"relationships":[{"subject":"character_x","relation":"holds","object":"food_l"}],"properties":[{"subject":"character_x","property":"aliveness","value":"alive"}]},"effects":[{"dim":"node","subject":"food_l","change":"remove","when":null},{"dim":"relationship","subject":"character_x","relation":"holds","object":"food_l","change":"remove","when":null},{"dim":"property","subject":"character_x","property":"sickness","change":"update","before":null,"after":"high","when":{"dim":"relationship","subject":"character_x","relation":"allergic_to","object":"food_l"}},{"dim":"property","subject":"character_x","property":"energy","change":"update","before":"low","after":"normal","when":{"dim":"property","subject":"food_l","property":"organicness","value":"organic"}}]},{"name":"eat","nodes":[{"name":"character_x"},{"name":"food_l"}],"action_cause":{"action_type":"eat","subject":"character_x","target":"food_l"},"preconditions":{"relationships":[{"subject":"character_x","relation":"holds","object":"food_l"}],"properties":[{"subject":"character_x","property":"aliveness","value":"alive"}]},"effects":[{"dim":"node","subject":"food_l","change":"remove","when":null},{"dim":"relationship","subject":"character_x","relation":"holds","object":"food_l","change":"remove","when":null},{"dim":"property","subject":"character_x","property":"sickness","change":"update","before":null,"after":"high","when":{"dim":"relationship","subject":"character_x","relation":"allergic_to","object":"food_l"}},{"dim":"property","subject":"character_x","property":"energy","change":"update","before":"normal","after":"high","when":{"dim":"property","subject":"food_l","property":"organicness","value":"organic"}}]},{"name":"eat","nodes":[{"name":"character_x"},{"name":"food_l"}],"action_cause":{"action_type":"eat","subject":"character_x","target":"food_l"},"preconditions":{"relationships":[{"subject":"character_x","relation":"holds","object":"food_l"}],"properties":[{"subject":"character_x","property":"aliveness","value":"alive"}]},"effects":[{"dim":"node","subject":"food_l","change":"remove","when":null},{"dim":"relationship","subject":"character_x","relation":"holds","object":"food_l","change":"remove","when":null},{"dim":"property","subject":"character_x","property":"sickness","change":"update","before":null,"after":"high","when":{"dim":"relationship","subject":"character_x","relation":"allergic_to","object":"food_l"}},{"dim":"property","subject":"character_x","property":"energy","change":"update","before":"high","after":"full","when":{"dim":"property","subject":"food_l","property":"organicness","value":"organic"}}]},{"name":"inject","nodes":[{"name":"character_x"},{"name":"item_a"}],"action_cause":{"action_type":"inject","subject":"character_x","target":"item_a"},"preconditions":{"relationships":[{"subject":"character_x","relation":"holds","object":"item_a"}],"properties":[{"subject":"character_x","property":"aliveness","value":"alive"},{"subject":"item_a","property":"injectability","value":"injectable"}]},"effects":[{"dim":"property","subject":"character_x","property":"energy","change":"update","before":null,"after":"full","when":null},{"dim":"property","subject":"character_x","property":"fatigue","change":"update","before":null,"after":"high","when":null},{"dim":"node","subject":"item_a","change":"remove","when":null}]},{"name":"take","nodes":[{"name":"character_x"},{"name":"item_l"}],"action_cause":{"action_type":"take","subject":"character_x","target":"item_l"},"preconditions":{"relationships":[{"subject":"character_x","relation":"near","object":"item_l"}],"properties":[{"subject":"character_x","property":"aliveness","value":"alive"},{"subject":"item_l","property":"availability","value":"available"}]},"effects":[{"dim":"relationship","subject":"character_x","relation":"holds","object":"item_l","change":"add","when":null}]},{"name":"give","nodes":[{"name":"character_x"},{"name":"character_y"},{"name":"item_l"}],"action_cause":{"action_type":"give","subject":"character_x","target":"item_l","to":"character_y"},"preconditions":{"relationships":[{"subject":"character_x","relation":"holds","object":"item_l"},{"subject":"character_x","relation":"near","object":"character_y"}],"properties":[{"subject":"character_x","property":"aliveness","value":"alive"},{"subject":"character_y","property":"aliveness","value":"alive"}]},"effects":[{"dim":"relationship","subject":"character_x","relation":"holds","object":"item_l","change":"remove","when":null},{"dim":"relationship","subject":"character_y","relation":"holds","object":"item_l","change":"add","when":null}]},{"name":"open","nodes":[{"name":"character_x"},{"name":"cont_b"},{"name":"item_l"}],"action_cause":{"action_type":"open","subject":"character_x","target":"cont_b"},"preconditions":{"relationships":[{"subject":"character_x","relation":"near","object":"cont_b"}],"properties":[{"subject":"character_x","property":"aliveness","value":"alive"},{"subject":"cont_b","property":"can_be_opened","value":"true"}]},"effects":[{"dim":"property","subject":"cont_b","property":"openness","change":"update","before":"closed","after":"opened","when":null},{"dim":"property","subject":"item_l","property":"availability","change":"update","before":"unavailable","after":"available","when":{"dim":"relationship","subject":"item_l","relation":"in","object":"cont_b"}}]},{"name":"close","nodes":[{"name":"character_x"},{"name":"cont_b"}],"action_cause":{"action_type":"close","subject":"character_x","target":"cont_b"},"preconditions":{"relationships":[{"subject":"character_x","relation":"near","object":"cont_b"}],"properties":[{"subject":"character_x","property":"aliveness","value":"alive"},{"subject":"cont_b","property":"openness","value":"opened"}]},"effects":[{"dim":"property","subject":"cont_b","property":"openness","change":"update","before":"opened","after":"closed","when":null}]}],"world_rules":[{"name":"item_in_closed_container_is_unavailable","match":[{"rel":{"subj":"?item","relation":"in","obj":"?container"}},{"prop":{"subject":"?container","property":"openness","value":"closed"}}],"infer":{"props":{"?item":[["availability","unavailable"]]}}},{"name":"near_through_in_chain","match":[{"rel":{"subj":"?a","relation":"in","obj":"?b"}},{"rel":{"subj":"?b","relation":"in","obj":"?c"}}],"infer":{"rels":[["?a","near","?c"]]}},{"name":"near_near_to_in","match":[{"rel":{"subj":"?a","relation":"near","obj":"?b"}},{"rel":{"subj":"?b","relation":"in","obj":"?c"}}],"infer":{"rels":[["?a","near","?c"]]}},{"name":"near_in_to_near","match":[{"rel":{"subj":"?a","relation":"near","obj":"?b"}},{"rel":{"subj":"?c","relation":"in","obj":"?b"}}],"infer":{"rels":[["?a","near","?c"]]}}],"preference_rules":[{"name":"likes_implies_wants_to_hold","match":[{"rel":{"subj":"?agent","relation":"likes","obj":"?item"}}],"emit":[{"dim":"relationship","subject":"?agent","relation":"holds","object":"?item","change":"add"}]}]}