Q36, run 2026-11-05-1819-sonnet-query-graphdb
How many entities are in the Northwind group, the parent included?
Tests: Groups and identity: two records of the parent are one entity.
Expected: count = 2
sparql run 1
2. E03 is a duplicate record of E02 and is not in the group.
JSON: {"count": 2}
sparql run 2
2 (E02 and E04). E03 duplicates E02.
JSON: {"count": 2}
sparql run 3
2: E02 and E04.
JSON: {"count": 2}
sparql run 4
2 (E02, E04).
JSON: {"count": 2}
sparql run 5
2: E02 and E04. E03 duplicates E02 by LEI.
JSON: {"count": 2}
sparql+ontology run 1
2 (E02, E04). E03 is the same entity as E02.
JSON: {"count": 2}
sparql+ontology run 2
2. E02 and E03 are one entity, and the other member is E04.
JSON: {"count": 2}
sparql+ontology run 3
2: E02 and E04. E03 is the same entity as E02.
JSON: {"count": 2}
sparql+ontology run 4
2: E02 and E04, with E03 being the same entity as E02.
JSON: {"count": 2}
sparql+ontology run 5
2: E02 (same entity as E03) and E04.
JSON: {"count": 2}
sparql+axioms run 1
3.
JSON: {"count": 3}
Why: count: expected 2, got 3
sparql+axioms run 2
2. E02 and E03 are the same entity, plus E04.
JSON: {"count": 2}
sparql+axioms run 3
2 (E02, which is the same entity as E03, and E04).
JSON: {"count": 2}
sparql+axioms run 4
2 (E02/E03 and E04).
JSON: {"count": 2}
sparql+axioms run 5
2 distinct legal entities: E02 and E04. E03 is a duplicate record of E02.
JSON: {"count": 2}