query-0033f7339fc7603283e6c413700eeac9
ID externe item with specific externe IDHello, Could you help me to write a query to find a item with a specific ID extern? have the value 029396 but I can find it with this query : (Q55362159)Johann Jakob Meyer in (P902)HDS ID Example :
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
WHERE
{
?item wdt:P902 ?DHS.
FILTER (?DHS = "029396").
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
- https://www.wikidata.org/wiki/User:2le2im-bdc/SPARQL
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/Archive/2020/02
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?DHS")
v2("?item"):::projected
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["?DHS = '029396'"]]
f0 --> v1
v2 --"wdt:P902"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end