Sub topic 1
How AI search systems choose what to cite
This chapter explains the working model of how AI search systems find, select, and cite web sources. It also covers the common mistakes that keep good pages from being cited. The rest of the tutorial builds on this model.
Prerequisites
This chapter assumes you can:
- Read and publish basic web pages, including simple HTML.
- Recognize that AI search tools and chat assistants can quote and link to web sources.
- Read simple tables, percentages, and medians.
You do not need to know how large language models are built. You only need the working model below.
What "citing" means here
An AI search system takes a question, gathers material from the web or from an index, and writes an answer. A citation is a link or a named reference that points to a source behind part of that answer. Different products show citations in different ways. Some place numbered links beside sentences. Others list sources below the answer. Some quote a passage directly.
Two outcomes matter for a publisher:
- Being retrieved. The system fetches your page or a piece of it as candidate material.
- Being cited. The system uses something from your page in the answer and shows the link.
A page can be retrieved and never cited. The rest of this chapter looks at why.
A working model of the pipeline
Each system works differently, and none publishes its full selection logic. The pattern below is common enough to reason with. Treat it as a model and not as a specification.
- Query rewriting. The system turns the question into one or more search queries. A single question can become several narrower ones.
- Retrieval. It fetches candidate pages from a search index, a live crawl, or both. Pages that cannot be fetched, rendered, or parsed drop out here.
- Passage extraction. It splits pages into chunks such as paragraphs, list items, table rows, or sections. Selection usually works on these chunks, not on whole pages.
- Ranking and selection. It scores chunks for relevance to the question and for signals of trust. It keeps a small number.
- Answer generation. A language model writes the answer using the kept chunks.
- Citation. The system links the sources behind the kept chunks.
Step 3 is the one publishers most often overlook. If the system works on chunks, then a chunk has to make sense without the rest of the page.
Why specific, attributable facts tend to win
Most of the evidence for this section is observational, not guaranteed. Still, the mechanism is easy to follow.
An answer needs content it can state with confidence. Compare two chunks:
- "Automation can save teams a lot of time."
- "In a 2026 survey of 412 team leads, the median time saved by workflow automation was 4.5 hours per week."
The first sentence is true of almost any page on the topic. Many pages say the same thing, so nothing sets yours apart, and a model can write it without any source. The second sentence has a number, a unit, a population, and a date. A model cannot invent that sentence reliably, so it needs a source for it. It can also check the sentence against the page, and it can quote it without changing its meaning.
Four properties make a chunk more useful as a citation:
| Property | What it means | Example |
|---|---|---|
| Specific | Contains a number, name, date, or defined term | "median of 4.5 hours" |
| Self-contained | Makes sense when read alone | Names the population and the year |
| Attributable | States who produced it and how | "Example Co survey, March 2026" |
| Verifiable | A reader can check it | Link to data or methodology |
Original data and expert quotes score well on these properties because they carry their own source. A generic statement has none of them.
What the system cannot see
Beginners often assume the system reads a page the way a person does. It does not. Several things work against you.
- Layout is lost. A number in a chart image has no text for the system to extract. A table cell that depends on a header three rows up may lose that header when chunked.
- Context is lost. "It rose 30% last year" loses its subject if the subject appears in a heading far above.
- Rendering may fail. Content that appears only after client-side JavaScript runs may not be present when a crawler fetches the page.
- Pronouns break. "They found that most of them agreed" has no meaning once it is separated from the sentence before it.
The practical rule is to write each important claim as if it will be read alone.
Common errors
These patterns often keep otherwise good pages from being cited.
Vague claims with no source
"Studies show that most companies are adopting AI" gives the system nothing to attribute. Name the study, the population, the year, and the number.
Statistics without a population or date
"73% of users prefer the new design" does not say which users, how many, or when. A system that quotes it alone passes along a misleading claim, and a careful system may skip it.
Facts only in images or PDFs
Put key numbers in the page text. Charts and screenshots can accompany them, but the sentence that states the number should be in HTML.
Copied statistics
If your page repeats a figure that comes from another site, the system has no reason to prefer your copy. It may cite the original instead, or neither. Reporting a figure is fine, but the original source should be named and linked.
Treating a citation as guaranteed
Strong, well-attributed content improves the odds. It does not guarantee a citation. Each system uses its own undisclosed logic, and that logic changes. Plan for improved chances, not for a fixed result.
Optimizing for one tool
Chasing a quirk of one assistant is fragile. Habits that make claims specific, self-contained, and verifiable help across systems, because they match how any retrieval-based system must work.
Seeing the difference in practice
The tutorial's first code example shows the habit this chapter recommends. It computes numbers from a survey file and prints a sentence that carries its own population and figures. Because it builds the sentence from the data, the claim cannot drift from the numbers.
import csv
import statistics
with open("survey.csv", newline="", encoding="utf-8") as f:
rows = list(csv.DictReader(f))
hours = [float(r["hours_saved_per_week"]) for r in rows if r["hours_saved_per_week"]]
n = len(hours)
median = statistics.median(hours)
share = sum(h >= 5 for h in hours) / n
print(
f"In our survey of {n} respondents, the median time saved was "
f"{median:.1f} hours per week, and {share:.0%} saved 5 hours or more."
)The code needs a survey.csv file with an hours_saved_per_week column. It skips empty cells, so n counts only respondents who gave an answer. That is why the sentence says "respondents" and uses n, not the total number of rows.
The printed sentence reads, for example, "In our survey of 412 respondents, the median time saved was 4.5 hours per week, and 38% saved 5 hours or more." Read that sentence alone. It still names the population, the measure, and the figures. A system that quotes only this sentence still gives a reader an accurate claim.
A quick self-check for any claim
Before publishing a claim you want cited, ask:
- Does it contain a specific number, name, or date?
- If I paste only this sentence into a different page, is it still true and clear?
- Does it say who or what it describes?
- Does a link or a named source let a reader check it?
- Is it text in the HTML and not only in an image?
If any answer is no, revise the claim before you worry about anything else on the page.
How this fits the rest of the tutorial
The remaining chapters take each property in turn. They cover writing self-contained claims, creating original data, disclosing methodology, presenting statistics, using expert quotes, attributing sources, structuring the page, adding schema.org markup, staying accurate, measuring citations, and keeping content current. The model in this chapter explains why each step matters: selection works on small chunks, and chunks that are specific, self-contained, attributable, and verifiable are easier to use.
Summary
- AI search systems usually rewrite the question, retrieve pages, extract passages, rank them, write an answer, and attach citations.
- Selection often works on passages, so each important claim should make sense alone.
- Specific, self-contained, attributable, and verifiable claims give a system something it can use and a reader something they can check.
- Common errors are vague claims, missing populations and dates, facts hidden in images, copied statistics, and expecting guaranteed results.
Exercise
Rewrite this sentence so it is more likely to be useful as a citation: "Many customers love our support team." State what information you would need to add, and name the four properties from this chapter that your rewrite should have.
Show answer
A better version needs real data, for example: "In a March 2026 email survey of 1,200 customers who contacted support in the previous 90 days, 87% rated their experience 4 or 5 out of 5." You need the number of respondents, the population (who was surveyed and when), the measure (the rating scale), the result, and a link to the methodology or data. The rewrite should be specific (it has a number and a scale), self-contained (it names the population and date), attributable (it says who ran the survey), and verifiable (a reader can check the method or data). If you do not have the data, you cannot make the claim specific, and you should not invent figures.
Exercise
A page states a key result only inside a bar chart image, with the caption "Results by team size". Why might an AI search system fail to cite it, and what two changes would help?
Show answer
The system works mostly on extracted text. The numbers in an image may not be readable to it, and the caption has no figures, so the extracted passage has nothing specific to quote. Two changes: first, state the key result in a sentence in the page text, including the number, unit, population, and date. Second, add a text or table version of the data, with clear column headers, next to the chart.
Exercise
Why is it a mistake to say "Add statistics and you will be cited by AI search"?
Show answer
Each AI search system selects sources by its own undisclosed and changing logic, so no tactic can guarantee a citation. Specific, attributable facts make a page more useful and can improve the odds, but retrieval, ranking, and answer writing also depend on factors you cannot see or control.