GUMSEK

How an AI answer gets built, and where a law firm fits

On the surface, AI answers seem pretty simple, ask a question and read the reply. Underneath, the system splits the question into several searches, pulls sentences from the pages that come back, and writes the answer back to the user. In the end most of the material is getting thrown away at each step anyway, so your focus clearly is on what survives. This page is split into the four steps so you can see which parts of your own page are doing the most work.

Tell me your need

Nobody can see the pipeline from outside Google, so we're all working from evidence. I will give you the sources for each step rather than give you the description on trust.

The man who worked out the sequence below, Dan Petrovic, runs an agency called Dejan. Let me assure you that his findings actually come from experiments rather than speculation. So he reads the grounding data, which is the text that is assembled and handed to the model writing the answer. If you read the grounding data for a query, you'll see that it only holds text that survived the earlier steps1.

In his write-up, he describes four steps:

  1. Your question, broken into several single-intent sub-questions.
  2. Each sub-question searched, returning roughly five to twenty ranked sources.
  3. Each source cut into sentences, with every sentence scored against the question.
  4. The highest-scoring sentences assembled into snippets, the only part that reaches the model.
The one fact that drives everything else

The model never sees your page, but in the end it sees, at best, a handful of your sentences lifted out of it.

Step one: your one question becomes several

Google themselves call this query fan-out and describe it as "issuing multiple related searches across subtopics and data sources"2. Google's documentation does say this plainly.

How many sub-questions does it take to answer one question? One of AirOps's studies found that ChatGPT generated two or more follow-up searches on 89.6% of 15,000 prompts when they're run through it. In their larger run AirOps most commonly saw exactly two sub-queries (88.6% of queries), and some complicated comparisons can get to four or more (2.5%)34.

For example, somebody could search for this and find some answer full of advice that's stitched together from a handful of pages:

"should I get a lawyer after a car accident"

The phrase is pretty light on details, but it appears the system is attempting to answer the questions behind it: how long do I have to file, what will a lawyer cost, do I have to talk to the insurance adjuster, what is my claim worth, what happens if I was partly at fault. A page is judged by how it answers each of those sub-questions.

Now here's where law firm keyword research gets interesting.

95% Of those sub-queries have no monthly search volume in conventional keyword tools3.

They are real questions and nearly every one of them shows zero searches in a keyword tool. Maybe your "car accident lawyer Houston" page can just target that phrase and carry a contact form, and nothing else. And it answers none of the questions that the system asked.

Fan-out is essentially probabilistic and personalised, so expect ten different sets from ten runs instead of one fixed list. You can collate them from many runs and simply answer the recurring ones directly on your website9.

Step two: retrieval, where your ranking decides if you are considered

Each sub-question has a set of ranked results to draw on, coming from a search run in the background. Making that candidate list comes down to ranking, and only a small fraction of pages make it. seoClarity's analysis of 362,000 AI Overview searches showed that 94% of the answers cited at least one page from the normal top 205.

The difference between position 1 and position 20 is huge5:

  • Position 1, cited 43% of the time
  • Position 3, 31%
  • Position 20, 7%

Same thing goes for ChatGPT, measured against Google's rankings. The AirOps report showed that 55.8% of the pages ChatGPT cited ranked in Google's top 20 for at least one of the queries involved3. In both AI Overviews and ChatGPT, the page in position one is the most cited, drawing a citation 43% and 43.2% of the time respectively53.

The part that favours a smaller firm

Each sub-question's list is ranked separately from the others. The standard way to merge the lists is to use a reciprocal rank fusion formula that adds up one divided by a page's position in each list.

So a page that sits in middling positions across many lists instead of first in a single list will end up with the higher score.

