query-6a60c541b03bb87fc4f96625e0d56744

rq turtle/ttl

...with circular nodes.

Use at

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 ?p ?pLabel ?rgb ?number2  ?w ?wLabel (5 AS ?number1) 
WHERE 
{
  ?p wdt:P31 wd:Q98270496 . 
  ?p wdt:P1416 ?w .
  BIND(10 AS ?number2)
  BIND("EC0000" AS ?rgb)
  BIND("hallo" AS ?pLabel)
  OPTIONAL { ?w wdt:P154 ?wpicture }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en" . }
} ORDER BY ASC(?wLabel)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v8("?number1") v4("?number2"):::projected v2("?p"):::projected v6("?pLabel"):::projected v5("?rgb"):::projected v3("?w"):::projected v1("?wLabel"):::projected v7("?wpicture") c6(["bd:serviceParam"]):::iri c8(["de,en"]):::literal c2(["wd:Q98270496"]):::iri v2 --"wdt:P31"--> c2 v2 --"wdt:P1416"--> v3 bind0[/"'10^^xsd:integer'"/] bind0 --as--o v4 bind1[/"'EC0000'"/] bind1 --as--o v5 bind2[/"'hallo'"/] bind2 --as--o v6 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P154".-> v7 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end bind3[/"'5^^xsd:integer'"/] bind3 --as--o v8