Skip to content
View dkoepsell's full-sized avatar

Highlights

  • Pro

Block or report dkoepsell

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
dkoepsell/README.md

David R. Koepsell

Philosopher of law, ethics, and technology | Builder of formal ontologies, simulations, and narrative systems

I work at the intersection of legal ontology, relational ethics, and computational modeling. My projects combine philosophical theory with executable structures: ontologies, simulations, tools, and narrative systems that make abstract claims testable, explorable, and teachable.

This GitHub is where those ideas become things that run.

Website Β· Formal Ontology Program Β· Google Scholar Β· CV


Core Research Trajectory

My work forms a unified research program, The Architecture of Social Being, developed across several major strands:

🧭 Relational Ethics

The Geometry of the Good (EthicsPress, 2025)
A structural ontology of ethics that models obligation, trust, contradiction, and repair as relational facts, rather than norms, preferences, or commands. Ethical failure generates residue and repair obligations, which can be simulated and measured.

βš–οΈ Legal Ontology

The Architecture of Justice and A Structural Ontology of the Law (Palgrave Macmillan, forthcoming)
A realist, BFO-aligned account of legal systems that treats law as a structured network of roles, relations, contradictions, and institutional repair mechanisms. This work informs legal AI, IRAC-style reasoning tools, and formal legal modeling.

πŸ€– Ethics, AI, and Agency

A non-voluntarist account of agency grounded in counterfactual accountability and exposure to irreversible relations. This framework applies to humans, institutions, AIs, DAOs, and hybrid systems, and rejects intention or consciousness as necessary conditions for moral agency. The Irreversible Accountability Test (IAT) operationalizes the account.

🧬 Applied Formal Ontology

BFO-aligned ontology engineering applied beyond law: classification systems in medicine and psychiatry, historical philosophical systems, and the ontology of digital objects.


Active & Representative Projects

πŸ›οΈ Legal Ontologies Foundry (LOF)

A new initiative, co-founded with William Mandrick and Barry Smith, to coordinate the development of interoperable, realist, BFO-aligned ontologies for the legal domain.

  • Ontology Design Pattern specifications (LOF-ODP-001 through LOF-ODP-003)
  • Validated OWL files accompanying each pattern
  • A shared foundation for legal AI, compliance, and institutional modeling

Legal ontologies that interoperate by design, not by accident.


πŸ€– BFO-Agent

A dialogue architecture that pairs language-model extraction with reasoner-validated commitments to build BFO-aligned OWL ontologies directly from source texts.

  • Every ontology validated for logical consistency with the HermiT reasoner
  • Per-class provenance linking concepts to the passages that produced them
  • IAT computational study series testing accountability and reflexivity in language models

πŸ”— Program overview


πŸ“š Ontology Library

A growing public library of BFO-aligned formal ontologies built with BFO-Agent. Each is browsable, citable, and free.


πŸ¦‰ OwlTester

(formerly the FOL-BFO-OWL Tester)
Online toolset for ontology validation, first-order logic testing, and OWL/RDF reasoning, built for ontology engineers, students, and reviewers.

πŸ”— Launch


βš–οΈ Structural Ontology of Law (SOoL)

Formal ontology modules aligned with Basic Formal Ontology (BFO), accompanying the Palgrave book.

  • Role complexes (judge, defendant, institution)
  • Legal events, obligations, breaches, and repairs
  • The 8-node Minimum Legal Chain (MLC) and a 13-type contradiction typology
  • OWL / TTL / UML / PlantUML representations

πŸ”— Overview Β· MLC Chain Auditor Β· Teaching Package Β· Ontology IRI: http://seal.tamu.edu/legal-kernel


πŸ”¬ SimEthica

Agent-based simulation platform for testing ethical and ontological hypotheses.

  • Models obligation issuance, fulfillment, denial, expiration, and repair
  • Tracks contradiction debt, trust, moral energy, and epistemic agency
  • Compares outcomes across nine normative regimes
  • Adaptive mode adds heritable dispositions and emergent moral archetypes
  • Rupture Predictor for identifying conditions that precede institutional collapse
  • Exports CSV data for empirical analysis

Ethical theory, but falsifiable.

