Husky added a comment.

  Hey, as a proof of concept, i've adapted my VizQuery 
<https://tools.wmflabs.org/hay/vizquery/> tool to use the beta endpoint 
<https://sdcquery.wmflabs.org/>.
  
  You can find the experimental VizQuery version over here 
<https://tools.wmflabs.org/hay/vizquery/?endpoint=commons>. As an example, here 
is a query 
<https://tools.wmflabs.org/hay/vizquery/?endpoint=commons#PREFIX%20wd%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fentity%2F%3E%0APREFIX%20wdt%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fprop%2Fdirect%2F%3E%0APREFIX%20wikibase%3A%20%3Chttp%3A%2F%2Fwikiba.se%2Fontology%23%3E%0APREFIX%20schema%3A%20%3Chttp%3A%2F%2Fschema.org%2F%3E%0APREFIX%20bd%3A%20%3Chttp%3A%2F%2Fwww.bigdata.com%2Frdf%23%3E%0A%0ASELECT%20DISTINCT%20%3Fitem%20%3FitemLabel%20%3FitemDescription%20(SAMPLE(%3Fimage)%20AS%20%3Fimage)%20%3Fsitelink%20WHERE%20%7B%0A%20%20%20%20%3Fitem%20wdt%3AP180%20wd%3AQ146.%0A%0A%0A%20%20%20%20%0AOPTIONAL%20%7B%20%3Fitem%20wdt%3AP18%20%3Fimage.%20%7D%0A%0A%20%20%20%20%0AOPTIONAL%20%7B%0A%20%20%3Fsitelink%20schema%3Aabout%20%3Fitem.%0A%20%20%3Fsitelink%20schema%3AisPartOf%20%3Chttps%3A%2F%2Fen.wikipedia.org%2F%3E.%0A%7D%0A%20%20%20%20%0ASERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%2Cfr%2Ces%2Cde%2Cru%2Cit%2Cnl%2Cja%2Czh%2Cpl%2Ccs%22.%20%7D%0A%0A%7D%20GROUP%20BY%20%3Fitem%20%3FitemLabel%20%3FitemDescription%20%3Fsitelink%0ALIMIT%2050>
 that finds all images that have a depicts (P180 
<https://phabricator.wikimedia.org/P180>) -> cat (Q146) statement.

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

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

To: Husky
Cc: Gehel, Nicolas_Raoul, Mmarx, Multichill, Nemo_bis, Husky, jleedev, 
Silverfish, Ainali, VIGNERON, JeanFred, Abbe98, ChristianFerrer, Jheald, 
Lucas_Werkmeister_WMDE, Salgo60, MB-one, Tpt, Addshore, Jarekt, Ramsey-WMF, 
Tgr, Bugreporter, Lydia_Pintscher, Aklapper, Steinsplitter, Poyekhali, 
Smalyshev, darthmon_wmde, DannyS712, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, 
E1presidente, Cparle, Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, 
EBjune, Tramullas, Acer, merbst, LawExplorer, _jensen, rosalieper, 
Taiwania_Justo, Scott_WUaS, Cirdan, Jonas, Xmlizer, Susannaanas, Ixocactus, 
Wong128hk, Jane023, jkroll, Wikidata-bugs, Jdouglas, Base, matthiasmullie, 
aude, Tobias1984, El_Grafo, Dinoguy1000, Manybubbles, Ricordisamoa, Wesalius, 
Fabrice_Florin, Raymond, Mbch331, Keegan
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to