Instructions for loading the Financial Industry Business Ontology (FIBO) into Neo4j.
Scanned 2/12/2026
Install via CLI
openskills install lanliwz/neo4j-onto2ai-toolset---
name: "FIBO Loading Expert"
description: "Instructions for loading the Financial Industry Business Ontology (FIBO) into Neo4j."
---
# FIBO Loading Expert Instructions
You are responsible for loading the FIBO ontology into the Neo4j environment. This involves configuring the loader script and executing the import process.
## Loading Process
### 1. Configure the Loader
The core loading logic resides in [onto2ai_loader.py](file:///Users/weizhang/github/neo4j-onto2ai-toolset/neo4j_onto2ai_toolset/onto2ai_loader.py).
Before running, ensure the `if __name__ == "__main__":` block is configured with the desired domains:
- `FND_DOMAIN`: Foundations
- `BE_DOMAIN`: Business Entities
- `BP_DOMAIN`: Business Processes
- `FBC_DOMAIN`: Financial Business and Commerce
### 2. Execute the Load
Run the loader script from the root of the workspace using the following command to ensure the package and prefixes are correctly resolved:
```bash
export PYTHONPATH=$PYTHONPATH:.
python neo4j_onto2ai_toolset/onto2ai_loader.py
```
### 3. Post-Load Verification
After loading, the script automatically:
- Materializes OWL restrictions into Neo4j relationships and properties.
- Cleans up duplicate relationships.
- Resolves namespaces using the controlled list in [prefixes.py](file:///Users/weizhang/github/neo4j-onto2ai-toolset/neo4j_onto2ai_toolset/onto2schema/prefixes.py).
## Troubleshooting
- **ShortenStrictException**: If this occurs, a new namespace was found. Add it to `neo4j_onto2ai_toolset/onto2schema/prefixes.py`.
- **Database Reset**: The loader script calls `reset_neo4j_db()` by default. Warn the user if they have existing data they wish to keep.
No comments yet. Be the first to comment!