query-780e4ec7ec4732d47d74bfaf535791a3

rq turtle/ttl

Graph visualization of Soviet rock festivals and their participants

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#>
#title: Soviet rock festivals and their participants
#defaultView:Graph
SELECT ?festival ?festivalImage ?festivalLabel ?artist ?artistImage ?artistLabel 
WHERE {
  ?festival wdt:P710 ?artist;
          wdt:P5008 wd:Q110280278.
  OPTIONAL {?festival wdt:P18 ?festivalImage}
  OPTIONAL {?artist wdt:P18 ?artistImage}
  SERVICE wikibase:label {bd:serviceParam wikibase:language "[AUTO_LANGUAGE]".}
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?artist"):::projected v4("?artistImage"):::projected v1("?festival"):::projected v3("?festivalImage"):::projected c3(["wd:Q110280278"]):::iri c6(["bd:serviceParam"]):::iri c8(["#91;AUTO_LANGUAGE#93;"]):::literal v1 --"wdt:P710"--> v2 v1 --"wdt:P5008"--> c3 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P18".-> v3 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P18".-> v4 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end