Where did this fact come from? Provenance three ways

The University of Central Florida’s fall 2024 admit rate is 40.1%. Who says so?

Nobody reported that number. It comes from the IPEDS admissions survey file, ADM2024, and the dataset calculated it by dividing 24,653 admits by 61,456 applicants. A graph that stores only “UCF, admit rate, 40.1” has thrown all of that away. Next year’s survey will add a second admit rate it can’t tell apart from this one.

This is the seventh experiment in a series that uses one public dataset, NCES IPEDS 2024, to show how languages and models change what a knowledge graph says. Experiment 6 tested what a reasoner can infer. This one asks how a graph remembers where its facts came from. The code, data and results are all on GitHub.

The setup: 120,241 facts, four questions

Every non-blank cell in the dataset’s six files is one fact. That’s 120,241 facts from 220 columns. The data dictionary names each column’s survey file, IPEDS variable and survey year, so we generated all of the provenance from it automatically. No fact was annotated by hand.

We attached that provenance three ways, loaded each version into Oxigraph and asked the same four questions:

  • Q1: Where did UCF’s admit rate come from?
  • Q2: Which facts came from the ADM2024 survey file?
  • Q3: Which facts are derived, and from what?
  • Q4: Which facts describe a survey year before 2024?

See it: one fact, expanded

The visualization below expands four UCF facts in each approach and shows what each one’s query returns.

Open the visualization in a new tab

The three approaches

Here is UCF’s admit rate in each one. Each heading links to the full example on GitHub.

RDF 1.2 reifiers: a name for each statement

Experiment 3 introduced reifiers: a name for one occurrence of a triple that can carry its own properties. Here each fact’s reifier points to its dictionary column and to the facts it was calculated from.

ipeds:132903 kgn:admitRatePct 40.1 ~ fact:admissions-enrollment.132903.admit_rate_pct
    {| kgn:column col:admissions-enrollment.admit_rate_pct ;
       kgn:derivedFrom fact:admissions-enrollment.132903.admits,
                       fact:admissions-enrollment.132903.applicants |} .

Named graphs: one graph per survey file

Every fact goes into a graph named for its survey file. There are 13 graphs. The graph a fact sits in is the only provenance it has.

g:ADM2024 a kgn:SourceGraph ; kgn:ipedsSourceFile "ADM2024" ;
    kgn:surveyYear "Fall 2024 admissions" ; kgn:referenceYear 2024 .

g:ADM2024 {
    ipeds:132903 kgn:admits 24653 .
    ipeds:132903 kgn:applicants 61456 .
    ipeds:132903 kgn:admitRatePct 40.1 .
}

PROV-O: entities, activities and agents

PROV-O is the W3C vocabulary for provenance. Each fact is an entity derived from its column, which is derived from the survey file, which is attributed to NCES. Each calculated value gets its own activity that used the input facts.

ipeds:132903 kgn:admitRatePct 40.1 ~ fact:admissions-enrollment.132903.admit_rate_pct
    {| a prov:Entity ;
       prov:wasDerivedFrom col:admissions-enrollment.admit_rate_pct,
           fact:admissions-enrollment.132903.admits, fact:admissions-enrollment.132903.applicants ;
       prov:wasGeneratedBy act:admissions-enrollment.132903.admit_rate_pct |} .

Notice that PROV-O still needed a reifier to point at a single statement. It’s a vocabulary for describing provenance. It doesn’t give you a handle on the fact.

We also tested a fourth approach that wasn’t in the plan: one named graph per fact. It’s the usual answer to “named graphs can’t reach one statement.”

Results: what each approach costs and answers

ApproachStatementsSize vs. bareQ1Q2Q3Q4
Bare facts120,1981.00xvalue onlynonono
Named graphs, one per survey file120,2791.00xpartialโœ“ 418noโœ“ 105,645
Named graphs, one per fact259,9082.16xโœ“โœ“ 418โœ“ 24,723โœ“ 105,645
RDF 1.2 reifiers380,1063.16xโœ“โœ“ 418โœ“ 24,723โœ“ 105,645
PROV-O on RDF 1.2 reifiers687,4595.72xโœ“โœ“ 418โœ“ 24,723โœ“ 105,645

