Skip to content

Conversation

@darashi
Copy link
Contributor

@darashi darashi commented Dec 7, 2025

Summary

This pull request adds Wikidata support to NIP-73 External Content IDs.

It introduces the wikidata key for the k tag.

For the i tag value, standardized RDF prefixes officially used by Wikidata should be used:

  • wd:Q... for entities (e.g., wd:Q42)
  • wdt:P... for properties (e.g., wdt:P31)

Application Example

Wikidata assigns IDs to virtually everything in the world. Combined with NIP-25, this allows reactions to "anything" to be recorded as Nostr events.

As a proof of concept, I created Thingstr: https://thingstr.pages.dev/

Note: Events generated by Thingstr currently use tags in ways not explicitly defined by NIPs yet. For compatibility reasons, they are currently sent only to my dedicated relay.

Concept Description

The original idea for Thingstr is described in my article from last year:
https://yakihonne.com/article/naddr1qvzqqqr4gupzqpuqfduxc63mgq9hkgxehly52q6l8tfp8kne0vx9p928vlpht32rqq255efedpr9snp3v4p564tgd4ury4n8fc6yx8asnpt

Additional Notes

The current Thingstr implementation also uses l/L tags in ways not currently defined in NIPs. I plan to propose a separate specification for those (potentially in NIP-32) in the future. This PR focuses solely on the Wikidata ID definition for NIP-73.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant