Ontology banner

Ontology

5 devlogs
2h 50m 44s

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

Added new file: App.py
This file contains the code to make a customizable use of the ontology. This is more useful and interesting for a demo, so this is pretty exciting. I also updated the build to build app.py instead of the generic one before.

Attachment
0
Neal

Shipped this project!

Hours: 2.53
Cookies: 🍪 24
Multiplier: 9.49 cookies/hr

I made a ontology system similar to what Palantir sells to intelligence agencies. This system can develop semantic relationships between people, places, and events, in order to solve a relatively basic murder mystery problem, that I have been making increasingly complex.

I understand that this project likely will not perform well in voting, as it isn’t a glassmorphic gradient ai slop website, but I thought a few people might appreciate this project for what it is. The output, while simple, reflects a complicated understanding of the connections and associations between events.

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