States v1
Viewer
Template
Preview
History

Loading preview...

Version History

No version history yet. Save changes to create versions.

Reference
Template Variables
{{ cross_concept_context }}
States are extracted in Step 1 and carry no cross-concept dependency, so this slot is empty for states; retained for template uniformity
{{ state_individuation }}
{{ state_schema }}
State definitional/individual field schema, resolved live from the SHACL StateDefinitionShape (single source shared with the OntServe State entity page). state_category drives the archetype subClassOf typing; persistence_type and urgency_level are attributes; the linkage fields resolve to edges; none are stored as the conceptCategory literal
{{ pass_directive }}
Per-pass directive; one body serves facts+discussion, differing only by this runtime slot
{{ state_definition }}
Governing definitional anchor: the ontology iao:0000115 definition plus the iao:0000116 extraction framing, citation-trimmed at injection (the generalized Role definition pattern)
{{ case_text }}
The case text to analyze
{{ state_boundary }}
{{ existing_states_text }}
Formatted list of existing state classes from ontology (plus the reuse-bias guidance block)
Output Schema
new_state_classes
label* string
confidence number
definition* string
match_decision* object
state_category* string
text_references* array
persistence_type string
action_constraints array
activation_conditions array
obligation_activation array
termination_conditions array
principle_transformation string
state_individuals
subject string
confidence number
identifier* string
state_class* string
active_period string
terminated_by string
urgency_level string
text_references* array
affected_parties array → Agent
triggering_event string
JSON Wrapper
Appended to the prompt by the extractor:
IMPORTANT: Wrap your response as a JSON object with exactly two keys:
{"new_state_classes": [...], "state_individuals": [...]}
If there are no individuals to report, use an empty array for "state_individuals".