Skip to content

Datasets

linkingtk.datasets provides ready-made DatasetLoader implementations. Each one's load() returns a (dataset1, dataset2, ground_truth) tuple, ready to hand straight to a linker's link() method and then to Evaluator.evaluate. See the navigation on the left for the individual dataset families.

For a target too large to materialize as a list[Entity] up front (a live dictionary or web API, or a local index over one), see Entity Sources instead — a query-driven alternative usable directly as dataset2 in blocking/linking.