Wikidata
Wikidata
This section documents Wikidata workflows, queries, and references for the project.
Item profile page
- Open the rendered profile page: Wikidata Item Profile
How data is retrieved
The profile page is generated from wikidata-item.ipynb, which:
- Sets an
item_idinput (for example,Q138547468). - Builds a SPARQL query for all direct statements on the item.
- Calls the Wikidata Query Service endpoint.
- Renders the returned data as a styled HTML profile.
The helper module wikidata_profile.py contains reusable logic for querying, transforming, and rendering the data.