Set when the cursor is on a prefix declaration (Turtle/SPARQL/TriG) or a
JSON-LD @context term. Carries the resolved namespace so hover and
goto-definition can describe / navigate to it instead of an unrelated triple.
Detect whether the cursor sits on a prefix declaration / JSON-LD @context
term and, if so, insert a PrefixComponent and drop the (necessarily
wrong) TripleComponent. Shared by the Hover and GotoDefinition schedules.
Goto-definition system: jump a real namespace prefix to its ontology
document (the LOV-resolved file, or the namespace IRI itself). Term aliases
(is_namespace() == false) are left to language-specific resolvers.
Hover system: when the cursor sits on an IRI that the user has explicitly
allow-listed via allowed_properties, explain that the property is not
part of the ontology and is only accepted because the user excluded it from
validation — including how to undo that.
ECS system (CodeActionLabel): offer a quick-fix that allow-lists an unknown
property IRI. The action carries a Command so the editor round-trips back
through workspace/executeCommand, letting the server persist the choice to
the global config and clear the warning at runtime.