ONTOLOGIES
ONTOLOGY.SH

fibo-legal-entities

Who 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.

financefibolegal-entitycompanylei

Installation

$npx ontology.sh add modernrelay/ontologies/fibo-legal-entities
is a is a is an is a is a is a is a is a is a is a is a is an incorporated in identified by legal form legal address operating address has sub-unit directly consolidated by Party LegalPerson Organization FormalOrganization LegalEntity BusinessEntity Corporation StockCorporation NotForProfitOrganization JointVenture OrganizationalSubUnit LEIRegisteredEntity LegalEntityIdentifier EntityLegalForm Jurisdiction PhysicalAddress
fig.1 — modernrelay/fibo-legal-entities, from its ONTOLOGY.md

Ontology

FIBO Legal Entities

What it models

Who a company legally is. The Financial Industry Business Ontology (FIBO) is the EDM Council's standard vocabulary for finance; this package is its Legal Entities module (BE/LegalEntities) plus exactly the files it imports, and nothing else. It covers legal persons and legal entities, kinds of corporation, the jurisdiction a company is incorporated in, its legal form (ISO 20275), its Legal Entity Identifier (LEI, ISO 17442), its registered and operating addresses, and parent–child consolidation as reported to GLEIF.

Use it for KYC and onboarding, counterparty and supplier records, company registries, or any schema where "customer" or "vendor" is really a legal entity. Full FIBO is far larger; banks typically take the parts they need and extend them in their own namespace. This package is that pattern, ready made.

FIBO's most basic terms (Party, Organization, LegalPerson, LegalEntity, Identifier) live in the OMG Commons Ontology Library, so the package ships the Commons modules too.

Entities

  • Party (Commons): a person or organization. The root of everything below.
  • LegalPerson (Commons): a party the law recognizes as having rights and obligations: it can sue and be sued, sign contracts, own property. A natural person can be one (LegallyCompetentNaturalPerson).
  • Organization (Commons): a framework of authority within which people act toward some purpose. FormalOrganization is one recognized in some jurisdiction.
  • LegalEntity (Commons): both a FormalOrganization and a LegalPerson: a partnership, corporation or other organization that can negotiate contracts, take on obligations and pay debts.
  • BusinessEntity: a formal organization set up under commercial law to do business. JointStockCompany is one.
  • Corporation: a legal entity distinct from its owners, incorporated under the laws of a jurisdiction. Subtypes: StockCorporation (has shareholders; PubliclyHeldCompany, PrivatelyHeldCompany), ForProfitCorporation, NotForProfitCorporation (BenefitCorporation, ReligiousCorporation, …).
  • NotForProfitOrganization: uses its surplus to pursue its purpose. NonGovernmentalOrganization is one.
  • JointVenture: a legal entity formed by parties that pool resources for a specific task.
  • Other legal entities: SpecialPurposeVehicle, StatutoryBody, CharteredLegalPerson, VariableInterestEntity.
  • OrganizationalSubUnit (Commons): a part of an organization, recognized only inside it: Branch, Division.
  • LEIRegisteredEntity: a legal person identified by an LEI. Defined by having one: anything with an LEI is one.
  • LegalEntityIdentifier: the 20-character ISO 17442 code. Also RegistrationIdentifier (the company-register number) and ValueAddedTaxIdentificationNumber.
  • EntityLegalForm: the legal form in its jurisdiction (GmbH, LLC, SA), coded per ISO 20275 as an EntityLegalFormIdentifier.
  • Jurisdiction (Commons): the area whose law applies.
  • PhysicalAddress: a postal location; ConventionalStreetAddress is the usual subtype.

