query-6108e4ab2c131f58c1a11aa26c534178

rq turtle/ttl

VisionCreate template to Czech Wikipedia which print actual exhibitions for page. on Czech Wikipedia. Galerie Rudolfinum and page (Q3500594)Galerie Rudolfinum e.g. We have

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 ?item ?official_nameLabel ?start_time ?end_time ?curatorLabel ?official_website WHERE {
  ?item wdt:P31 wd:Q464980.
  ?item wdt:P580 ?start_time.
  ?item wdt:P582 ?end_time.
  ?item wdt:P664 wd:Q3500594.
  OPTIONAL { ?item wdt:P1448 ?official_name }
  OPTIONAL { ?item wdt:P1640 ?curator }
  OPTIONAL { ?item wdt:P856 ?official_website }
  FILTER (?start_time < NOW())
  FILTER (?end_time > NOW())
  SERVICE wikibase:label { bd:serviceParam wikibase:language "cs". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?curator") v1("?end_time"):::projected v3("?item"):::projected v4("?official_name") v6("?official_website"):::projected v2("?start_time"):::projected c13(["cs"]):::literal c11(["bd:serviceParam"]):::iri c2(["wd:Q464980"]):::iri c6(["wd:Q3500594"]):::iri f0[["?end_time > NOW()"]] f0 --> v1 f1[["?start_time < NOW()"]] f1 --> v2 v3 --"wdt:P31"--> c2 v3 --"wdt:P580"--> v2 v3 --"wdt:P582"--> v1 v3 --"wdt:P664"--> c6 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P1448".-> v4 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P1640".-> v5 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P856".-> v6 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c11 --"wikibase:language"--> c13 end