query-1f2c758ec23bc104c913dff986ef7b50
SPARQL demonstrative queryA simple query that shows how to perform specific and basic tasks Some examples are .SERVICE wikibase:labelGet the label of a Wikidata item in a given language using
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel {
VALUES ?item {wd:Q935}.
SERVICE wikibase:label {bd:serviceParam wikibase:language "en"}.
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
c2(["bd:serviceParam"]):::iri
c4(["en"]):::literal
bind0[/VALUES ?item/]
bind0-->v1
bind00(["wd:Q935"])
bind00 --> bind0
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end