query-5917cd7ea7dde1d2d8207f03a6a72455
Synia: Countries
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT
?country ?countryLabel
(CONCAT("#country/", SUBSTR(STR(?country), 32)) AS ?countryUrl)
?countryDescription
WHERE {
?country wdt:P31 wd:Q6256 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ?countryLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?country"):::projected
v1("?countryLabel"):::projected
v3("?countryUrl")
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c2(["wd:Q6256"]):::iri
v2 --"wdt:P31"--> c2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end
bind0[/"concat('#country/',substring(str(?country),'32^^xsd:integer'))"/]
v2 --o bind0
bind0 --as--o v3