@prefix convo: <https://ontology.inferal.com/modules/conversation/> .
@prefix ex: <https://example.com/conversation/query/agent/> .
@prefix prov: <http://www.w3.org/ns/prov#> .

ex:assistant a prov:SoftwareAgent . ex:model a convo:Model . ex:tool a convo:Tool .
ex:request a convo:Message ; convo:hasContributionRole convo:UserRole .
ex:call a convo:ToolCall ; convo:hasContributionRole convo:AssistantRole ;
    prov:wasGeneratedBy ex:model-invocation .
ex:model-invocation a convo:ModelInvocation ; convo:usedModel ex:model ;
    prov:wasAssociatedWith ex:assistant ; prov:used ex:request ; prov:generated ex:call .
ex:result a convo:ToolResult ; convo:hasContributionRole convo:ToolRole ;
    prov:wasGeneratedBy ex:tool-invocation .
ex:tool-invocation a convo:ToolInvocation ; convo:invokedTool ex:tool ;
    prov:wasAssociatedWith ex:tool ; prov:used ex:call ; prov:generated ex:result .