Relations

  • Corporation → isIncorporatedIn → Jurisdiction [1]
  • Corporation → hasLegalName → text [1..*]
  • Corporation → isConstitutedBy → InstrumentOfIncorporation [0..*] (articles of association)
  • Corporation → hasDateOfIncorporation → date [0..*]
  • LegalEntity → hasLegalForm → EntityLegalForm [0..*]
  • LegalEntity → hasLegalAddress → PhysicalAddress [0..*]
  • Party → hasRegisteredAddress → PhysicalAddress [0..*]
  • Organization → hasOperatingAddress → PhysicalAddress [0..*]; also hasHeadquartersAddress
  • LEIRegisteredEntity → isIdentifiedBy → LegalEntityIdentifier [1..*] (inverse: identifies)
  • LegalEntity → isDirectlyConsolidatedBy → LegalEntity [0..*] (the direct parent, GLEIF level 2)
  • LegalEntity → isUltimatelyConsolidatedBy → LegalEntity [0..*] (the ultimate parent; both are subproperties of isConsolidatedBy)
  • LegalEntity → isInternationalBranchOf → LegalEntity [0..*]
  • Organization → hasSubUnit → OrganizationalSubUnit [0..*] (inverse: isSubUnitOf)
  • LegalEntity → hasEquity → OwnersEquity [0..*]

Modeling decisions

  • Roles and situations, not flags. FIBO models "owner", "shareholder", "director" as roles a party plays in a situation (Ownership, Control), not as properties of the company. That's why ownership lives in fibo/FND/OwnershipAndControl/Ownership.rdf and needs a node per relationship.
  • LegalPerson vs LegalEntity. A LegalPerson is anything with legal rights, people included. A LegalEntity is an organization that is a legal person. Most "company" records are LegalEntity.
  • Consolidation follows GLEIF. The parent properties mirror the LEI Level 2 data ("who owns whom") that GLEIF publishes, with direct and ultimate parents as separate links.
  • Identifiers are things, not strings. An LEI is an Identifier node that identifies the entity and belongs to a scheme, so one entity can carry an LEI, a register number and a VAT number without confusion.
  • Not included: FIBO's other BE modules: Partnerships, PrivateLimitedCompanies, SoleProprietorships, Trusts, OwnershipAndControl (corporate ownership and control), Corporations (officers, directors, shares), GovernmentEntities and FunctionalEntities. Pull those from FIBO if you need them.

