Sub topic 1
How AI search systems choose what to cite
Prerequisites
This chapter assumes you know how web pages are published, that AI search tools can link to web sources, and how to read percentages and medians. The code uses basic Python and the HTML examples use simple markup.
AI search systems first retrieve candidate pages, then extract statements from them to build an answer. Each system ranks sources with its own logic, and most of that logic is not public. Across systems, though, pages with specific, clearly stated facts are easier to quote and attribute than pages with vague claims. No method guarantees a citation.
Writing claims that survive extraction
An extracted sentence often arrives without the paragraph around it. A claim should therefore name its population, number, unit, and date in the same sentence.
- Weak: "Most teams save time with automation."
- Stronger: "In our 2026 survey of 412 team leads, the median time saved was 4 hours per week."
Creating original data worth citing
Original data gives an AI system something other pages do not offer. A small survey, a log analysis, or a benchmark you ran can serve. Publish the raw file so readers can check your figures. This script computes the summary sentence from a survey CSV.
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."
)Disclosing methodology so readers can trust the numbers
A number without a method invites doubt. State who responded, how you recruited them, when you collected the data, the sample size, and any exclusions. Place this note next to the figure, not in a footer.
Exercise
Exercise
Rewrite "Most readers prefer short pages" as a self-contained, citable claim.
Show answer
"In our 2026 reader survey of 300 adults, 62% said they prefer pages under 1,000 words." The claim now names the population, the number, the percentage, and the year, so it still makes sense when quoted alone.