Conclusions

Where each of the five goals stands, from the runs so far. The scores put each dataset's latest runs side by side, and each run's own page has the numbers behind them. Accuracy, repeats and intervals are as the method defines them.

In short

Goal Short answer
1. Does written-down meaning help? Yes, by a lot. The definitions lift both models from 45–84% to 96–100%, and a decoy glossary of the same length adds nothing.
2. Does the form of the meaning matter? Little. Markdown matches Turtle, axioms alone do as well as prose, and RDF without definitions adds nothing. Rules already run match the definitions on credit, but fall short on research.
3. Should the model read the data or query it? Not yet shown. At the sizes tried, querying doesn't beat reading, and SPARQL doesn't beat SQL, even on ownership paths. On the largest data, querying wins once the rules have run in the store, as tables or as a graph (91–92%, against 87–89% reading). The definitions matter as much either way.
4. Does it hold across models? Yes, for Haiku and Sonnet. The weaker model gains more, and with the definitions the two end up level on the base data. On larger data, Haiku falls well behind.
5. Does the domain matter? The pattern holds; the size of the gain doesn't. It's +15 to +21 points on credit and +41 to +53 on research, where more of the questions rest on local rules.

Read these as early results. They're measured carefully: every key is computed from the data, every answer graded by code where it can be, every condition repeated five times, with intervals. But the scope is small. There are two invented domains, with about 50 questions each and ontologies of about 50 terms. Only two models were tested, both Claude, and the datasets are mostly small enough to read. So the findings are indicative, not general: they show what happened here, and suggest what might hold elsewhere. Take them with a pinch of salt, and as a starting point: the code, data and every run are open, and Future work lists where to dig next.

1. Does written-down meaning help?

Answered: yes, and by a lot where the data has rules of its own.

Domain Model Data only (R1 csv) With the definitions
Credit Sonnet 84% 99–100%
Credit Haiku 78% 98–100%
Research Sonnet 57% 98%
Research Haiku 45% 96–99%
  • It isn't just any expert text on the subject. R3 csv+padding gives the data plus a decoy: a glossary as long as the definitions, on the same subject (bond markets; scholarly publishing), that defines none of the terms the questions depend on. It scores within 2 points of R1 csv in every case. So the gain comes from what the definitions say, not from a longer prompt full of domain words.
  • The gain sits in each dataset's own rules. These are the meanings an analyst can't know from outside: which record is a test record, which system holds an entity's domicile, whether an affiliated institute counts for its parent. On those questions, R1 csv scores 40–57% on credit and 16–18% on research; with the definitions, 97–100%. Where a question only needs general knowledge, the models mostly know it already.
  • The meaning has to be right. The definitions are followed as written, so one slanted sentence in the prose can flip an answer (see goal 2).

2. Does the form of the meaning matter?

Mostly answered: the format matters little; what's written down, and whether the rules have run, matters more.

  • Markdown matches Turtle. The same definitions as a Markdown glossary or as SKOS in ontology.ttl score within one to three points of each other in both domains.
  • RDF alone adds nothing, and can cost. The same facts as RDF, without the ontology, never beat the CSV. Haiku loses 6 points on credit and Sonnet 9 on research, both with intervals below zero, and the prompt is larger.
  • Logic without prose does about as well as prose. With the definitions removed and only OWL axioms and SHACL rules left (R8 csv+axioms), credit scores 99% with both models and research 97% (Sonnet, Haiku). The models read and apply the axioms.
  • But axioms are followed to the letter, mistakes included. When an earlier version of the axioms wrongly made a test record a kind of entity, both models counted it in every repeat. Once the axiom was fixed, the count came right.
  • Prose carries its author's emphasis; axioms don't. One sentence calling the foreign-currency rating "the headline rating" makes Haiku answer Q10 wrongly: it's right in 2 of 5 repeats with the Turtle and 1 of 5 with the Markdown. With the sentence made neutral (R7 csv+neutral), or with the axioms alone, it's right in 5 of 5. Sonnet slips too, in 2 of 5 with the Turtle.
  • Logic and executed rules say what, not why. The one question that asks for a cause (Q6, why a rating sits where it does) is answered only partly in most repeats with the axioms alone or the executed data, and in full with the prose. On research it's the same for the two "why" questions (Q47, Q48).
  • Rules already run over the data match the definitions on credit, but not on research. The R10 executed data, with records merged and rules applied and no definitions, gains +15 to +19 points on credit, reaching 97–99%, and +34 to +46 on research, reaching 90–92%: 6 to 9 points short of the definitions. The research misses come from how the tables were built: merging a preprint into its published version hides it (Q2, Q20), the counting questions lose the per-author shares (Q12, Q13), there's no ultimate-parent column (Q46), and the reasons behind the rules are lost (Q47, Q48).

