query-9b3db32b259b284f8b10311e8dc20b55
Metacritic
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?ASIN ?statement WHERE {
?item wdt:P31 wd:Q7889;
p:P5749 ?statement.
?statement ps:P5749 ?ASIN.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
ORDER BY (UCASE(STR(?itemLabel)))
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?ASIN"):::projected
v2("?item"):::projected
v1("?itemLabel"):::projected
v3("?statement"):::projected
c6(["bd:serviceParam"]):::iri
c2(["wd:Q7889"]):::iri
c8(["en"]):::literal
v2 --"p:direct/P31"--> c2
v2 --"p:P5749"--> v3
v3 --"p:statement/P5749"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end