identity-graph

Reconcile UK parliamentary identities into a unified RDF N-Quads graph.

1|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/danbri/forgetmenot --skill identity-graph
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: identity-graph
Source: https://github.com/danbri/forgetmenot/tree/main/skills/identity-graph
Command: npx skills add https://github.com/danbri/forgetmenot --skill identity-graph

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill resolves fragmented identity data for UK MPs and peers, allowing you to reliably link individuals across disparate datasets like the Members API, GOV.UK, and Wikidata.

Core Features & Use Cases

  • Cross-Source Reconciliation: Bridges identifiers across seven distinct data sources including APPG roles, scraped social profiles, and official parliamentary records.
  • Stable Join Keys: Uses the parl:memberId as a canonical key to track individuals through career transitions, such as moving from the Commons to the Lords.
  • Use Case: If you need to verify that a specific person on a GOV.UK page is the same individual currently sitting in the House of Lords, this Skill provides the necessary RDF-based mapping to confirm the identity.

Quick Start

Use the identity-graph skill to reconcile the parliamentary member ID for the specified individual across all available named graphs.

Frequently Asked Questions about identity-graph

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reconcile UK parliamentary identities across disparate datasets?

You can reconcile UK parliamentary identities by mapping disparate person identifiers into a unified RDF N-Quads graph. This bridges identifiers across seven distinct data sources, including the Members API, GOV.UK, and Wikidata.

What is the canonical key used to track MPs and peers through career transitions?

The parl:memberId serves as the canonical key to track individuals through career transitions, such as moving from the House of Commons to the House of Lords, ensuring stable join keys across datasets.

Do I need a local SPARQL processor to query the identity graph?

Yes, you need local SPARQL processing capabilities to execute join queries against the provided identity.nq corpus to successfully retrieve and cross-reference the reconciled parliamentary data.

Can I use RDF N-Quads to cross-reference MPs between official records and scraped social profiles?

Yes, the RDF N-Quads format supports complex data integration tasks requiring cross-reference of MPs and peers across official parliamentary records, scraped social profiles, APPG roles, and third-party datasets.

How do I verify that a person on a GOV.UK page is the same individual currently sitting in the House of Lords?

You verify identity by querying the RDF-based mapping that links GOV.UK page identifiers to the current House of Lords records using the stable parl:memberId as a cross-source join key.

Are there limitations when reconciling identity data from third-party parliamentary datasets?

The main limitation is the requirement for local SPARQL processing to execute join queries against the identity.nq corpus, as the reconciliation relies entirely on local RDF graph processing rather than remote API calls.