Sub topic 3
How Sources Get Retrieved and Cited
This chapter assumes you know basic HTML, how search engines crawl and index pages, and that AI assistants may use web search to answer questions. You should also be comfortable reading simple JSON.
The retrieval-and-citation pipeline
When someone asks, “What is the best project tool for a five-person team?”, an AI assistant usually has to perform several separate tasks:
- Interpret the query and identify its intent.
- Retrieve potentially useful pages from a search index or another source system.
- Select passages that support the answer.
- Combine information from selected sources.
- Attach citations to claims, when the product supports citations.
The exact process differs between assistants. Some systems search the live web. Others use a stored index, publisher feeds, product databases, or a mixture of sources. A page ranking well in ordinary search does not guarantee that an AI system will retrieve or cite it.
A useful working model is:
user query
↓
query interpretation
↓
candidate pages and passages
↓
relevance, quality, and access checks
↓
answer claims
↓
citations linked to supporting sourcesWhat makes a source useful
Retrieval systems look for content that matches both the subject and the question. A page about “project management software” may be relevant to a broad query, but it may not answer “best tool for a five-person remote design team.”
Make the page easy to match by stating:
- Which products or versions you compare.
- Who the comparison is for.
- Which criteria you use.
- When the information was checked.
- What evidence supports each important claim.
A source can also be useful because it provides a specific fact. For example, a vendor’s documentation may support an integration claim, while an independent review may support a usability observation. The strongest answer may cite several source types rather than treating one page as authoritative for every statement.
| Claim | Suitable supporting source | Why |
|---|---|---|
| A feature exists | Current product documentation | The provider describes the feature |
| A plan costs a stated amount | Current pricing page | Prices can change and need a first-party source |
| A tool is easier for a team to learn | Reproducible test or independent review | This is an evaluative claim |
Citation quality and claim boundaries
A citation should support the claim immediately before it. Do not place one link after a paragraph containing five unrelated assertions. Break the paragraph into smaller claims and cite each claim where necessary.
Distinguish facts from judgments:
- Fact: “The free plan allows ten users.”
- Method result: “In our test, a new user created a board in three minutes.”
- Judgment: “This makes the tool a good fit for small teams.”
The first claim needs a current source. The second needs a stated test method. The third should follow from the first two and should be labeled as an assessment rather than presented as an objective fact.
A visible source list can help both readers and parsers understand the page:
<section aria-labelledby="sources">
<h2 id="sources">Sources</h2>
<ol>
<li>
<a href="https://example.com/tool-a/pricing">
Tool A pricing
</a>
<span>Checked 2026-11-29.</span>
</li>
</ol>
</section>Retrieval is not the same as citation
A system may retrieve a page without citing it. It may use the page to understand a topic, then cite another source that more directly supports the final wording. Conversely, a page may be cited for one narrow fact even though the assistant did not use the whole article.
Measure these stages separately:
- Was the page crawlable and indexed?
- Was it retrieved for relevant queries?
- Was it cited in an answer?
- Did the citation generate a visit?
These measurements require different data sources, such as crawler logs, search or assistant reporting, citation monitoring, and referral analytics. Avoid treating traffic alone as proof that a page influenced an answer.
Exercise
A comparison page claims that Tool A is cheaper, easier to learn, and better for remote teams, but it links only to Tool A's homepage. What should you change first?
Show answer
Split the claims, identify suitable evidence for each one, and place a citation next to every factual or test-based claim. State the method behind the evaluative claims.