User:Daniel Mietchen/FSCI 2018
About
editThis page is auxiliary to two summer courses taking place in the framework of the FORCE11 Scholarly Communication Institute (FSCI) 2018 in July/ August 2018:
- MT7 Integrating Wikidata with Your Research and Curation Workflows (Part 1) — the relevant materials in this page are in the sections from #Introductions to Wikidata to #Tools
- WT7 Integrating Wikidata with Your Educational Workflows (Part 2) — the relevant materials are in the #Education section.
Both parts are suitable for people who have no prior experience with Wikidata. In Part 2, participants of Part 1 will provide the necessary background about Wikidata to those who are new to the topic.
Requirements
editPrior to the start of their course, participants are expected to
- create a Wikidata account if they do not have one already
- accounts on any other Wikimedia project (e.g. Wikipedia, Wikisource) are Wikidata accounts too
- for reasons of spam protection, newly created accounts cannot perform certain actions, so the accounts should be created at least a week before the course
- read at least two of the following articles
- think of
- research or educational materials or workflows they would like to see integrated with Wikidata
- research or educational questions they would like to see addressed (during the course or in any other time frame)
- bring a mobile, web-enabled device (such as a laptop, tablet or smartphone)
Facilities
editBesides seats, tables and power outlets for everyone in the room, a stable WiFi would be needed, and for the speaker a projector and a stable Ethernet connection. Since Daniel will attend remotely via Zoom, access to an A/V system would be needed.
Participants
editPlease sign and date your post (by typing * or clicking the signature icon: in the edit toolbar).
Monday-Tuesday
edit- Daniel Mietchen (talk) 20:28, 30 July 2018 (UTC)
- Benjamenta (talk) 20:43, 30 July 2018 (UTC)
- Phytolite (talk) 20:44, 30 July 2018 (UTC)
- John.novak.librarian (talk) 20:41, 30 July 2018 (UTC)
- Smaccall (talk) 20:44, 30 July 2018 (UTC)
- katieefrey (talk) 20:44, 30 July 2018 (UTC)
- Ahutt (talk) 20:46, 30 July 2018 (UTC)
- Thelibrariansd (talk) 20:50, 30 July 2018 (UTC)
- lutefisk812 (talk)
- Doblooming (talk) 20:55, 30 July 2018 (UTC)
- AmyEBHC (talk) 20:59, 30 July 2018 (UTC)
Wednesday-Thursday
edit- Daniel Mietchen (talk) 20:35, 1 August 2018 (UTC)
Introductions to Wikidata
edit- Overview of Wikimedia projects
- Listen to Wikidata
- Special:Random
- Wikidata:Scholia
- Wikidata:Status updates (Wikidata newsletter)
Wishlist
edit- JSON on mouseover
- See Special:Preferences#mw-prefsection-gadgets and the Navigation popups option therein
- Subscribing to Wikidata newsletter
- sign up via meta:Global message delivery/Targets/Wikidata
- References on Wikidata and for Wikimedia projects
- Referencing practices: see Help:Sources
- more details under #WikiCite
- I am primarily interested in observing the SPARQL querying process in action Smaccall (talk) 23:25, 30 July 2018 (UTC)
- details under #Queries https://query.wikidata.org/
- Anything additional on Wikidata-populated infoboxes on Wikipedia articles ... for example, if I know of a wikipedia page without an infobox, should I use wikidata to create it? (hope that questions makes sense!) Smaccall (talk) 23:39, 30 July 2018 (UTC)
- details under #Wikidata-powered infoboxes
- Property proposals
- Let's browse some under Wikidata:Property proposal
- Post one for Unified Astronomy Thesaurus (Q24254757)?
- More on tools
- via #Tools
- Refinements of the disaster query
- Details via #Disasters by location and disaster type
- Updates
- see the RSS feeds in certain Scholia views, e.g. for California
- more details via the #University of California at San Diego section under #WikiCite
Queries
editHelp
edit- Definition of SPARQL functions, commands, reserved words etc.: SPARQL at the World Wide Web Consortium
Example queries
editInstitutions around the globe where people who have/ had a doctoral advisor have been educated
editThe following query uses these:
- Items: human (Q5) , Canada (Q16)
- Properties: instance of (P31) , doctoral advisor (P184) , educated at (P69) , image (P18) , country (P17) , coordinate location (P625)
Features: map (Q24515275)
#defaultView:Map
SELECT ?academics ?academicsLabel ?geoloc ?institution ?institutionLabel ?image WHERE {
?academics wdt:P31 wd:Q5 . # instances (P31) of humans (Q5)
?academics wdt:P184 ?advisor . # PhD supervisor (P184)
# possible other route to identify people with PhD: Property:P512 (academic degree): Q752297
?academics wdt:P69 ?institution . # educated at
?academics wdt:P18 ?image . #image
#?institution wdt:P17 wd:Q16 . # institution is in Canada
?institution wdt:P625 ?geoloc . #gets the geolocation of the institution
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
LIMIT 100
Map of institutions where Canadian citizens got their PhD
editThe following query uses these:
- Items: human (Q5) , Canada (Q16) , doctorate (Q849697)
- Properties: instance of (P31) , country of citizenship (P27) , image (P18) , coordinate location (P625) , subclass of (P279) , educated at (P69) , academic degree (P512)
Features: map (Q24515275)
#defaultView:Map
SELECT DISTINCT ?institution ?institutionLabel ?academics ?academicsLabel ?degree ?degreeLabel ?geoloc ?image WHERE {
?academics wdt:P31 wd:Q5 ; # instances (P31) of humans (Q5)
wdt:P27 wd:Q16 ; # country of citizenship
p:P69 ?statement . # check for an "educated at" (P69) statement
OPTIONAL { ?academics wdt:P18 ?image }. #image
?statement ps:P69 ?institution . # get value of the "educated at" statement, i.e. the institution
?institution wdt:P625 ?geoloc . # get the geolocation of the institution
?statement pq:P512 ?degree . # get qualifier "academic degree" (P512)
?degree wdt:P31*/wdt:P279* wd:Q849697 . # filter for doctoral degrees
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Disasters by location and disaster type
editThe following query uses these:
- Items: disaster (Q3839081)
- Properties: subclass of (P279) , instance of (P31) , coordinate location (P625) , image (P18)
Features: map (Q24515275)
#defaultView:Map{"layer":"?typeLabel"}
SELECT ?item ?itemLabel ?geo ?type ?typeLabel (SAMPLE(?_image) AS ?image) WHERE {
?type wdt:P279* wd:Q3839081 .
?item wdt:P31 ?type ;
wdt:P625 ?geo .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
OPTIONAL { ?item wdt:P18 ?_image }
}
GROUP BY ?item ?itemLabel ?geo ?type ?typeLabel
Disasters by location and disaster type, with number of casualties
editThe following query uses these:
- Items: disaster (Q3839081)
- Properties: subclass of (P279) , instance of (P31) , number of deaths (P1120) , coordinate location (P625) , image (P18)
Features: map (Q24515275)
#defaultView:Map{"layer":"?typeLabel"}
SELECT ?item ?itemLabel ?geo ?type ?typeLabel ?casualties (SAMPLE(?_image) AS ?image) WHERE {
?type wdt:P279* wd:Q3839081 .
?item wdt:P31 ?type ;
wdt:P1120 ?casualties ;
wdt:P625 ?geo .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
OPTIONAL { ?item wdt:P18 ?_image }
}
GROUP BY ?item ?itemLabel ?geo ?type ?typeLabel ?casualties
Wikidata-powered infoboxes
editIntroduction
editExamples for Wikidata-driven infoboxes
edit- fr:Modèle:Infobox Fromage
- Template:Databox
- commons:Template:Wikidata Infobox
- en:South Pole Telescope
Technical details
editWikiCite
editMore on Wikidata:Scholia
edit- https://tools.wmflabs.org/scholia/Q9047 (Leibniz)
- may freeze your browser due to extensive network graph
- just his academic tree (may still freeze)
- may freeze your browser due to extensive network graph
University of California at San Diego
edit- Overview of the information about University of California, San Diego (Q622664) (in Reasonator, SQID and Scholia)
- Wikidata graph around the item for Q622664 (University of California at San Diego)
- Recent changes linked to the item for Q622664 (University of California at San Diego)
- Recent changes of items linked directly or via one indirect step to the item for Q622664 (University of California at San Diego) via SPARQL Recent Changes
Tools
edit- Overview on Wikidata:Tools
- Quality control
- Games
- Wikidata lists (aka Listeria), via Template:Wikidata list (Q19860885)
- Graphs updating based on Wikidata data
- based on mw:Extension:Graph/Demo
- example: Comparison of Wikipedias
- based on mw:Extension:Graph/Demo
Education
editStarting points
editEtherpad
editGames
editIdeas for Wikidata-related activities that could be made part of coursework
edit- Vote on existing ideas and submit new ones
- Results so far
FSCI Doathon
editLogistics
editIdeas about what to work on
edit- Play some Wikdiata games
- e.g. create the design for an "Everything is Connected" Puzzle
- Show others how to play such games
- Create a Wikidata-based list
- Any open issues from Wikidata:Request a query
Background reading
editSome more practice
editSet up a new lexeme
edit- Check whether it already exists
- Check whether a tool exists to help create the lexeme via pre-defined forms
- Use the default: Special:NewLexeme
- Example: List of months of the year in various languages
Set up a new item for a publication
edit- Pick a DOI or PMCID
- Enter it into SourceMD
- Check and run
Annotate some publication items as to what they are about
editSome further customization of our Wikidata user interface
edit- add a Scholia link to the sidebar
- This will add a link to Scholia in the sidebar
Geolocated topics of scholarly articles
editThe following query uses these:
- Properties: main subject (P921) , instance of (P31) , coordinate location (P625)
Features: map (Q24515275)
#source: https://gist.github.com/floatingpurr/490df22fdbeff0f127f71f83eff6a284
#defaultView:Map{"layer":"?topicsBin"}
SELECT ?topic ?topicLabel ?geoloc ?topicsBin ?topicCitations
WHERE{
BIND(
IF(?topicCitations < 10, "Log < 1",
IF(?topicCitations < 100, "Log < 2",
IF(?topicCitations < 1000, "Log < 3",
"Log >= 3")))
AS ?topicsBin)
{
SELECT ?topic ?geoloc (count(?topic) as ?topicCitations)
WHERE {
?paper wdt:P921 ?topic ;
wdt:P31 wd:Q13442814 .
?topic wdt:P625 ?geoloc.
}
GROUP BY ?topic ?geoloc
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Scaling this up
editList of publications with a certain string in the title that have not been tagged as being about a topic described by the string
editThe following query uses these:
- Items: data sharing (Q5227350)
- Properties: main subject (P921)
SELECT DISTINCT ?item ?itemLabel WHERE { hint:Query hint:optimizer "None". SERVICE wikibase:mwapi { bd:serviceParam wikibase:api "Search"; wikibase:endpoint "www.wikidata.org"; mwapi:srsearch "\"data sharing\" haswbstatement:P31=Q13442814" . ?title wikibase:apiOutput mwapi:title. } BIND(IRI(CONCAT(STR(wd:), ?title)) AS ?item) FILTER NOT EXISTS { ?item wdt:P921 wd:Q5227350. } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } # LIMIT 10000
Tool: QuickStatements
editTool: Mix'n'Match
editTailoring educational workflows
edit- Here, we will make use of the results of our brainstorming from yesterday.
- now available at Wikidata:Wikidata curricula/Activities:
- Add affiliation information to items about scholars
- Add labels to items
- Add links to Scholia profiles from relevant pages on Wikimedia projects
- Add screenshots to some example queries
- Analyze the history of popular items on Wikidata
- Annotate publication items with their main topic
- Ask WDAqua
- Ask Wikidata
- Catalog a book collection in Inventaire
- Catalog the usage of Wikidata in other Wikimedia projects
- Check out the IRC of the Wikidata developers
- Complete some subset of Wikidata
- Consider what could be done with Listeria lists that have grown too large
- Contribute a Wikidata-related report to This Month in Education
- Contribute to the Wikidata report in This Month in GLAM
- Contribute to the next Wikidata status update
- Create some lexemes
- Design a Wikidata bot
- Disambiguate some author name strings
- Document an exploration of Wikidata in a Jupyter notebook
- Document some aspect of the history of Wikidata
- Explain the abundance of references to goats in Wikidata folklore to someone unfamiliar with it
- Explore Crotos
- Explore Everything is connected
- Explore Histropedia
- Explore Lexemes
- Explore Lingua Libre
- Explore Mix'n'Match
- Explore ORCIDator
- Explore OSM Sophox
- Explore OpenRefine
- Explore Ordia
- Explore PAWS
- Explore PetScan
- Explore Platypus
- Explore Reasonator
- Explore SQID
- Explore Scholia
- Explore SourceMD
- Explore Special:LongPages
- Explore Special:Nearby
- Explore Special:NewPages
- Explore Special:Notifications
- Explore Special:Preferences
- Explore Special:Random
- Explore Special:RecentChanges
- Explore Special:SiteMatrix
- Explore Special:SpecialPages
- Explore Special:Statistics
- Explore Special:Tags
- Explore Sum of all Knowledge
- Explore Sum of all Paintings
- Explore Tempo-spatial display
- Explore User boxes
- Explore WikiCite
- Explore WikiProjects in your fields
- Explore Wikidata-related Quarry queries
- Explore Wikidata-related categories on other Wikimedia projects
- Explore Wikidata-related resources at OpenML
- Explore Wikidata:Tools
- Explore Wikidata query log data
- Explore Wikidata showcase items
- Explore database reports for quality control
- Explore how information related to news events is finding its way into Wikidata
- Explore some SPARQL queries to check data quality
- Explore some of the Easter eggs in Wikidata identifiers
- Explore the ArticlePlaceholder functionality on some wikis that have enabled it
- Explore the Wikibase registry
- Explore the different options for accessing Wikidata data
- Export the results of a Wikidata query into an analytical tool
- Find Commons Creator page without Commons category
- Fix some Wikidata-related bugs
- Identify some gaps in Wikidata
- Import a dataset with OpenRefine
- Import an external database into a Wikibase instance
- Improve Wikidata:Introduction
- Improve Wikidata:Tours
- Improve Wikidata:Wikidata for authority control
- Improve the Wikidata Main page in a given language
- Learn the basics of SPARQL
- Link some subsets of Wikidata
- Listen to Wikidata
- Play Guessr
- Post some responses to Wikidata-related questions on StackOverflow
- Pywikibot
- Pywikibot/Missing label in target language
- Pywikibot/Missing label in target language/code
- Read about Wikidata
- Respond to a Request a Query post
- Review Wikidata's Notability policy
- Review Wikidata's policy on Biographies of Living People
- Review Wikidata-related activities at past, present and future events
- Review active property proposals
- Review some Wikidata policies
- Review some ongoing discussions on Wikidata
- Review some research proposals related to Wikidata
- Review the example SPARQL queries
- Subscribe to a Wikidata mailing list
- Subscribe to the Wikidata status updates
- Take a Wikidata Tour
- Take a published dataset and reconcile it using Wikidata identifiers
- Thank another user for an edit on Wikidata
- Translate a restaurant menu using Wikidata
- Translate descriptions of Wikidata items
- Translate descriptions of Wikidata properties
- Translate labels of Wikidata items
- Translate labels of Wikidata properties
- Tweet about Wikidata-related events
- Tweet about a Wikidata edit
- Tweet about a Wikidata property
- Tweet about a Wikidata query
- Tweet about some Wikidata-related statistics
- Upload a Zotero library to Wikidata
- Upload a screenshot of some aspect of Wikidata to Wikimedia Commons
- Use WikiShootMe to upload some images to Wikimedia Commons and use them on Wikidata
- Visualize some academic trees
- Work on some Wikidata-related feature requests
By the kind of involvement of Wikidata
edit- Building generic Wikidata-based modules that can be inserted into coursework on a broad range of subjects with minimal customization
- Adding a Wikidata component to existing courses that involve Wikipedia or some other Wikimedia-related activity
- Building a largely Wikidata-based curriculum for data science or other data-centric fields
By age group
edit- K-12
- Secondary
- Tertiary
- Professional education
- Seniors
By level of knowledge or skills
editLevels
edit- Beginner
- Intermediate
- Experienced
- Expert
Dimensions of knowledge/ skills
edit- Domain knowledge
- Wikidata knowledge
- Language skills
- Software development skills
- Design skills
- Communication skills
By field of knowledge
edit- Art history
- Epidemiology
- Linguistics
- Goats
By jurisdiction
edit- California
- France
- Kerala
Course summary
editThis will be presented on Friday in the summary plenary session.
See also
edit- 2017 version of the course
- Data modeling discussion about how to handle taxonomic synonyms
- Collection of taxonomy-related Wikidata queries
- Wikimedia overview
- Suggested reading for this course
- Wikidata:Introduction
- Webinar: Introduction to Wikidata for Librarians
- Wikidata identifiers for authority control
- Wikidata Game
- Wikidata by newbies for newbies
- Wikidata:Tours
- Wikidata:WikiProject Welcome
- Wikidata: the new hub for cultural heritage
- Using Wikidata as an open, community-maintained database of biomedical knowledge
- Special:Tags
- intro tweets
- Wikidata:SPARQL tutorial
- User:Pasleim/Language statistics for items
- Wikidata:Planning a Wikidata workshop
- Wikidata Lab VIII
- Image candidates for taxa with Zoobank ID
- Wikidata: a platform for your library’s linked open data (Q52824698)
- Creating and editing libraries on Wikidata
- Programs & Events Dashboard
- Wikidata:In one page
- Wikidata workshop for digital humanists
- Wikidata entry in the LOD cloud
- Semantic Web: Learning from Machine Learning
- Wikidata: knowledge representation the easy way
- Volatile Organic Compounds: A Detailed Account of Identity, Origin, Activity and Pathways