GUIDE �FOR DATA-A-THONS
TABLE OF CONTENTS.
01
02
03
04
05
Understanding Wikidata
Structured and Linked Data on Wikidata: The role of unique Identifiers�
Querying Wikidata with SPARQL
Resource and Image credits
Practical application of Wikidata
Understanding Wikidata
…..
Wikidata Hunt…
How did you get to know about Wikidata?
What is Wikidata?
What Wikidata is not;
Wikidata (extensional definition) is not a...
Goals of Wikidata
Policies of Wikidata
Challenges of Wikidata
links for context :Introduction
links for context: General
links for context : Usage
The Wikidata Community Portal : https://www.wikidata.org/wiki/Wikidata:Community_portal
Wikidata Practical
On the Wikidata website (if you have not yet)
On the Wikimedia Course Outreach dashboard
Structured and Linked Data on Wikidata: The role of unique Identifiers�
DID YOU know Structured Data ?
Wikidata & Other Projects:
Role of unique identifiers
Practical Applications of Wikidata
Applying Wikidata :Individual engagement
On your own you can:
On your own you can:
On your own you can:
OVERVIEW ��Wikidata tools (SPARQL, Wikidata Query Builder, Open Refine etc)��Visualising Wikidata�Gaining new insights from Wikidata through Analysis�
Queries in Wikidata
Queries in Wikidata are request for data or information from a Wikidata base table or combination of tables; precise request for information retrieval made to a Wikidatabase.
Queries in Wikidata
Why query Wikidata?
Querying Wikidata can :
Potential uses for Wikidata queries
Queries and their results can help :
Querying Wikidata with SPARQL
Ways to use the Wikidata Query Service
What the WDQS looks like�(Tip : Use the Query Builder to help at this point since you may not be that conversant with SPARQL)
This query asks for the names of women
(gender = female)
whose
(occupation = librarian) who
(have been educated at = University of Ibadan)
This query asks for the names of women
(gender = female)
whose
(occupation = librarian) who
(have been educated at = University of Ibadan)
Results download and
other editing options are on a pop-out right sidebar.
Click on “Show Query in the Query Service” to access the same query showing the SPARQL Code.
Writing & Understanding Queries in SPARQL
Writing & Understanding Queries in SPARQL (cont’d)
Query #1 : Presidents of Sierra Leone
Asks for the names (itemLabel) of people
[instanceOf (P31) = human (Q5)] who have ([held the Position(P39)] of President of Sierra Leone (Q890010))
and returns a list ordered alphabetically by
label (first name first)
Results #1 - Presidents of Sierra Leone
Results list ordered
alphabetically by
label (first name
first). Can be
downloaded in
various formats.
Query #2 : Presidents of Sierra Leone without images
Asks for the names (itemLabel) of people
[instanceOf (P31) = human (Q5)] who have ([held the Position(P39)] of President of Sierra Leone (Q890010))
but whose Wikidata items have no image (P18) attached to them
Results #2 : Presidents of Sierra Leone without images
Key statements for People
Key statements for Institutions and Organisations
How to save your results
below the query pane and
choose the appropriate file
type.
useful to open with programs
such as Excel, Google Sheets,
Numbers, OpenRefine, etc.
Resource and Image credits
Further readings:
THANK YOU!
Do you have any questions?