Jump to content

Topic on Project:Support desk

Retrieving a wikidata QID knowing only a property value using LUA?

2
Evolution and evolvability (talkcontribs)

Copied from: Extension talk:Wikibase Client/Lua#Retrieving an ID knowing only a property value?

Is it possible to use any extension to retrieve a QID based on a property value within mediawiki? For example, knowing an author's ORCID number, and returning their QID within mediawiki?

  • Something like wikibase.getEntityIdForPropertyValue(Property, Value)
  • Such that wikibase.getEntityIdForPropertyValue(P496,'0000-0002-6779-3151') → Q4693015

Any ideas welcomed!

Bawolff (talkcontribs)
Reply to "Retrieving a wikidata QID knowing only a property value using LUA?"