Mapping to wikidata

Open
#414 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Domain
data

Research direction

Start by reading /mappings/Mapping.md for the required format, then list the terms in PaNET.csv that link to Wikipedia. Take a small batch, open each article to confirm it matches the PaNET term, and find its Wikidata Q-ID via Tools → Wikidata item. Done means the batch has mapping entries in the format the file specifies, and any wrong Wikipedia links are reported in separate issues.

Written by the indexing model from the issue text.

Description

documentation Experimental techniques mappings

@RKrahl added this comment previously:

Using Wikipedia as a authoritative source is problematic, since Wikipedia policy clearly states that any statement in Wikipedia must be based on external sources. Thus, Wikipedia is not considered as the authoritative source for anything by its own policy.

https://github.com/pan-ontologies/PaNET/issues/101#issuecomment-4295233112

Alternatively, he suggests to use wikidata instead because

  • each wikipedia article is linked to an wikidata article
  • the wikidata IDs are persistent

Therefore, one necessary step is to identify the respective wikidata items to the currently used wikipedia references. Instead of replacing one url with another in PaNET.csv, he suggests to add a mapping between PaNET and wikidata.

Steps to create the mapping
  1. Find terms in PaNET that have wikipedia links.
  2. Check if the page actually refers to the PaNET term.
    • If not: Create an issue and propose to delete the link from PaNET.csv
  3. Find respective wikidata page
    • go to wikipedia article
    • on the right side of the header: Tools → wikidata item
  4. Get the wikidata ID (Qxxxxx)
  5. Compile the information in a mapping (see instructions in /mappings/Mapping.md).
Dominant language
Python
Stars
13
Forks
10
Avg merge
9d 10h
Merged PRs (30d)
3

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pan-ontologies/PaNET

All issues in pan-ontologies/PaNET

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.