How to integrate

  • Find your existing type first. "Customer", "Company", "Account", "Vendor", "Counterparty" usually is LegalEntity, or Party when people are mixed in. Map onto it; don't add a parallel table.
  • Property graph (Omnigraph .pg, Neo4j): collapse Party → LegalPerson → Organization → LegalEntity into one LegalEntity node with a kind enum (corporation, not_for_profit, joint_venture, branch, …). Put lei, legal_name, jurisdiction (ISO 3166 code) and legal_form (ISO 20275 ELF code) on it as properties, @unique on lei. Keep consolidation as edges: DirectParent: LegalEntity -> LegalEntity, UltimateParent: LegalEntity -> LegalEntity. Turn identifiers into nodes only if you hold several schemes per entity.
  • SQL: a legal_entities table with the same columns; parent_id and ultimate_parent_id as self-references, or a consolidations join table if you keep history. Addresses in their own table with a type (legal, registered, headquarters, operating).
  • Data to load: GLEIF publishes every LEI with legal name, jurisdiction, ELF code, addresses and parents, free, as the "golden copy" files and an API (https://www.gleif.org/). It fits this model one to one.
  • Overlaps: schema.org Organization (legalName, leiCode, parentOrganization) and FOAF Organization map onto Organization/LegalEntity. PROV's Agent overlaps Party.
  • What's lost in a graph or SQL translation: OWL reasoning (a thing with an LEI being inferred to be an LEIRegisteredEntity), the role/situation pattern unless you keep those nodes, and the exact-one cardinality on jurisdiction unless you add a constraint.
  • Using the RDF as is: load the files into a triple store or Protégé. Every owl:imports target is in the package. Load the whole folder, or map the import IRIs to these files (Protégé's catalog, Jena's location mapper); otherwise the tool fetches them from the web.

Files

All .rdf files are RDF/XML, copied unmodified. FIBO files keep their FIBO paths under fibo/; Commons modules are in commons/. LICENSE is FIBO's MIT license; the Commons files carry the same MIT text in their dct:license. © 2013–2025 EDM Council, Inc. and Object Management Group, Inc.

The four Legal Entities modules:

FileWhat
fibo/BE/LegalEntities/LegalPersons.rdfLegal persons, business entities, special purpose vehicles, business licenses
fibo/BE/LegalEntities/CorporateBodies.rdfCorporations and their kinds, incorporation, jurisdiction, registration identifiers
fibo/BE/LegalEntities/FormalBusinessOrganizations.rdfBranches, divisions, joint ventures, not-for-profits, addresses, VAT numbers
fibo/BE/LegalEntities/LEIEntities.rdfLEI, entity legal forms (ISO 20275), consolidation relationships (GLEIF)

FIBO Foundations (FND) modules they import:

FileWhat
fibo/FND/Accounting/CurrencyAmount.rdfCurrencies and monetary amounts
fibo/FND/AgentsAndPeople/People.rdfPeople and their identifying information
fibo/FND/Agreements/Agreements.rdfAgreements and commitments
fibo/FND/Agreements/Contracts.rdfContracts and contract parties
fibo/FND/Arrangements/Arrangements.rdfArrangements and structured collections
fibo/FND/Arrangements/ClassificationSchemes.rdfClassification schemes
fibo/FND/Arrangements/Documents.rdfDocuments and records
fibo/FND/Arrangements/IdentifiersAndIndices.rdfIdentifiers and identification schemes
fibo/FND/DatesAndTimes/FinancialDates.rdfDates, schedules and periods
fibo/FND/DatesAndTimes/Occurrences.rdfEvents and occurrences
fibo/FND/GoalsAndObjectives/Objectives.rdfGoals and objectives (profit, not-for-profit)
fibo/FND/Law/LegalCapacity.rdfLegal capacity, rights, licenses
fibo/FND/Law/LegalCore.rdfLaw, jurisdiction, constitutions
fibo/FND/OwnershipAndControl/Ownership.rdfOwnership situations, owners, assets, equity
fibo/FND/Parties/Parties.rdfParty roles and situations
fibo/FND/Places/Addresses.rdfAddresses
fibo/FND/Relations/Relations.rdfGeneric relations (names, ownership, control)
fibo/FND/Utilities/Analytics.rdfMeasures and statistics
fibo/FND/Utilities/AnnotationVocabulary.rdfFIBO's annotation properties

OMG Commons modules that FIBO imports:

FileWhat
commons/AnnotationVocabulary.rdfAnnotation properties (synonym, abbreviation, …)
commons/BusinessAuthorizations.rdfAuthorizations and licenses
commons/Classifiers.rdfClassifiers and classification schemes
commons/CodesAndCodeSets.rdfCodes and code sets
commons/Collections.rdfCollections and constituents
commons/ContextualDesignators.rdfNames in context
commons/ContextualIdentifiers.rdfIdentifiers in context
commons/DatesAndTimes.rdfDates and times
commons/Designators.rdfNames, designations, descriptions
commons/Documents.rdfDocuments and records
commons/Identifiers.rdfIdentifiers and identification schemes
commons/Locations.rdfCountries, regions, geopolitical entities
commons/Organizations.rdfOrganization, FormalOrganization, LegalPerson, LegalEntity
commons/PartiesAndSituations.rdfParty, roles, situations
commons/QuantitiesAndUnits.rdfQuantities and units
commons/RegistrationAuthorities.rdfRegistries and registration authorities
commons/RegulatoryAgencies.rdfRegulators, jurisdictions
commons/RolesAndCompositions.rdfRoles and part-whole
commons/SitesAndFacilities.rdfSites and facilities
commons/TextDatatype.rdfText datatype