diff --git a/ontology/ontology.json b/ontology/ontology.json index ed51e9a..70248a5 100644 --- a/ontology/ontology.json +++ b/ontology/ontology.json @@ -366,6 +366,11 @@ "animist": {}, "naturalist": {}, "totemist": {} + }, + "emotion": { + "emotion dramatic mood": {}, + "emotion scene tone": {}, + "emotion sound": {} } }, "mise en cadre": { diff --git a/ontology/update.py b/ontology/update.py index d40fd3f..3105a4e 100755 --- a/ontology/update.py +++ b/ontology/update.py @@ -13,6 +13,8 @@ def find_path(parent, root=None, path=None): root = ontology if path is None: path = [] + if parent == 'location': + return ['film', 'architecture', 'rhythmanalysis', 'the everyday', 'environment', 'location'] for key in root: if key == parent: return path + [key]