Resources v1
Viewer
Template
Preview
History

Loading preview...

Version History

No version history yet. Save changes to create versions.

Reference
Template Variables
{{ resource_boundary }}
{{ resource_schema }}
Resource definitional/individual field schema, resolved live from the SHACL ResourceDefinitionShape (single source shared with the OntServe Resource entity page). resource_category drives the five-kind subClassOf typing; document_title and topic are literals; used_by and cited_by resolve to the availableTo and citedByAgent edges
{{ pass_directive }}
Per-pass directive; one body serves facts+discussion, differing only by this runtime slot (used_by is the Facts signal, cited_by the Discussion signal)
{{ resource_individuation }}
{{ resource_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
{{ existing_resources_text }}
Formatted list of existing resource classes from ontology (plus the reuse-bias guidance block)
Output Schema
new_resource_classes
label* string
confidence number
definition* string
match_decision* object
text_references* array
resource_category* string
resource_individuals
topic string
used_by string → Agent
cited_by string → Agent
confidence number
identifier* string
document_title string
resource_class* string
provision_codes array
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_resource_classes": [...], "resource_individuals": [...]}
If there are no individuals to report, use an empty array for "resource_individuals".