query-c5f8104091f3228dd70ce156f43ee92c
Ebook readers and the file formats they support
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#>
#defaultView:Graph
SELECT ?ereader ?ereaderLabel ?format ?formatLabel ("00FFFF" AS ?rgb) WHERE {
?ereader wdt:P31/wdt:P279* wd:Q726235.
?ereader wdt:P1072 ?format.
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("?ereader"):::projected
v2("?format"):::projected
v3("?rgb")
a1((" "))
c3(["wd:Q726235"]):::iri
c6(["bd:serviceParam"]):::iri
c8(["en"]):::literal
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v1 --"wdt:P1072"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end
bind0[/"'00FFFF'"/]
bind0 --as--o v3