πŸ”— SimEthica Adaptive Β· Original Β· GoG + IAT Moral Reasoner


🌐 SimOntica

A BFO-grounded social ontology lab: an interactive environment for simulating how social entities, roles, and institutional structures form and persist.

πŸ”— Launch


🧠 IRACplus

A structural legal reasoning tool for students and researchers.

  • Extends IRAC into an ontological pipeline
  • Diagnoses contradictions and missing links
  • Outputs structured JSON representations of legal reasoning
  • Intended for law students, legal educators, and legal AI research

πŸ”— Launch


πŸŽ“ Teaching Tools

Interactive tools built for the classroom.

  • Contradiction Kernel: the core mechanism of the relational framework, in interactive form
  • Chain Lab: build and break chains of obligation and recognition
  • Chain of Recognition: a visualization of how recognition propagates through institutional structures
  • The Dilemma Room: a live, anonymous, multi-round Prisoner's Dilemma for a whole classroom, joined by QR code, with results displayed in real time

🎲 CAML & Everdice

Narrative and structural tooling for tabletop RPGs and interactive storytelling.

  • CAML (Canonical Adventure Modeling Language)
    A structured format for encoding narrative possibilities without railroading.

  • CAML-Trace
    Forensic and replayable traces of narrative decision paths.

  • Everdice Studio
    A desktop campaign toolkit for game masters, available on Steam: SRD reference, quest tracker, timeline, relationship map, session prep, custom maps, and a player view.

  • Everdice Realm (source)
    A DM-respecting campaign assistant focused on long-form coherence, trust, and player agency.

These projects double as experimental sandboxes for agency, obligation, and narrative structure.


What Ties This Together

Across philosophy, law, ethics, and games, the core commitments are the same:

  • Structure matters more than intention
  • Obligation arises from relations, not rules
  • Failure produces residue that must be repaired
  • Agency is earned through accountability, not asserted
  • Pluralism is not a problem to eliminate, but a condition to manage

If something cannot be modeled, traced, or tested, I treat that as a philosophical warning sign.


Teaching & Public Work

I am an Instructional Associate Professor of Philosophy at Texas A&M University, where I coordinate the Society, Ethics, and Law (SEAL) B.A. program and coach Mock Trial. I use these tools and frameworks in undergraduate and graduate teaching, especially in:

  • Legal ontology
  • Philosophy of law
  • Ethics of technology
  • Moral psychology
  • AI and responsibility

Many repositories here double as teaching infrastructure.


Consulting

I consult on formal ontology: BFO-aligned modeling, custom ontology development, and review and validation for legal, biomedical, and AI applications.

πŸ”— Formal Ontology & Consulting


Status

This is an active, evolving research ecosystem. Some repositories are experimental, some pedagogical, some production-ready. All are part of a single long-term project.

If you're a philosopher, legal scholar, developer, or designer interested in making normative and institutional theory executable, you're in the right place.


Links

A collaborative initiative, co-founded with William Mandrick and Barry Smith, to develop interoperable, logically well-formed ontologies for the legal domain. Modeled on the OBO Foundry: member ontologies share a common upper ontology (BFO, ISO/IEC 21838-2), a common format (OWL 2), persistent identifiers, and a common set of principles.

Legal ontologies that interoperate by design, not by accident.

πŸ”— Foundry site Β· GitHub org

Keywords: legal ontology, formal ontology, BFO, OWL, relational ethics, moral agency, AI ethics, agent-based simulation, institutional repair


Ideas are cheap. Structures that survive contact with reality are not.

Pinned Loading

  1. SimEthica-cog-epi SimEthica-cog-epi Public

    SimEthica - testing ethical obligation with artificial agents

    HTML 3

  2. FOL-BFO-OWL-tester FOL-BFO-OWL-tester Public

    Python script to turn BFO OWL files into First Order Predicate premises and test for contradictions

    Python 5

  3. CAML5e CAML5e Public

    Canonical Adventure Markup Language for RPGs

    Python 2

  4. EverdiceRealm EverdiceRealm Public

    TypeScript

  5. OwlTesterService OwlTesterService Public

    Web Service version of the BFO-FOL-OWL tester

    Python 1