Wiki/Wikidata:SPARQL query service/queries/examples: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

16 May 2023

  • curprev 07:0107:01, 16 May 2023Admin talk contribs 3,862 bytes +3,862 Created page with " __TOC__ == <!--T:9--> Simple queries == === <!--T:541--> Cats === <!--T:700--> This query looks at all items whose value of {{P|31}} is {{Q|146}}. It uses the service wikibase:label to return the labels in your default language or in English. {{SPARQL|query=SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q146. # <!--T:680--> Must be of a cat SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } # <!--T:681--> Helps get the label..."