Data Quality in Linked Data Projects

Data Quality in Linked Data Projects

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:sameAs is 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:date or xsd:dateTime, decimals use xsd: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:sameAs is reserved for confirmed identity, and unresolved sameAs chains 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:seeAlso for a related document, owl:sameAs for identity, skos:exactMatch for 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.


Testimonials

Dr. Mateja Verlič (Zemanta d.o.o., R&D)

We read a lot about people doing important things, however this time we – LOD2 partners – are the ones changing the history of Web by revolutionizing information use and reuse, contributing to semantic data standards and pushing the limits of almost every WWW-related aspect (sc… read

Dr. Jens Lehmann (Universität Leipzig, Research Group Leader)

The size and number of Semantic Web knowledge bases published as Linked Open Data has been growing tremendously over the past years. The LOD2 project will be a key factor for sustaining this momentum. More importantly, the quality of knowledge bases and the scalability of methods accessing… read

Jindřich Mynarz (University of Economics, Czech Republic)

Apart from being legally open, linked open data is an open technology. Due to its non-exclusive, non-proprietary, well-formalized, and standards-based nature, linked open data supports a wide spectrum of uses. It does not exclude any application from using it and thus it is open to be mixe… read

Dr. Mladen Stanojevic (Institute Mihajlo Pupin, Serbia)

The richness of any semantic model and the usability of represented data is dependent on the links between them. LOD2 is an important step in this direction that will enable an efficient exploration and processing of vast quantity of open data on the Web.

read

Mun Yong Yi (Korea Advanced Institute of Science and Technology (KAIST))

Data becomes more meaningful and powerful as they are linked and integrated. As I learn more about what LOD can do, I am convinced that it will not only change the future of the Internet but also the quality of human life. I am glad that I am participating in this project, which will defin… read

Orri Erling (OpenLink Software, Virtuoso Program Manager)

Value from information increasingly depends on integration. RDF is a great model for this. LOD2 will make RDF a cost competitive alternative in the database space, without compromising ad hoc flexibility and expressive power. read

Vojtech Svatek (University of Economics, Czech Republic)

As researcher in ontological engineering, I am excited to see LOD2 provide tools that make the generation of semantically structured data easy and thus widespread. I believe that ontological research is deemed to build upon the world views already expressed by means of simpl… read

Andreas Blumauer (Semantic Web Company, CEO)

15 years ago we all were excited when we published HTML for the first time and it didn't take a long time until all of us were "on the internet". Now we are starting to publish data on the web. Based on semantic web technologies professional data management will be possible in distributed … read

Kingsley Idehen (OpenLink Software, CEO)

Three years ago, OpenLink Software enthusiastically contributed the prowess of Virtuoso to the grassroots effort that lead to DBpedia and the Linked Open Data cloud that coalesced around it. Today, we are both honored and enthusiastic about Virtuoso's critical infrastructure role in this n… read

Bastiaan Deblieck (TenForce, Partner and Business Development Manager)

An internet of data opens up tremendous opportunities for our corporate and government customers. We intend to be on the forefront of this evolution. read

Christian Dirschl (Wolters Kluwer, Content Architect)

Linked (Open) Data will change the existing publishing paradigms! Creating high quality content for professional usage will remain an important factor in future publishing, but additional access points and new usage environments will equally define its success. read

Dr. Giovanni Tummarello (National University of Ireland, Galway, Research Unit Leader)

Semantic Markups on the Web could drive information reuse to enable scenarios and applications which we can now only dream of. The idea is extraordinarely compelling, but we know now it won't simply realize itself. The LOD2 project is now a great opportunity for inspired and coordinated re… read

Gregory Grefenstette (Exalead, Chief Science Officer)

Enterpise search is all about providing correct, complete, and appropriate information to the employee and decision maker. LOD2 promises to not only allow internal company information to be linked up to the growing amount of Open Data on the web, but to also provide the mechanisms for val… read

Hugh Williams (OpenLink Software)

It is exciting to see the LOD2 project finally kick off in its quest to take the Linked Open Data cloud to the next level of scalability, performance and integration for the exploitation of the Web as a viable platform for enterprise level data and information integration. read

Martin Kaltenböck (Semantic Web Company, CFO)

Linked (Open) Data technologies offer a new way of data integration for the enterprise! Smooth interoperability between internal data sets can reduce costs as well as the enrichment of these data sets by external data can support new market intelligence paradigms for a better decision making. read

Dr. Peter Boncz (Centrum Wiskunde & Informatica)

The publishing of ever more datasets by e.g. governments adds value for many key applications including business intelligence, which will drive the Linked Open Data (LOD) paradigm going forward. In the LOD2 project, CWI is working to increase the scalability and performance of querying int… read

Dr. Sören Auer (Universität Leipzig, LOD2 coordinator)

The Linked Data paradigm is a simple and efficient way for integration of heterogeneous information on the Web. Ultimately, we will, for example, be able to search for a new appartment and a close-by available spot in child care in one go. read

Tassilo Pellegrini (Semantic Web Company, R&D)

Semantic interoperability changes the technological and economic nature of metadata opening up exciting opportunities for value creation in various comercial and non-commercial areas. Linked Data is the blueprint for this new ecosystem and it will change the way we think about and use the web today. read

Wouter Dewanckel (TenForce, WP Project Leader)

It is an honor to take part in this challenging integration project to create solutions that can generate business value out of emerging technologies. read