Capabilities v1
Viewer
Template
Preview
History

Loading preview...

Version History

No version history yet. Save changes to create versions.

Reference
Template Variables
{{ capability_definition }}
Governing definitional anchor: the ontology iao:0000115 definition plus the iao:0000116 extraction framing, citation-trimmed at injection (the generalized Role definition pattern)
{{ existing_capabilities_text }}
Formatted list of existing capability classes from ontology (plus the reuse-bias guidance block)
{{ cross_concept_context }}
Obligations and roles already extracted in this case, injected so possessed_by and required_for_obligations ground in named entities (O->Ca dependency)
{{ pass_directive }}
Per-pass directive; one body serves facts+discussion, differing only by this runtime slot
{{ capability_schema }}
Capability definitional/individual field schema, resolved live from the SHACL CapabilityDefinitionShape + CapabilityPropertyShape split (single source shared with the OntServe Capability entity page). the capability class label carries the kind; the match decision resolves it (no capability_kind field) (type-level); possessed_by and required_for_obligations are per-case individual fields (PropertyShape) resolving to the possessedBy and requiresCapability edges; the Tolmeijer requirement is a class-level annotation
{{ case_text }}
The case text to analyze
{{ capability_individuation }}
{{ capability_boundary }}
Output Schema
capability_individuals
confidence number
identifier* string
case_context string
possessed_by string → Agent
text_references* array
capability_class* string
required_for_obligations array → Obligation
new_capability_classes
label* string
confidence number
definition* string
match_decision* object
text_references* array
JSON Wrapper
Appended to the prompt by the extractor:
IMPORTANT: Wrap your response as a JSON object with exactly two keys:
{"new_capability_classes": [...], "capability_individuals": [...]}
If there are no individuals to report, use an empty array for "capability_individuals".

REQUIRED FIELDS on every class: label (a tool/actor-neutral competence kind), definition, confidence (float 0-1), match_decision, text_references
REQUIRED FIELDS on every individual: identifier, capability_class, possessed_by, required_for_obligations (extracted obligation labels of THIS case that presuppose the capability; empty list when none), confidence (float 0-1), text_references
Every new class MUST include a match_decision object. Extract only a competence the agent POSSESSES or exercises; drop a lacked competence.