Skip to content

shauryashaurya/The-Silmaril

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Silmaril

The-Silmaril: Practice #ontology building with Python (and other languages), © Shaurya Agarwal, 2025

Practice #ontology engineering with Python (and other languages).


List of Ontologies

I. Very simple ones, to better understand the concepts

I have tried to include rudimentary explanations on how to work out the ontologies, how one can create sample data to hydrate the ontology and finally how one can ask simple questions on the ontology (in PySpark).

  1. Movie Domain
  2. Music Domain

II. Getting more 'real' (and interesting) now

Things are getting more intense... 'real-world' adjacent. Get a cup of coffee, put your game face on. :)

In some examples/exercises, we will leverage the "connected" nature of Ontologies for analysis, and see if we can build an intuition about how the Ontological representation is more beneficial for certain types of questions.
For the technically inclined, we'll try to show differences in code as well (comparing relational/OOP code with ontology/semantic approach).

  1. Supply Chain (logistics, orders, suppliers, warehouses)
  2. Property & Casualty Insurance
  3. Construction (projects, tasks, materials, subcontractors, etc.)
  4. Manufacturing (production lines, work orders, materials, products, etc.)
  5. Stock Market / Equities Trading
  6. Healthcare / EHR + Claims

In future ontologies, we'll explore higher order problems like matching two ontologies, looking for limitations in an ontology etc. etc.

III. Higher order fun with Ontologies

As we get into more interesting Ontology examples, things get even more interesting for us.

  1. Pharmaceutical Supply Chain ( + Bonus: Ontology Matching)
  2. EPCC / LEMS / PMBoK based ontology for a large construction project
  3. Smart Building / Facility Management
  4. System Monitoring & Maintenance
  5. Ecological & Migration Tracking
  6. Distribution & Logistics
  7. Water Infrastructure & Management
  8. Healthcare Network & Clinical
  9. Space Mission & Crew
  10. Galactic Trade & Alliance
  11. Cultural & Heritage Management
  12. Global Finance & Trading
  13. Global Energy Grid & Market

Star Wars and The Lord Of The Rings

This was fun :)
Hope these are as much fun for you too!

  • Here's a #starwars ontology for you to explore: Star Wars
  • ...and while we were on the topic of Palantir, it's natural that we build a LOTR ontology as well: The Lord Of The Rings

These ended up being rather large and complex, but that was to be expected I guess. My attempts at these are not sufficient. There's so much material to cover! So if you have suggestions, please send 'em my way :)

.

References

Standing on the shoulders of giants here...

.

Releases

No releases published

Packages

No packages published