Ontology banner

Ontology

4 devlogs
2h 31m 37s

I am creating an ontology system to solve a basic murder mystery problem. This technology is really interesting, and I wanted to learn more about it.

This project uses AI

Used AI for some light debugging stuff because I am a little rusty with Python. Also to workshop the idea and plan the architecture as I add more complexity.

Demo Repository

Loading README...

Neal

Created a downloadable package via the github actions script. Also integrated the new location class instead of the old system of using strings for locations. Each location has a size, for when I finish implementing the alibi system later.

Attachment
0
Neal

Added more classes, to further advance the semantic understanding of connections between locations. This will later allow the model to cross reference alibis with the what the reality of the relationship between the rooms are. For example, if I say that I went from the kitchen to bathroom, but the bathroom is only connected to the living room, then this will trigger.

Attachment
0
Neal

I updated the Ontology to have more complicated logic. It is still limited in reasoning, but it can isolate multiple murders now, and also can handle a victim committing murder before they die. That was a significant upgrade. In this update, I created a “Crime” class, so it is easier to keep each Crime separate.

Attachment
0
Neal

Got the Ontology to a point where it can solve the basic murder problem. Tommorow, I am going to ask ChatGPT to make the storyline a bit more complicated to see if it can still solve it. Afterwards, I am going to add more actions and logic to the Ontology system. Currently this is a fun practice with classes and such.

Attachment
0