Still open: executed tables that keep what they merged.

3. Should the model read the data or query it?

Partly answered: at the sizes tried so far, querying doesn't beat reading, and a graph store doesn't beat SQL.

At 300 issuers, the model either reads the CSV or writes SQL (DuckDB) or SPARQL (rdflib) without seeing the rows (reading, querying, Sonnet):

No definitions With the definitions
Reading (R1 csv, R4 csv+markdown) 83% 95%
SQL (D1 sql, D2 sql+markdown) 80% 99%
SPARQL (D4 sparql, D5 sparql+ontology) 77% 97%
  • On the base credit data, small enough to read, the two modes end level (querying): 100% with the definitions, whether the model reads, writes SQL or writes SPARQL, and 82–84% without them.
  • The definitions matter as much when querying as when reading: +12 to +20 points in each mode.
  • With the definitions, querying helps a little with long lists, where reading misses an item or two. Without them, it doesn't help at all.
  • On ownership paths of unknown depth (reading, querying), a graph store doesn't help, with or without the definitions. Without them, SPARQL gets 32% of the path questions and SQL 60%. With them, SQL gets every path right in all five sessions, and SPARQL swings from 4% to 77%, with queries that time out in rdflib. On GraphDB, a fast graph database, nothing times out, but SPARQL with the ontology still gets 60% of the paths, swinging from 0% to 100%: the model uses up its rounds or gives up early. A precomputed ancestors table gives SQL every path right, and reading the 100 KB of CSV with the definitions also gets every path right.
  • So the graph's advantage, following links of any depth, disappears once the rules have computed the chains.
  • On the research data at 850 works, reading starts to strain, and querying only helps over executed tables (reading, querying, Sonnet). Reading with the definitions scores 87–89%: the local rules stay right, but counts over ten times the data go wrong. Querying with the definitions does no better, at 80–85%, and swings from session to session. Querying tables where the rules have already run scores 92%, in every session, against 79% reading them. On the base research data, small enough to read, it's the other way round (querying): SQL with the definitions scores 96%, as well as reading, and SQL over the executed tables 93%. So the case for running the rules first grows with the data. It holds for a graph as well as for tables: at 850 works, SPARQL over the graph after the axioms' rules have run scores 91% (querying), against 85% with the ontology alone.

Still open: why the model is less steady writing SPARQL than SQL, given the same rounds and the same definitions. Whether querying pays off on data much too large to read: at 850 works it didn't, unless the rules had been run.

4. Does it hold across models?

Partly answered: for Claude Haiku and Sonnet, yes.

  • The weaker the model, the more the definitions are worth. Haiku gains +20 to +21 points on credit and +51 to +53 on research, against Sonnet's +15 to +16 and +41.
  • With the definitions, the two models end up level on the base data. Both reach 96–100% in both domains. At 300 issuers they don't: Sonnet reaches 94–97% and Haiku 84–93%, though each gains about as much as on the base data (Sonnet, Haiku). On the research data at 850 works the gap is wide: with the definitions, Sonnet reaches 87–89% and Haiku 43–49%. In 5 of its 25 sessions Haiku answers only part of the questions, and its best condition there is the rules already executed, at 69%.
  • Text that doesn't carry the meaning helps neither model. The decoy glossary stays within 2 points of R1 csv for both. An earlier credit run had Haiku lose 5 points with it, which this run doesn't repeat (−2, −6 to +1).

Still open: Opus and Gemini, set aside for now.

5. Does the domain matter?

Answered for the two domains so far: the pattern is the same, and the size of the gain depends on the domain.