6th × 30 Middling pages (around sixth across thirty related queries) tend to score roughly ten times more than first place on three (on Metehan Yesilyurt's arithmetic)6.

Treat that multiple just like an illustration of the arithmetic. It obviously depends on the constant used in the formula, but from his working nothing about the direction sounds wrong.

The decision this settles

Broad, decent coverage of a practice area certainly beats one brilliantly optimised page.

If you have the choice between a main injury page that wants polishing again and eight questions around it that want building out, take the eight questions.

Step three: being retrieved is not being cited

85% Of the 548,534 pages ChatGPT retrieved while answering were never cited. Only 15% earned a citation3.

Position inside the retrieval set matters nearly as much as position in Google. ChatGPT also cites the top retrieved result 58% of the time and the tenth one 14%4.

That is not a comfortable finding. I assume your page gets found through ordinary search, but the system could read it in full and drop it before the answer, and no one would know. Neither the act of finding, reading or dropping that page is recorded in Google Analytics or Search Console.

The typical "AI visibility dashboard" is glossing over this step. If you want to see more of this, then you can check out the measuring page, which covers that in more detail.

Step four: grounding, and the 540 words that get used

The last step is a new idea to most people, and one that probably calls for a change in how you write. Petrovic used 7,060 queries and 883,262 grounding snippets when trying to figure out how much text actually goes into an answer.

The budget is roughly 2,000 words per question, divided by rank (and shared across every source that made it this far)7.

Your rank among the sourcesMedian words taken from your pageShare of the budget
153128%
243323%
337820%
433017%
526613%

The top source typically gets 531 words, and the fifth gets about half that. Unfortunately, grounding is a zero-sum game7.

Here is the same data from the side of the page:

Length of your pageWords usedShare of your page used
Under 1,000 words37061%
1,000 to 2,00049235%
2,000 to 3,00053222%
Over 3,00054413%

Specifically, the middle column is how many words get used, which is the whole argument against long pages.

492 → 544 The words actually used, going from a 1,000-word page to a 3,000-word one. You just tripled the writing bill for a 10% gain7.

Where on the page the words come from

Google finds most of the grounding at the top of the page. In Petrovic's examples it ended up skipping all the unrelated sections and kept the opening paragraphs almost whole1.

A separate analysis of 42,971 citations matched to their source pages showed that the median cited sentence sat 31.2% of the way down in the page. Three quarters of the cited sentences were in the page's first half8.

The extraction works by looking for your best-scoring sentences and lifts them as written1.

While a sentence that leans on the one before will work just fine in context on the page, the same sentence lifted into an answer usually doesn't work on its own.

Useless alone: "This deadline is shorter."

Survives the trip: "Claims against an Ohio city or county must be filed within two years, and some notice requirements run in months rather than years."

What gets thrown away, and what survives

Here is the gist of what Petrovic's annotated grounding package shows1.

Thrown away: navigation, headers and footers, time-limited promotional lines, legal boilerplate, and most long customer review text.

Kept: the core service statement, specific process and how-to detail, pricing and specifications, and concrete facts.

What that means for a law firm page

Your awards row, your "serving clients since 1994" strip and your testimonial carousel are not nearly as valuable to the system.

Your quoted text will be determined by your explanation of how a claim proceeds, your fee structure with the arithmetic and your deadlines with the statute numbers. Nowadays most legal sites are the other way around.

What Google confirms, and what is inference

People confuse what Google has confirmed (which is a short list, I admit) with third-party findings such as the ones above.

Confirmed by Google: query fan-out, and that a page must be indexed and eligible to show a snippet to be used in AI features2.

Everything else above: the grounding budget, the rank-weighted shares, the sentence-level scoring, the retrieval discard rate. All of these come from (entirely independent) reverse-engineering and third-party measurement. Cyrus Shepard's review scores 55 such studies against each other, which is useful, but it doesn't count as documentation10.

Anybody who tells you Google confirmed any step beyond fan-out is someone who doesn't read Google's documentation.

What I would do with a practice area page

This is likely an afternoon per page, rather than a project.

  1. Collect the real fan-out questions. Try typing your main question into Google's AI Mode and into ChatGPT and see which sub-questions the answers and their cited sources cover. Fan-out is just too dynamic to try and hope to grab every sub-question at one time9. The useful ones are the ones that recur over three or four runs.
  2. Check Bing Webmaster Tools. Bing Webmaster Tools gives you the grounding queries behind citations of your pages, which gives you real fan-out data to work from instead of the guesses you would otherwise make. It is the only free source that I can possibly point you to for real fan-out queries9.
  3. Put the direct answer in the first two sentences. So many firms put the firm history and the call to action in the first paragraph so the page is an automatic miss. Most openings are extracted close to wholesale1, so give them a bit of substance for the extraction to take.
  4. Turn each recurring sub-question into a heading, with its answer directly underneath. The heading is central to the match with the question.
  5. Rewrite every claim so it stands alone. To test each sentence on the page, quote it on its own. If it doesn't stand alone, try folding it into the sentence before.
  6. Put the quotable facts in. Statute number, deadline, filing fee, the court, the fee percentage and what comes out of it1.
  7. Cut back to about 1,500 words. Move the rest to one-question pages and link those up with each other. That spread of pages is useful later during the merge scoring6.
  8. Leave the trust material on the page for humans. The awards and testimonials may not be grounding fuel, but they are regularly what convinces the person reading. I just put them back below the answer for the people who scroll.

In my experience, the best arguments for content arise when working through the first item on this list. Once attorneys see their own clients' questions and a website answering two of nine, the content argument is over.

There is a page on the sentence-level craft: writing pages AI cites. Much of how the engines diverge is on the ChatGPT and Perplexity page.

References

  1. Dan Petrovic, Dejan, Selection rate optimisation and grounding snippets The grounding pipeline, extraction behaviour, lead bias, primary bias
  2. Google Search Central, AI features and your website (updated 2025-12-10) No special optimisation or files; snippet eligibility; query fan-out; Search Console reporting
  3. AirOps, The influence of retrieval, fan-out and Google SERPs on ChatGPT citations 548,534 retrieved pages: 15% cited, fan-out volume, title overlap, Google rank effect
  4. AirOps with Kevin Indig, The fan-out effect: what happens between a query and a citation 16,851 queries, 353,799 pages: retrieval position, heading match, coverage, DA correlation
  5. seoClarity, The overlap between AI Overviews and organic rankings 362,000 queries: 94% cite a top-20 page; citation rate by position
  6. Metehan Yesilyurt, Is RRF the secret to dominating AI citations? Decoding ChatGPT’s ranking formula Reciprocal rank fusion maths: consistency across queries versus a single top position
  7. Dan Petrovic, Dejan, How big are Google’s grounding chunks? 7,060 queries, 883,262 snippets: the 2,000-word budget and per-page coverage
  8. Reverse-engineering AI Mode citations, How Google picks which sentences to cite in AI Mode: 42,971 citations Position of cited sentences, structured element share, text fragment analysis
  9. Cyrus Shepard, Zyppy, Fan-out framework: 5 steps to optimise for fan-out queries (2026-09-10) Method for collecting fan-out queries and measuring the result
  10. Cyrus Shepard, Zyppy, AI citation ranking factors: evidence from 54 experiments, patents and case studies (2026-09-11) 23 scored factors and the underlying source collection