query-7ab3ff7234bf5f96ce6840e27415ed27
GamalielTagishsimonhttps://www.wikidata.org/w/index.php?search=haswbstatement%3AP345+-haslabel%3Aen&&ns0=1
Use at
- https://query.wikidata.org/sparql
PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?imdb
WHERE
{
SERVICE wikibase:mwapi
{
bd:serviceParam wikibase:api "Search" .
bd:serviceParam wikibase:endpoint "www.wikidata.org" .
bd:serviceParam mwapi:srnamespace "0" .
bd:serviceParam mwapi:srsearch "haswbstatement:P345 -haslabel:en" .
?item wikibase:apiOutputItem mwapi:title .
}
?item wdt:P345 ?imdb.
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?imdb"):::projected
v1("?item"):::projected
c6(["www.wikidata.org"]):::literal
c10(["haswbstatement:P345 -haslabel:en"]):::literal
c8(["0"]):::literal
c2(["bd:serviceParam"]):::iri
c4(["Search"]):::literal
c12(["mwapi:title"]):::iri
subgraph s1["http://wikiba.se/ontology#mwapi"]
style s1 stroke-width:4px;
c2 --"mwapi:api"--> c4
c2 --"mwapi:endpoint"--> c6
c2 --"mwapi:srnamespace"--> c8
c2 --"mwapi:srsearch"--> c10
v1 --"mwapi:apiOutputItem"--> c12
end
v1 --"wdt:P345"--> v2