User:Charles Matthews/Food science workshop links
Jump to navigation
Jump to search
![](https://upload.wikimedia.org/wikipedia/commons/thumb/5/50/WikiFactMine_terrible_logo.svg/200px-WikiFactMine_terrible_logo.svg.png)
![](https://upload.wikimedia.org/wikipedia/commons/thumb/5/50/WikiFactMine_terrible_logo.svg/200px-WikiFactMine_terrible_logo.svg.png)
This is a links page, for a WikiFactMine workshop being given 3 September in Cambridge, UK. The theme is obtaining "dictionaries" for food science (Q1637030).
Objectives
[edit]The workshop will address issues with 16 topic areas, drawn from a food science thesaurus. Queries will be used also to add images to Wikidata.
Links
[edit]- w:Food Science and Technology Abstracts
- Wikidata:WikiFactMine/Dictionary list
- Reasonator tool for visualising Q-numbers
- aaraa tool for dictionaries
- WD-FIST images tool
Example queries
[edit]These go from (too) basic to practical.
- Try it!
#Instance of "bread" SELECT ?item WHERE { ?item wdt:P31 wd:Q7802 . }
- Try it!
#Instance of "bread", labels SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q7802 . SERVICE wikibase:label {bd:serviceParam wikibase:language "en" .} }
- Try it!
#Instance of "bread" and subclasses, labels SELECT DISTINCT ?item ?itemLabel WHERE { ?item wdt:P31*/wdt:P279* wd:Q7802 . SERVICE wikibase:label {bd:serviceParam wikibase:language "en" .} }
- Try it!
#Direct subclasses of "bread", labels SELECT ?item ?itemLabel WHERE { ?item wdt:P279 wd:Q7802 . SERVICE wikibase:label {bd:serviceParam wikibase:language "en" .} }
- Try it!
#Direct subclass and instance of "bread", labels SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q7802 . ?item wdt:P279 wd:Q7802 . SERVICE wikibase:label {bd:serviceParam wikibase:language "en" .} }