query-b5ec17142af5a4d8a0b5ca38cb099592
TODO
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 ?item ?itemLabel # searching for an author and her*hisWikidata identifier (=q-number)
WHERE
{
VALUES ?article { wd:Q24535835 } . # the wikidata-identifier of the article has this value
?article wdt:P50 ?item . # an article has this person / these people as author(s)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?article")
v2("?item"):::projected
c3(["bd:serviceParam"]):::iri
c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal
bind0[/VALUES ?article/]
bind0-->v1
bind00(["wd:Q24535835"])
bind00 --> bind0
v1 --"wdt:P50"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end