Project:SPARQL/examples: Difference between revisions

From KBTestWikibase
Jump to navigation Jump to search
(Created page with "=== Cats === {{SPARQL|query=SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q146. # Must be of a cat SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } Helps get the label in your language, if not, then en language } }}")
 
No edit summary
Line 4: Line 4:
{
{
   ?item wdt:P31 wd:Q146. # Must be of a cat
   ?item wdt:P31 wd:Q146. # Must be of a cat
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } Helps get the label in your language, if not, then en language
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } #Helps get the label in your language, if not, then en language
}
}
}}
}}

Revision as of 11:11, 23 June 2022