Every answer was checked against values computed straight from the CSVs and the dictionary.

Graph-level provenance is almost free. One graph per survey file cost 81 extra triples for the whole dataset. It knows each fact’s source file and year. It can’t say which IPEDS variable a fact came from or which facts it was calculated from, because a graph can’t point at one statement.

Statement-level provenance answers everything, at a price. Reifiers carry all of it for 3.16 times the bare graph. PROV-O carries the same information for 5.72 times.

What the provenance shows

Most provenance belongs to the column, not the statement. Source file, variable and survey year are the same for every fact in a column. So 220 dictionary entries cover all 120,241 facts. That’s why per-file graphs get so far for 81 triples.

That changes as soon as a predicate has two sources. The dataset already shows this in miniature. The retention rate appears in two files with the same values, 43 facts in all. The bare graph and the per-file graphs keep each triple once and lose which file stated it. Reifiers keep one per file. The same thing will happen to every measure when the fall 2025 data arrives.

The derivation chain breaks where the dataset stopped keeping inputs. Of 24,723 derived facts, 16,294 link to every input and 8,124 link to none. Graduation rates link to the cohort count but not the completer count, because the dataset never kept that variable. The chain ends at a named placeholder, and the graph says so.

The “2024” dataset is mostly about earlier years. 87.9% of the facts describe a period that starts before 2024. Almost all of those are completions from July 2023 to June 2024. Every file is from the 2024 collection, so “which year?” has two honest answers. The provenance has to say which one it means.

PROV-O needs care. Our first version of the Q1 query reported all 12 IPEDS files as inputs to UCF’s Pell share. The shared build activity had used all 12, and the query followed that link from every fact. PROV-O’s terms are general on purpose, so every query has to respect the distinctions the graph makes.

How Wikidata splits it

Wikidata gives every claim a statement node, which is the same move as a named reifier. Then it splits what we lumped together as “provenance.” The survey year becomes a qualifier, because it changes what the claim means. The source file becomes a reference. And a rank marks which value is current.

That first point is worth keeping. “40.1% for fall 2024” and “40.1%” are different claims. A graph that keeps the year only as provenance is relying on its provenance to say what the fact means.

This comparison is conceptual. We didn’t fetch or check anything against Wikidata.

What this means for your structured data

Provenance sounds like an archival concern. In practice it’s what lets you answer “is this number still right?” That’s a question clients ask me constantly, and it’s the question an LLM can’t answer when it repeats a figure it found on a page.

A few practical takeaways:

  • Start with source and date. Graph-level provenance answered “where did this come from?” and “how old is it?” for nearly nothing. Most teams should start there.
  • Put the year on the fact. If a value will have a new version next year, the period is part of the claim, not a footnote.
  • Record what you calculated. A derived number without its inputs can’t be rechecked. We recomputed 181 simple ratios from their linked inputs, and all 181 matched to one decimal. That check is only possible because the links exist.

Pro tip: Before choosing a provenance model, write down the questions you’ll need it to answer. The cheapest approach here answered two and a half of four. Whether that’s enough depends entirely on which four.

Simply put, a fact without a source is a claim. The more your data gets repeated by systems you don’t control, the more that difference matters.

Run it yourself

Everything behind this post is in the Experiment 7 folder on GitHub. That includes the build script, the SPARQL queries for each question and approach, the full results and the visualization. The run takes about 15 seconds. As in Experiment 3, RDF 1.2 was still a W3C Candidate Recommendation when we ran this, so check your store’s support before you rely on reifiers.

Next in the series: what 44 universities say about themselves on their own websites, checked claim by claim against IPEDS.