@prefix : <https://clearhead.us/vocab/workspace/v1#> .
@prefix actions: <https://clearhead.us/vocab/actions/v4#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://clearhead.us/vocab/workspace/v1> a owl:Ontology ;
    rdfs:label "Clearhead Workspace Vocabulary"@en ;
    dc:created "2026-05-30"^^xsd:date ;
    dc:creator "Darrion Burgess" ;
    dc:title "Clearhead Workspace Vocabulary" ;
    rdfs:comment """Application-level vocabulary for clearhead workspace snapshots.

Imports and extends the actions: vocabulary with predicates describing filesystem-layer
facts about actions in a specific workspace: their source file and line number. These are
workspace-snapshot properties, not ontological properties of the action itself.

These triples are stored in the working graph at load time by load_domain_model in
clearhead-core, valid for the current workspace snapshot. They enable SPARQL queries
to return file+line for editor integration (qflist, jump-to-source)."""@en ;
    owl:imports <https://clearhead.us/vocab/actions/v4> ;
    owl:versionIRI <https://clearhead.us/vocab/workspace/v1/1.0.0> ;
    owl:versionInfo "1.0.0" .

:hasSourceFile a owl:DatatypeProperty ;
    rdfs:label "hasSourceFile"@en ;
    rdfs:comment "Relative path from the workspace root to the .actions file containing this action."@en ;
    rdfs:domain actions:Action ;
    rdfs:range xsd:string .

:hasSourceLine a owl:DatatypeProperty ;
    rdfs:label "hasSourceLine"@en ;
    rdfs:comment "1-based line number of this action within its source file."@en ;
    rdfs:domain actions:Action ;
    rdfs:range xsd:integer .

