Multichill closed this task as "Resolved".
Multichill triaged this task as "Normal" priority.
Multichill claimed this task.
Multichill added a comment.

Backing up the etherpad:

llllllllllllllPhab task: https://phabricator.wikimedia.org/T137743

Slides: https://commons.wikimedia.org/wiki/File:Wikimania_2016_Hackathon_SPARQL.pdf

Examples: https://www.mediawiki.org/wiki/Wikibase/Indexing/SPARQL_Query_Examples

http://query.wikidata.org

RDF is a triple language: Subject Predicate Object

Can render output of query as a map; this scales to ~100,000 points.

Components include

basic SELECT .. WHERE .. LIMIT

Label service

OPTIONAL

DISTINCT

ORDER BY

GROUP BY

MINUS

FILTER

UNION

BIND

Query for artists that are a member of collection rights society (CRO):

https://query.wikidata.org/#%23Artist%20that%20are%20member%20of%20CBO%20per%20country%20%0ASELECT%20DISTINCT%20%3Fperson%20%3FpersonLabel%20%3FCBO%20%3FCBOLabel%20%3Fcountry%20%3FcountryLabel%0AWHERE%20%7B%0A%20%20%20%20%3Fperson%20wdt%3AP106%20wd%3AQ483501%20.%20%0A%20%20%20%20%3Fperson%20wdt%3AP463%20%3FCBO%20.%20%20%20%20%20%20%20%20%20%20%20%20%20%20%23%20...%20with%20an%20awarded%28P166%29%20statement%0A%20%20%20%20%3FCBO%20wdt%3AP31%20wd%3AQ1047437%20.%0A%20%20%09%3FCBO%20wdt%3AP17%20%3Fcountry%0A%20%20%20%20SERVICE%20wikibase%3Alabel%20%7B%20%20%20%20%20%20%20%20%20%20%20%20%23%20...%20include%20the%20labels%0A%20%20%20%20%20%20%20%20bd%3AserviceParam%20wikibase%3Alanguage%20%22nl%2Cen%22%20.%0A%20%20%20%20%7D%0A%20%20%0A%7D%20ORDER%20BY%20ASC%28%3FpersonLabel%29%20%0ALIMIT%20100%0A

https://www.wikidata.org/wiki/Q5301050
(space at start of English label)

@Lucie gave a nice presentation to a classroom full of people. Most people were fairly new to sparql, but managed to get some queries working and continued to improve and expand them on the hackathon.


TASK DETAIL
https://phabricator.wikimedia.org/T137743

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Multichill
Cc: Edgars2007, OrenBochman, Ata, Esh77, Jonas, Legoktm, Smalyshev, Kghbln, Base, Lydia_Pintscher, Lucie, Spinster, Aklapper, Multichill, Zppix, Avner, debt, Gehel, D3r1ck01, FloNight, Xmlizer, Izno, Psychoslave, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to