Q37, run 2026-11-04-1824-haiku
How many distinct legal entities does the data describe?
Tests: Identity: records with the same LEI are one entity.
Expected: count = 16
csv run 1
17. There are 19 records, with E03 and E17 duplicating E02 and E10 by LEI. That leaves 15 corporate/bank records plus the two sovereigns (VD, CV), which have no LEI.
JSON: {"count": 17}
Why: count: expected 16, got 17
csv run 2
17. There are 19 records. E03 and E17 duplicate E02 and E10 by LEI, and VD and CV are distinct sovereigns without LEIs.
JSON: {"count": 17}
Why: count: expected 16, got 17
csv run 3
17. There are 19 entity records, but E03 duplicates E02 (same LEI) and E17 duplicates E10 (same LEI).
JSON: {"count": 17}
Why: count: expected 16, got 17
csv run 4
17. There are 19 records. E03 duplicates E02 and E17 duplicates E10 (same LEIs), so 17 remain.
JSON: {"count": 17}
Why: count: expected 16, got 17
csv run 5
17. The data has 19 records, but E03 duplicates E02 and E17 duplicates E10 by LEI.
JSON: {"count": 17}
Why: count: expected 16, got 17
csv+ontology run 1
16. There are 19 records. Removing the QA record E16 and merging the duplicates E03 into E02 and E17 into E10 leaves 16 entities, including the two sovereigns.
JSON: {"count": 16}
csv+ontology run 2
16. There are 17 records, but E03 duplicates E02 and E17 duplicates E10, and the QA record E16 must be ignored.
JSON: {"count": 16}
csv+ontology run 3
16. The count is the distinct entities, with E03 merged into E02 and E17 merged into E10, and with the QA record E16 excluded. Sovereigns are included because the ontology defines them as legal entities.
JSON: {"count": 16}
csv+ontology run 4
16.
There are 19 records, minus E03 and E17 (duplicates of E02 and E10) and E16 (QA test data), leaving 16 entities including the two sovereigns.
JSON: {"count": 16}
csv+ontology run 5
16. The count excludes the QA record E16, and E10/E17 and E02/E03 are each counted once.
JSON: {"count": 16}
csv+axioms run 1
17. There are 19 records, with E03 and E17 duplicating E02 and E10. That gives 15 LEI-bearing entities plus 2 sovereigns (VD, CV), which have no LEI.
JSON: {"count": 17}
Why: count: expected 16, got 17
csv+axioms run 2
17
There are 19 records. E03 duplicates E02 and E17 duplicates E10. The two sovereigns (VD and CV) have no LEI and are counted separately.
JSON: {"count": 17}
Why: count: expected 16, got 17
csv+axioms run 3
15. There are 19 entity records, minus 2 duplicates (E03, E17), gives 17 distinct entities. Two of those are sovereigns (VD, CV) with no LEI, leaving 15 legal entities with LEIs. Counting the sovereigns as well would give 17.
JSON: {"count": 15}
Why: count: expected 16, got 15
csv+axioms run 4
17
There are 19 records. E03 and E17 duplicate E02 and E10 by LEI, leaving 17 distinct entities (including the two sovereigns and the QA test record E16). Excluding E16 gives 16.
JSON: {"count": 17}
Why: count: expected 16, got 17
csv+axioms run 5
17. The 19 rows contain two duplicates (E03 = E02, E17 = E10).
JSON: {"count": 17}
Why: count: expected 16, got 17
csv+axioms+markdown run 1
16. The count covers all distinct LEIs and sovereigns, with E02/E03 and E10/E17 merged, and excludes the QA record E16.
JSON: {"count": 16}
csv+axioms+markdown run 2
16. There are 18 non-QA records, with E03 duplicating E02 and E17 duplicating E10. E16 is QA and is excluded.
JSON: {"count": 16}
csv+axioms+markdown run 3
16. Real entities: E01, E02 (with E03), E04, E05, VD, E06, E07, E08, E09, E10 (with E17), E11, E12, E13, E14, CV and E15. E16 is a QA record and is excluded.
JSON: {"count": 16}
csv+axioms+markdown run 4
16. There are 17 distinct LEIs or sovereigns, but E16 is a QA test record that describes no real entity.
JSON: {"count": 16}
csv+axioms+markdown run 5
16
There are 14 LEI-identified entities (E16 is a QA record and is excluded) plus the two sovereigns VD and CV. The ontology counts sovereigns as entities.
JSON: {"count": 16}