query-28a98e81330647d68a8681c84bf8521f

rq turtle/ttl

First level circular references (one step apart):

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Graph
SELECT ?x ?xLabel ("FF4444" AS ?rgb) ?y ?yLabel
WHERE {
  ?x wdt:P279/wdt:P279 ?y;
     ^wdt:P279/^wdt:P279 ?y.
  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; v3("?rgb") v1("?x"):::projected v2("?y"):::projected a1((" ")) a2((" ")) c3(["bd:serviceParam"]):::iri c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"wdt:P279"--> a1 a1 --"wdt:P279"--> v2 a2 --"wdt:P279"--> v1 v2 --"wdt:P279"--> a2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c3 --"wikibase:language"--> c5 end bind0[/"'FF4444'"/] bind0 --as--o v3