query-a2d288fc555d1f18ef2f059e18dcc1b8
Order by number - correctlyGiven a simple query like
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?value
{
?item wdt:P5492 ?value .
SERVICE wikibase:label { bd:serviceParam wikibase:language "it,en" }
}
ORDER BY ?value
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?value"):::projected
c3(["bd:serviceParam"]):::iri
c5(["it,en"]):::literal
v2 --"wdt:P5492"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end