Credit ratings Research analytics
Data only (R1 csv), Sonnet and Haiku 84% and 78% 57% and 45%
With the definitions 98–100% 96–99%
RDF alone, or the decoy glossary no gain no gain
Markdown against Turtle level level
Executed rules, no definitions +15 to +19 +34 to +46
  • The findings hold in both: RDF alone and the decoy glossary add nothing, Markdown matches Turtle, and the definitions lift both models to 96–100%.
  • What changes is how much the data says for itself. Without the definitions, the models start much lower on research, because more of its questions rest on the dataset's own rules and terms (what counts as a "research work", which affiliation is credited, what an affiliated institute's parent link means). So the definitions are worth +41 to +53 points there, against +15 to +21 on credit. A domain whose meaning is mostly general knowledge gains less, and one with many local conventions gains more.
  • Executed rules depend more on the domain: they match the definitions on credit and fall short on research, where they also depend on how the tables were designed, since merging records and rolling up institutions decide what the data can still answer.

A caveat: some of the research questions use the dataset's own terms, which only the ontology defines, so some answers marked wrong without it are defensible readings of the question. A review found they're mostly the questions that depend on the local rules anyway.

Still open: two domains can show that the domain matters, but not what it is about a domain that matters. A third domain, with a different balance of general and local meaning, would test the explanation above.

Future work

What the runs so far leave open, and what would make the experiment stronger.

Questions and grading

  • Reword Q1 in the research domain. It asks how many people the author records named "Mara Ellison", "M. Ellison" and "Ellison, Mara J." stand for. Most conditions tell the people apart correctly, then answer 1, reading the question as the three name forms rather than every record that carries them. The key is right (2, or 3 at 850 works), but the wording invites the other reading. A clearer question means asking it again, not regrading.
  • A second grader from another model family, to check whether a model grades its own family's answers more kindly. Code grades most questions, so this only touches the few "why" questions.
  • Check the reasoning, not only the answers, on the research and ownership-path data, as was done once for credit.

Size and querying

  • Data far too large to read, say 3,000 issuers, where only querying is possible. At 850 works, querying pays off once the rules have run in the store. A larger dataset would show whether that holds as the gap grows.
  • Querying with Haiku. Every querying run so far is Sonnet's. The weaker model gains most from the definitions when reading; whether it can write the queries as well is untested.
  • GraphDB on the research data. The one run on a faster graph database was on the credit ownership paths. At 850 works, five research queries timed out on rdflib, so the larger research data is where a faster engine might matter.
  • Mark test records in the credit graph. Over the graph after the axioms' rules (D6 sparql+axioms), the model counts a test record as real, because the rules leave it unmarked and the note on the store doesn't mention it. That accounts for every miss in that condition on the base credit data (90%, against 99–100% for the other conditions with the meaning). A rule that marks test records, and a rerun, would show how well a graph after its rules really does on credit.
  • Why SPARQL sessions break down more often than SQL ones. With the same definitions and rounds, the model sometimes gives up early, reports errors that didn't happen, or pages through the graph instead of asking for what it needs. Three research sessions scored 0% because the model wrote its query as tool-call markup instead of a query block, and the runner, after one reminder, graded an empty answer. The runner could accept that markup; more rounds, larger result limits, or a different prompt might close the rest of the gap.

The meaning

  • A large ontology. The ontologies here have about 50 terms. A real domain has hundreds or thousands, enough to fill a context window. Embed one in a much larger set of plausible but irrelevant concepts and see where accuracy drops, then compare giving the whole ontology with giving only the part a question needs, selected from the graph.
  • Executed tables that keep what they merged: the merged records, an ultimate-parent column and a note of the rules applied, so they can answer the questions the research tables now miss.

Models and domains

  • Complete the ownership-paths runs: the reading conditions not yet asked there, and Haiku, so its table matches the other datasets'.
  • More models: Opus and Gemini, set aside for now.
  • A third domain, with a different balance of general and local meaning, to test what it is about a domain that sets the size of the gain.
  • Two research traps not yet covered: citations normalised by field, which needs fields in the data and decimal answers, and communities of institutions that mostly cite each other, which needs a graph algorithm.