Data quality is fitness for purpose. A dataset is not good or bad in the abstract; it is adequate or inadequate for a particular use, under a particular tolerance for error. Linked data makes this ordinary problem harder in specific ways. Statements arrive from independent publishers, identifiers are global, schemas are open, and a missing value cannot be read as a negative value. A graph can be syntactically valid, load without error and still be wrong.
This article sets out the dimensions that matter in linked data projects, a checklist that can be applied to a publication pipeline, and the measurements and governance needed to keep quality from decaying after the first release.
Dimensions of data quality in linked data
- Accuracy
- Does the statement match the world? A coordinate pair points to the wrong building.
- Completeness
- Are the properties needed for the use present? A required identifier is absent on 12 percent of records.
- Consistency
- Do statements contradict each other? Two birth dates for one person after merging sources.
- Conformance
- Does the data follow the declared model? A date stored as a string, or a language tag missing.
- Identity
- Is each entity represented once? Duplicate stops under two operator codes.
- Timeliness
- Is the data current enough? A population figure from 2009 presented as current.
- Provenance
- Can each statement be traced? Derived links with no source or method.
- Availability
- Do the identifiers resolve? A URI returns a soft 404 with status 200.
- Licensing
- Are reuse terms clear? A derived dataset with incompatible share-alike terms.
The dimensions interact. A complete dataset with poor identity is not usable; an accurate dataset with no provenance cannot be audited. Priorities should follow the competency questions of the graph, not a generic scorecard.
Why linked data changes the problem
- Open world. Absence is not false. Completeness is relative to a query, and a validation rule that assumes a closed record will misjudge an incomplete but correct graph.
- Global identifiers. External links can break without notice, and the quality of a remote dataset is outside the local publisher's control. Link checking is a maintenance obligation.
- Schema heterogeneity. The same concept can appear under several IRIs. Equivalence is a claim that must be justified, not a formatting detail.
- Identity.
owl:sameAsis symmetric and transitive. A single wrong link can merge two people, two places or two organisations across every dataset that reuses the identifier. - Reasoning. Inconsistency under OWL can have consequences that are not obvious from the data alone, and practical reasoners differ in what they detect. Validation should not rely on reasoning as the only check.
- Provenance. Anyone can assert anything about a public IRI. Trust is attached to a source and a graph, not to the syntax.
A data quality checklist for linked data
The following checks are grouped by the layer they test. Not every project needs every check, but a release that skips a group should record why.
- Syntax and model. Every file parses in its declared serialisation. IRIs are absolute and valid. Literals have correct datatypes: dates use
xsd:dateorxsd:dateTime, decimals usexsd:decimal, and codes are not given language tags. - Language. Natural-language strings carry a language tag. Mixed-language literals are separated rather than concatenated, and labels intended for display are distinguishable from identifiers.
- Identity. Every public entity has a dereferenceable HTTP IRI. Blank nodes are not used as public identifiers. Duplicate detection has run,
owl:sameAsis reserved for confirmed identity, and unresolvedsameAschains are reported. - Stability. IRIs do not encode mutable facts such as price, status or ownership. Deprecated terms and identifiers remain resolvable.
- Links. Internal links resolve. External links are sampled and checked for status, content type and expected subject. The predicate matches the link:
rdfs:seeAlsofor a related document,owl:sameAsfor identity,skos:exactMatchfor equivalent concepts. - Schema. Vocabulary terms exist and are used consistently. Domain and range are respected. Cardinality and required properties are enforced with SHACL or SPARQL constraints where the use case needs a closed check.
- Provenance. Each statement is traceable to a source, a retrieval time and a method. Derived statements are marked as derived, and the derivation is reproducible.
- Licensing. The licence is recorded for each source and for the published graph. Attribution and share-alike conditions are compatible with the intended reuse.
- Operations. Validation runs in the pipeline. Failures block release or are recorded with an owner. Metrics have a baseline and a threshold, and the previous release is retained for comparison.
Measuring quality
Measurement should be defined before publication. A dereferenceability rate is the share of entity IRIs that return a description with a 200 response and the expected content type. A link resolution rate is the share of external links that still resolve to the intended resource. A duplicate rate is the share of entities with more than one IRI after reconciliation. A constraint violation count is the number of SHACL or SPARQL constraint results per release. A freshness lag is the time between the source's last update and the graph's last ingestion.
Some checks are cheap and complete: parsing, datatype checks and IRI syntax. Others require sampling: external link checks, manual review of entity matches and spot checks of derived values. A full scan of a large graph can be expensive, but a sampled check with a stated confidence interval is better than an unmeasured claim.
Distinguish errors from policy. A missing population value for a district with a small population may be a deliberate suppression rule, not a defect. Record the rule and test that it is applied consistently. A single quality score hides these distinctions; report the dimensions separately and state the use case.
Governance and repair
Quality decays without ownership. Each source should have a named owner, an update cadence and a contact for corrections. Corrections should be made at the source where possible, not by patching the graph, because a patch will be lost at the next ingest. Where a patch is necessary, it should be recorded as a derived statement with provenance and reviewed at each release.
Version the graph. Keep the previous release, record the changes and publish a changelog. Deprecate terms and identifiers rather than deleting them; a 410 Gone is more honest than a silent 404, and a redirect preserves inbound links. Test the validation rules themselves: a SHACL shape that never fires may be wrong, and a constraint that fires on every record may be over-strict.
Link checking is a maintenance task, not a one-off. External URIs change ownership, move or start returning a generic page with a 200 status. A check that only tests the HTTP status misses soft 404s; the response should be inspected for the expected subject or a known marker. Rate limits and robots conventions apply to automated checks.
The concerns above connect directly to the rest of a publication. The knowledge graph construction pipeline decides where the checks run, ontology design decides which constraints are meaningful, and RDF and SPARQL provide the query mechanisms. The LOD2 project addressed the assessment side with WIQA, a framework for evaluating the quality of Web information.
A linked data publication is a claim about the world. Quality work is what makes the claim defensible.