Q32, run 2026-11-06-0519-sonnet-query
How many distinct works are within two citation hops of W01 (citing it, or citing a work that cites it)?
Tests: Two hops, counted once each.
Expected: count = 17
sql run 1
20.
JSON: {"count": 20}
Why: count: expected 17, got 20
sql run 2
20 distinct works are within two hops of W01: 8 citing it directly and 14 at the second hop, with W844 and W895 in both.
JSON: {"count": 20}
Why: count: expected 17, got 20
sql run 3
20.
JSON: {"count": 20}
Why: count: expected 17, got 20
sql run 4
20.
JSON: {"count": 20}
Why: count: expected 17, got 20
sql run 5
20.
JSON: {"count": 20}
Why: count: expected 17, got 20
sql+markdown run 1
17. This is the 7 direct citers plus the second-hop citers, counted once and excluding W01.
JSON: {"count": 17}
sql+markdown run 2
17.
JSON: {"count": 17}
sql+markdown run 3
5.
JSON: {"count": 5}
Why: count: expected 17, got 5
sql+markdown run 4
17.
JSON: {"count": 17}
sql+markdown run 5
17.
JSON: {"count": 17}
sql+executed run 1
17.
JSON: {"count": 17}
sql+executed run 2
17.
JSON: {"count": 17}
sql+executed run 3
17.
JSON: {"count": 17}
sql+executed run 4
17.
JSON: {"count": 17}
sql+executed run 5
17 distinct works.
JSON: {"count": 17}
sparql run 1
20. That is 8 works citing W01 directly plus 14 at two hops, with W895 and W844 in both.
JSON: {"count": 20}
Why: count: expected 17, got 20
sparql run 2
20 (8 citing W01 directly and 12 additional at two hops).
JSON: {"count": 20}
Why: count: expected 17, got 20
sparql run 3
20. There are 8 direct citers and 14 at hop two, with W895 and W844 in both.
JSON: {"count": 20}
Why: count: expected 17, got 20
sparql run 4
20. These are the 8 direct citers plus 12 additional works at the second hop.
JSON: {"count": 20}
Why: count: expected 17, got 20
sparql run 5
(no answer found)
JSON: {"count": null}
Why: count: expected 17, got None
sparql+ontology run 1
17: 7 valid direct citers plus 11 second-hop works, with W895 in both groups.
JSON: {"count": 17}
sparql+ontology run 2
15. That is the 8 direct citers of W01 plus 7 new second-hop citers.
JSON: {"count": 15}
Why: count: expected 17, got 15
sparql+ontology run 3
17. That is 7 direct citers plus 10 further works, W895 being in both groups.
JSON: {"count": 17}
sparql+ontology run 4
17. That is 7 works citing W01 directly and 10 further works at two hops.
JSON: {"count": 17}
sparql+ontology run 5
17. There are 7 at hop 1 and 11 at hop 2, and W895 is in both.
JSON: {"count": 17}