query-8f4a249f235be81dcebbf5488ef5fe60
Color-coded graph of emulators and what they emulate
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#>
#defaultView:Graph
SELECT ?emulator ?emulatorLabel ?target ?targetLabel ("00FFFF" AS ?rgb)
WHERE {
?emulator (p:P31/ps:P31/wdt:P279*) wd:Q202871 .
?emulator wdt:P4043 ?target
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("?emulator"):::projected
v3("?rgb")
v2("?target"):::projected
a1((" "))
a2((" "))
c7(["bd:serviceParam"]):::iri
c4(["wd:Q202871"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"p:P31"--> a1
a1 --"p:statement/P31"--> a2
a2 --"p:direct/P279"--> c4
v1 --"p:direct/P4043"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
bind0[/"'00FFFF'"/]
bind0 --as--o v3