OntoScope is a web-based system prototype that implements a conceptual interaction model for LLM-based ontology scoping with competency questions (CQs), accessible at ontoscope.digital. It supports ontology engineers in progressively defining a well-scoped ontology by organising LLM-generated CQ candidates spatially along two dimensions: subdomains (horizontal) and term granularity (vertical), enabling both divergent thinking (exploring and generating new CQ candidates) and convergent thinking (refining and eliminating existing ones).
OntoScope_Preview.mp4
- Node.js 20.x or higher
- npm (comes with Node.js)
- An OpenAI API key
-
Clone the repository
git clone https://github.com/King-s-Knowledge-Graph-Lab/OntoScope.git cd ontoscope -
Install dependencies
npm install
-
Start the application
npm run dev
-
Access the application
Open your browser and navigate to
http://localhost:5000 -
Enter your OpenAI API key
When prompted, enter your OpenAI API key to enable AI-powered CQ generation.
- Enter a target domain (e.g., "University Administration", "Healthcare Informatics")
- Click "Generate Space" to initialize the CQ space with AI-generated subdomains and granularity levels
- Click on any intersection to explore and add competency questions
- Use the visualization to identify gaps, delete redundant CQs, and refine terminology
- Export your finalized CQ space as JSON for use in ontology development tools