Page MenuHomePhabricator

Create a bot to enrich Pizmonet ID
Open, Needs TriagePublic

Description

  1. Extract identifiers of artists from Pizmonet project: http://pizmonet.co.il/
    1. All pizmonet identities can be found in http://pizmonet.co.il/wiki/%D7%9E%D7%99%D7%95%D7%97%D7%93:%D7%9B%D7%9C_%D7%94%D7%93%D7%A4%D7%99%D7%9D
    2. If the bot is written in pywikibot this could be fetched using pywikibot.pagegenerators
  2. using pywikibot (or other tool) find the relevant Wikidata entity
    1. To find identity either use sitelink of hewiki (under assumption that hewiki page name is same as pizmonet pagename for artist) or use label
    2. This could be found using SPARQL query (pagegenerator.WikidataSPARQLPageGenerator) or using pagegengerators of hewiki page and access to data_item.
  3. Once the entity found, add P4077
    1. See https://www.wikidata.org/w/api.php?action=help&modules=wbsetclaim or alternatively use pywikibot API (see example here: https://www.wikidata.org/wiki/Wikidata:Pywikibot_-_Python_3_Tutorial/Changing_Items )

Example:

Related Objects

Event Timeline

I would like to work on this task, but need help to get started

I would like to work on this task, but need help to get started

Thanks for your interest! Do you have a specific question we could help with? :)

Better description of the task will be a little more helpful :P

Better description of the task will be a little more helpful :P

I just updated the description to clarify it.

Framawiki subscribed.

Hello @Ilanosortap ! Can we help you ? Where are you in the progress of this project?

Hello, I tried completing the task a while ago, there was some error with the query. I will try it out again and get back to you.

@Ilanosortap: Hi! This task has been assigned to you a while ago. Could you maybe share an update? Do you still plan to work on this task, or do you need any help?

@Aklapper I haven't worked on this project for a while now, didn't realise this issue was still assigned to me. I don't plan to work on this as of now.

Aklapper removed a project: good first task.

Ah, thanks for the quick reply! :) Unassigning you, in case someone else might work on this.