ontology-builder-assistant
БесплатноЗапускает вложенные скриптыНе проверенderive a minimal reusable ontology from purpose statements, competency questions, sample data, reusable vocabularies, supporting semantic evidence, and…
от jbarrasa★ 684 звезды на GitHubОб этом скилле
Ontology Builder Assistant
Overview
Derive a small reusable ontology that is purpose-led, evidence-backed, and aggressively scoped. Treat the use case description and competency questions as the semantic blueprint. Treat sample data as evidence for inclusion, not as the ontology boundary.
Required behavior
Follow this workflow in order.
1. Normalize the inputs
Extract and organize whatever is available into these buckets.
- purpose: intended users or consumers, use cases, scope boundaries, competency questions, assumptions, constraints
- representative data, structured or unstructrued. Typically structured data will be presented in the form of csv files or json/xml/yaml. Unstructured data will be presented as doucments in natural language. They can be of any nature (manuals, reports, contracts, etc.)
- existing ontologies, vocabularies, or ontology design patterns that can be reused fully or partially to avoid reinventing the wheel.
- supporting semantic evidence such as glossary terms, documentation, data catalog descriptions or SME notes
- implementation and validation constraints such as formalism, naming rules, reasoning profile, test expectations, and quality criteria
When a bucket is missing or thin, say so explicitly and describe how the gap affects the ontology design before proceeding with the available inputs and get confirmation from the user. Do not invent requirements to fill gaps.
2. Build the requirement gate
Create a candidate list of classes, properties, and controlled values from:
- explicit use cases
- explicit scope statements
- competency questions
- implementation constraints that force representational choices
Treat competency questions as the strongest filter. An ontology element is eligible only if it is required to answer at least one competency question or explicit requirement.
3. Build the evidence gate
Check each candidate against the representative data. Support can be direct or near-direct evidence from the samples, such as:
- repeated entities or record types
- repeated attributes or columns
- events, roles, states, measures, identifiers, dates, places, relationships, document structures, or lexical patterns
- examples in documents that an extraction model or mapping would need to capture
Generalize beyond literal sample mentions when doing so creates a reusable class or property, but only when the generalization is still supported by the data. Assume the provided sample is incomplete. For unstructured sources, expect similar documents; for structured sources, expect additional records.
4. Apply strict inclusion and exclusion rules
Include an ontology element only when both conditions hold:
- it is required by at least one explicit requirement or competency question
- it is supported by the sample data
Exclude everything else, even if it appears in a reused vocabulary, in domain background material, or seems generally useful. Do not expand the model for elegance, completeness, future possibilities, or encyclopedic coverage.
5. Choose a top-level grounding scheme
Create a small set of top-level mutually disjoint grounding classes that reduces cross-category confusion. Choose and adapt a domain-appropriate pattern such as (take them as guidance, not as enforced templates):
- person, object, location, event
- temporal_entity, spacetime_volume, dimension, place, persistent_item, time_span
- asset_artifact, data_information, governance, location, measurement, party, process_event, state_condition, time
- another similarly practical top-level scheme
Rules:
- keep the set small and useful
- declare the top-level classes mutually disjoint
- place each included class under exactly one grounding branch unless a different design is explicitly required
- explain why this grounding scheme fits the use case
6. Keep the taxonomy shallow and extraction-friendly
Apply these modeling constraints:
- maximum class depth is 3
- prefer properties over deeper subclass trees
- add a third level only when clearly necessary for the competency questions or mapping/extraction task
- use potential subclasses beyond level 3 to create few shot examples added to a (multivalued) property associated to the class. Use rdfs:comment or skos:example prefixing the value with "examle: " to make it clear that the value is an example and not a controlled value.
- keep names concrete and operational
- make the ontology reusable, but concrete enough for information extraction from unstructured text or mapping from structured data
7. Reuse external vocabularies carefully
Reuse classes or properties from existing ontologies only when reuse helps satisfy an included requirement. Do not import large fragments that violate the minimal-scope rule. Map reused terms into the final ontology narrative so the output remains understandable on its own. When reuse is partial, say what was reused and what was deliberately not reused.
8. Define classes and p
Установить ontology-builder-assistant в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ontology-builder-assistant?
derive a minimal reusable ontology from purpose statements, competency questions, sample data, reusable vocabularies, supporting semantic evidence, and implementation constraints. use when you're asked to draft an ontology for a specific use case. Especially useful for ontology bootstrapping, information extraction schemas, mapping-oriented semantic models, and defensible cq-to-model traceability with final serialization.
Как установить скилл ontology-builder-assistant?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ontology-builder-assistant запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic