Ontologies for
your AI agents.
One command puts an ontology in ./ontologies/ in your repo, along with a skill that tells Claude Code, Cursor or Codex how to merge it into the schema you already have. The files are yours to change; there's no package to keep updated.
$
npx ontology.sh add modernrelay/ontologies/company-brain✓ prisma/schema.prisma · 3 types added, 5 relations added
A terminal demo: two ontologies are added to an app with npx ontology.sh add, then a coding agent reads them, proposes how to merge them into the app's schema, and applies the plan after a yes.
How it works
Use an ontology
- Run
npx ontology.sh add owner/repo. - The files land in
./ontologies/, with a skill for your coding agent. - Ask your agent to fit it into your schema. It proposes a plan and waits for your OK.
Publish one
- Write an ONTOLOGY.md next to your schema files.
git pushto GitHub.- The first
addlists it here. No account, no publish step.
Catalogue 8 ontologies · 3 areas
P110People & organizations · 3
modernrelay/basePerson, Organization, Event and Document for Omnigraph apps. Start every app on one store from these four, so they all mean the same thing by Person..pg .cypher .graphql .hclomnigraphmodernrelay/foafFOAF (Friend of a Friend): people, groups and organizations, their online accounts, the documents about them, and who knows whom. Around since 2000..rdfxmlns.commodernrelay/schemaorg-coreSix core types from schema.org (Person, Organization, Place, Event, CreativeWork and Product) and their main properties..ttlschema.orgHave an ontology for this?
[P]ublish yours →
[P]ublish yours →
P120Company knowledge · 2
modernrelay/company-brainWho said what in which meeting or thread, which claims turned into decisions, and the action items that came out of them. From the Omnigraph cookbooks..pg .cypher .graphql .hclomnigraphmodernrelay/fibo-legal-entitiesnewWho a company legally is: legal persons, corporations and other legal entities, their jurisdiction, legal form, LEI, addresses and parent companies. A slice of FIBO with only the modules it needs..rdfgithub.comHave an ontology for this?
[P]ublish yours →
[P]ublish yours →
P130Provenance, taxonomy & time · 3
modernrelay/prov-oThe W3C vocabulary for where data came from: which activity produced an entity, what it used along the way, and which agent was responsible..ttlw3cmodernrelay/skosThe W3C format for taxonomies and thesauri: concepts, their labels, broader and narrower links, and mappings to other schemes..rdfw3cmodernrelay/timeOWL-Time from the W3C and OGC: instants, intervals and durations, and how they relate (before, after, during and the rest of Allen's relations)..ttlw3cHave an ontology for this?
[P]ublish yours →
[P]ublish yours →
modernrelay/fibo-legal-entitiesnewWho a company legally is: legal persons, corporations and other legal entities, their jurisdiction, legal form, LEI, addresses and parent companies. A slice of FIBO with only the modules it needs..rdfgithub.commodernrelay/company-brainWho said what in which meeting or thread, which claims turned into decisions, and the action items that came out of them. From the Omnigraph cookbooks..pg .cypher .graphql .hclomnigraphmodernrelay/basePerson, Organization, Event and Document for Omnigraph apps. Start every app on one store from these four, so they all mean the same thing by Person..pg .cypher .graphql .hclomnigraphmodernrelay/timeOWL-Time from the W3C and OGC: instants, intervals and durations, and how they relate (before, after, during and the rest of Allen's relations)..ttlw3cmodernrelay/skosThe W3C format for taxonomies and thesauri: concepts, their labels, broader and narrower links, and mappings to other schemes..rdfw3cmodernrelay/foafFOAF (Friend of a Friend): people, groups and organizations, their online accounts, the documents about them, and who knows whom. Around since 2000..rdfxmlns.commodernrelay/prov-oThe W3C vocabulary for where data came from: which activity produced an entity, what it used along the way, and which agent was responsible..ttlw3cmodernrelay/schemaorg-coreSix core types from schema.org (Person, Organization, Place, Event, CreativeWork and Product) and their main properties..ttlschema.org