<https://docs.linkeddatahub.com/user-guide/use-the-assistant/>
        a       <https://w3id.org/atomgraph/linkeddatahub/document-hierarchy#Item>;
        <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1>
                <https://docs.linkeddatahub.com/user-guide/use-the-assistant/#content>;
        <http://purl.org/dc/terms/created>
                "2026-10-16T23:55:29.261Z"^^<http://www.w3.org/2001/XMLSchema#dateTime>;
        <http://purl.org/dc/terms/creator>
                <https://admin.linkeddatahub.com/acl/agents/5ba81960-d511-4a3b-8b9a-cb5bb278dd95/#this>;
        <http://purl.org/dc/terms/description>
                "Ask about the data in words, check the plan the assistant proposes, and run it";
        <http://purl.org/dc/terms/modified>
                "2026-10-17T19:59:34.538Z"^^<http://www.w3.org/2001/XMLSchema#dateTime>;
        <http://purl.org/dc/terms/title>
                "Use the assistant";
        <http://rdfs.org/sioc/ns#has_container>
                <https://docs.linkeddatahub.com/user-guide/>;
        <http://www.w3.org/ns/auth/acl#owner>
                <https://admin.linkeddatahub.com/acl/agents/5ba81960-d511-4a3b-8b9a-cb5bb278dd95/#this> .

<https://docs.linkeddatahub.com/user-guide/use-the-assistant/#content>
        a       <https://w3id.org/atomgraph/linkeddatahub#XHTML>;
        <http://www.w3.org/1999/02/22-rdf-syntax-ns#value>
                "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n    <p class=\"ldh-body-lg\">Ask about the data in words, check the plan the assistant proposes, and run it</p>\n    <div class=\"ac-alert va-informative\" role=\"status\">\n        <span class=\"ac-alert-ic\"><span aria-hidden=\"true\" class=\"msi outline\">info</span></span>\n        <div class=\"ac-alert-body\">\n            <p class=\"ac-alert-text\">The assistant is optional and off by default. It is available on instances that enable the <samp>web-algebra</samp> service and give it a model key — see the <a href=\"../../reference/assistant/#setup\">setup instructions</a>.</p>\n        </div>\n    </div>\n    <p>The assistant turns a question or an instruction into a <a href=\"https://github.com/AtomGraph/Web-Algebra\" target=\"_blank\">Web-Algebra</a> plan: the queries\n        and writes that answer it, in the order they run. You see the plan before anything runs, and the plan runs as you, so it can read and change only\n        what you can.</p>\n    <div>\n        <h2 id=\"open-assistant\">Open the assistant</h2>\n        <p>Sign in with your WebID certificate and open a document you have append access to. Click\n            <span class=\"ac-btn in-neutral ap-outline sz-md\">Assistant</span> in the <a href=\"../../reference/user-interface/#creation-bar\">creation bar</a>.\n            A conversation block opens above the bar, with a field to type into. Each click opens another conversation, and a conversation you have not asked\n            anything in is closed with its <span aria-hidden=\"true\" class=\"msi\">close</span> button or with <kbd>Escape</kbd>.</p>\n    </div>\n    <div>\n        <h2 id=\"ask\">Ask a question</h2>\n        <p>Type a question about the data, or say what to change, and press <kbd>Enter</kbd> (<kbd>Shift</kbd>+<kbd>Enter</kbd> starts a new line). For example,\n            on the <a href=\"https://northwind-traders.demo.linkeddatahub.com/\" target=\"_blank\">Northwind Traders</a> dashboard:</p>\n        <blockquote><p>Which five customers ordered the most in 1997?</p></blockquote>\n        <p>The assistant knows which document you are on, its dataspace's SPARQL endpoint and the dataspace's ontology, so a question can say \"this\n            order\" or \"these products\". It also knows the last few questions in the same conversation and what they returned, so a follow-up such as\n            \"chart them by country\" refers to the earlier rows.</p>\n        <p>The first question saves the conversation in the document as a block. A conversation where nothing was asked leaves nothing behind.</p>\n    </div>\n    <div>\n        <h2 id=\"run-plan\">Check and run the plan</h2>\n        <div class=\"screenshot-placeholder\">\n            <span aria-hidden=\"true\" class=\"msi\">image</span>\n            <p>Screenshot: a plan card in the assistant, with its summary, its operations and the Execute button</p>\n        </div>\n        <p>The answer comes back as a card holding the plan: a sentence saying what it does, and its operations as rows, each marked as reading,\n            writing, or able to remove content. Each row folds out the plan's XML, so you can read exactly what will run.</p>\n        <p>Click <span class=\"ac-btn in-primary ap-solid sz-md\">Execute</span> to run the plan. The rows report as each operation runs, and when the plan\n            is done the card shows what it returned (as a table, a chart or a map, when the plan says which suits the result) and links to the documents\n            it changed. A sentence summing up the result appears at the top of the card, and the rows fold under it.</p>\n        <div class=\"screenshot-placeholder\">\n            <span aria-hidden=\"true\" class=\"msi\">image</span>\n            <p>Screenshot: an answered card, with the answer summing up the result, the result as a table and the steps folded under their count</p>\n        </div>\n        <p>Two options above the question field change when plans run:</p>\n        <dl>\n            <dt>Execute by default</dt>\n            <dd>On by default. A plan that only reads runs as soon as it arrives. A plan that writes always waits for you to click Execute, whatever this\n                option says, because a write cannot be undone from the card.</dd>\n            <dt>Retry on empty result</dt>\n            <dd>Off by default. When a plan returns nothing or fails, the assistant asks again by itself, telling the plan service what did not work, up to\n                three times. Every attempt is its own card, and turning the option off stops it.</dd>\n        </dl>\n    </div>\n    <div>\n        <h2 id=\"no-results\">When a plan returns nothing</h2>\n        <p>A query that matches nothing usually means the plan guessed a class or a property wrong. The card offers two ways on:</p>\n        <ul>\n            <li><span class=\"ac-btn in-primary ap-solid sz-md\">Revise</span> asks the same question again, telling the plan service that this plan returned\n                nothing, so it does not propose it again.</li>\n            <li><span class=\"ac-btn in-neutral ap-outline sz-md\">Retry</span> runs the same plan once more, which helps when the failure was temporary.</li>\n        </ul>\n        <p>Rephrasing the question with the names the data uses (the class and property labels shown in the document) also helps.</p>\n    </div>\n    <div>\n        <h2 id=\"come-back\">Come back to a conversation</h2>\n        <p>Every question is saved when its answer has landed, with the plan, what running it reported (the first hundred rows or resources of the result)\n            and how it went. When you open the document again, the conversation is there as you left it, and you can keep asking. Readers who are not\n            signed in, or who do not have append access, see the conversation without a question field.</p>\n        <p>A conversation is a block like any other: it is deleted the way any block is, and it can be placed in another document as an object block,\n            where it continues in the document it is stored in.</p>\n    </div>\n    <p class=\"ldh-body-lg\"><a href=\"../../reference/assistant/\">Read more about how the assistant works and how to set it up.</a></p>\n</div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
