query-6cee54e2fe7392971bf640708cfe0807

rq turtle/ttl

Palazzi, chiese ed edifici di Bologna presenti nel catalogo Tourer SELECT ?edificio ?edificioLabel ?edificioDescription ?tourer WHERE { {?edificio wdt:P31 wd:Q41176 .} UNION {?edificio wdt:P31 wd:Q16560 .} UNION {?edificio wdt:P31 wd:Q16970 .} UNION {?edificio wdt:P31 wd:Q2651004 .} UNION {?edificio wdt:P31 wd:Q12518 .} UNION {?edificio wdt:P31 wd:Q24398318 .} ?edificio wdt:P131 wd:Q1891 . ?edificio wdt:P4133 ?tourer . SERVICE wikibase:label { bd:serviceParam wikibase:language "it,en". } } LIMIT 100

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#>
#Palazzi, chiese ed edifici di Bologna presenti nel catalogo Tourer
SELECT ?edificio ?edificioLabel ?edificioDescription ?tourer
WHERE {
  {?edificio wdt:P31 wd:Q41176 .} UNION {?edificio wdt:P31 wd:Q16560 .} UNION {?edificio wdt:P31 wd:Q16970 .} UNION {?edificio wdt:P31 wd:Q2651004 .} UNION {?edificio wdt:P31 wd:Q12518 .} UNION {?edificio wdt:P31 wd:Q24398318 .}
       ?edificio wdt:P131 wd:Q1891 .
       ?edificio wdt:P4133 ?tourer .
    SERVICE wikibase:label { bd:serviceParam wikibase:language "it,en". }
             }
LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?edificio"):::projected v2("?tourer"):::projected c3(["wd:Q16560"]):::iri c6(["wd:Q12518"]):::iri c2(["wd:Q41176"]):::iri c12(["bd:serviceParam"]):::iri c7(["wd:Q24398318"]):::iri c14(["it,en"]):::literal c4(["wd:Q16970"]):::iri c9(["wd:Q1891"]):::iri c5(["wd:Q2651004"]):::iri subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; subgraph union1[" Union "] subgraph union1l[" "] style union1l fill:#abf,stroke-dasharray: 3 3; subgraph union2[" Union "] subgraph union2l[" "] style union2l fill:#abf,stroke-dasharray: 3 3; subgraph union3[" Union "] subgraph union3l[" "] style union3l fill:#abf,stroke-dasharray: 3 3; subgraph union4[" Union "] subgraph union4l[" "] style union4l fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P31"--> c7 end subgraph union4r[" "] style union4r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P31"--> c6 end union4r <== or ==> union4l end end subgraph union3r[" "] style union3r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P31"--> c5 end union3r <== or ==> union3l end end subgraph union2r[" "] style union2r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P31"--> c4 end union2r <== or ==> union2l end end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P31"--> c3 end union1r <== or ==> union1l end end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P31"--> c2 end union0r <== or ==> union0l end v1 --"wdt:P131"--> c9 v1 --"wdt:P4133"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c12 --"wikibase:language"--> c14 end