Template:SPARQL/doc
Appearance
This is a documentation subpage for Template:SPARQL. It may contain usage information, categories and other content that is not part of the original template page. |
Example
[edit]This code
{{SPARQL|query=#Chats, avec des images #added before 2016-10 #defaultView:ImageGrid SELECT ?item ?itemLabel ?pic WHERE { ?item wdt:P31 wd:Q146 . ?item wdt:P18 ?pic SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" } } }}
Will give with a launch button for Wikidata query service:
#Chats, avec des images
#added before 2016-10
#defaultView:ImageGrid
SELECT ?item ?itemLabel ?pic
WHERE
{
?item wdt:P31 wd:Q146 .
?item wdt:P18 ?pic
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
}
Click here to launch the Wikidata query
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
SPARQL query code | query | no description | String | required |