query-818c0accf0c02c5c60c17fc7f54e5dd1

rq turtle/ttl

Propertiespart of the series (P179)image (P18)point in time (P585)country (P17)location (P276)logo image (P154)motto text (P1451)winner (P1346)cost (P2130)number of participants (P1132)

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#>
SELECT distinct ?item ?itemLabel ?stateLabel ?placeLabel ?seqLabel ?year ?img ?logo ?motto ?num ?cost ?winnerLabel WHERE
{
  ?item wdt:P179 wd:Q276.
  OPTIONAL {?item wdt:P18 ?img.}
  OPTIONAL {?item wdt:P585 ?year.}
  OPTIONAL {?item wdt:P179 ?seq.}
  OPTIONAL {?item wdt:P17 ?state.}
  OPTIONAL {?item wdt:P276 ?place.}
  OPTIONAL {?item wdt:P154 ?logo.}
  OPTIONAL {?item wdt:P1451 ?motto.}
  OPTIONAL {?item wdt:P1346 ?winner.}
  OPTIONAL {?item wdt:P2130 ?cost.}
  OPTIONAL {?item wdt:P1132 ?num.}
  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; v10("?cost"):::projected v2("?img"):::projected v1("?item"):::projected v7("?logo"):::projected v8("?motto"):::projected v11("?num"):::projected v6("?place") v4("?seq") v5("?state") v9("?winner") v3("?year"):::projected c13(["bd:serviceParam"]):::iri c15(["#91;AUTO_LANGUAGE#93;,en"]):::literal c2(["wd:Q276"]):::iri v1 --"wdt:P179"--> c2 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P18".-> v2 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P585".-> v3 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P179".-> v4 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P17".-> v5 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P276".-> v6 end subgraph optional5["(optional)"] style optional5 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P154".-> v7 end subgraph optional6["(optional)"] style optional6 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P1451".-> v8 end subgraph optional7["(optional)"] style optional7 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P1346".-> v9 end subgraph optional8["(optional)"] style optional8 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P2130".-> v10 end subgraph optional9["(optional)"] style optional9 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P1132".-> v11 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c13 --"wikibase:language"--> c15 end