| Yair_rand created this task. Yair_rand added a project: Wikidata-Query-Service. Herald added a subscriber: Aklapper. Herald added projects: Wikidata, Discovery. |
TASK DESCRIPTION
The query service interface has autocomplete suggestions accessible via Ctrl-Space. One of these is the following
SELECT * WHERE {}
This is useful, but not quite enough to avoid a lot of repetitiveness in typing out queries. Here are some other code blocks which I find myself typing quite frequently, which I think would be useful as suggestions:
SELECT ?item ?itemLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}#defaultView:Graph
SELECT ?s ?sLabel ?t ?tLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}SELECT (COUNT( * ) AS ?count) WHERE {
}SELECT ?item ?itemLabel (COUNT( ?i ) AS ?count) WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
} GROUP BY ?item ?itemLabel ORDER BY DESC ( ?count )Some other more general suggestions:
wdt:P31 / wdt:P279*
prov:wasDerivedFrom / pr:P248
FILTER EXISTS {
}TASK DETAIL
EMAIL PREFERENCES
To: Yair_rand
Cc: Yair_rand, Aklapper, GoranSMilovanovic, QZanden, EBjune, merbst, Avner, debt, Gehel, Jonas, FloNight, Xmlizer, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
Cc: Yair_rand, Aklapper, GoranSMilovanovic, QZanden, EBjune, merbst, Avner, debt, Gehel, Jonas, FloNight, Xmlizer, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
