Simple Question (Direct)
Simple Question
Q5506857
P69
Q19335303
USER
Where was Fu Sinian educated ?
(Q5506857,P69,c(Q19335303))
action filter_type
action find
entity Q5506857
relation P69
type Q19335303
['Q5506857', 'P69', {'concept': 'Q19335303'}]
SELECT DISTINCT ?t WHERE { resource:Q5506857 property:P69 ?t . ?t rdf:type ontology:Q19335303 }
Fu Sinian
action filter_type
action find
entity Fu Sinian
relation educated at
type type of business entity in Germany
['Fu Sinian', 'educated at', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?t WHERE { resource:Fu_Sinian property:educated_at ?t . ?t rdf:type ontology:type_of_business_entity_in_Germany }
[]
type of business entity in Germany
Q152087
SYSTEM
Humboldt University of Berlin
Q152087
(Q5506857,P69,c(Q19335303))
action filter_type
action find
entity Q5506857
relation P69
type Q19335303
Fu Sinian was educated at [ANSWER]
['Q5506857', 'P69', {'concept': 'Q19335303'}]
SELECT DISTINCT ?t WHERE { resource:Q5506857 property:P69 ?t . ?t rdf:type ontology:Q19335303 }
Humboldt University of Berlin
Fu Sinian was educated at Humboldt University of Berlin
Humboldt University of Berlin
action filter_type
action find
entity Fu Sinian
relation educated at
type type of business entity in Germany
['Fu Sinian', 'educated at', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?t WHERE { resource:Fu_Sinian property:educated_at ?t . ?t rdf:type ontology:type_of_business_entity_in_Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5506857
P106
Q12737077
USER
What do that person do for a living ?
(Q152087,P106,c(Q12737077))
action filter_type
action find
entity Q5506857
relation P106
type Q12737077
['Q152087', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q5506857 property:P106 ?r }
Fu Sinian
action filter_type
action find
entity Fu Sinian
relation occupation
type occupation
['Humboldt University of Berlin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Fu_Sinian property:occupation ?r }
[]
occupation
Q201788 Q14467526
SYSTEM
historian, linguist
Q201788 Q14467526
(Q152087,P106,c(Q12737077))
action filter_type
action find
entity Q5506857
relation P106
type Q12737077
That person do for a living [ANSWERS]
['Q152087', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q5506857 property:P106 ?r }
historian linguist
That person do for a living historian and linguist
historian linguist
action filter_type
action find
entity Fu Sinian
relation occupation
type occupation
['Humboldt University of Berlin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Fu_Sinian property:occupation ?r }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q12737077 Q2342494 Q502895
USER
How many occupations are the fields of work of more number of collectables or people than that occupation ?
(c(Q2342494)|c(Q502895),P101,c(Q12737077))
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?l ) { ( ?z ) ( ?x ) } . ?l property:Q627436 ?y } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q502895 }
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?l ) { ( ?z ) ( ?x ) } . ?l property:field_of_work ?y } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation . ?x rdf:type ontology:common_name }
[]
occupation collectable common name
Comparative|Count over More/Less|Mult. entity type|Clarification
Q201788
SYSTEM
Did you mean historian ?
(c(Q2342494)|c(Q502895),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?l ) { ( ?z ) ( ?x ) } . ?l property:Q627436 ?y } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q502895 }
Did you mean historian ?
historian
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?l ) { ( ?z ) ( ?x ) } . ?l property:field_of_work ?y } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant linguist. Could you tell me the answer for that?
(c(Q2342494)|c(Q502895),P101,c(Q12737077))
Q14467526
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
[]
SYSTEM
28
Q6625963 Q177220 Q39631 Q33999 Q706364 Q17156912 Q333634 Q183888 Q593644 Q81096 Q170790 Q2405480 Q1930187 Q212238 Q131524 Q1172458 Q169470 Q201788 Q483501 Q1114448 Q1028181 Q36834 Q245068 Q16009483 Q1607826 Q639669 Q11774891 Q6981670
(c(Q2342494)|c(Q502895),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q502895 }
novelist singer physician actor art director malariologist translator software developer chemist engineer mathematician voice actor journalist civil servant entrepreneur muhaddith physicist historian artist cartoonist painter composer comedian sideshow performer editor musician ice hockey player Navajo weaving
28
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14467526
P101
Q502895
USER
Which person has his/her area as linguist ?
(c(Q502895),P101,Q14467526)
action filter_type
action find_reverse
entity Q14467526
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q14467526']
SELECT DISTINCT ?j WHERE { ?j property:P101 resource:Q14467526 . ?j rdf:type ontology:Q502895 }
linguist
action filter_type
action find_reverse
entity linguist
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'linguist']
SELECT DISTINCT ?j WHERE { ?j property:field_of_work resource:linguist . ?j rdf:type ontology:common_name }
[]
common name
Q327195
SYSTEM
Edgar de Wahl
Q327195
(c(Q502895),P101,Q14467526)
action filter_type
action find_reverse
entity Q14467526
relation P101
type Q502895
[ANSWER] has his/her area as linguist
[{'concept': 'Q502895'}, 'P101', 'Q14467526']
SELECT DISTINCT ?j WHERE { ?j property:P101 resource:Q14467526 . ?j rdf:type ontology:Q502895 }
Edgar de Wahl
Edgar de Wahl has his/her area as linguist
Edgar de Wahl
action filter_type
action find_reverse
entity linguist
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'linguist']
SELECT DISTINCT ?j WHERE { ?j property:field_of_work resource:linguist . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q152087
P361
Q41176
USER
Which building is a component of Humboldt University of Berlin ?
(c(Q41176),P361,Q152087)
action filter_type
action find_reverse
entity Q152087
relation P361
type Q41176
[{'concept': 'Q41176'}, 'P361', 'Q152087']
SELECT DISTINCT ?q WHERE { ?q property:P361 resource:Q152087 . ?q rdf:type ontology:Q41176 }
Humboldt University of Berlin
action filter_type
action find_reverse
entity Humboldt University of Berlin
relation part of
type building
[{'concept': 'building'}, 'part of', 'Humboldt University of Berlin']
SELECT DISTINCT ?q WHERE { ?q property:part_of resource:Humboldt_University_of_Berlin . ?q rdf:type ontology:building }
[]
building
Q162684
SYSTEM
Charité
Q162684
(c(Q41176),P361,Q152087)
action filter_type
action find_reverse
entity Q152087
relation P361
type Q41176
[ANSWER] is a component of Humboldt University of Berlin
[{'concept': 'Q41176'}, 'P361', 'Q152087']
SELECT DISTINCT ?q WHERE { ?q property:P361 resource:Q152087 . ?q rdf:type ontology:Q41176 }
Charité
Charité is a component of Humboldt University of Berlin
Charité
action filter_type
action find_reverse
entity Humboldt University of Berlin
relation part of
type building
[{'concept': 'building'}, 'part of', 'Humboldt University of Berlin']
SELECT DISTINCT ?q WHERE { ?q property:part_of resource:Humboldt_University_of_Berlin . ?q rdf:type ontology:building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q152087
P159
Q34442
USER
Which road is the head office of that German business organization ?
(Q162684,P159,c(Q34442))
action filter_type
action find
entity Q152087
relation P159
type Q34442
['Q162684', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q34442 . resource:Q152087 property:P159 ?f }
Humboldt University of Berlin
action filter_type
action find
entity Humboldt University of Berlin
relation headquarters location
type road
['Charité', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:road . resource:Humboldt_University_of_Berlin property:headquarters_location ?f }
[]
road
Q160899
SYSTEM
Unter den Linden
Q160899
(Q162684,P159,c(Q34442))
action filter_type
action find
entity Q152087
relation P159
type Q34442
[ANSWER] is the head office of that German business organization
['Q162684', 'P159', {'concept': 'Q34442'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q34442 . resource:Q152087 property:P159 ?f }
Unter den Linden
Unter den Linden is the head office of that German business organization
Unter den Linden
action filter_type
action find
entity Humboldt University of Berlin
relation headquarters location
type road
['Charité', 'headquarters location', {'concept': 'road'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:road . resource:Humboldt_University_of_Berlin property:headquarters_location ?f }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q18621190
P669
Q34442 Q486972
USER
Which human settlements are located on lesser number of roads than La Samaritiaine, store 2 ?
(c(Q486972),P669,c(Q34442))
action less
action find_tuple_counts
relation P669
type Q486972
type Q34442
action count
action filter_type
action find
entity Q18621190
relation P669
type Q34442
[{'concept': 'Q486972'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?b ) WHERE { ?o property:P669 ?j . ?o rdf:type ontology:Q486972 . ?j rdf:type ontology:Q34442 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f rdf:type ontology:Q34442 . resource:Q18621190 property:P669 ?f } } . FILTER ( ?b < ?t ) }
La Samaritiaine, store 2
action less
action find_tuple_counts
relation located on street
type human settlement
type road
action count
action filter_type
action find
entity La Samaritiaine, store 2
relation located on street
type road
[{'concept': 'human settlement'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?b ) WHERE { ?o property:located_on_street ?j . ?o rdf:type ontology:human_settlement . ?j rdf:type ontology:road } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f rdf:type ontology:road . resource:La_Samaritiaine,_store_2 property:located_on_street ?f } } . FILTER ( ?b < ?t ) }
[]
road human settlement
Q18621205 Q2587975 Q2230782
SYSTEM
La Samaritaine, store 3, Unité d'Habitation de Marseille, Schambach
Q1223143 Q18621205 Q2265735 Q1938652 Q1201569 Q1245761 Q21036953 Q1479273 Q4511331 Q2587975 Q810372 Q2035575 Q1478509 Q4572703 Q21039837 Q810340 Q759839 Q2230782 Q810328 Q399750
(c(Q486972),P669,c(Q34442))
action less
action find_tuple_counts
relation P669
type Q486972
type Q34442
action count
action filter_type
action find
entity Q18621190
relation P669
type Q34442
[ANSWERS] are located on lesser number of roads than La Samaritiaine, store 2
[{'concept': 'Q486972'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?b ) WHERE { ?o property:P669 ?j . ?o rdf:type ontology:Q486972 . ?j rdf:type ontology:Q34442 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f rdf:type ontology:Q34442 . resource:Q18621190 property:P669 ?f } } . FILTER ( ?b < ?t ) }
Dietfurt in Mittelfranken La Samaritaine, store 3 Bovenkerk Mischelbach Dettenheim Dornhausen Laubenthal Massenbach Geislohe Unité d'Habitation de Marseille Unterasbach Ostheim Stopfenheim Brand Markhof Steinacker Rothenstein Schambach Schlungenhof Aha
La Samaritaine, store 3, Unité d'Habitation de Marseille and Schambach are located on lesser number of roads than La Samaritiaine, store 2
La Samaritaine, store 3 Unité d'Habitation de Marseille Schambach
action less
action find_tuple_counts
relation located on street
type human settlement
type road
action count
action filter_type
action find
entity La Samaritiaine, store 2
relation located on street
type road
[{'concept': 'human settlement'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?b ) WHERE { ?o property:located_on_street ?j . ?o rdf:type ontology:human_settlement . ?j rdf:type ontology:road } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f rdf:type ontology:road . resource:La_Samaritiaine,_store_2 property:located_on_street ?f } } . FILTER ( ?b < ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q18621205
P669
Q34442 Q486972
USER
And also tell me about La Samaritaine, store 3?
(c(Q486972),P669,c(Q34442))
action less
action find_tuple_counts
relation P669
type Q486972
type Q34442
action count
action filter_type
action find
entity Q18621205
relation P669
type Q34442
[{'concept': 'Q486972'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?n ) WHERE { ?c property:P669 ?g . ?g rdf:type ontology:Q34442 . ?c rdf:type ontology:Q486972 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Q18621205 property:P669 ?x . ?x rdf:type ontology:Q34442 } } . FILTER ( ?n < ?t ) }
La Samaritaine, store 3
action less
action find_tuple_counts
relation located on street
type human settlement
type road
action count
action filter_type
action find
entity La Samaritaine, store 3
relation located on street
type road
[{'concept': 'human settlement'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?n ) WHERE { ?c property:located_on_street ?g . ?g rdf:type ontology:road . ?c rdf:type ontology:human_settlement } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:La_Samaritaine,_store_3 property:located_on_street ?x . ?x rdf:type ontology:road } } . FILTER ( ?n < ?t ) }
[]
road human settlement
Q2587975 Q2230782 Q810328
SYSTEM
Unité d'Habitation de Marseille, Schambach, Schlungenhof
Q1223143 Q2265735 Q1938652 Q1201569 Q1245761 Q21036953 Q1479273 Q4511331 Q2587975 Q810372 Q2035575 Q1478509 Q4572703 Q21039837 Q810340 Q759839 Q2230782 Q810328 Q399750
(c(Q486972),P669,c(Q34442))
action less
action find_tuple_counts
relation P669
type Q486972
type Q34442
action count
action filter_type
action find
entity Q18621205
relation P669
type Q34442
[ANSWERS]
[{'concept': 'Q486972'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?n ) WHERE { ?c property:P669 ?g . ?g rdf:type ontology:Q34442 . ?c rdf:type ontology:Q486972 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Q18621205 property:P669 ?x . ?x rdf:type ontology:Q34442 } } . FILTER ( ?n < ?t ) }
Dietfurt in Mittelfranken Bovenkerk Mischelbach Dettenheim Dornhausen Laubenthal Massenbach Geislohe Unité d'Habitation de Marseille Unterasbach Ostheim Stopfenheim Brand Markhof Steinacker Rothenstein Schambach Schlungenhof Aha
Unité d'Habitation de Marseille Schambach Schlungenhof
action less
action find_tuple_counts
relation located on street
type human settlement
type road
action count
action filter_type
action find
entity La Samaritaine, store 3
relation located on street
type road
[{'concept': 'human settlement'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?n ) WHERE { ?c property:located_on_street ?g . ?g rdf:type ontology:road . ?c rdf:type ontology:human_settlement } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:La_Samaritaine,_store_3 property:located_on_street ?x . ?x rdf:type ontology:road } } . FILTER ( ?n < ?t ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P149
Q968159 Q2198855 Q41176
USER
Which buildings follows an architectural style of min number of art movements and cultural movements ?
(c(Q41176),P149,c(Q968159)|c(Q2198855))
action argmin
action union
action find_tuple_counts
relation P149
type Q41176
type Q968159
action find_tuple_counts
relation P149
type Q41176
type Q2198855
[{'concept': 'Q41176'}, 'P149', [{'concept': 'Q968159'}, {'concept': 'Q2198855'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?i WHERE { VALUES ( ?j ) { ( ontology:Q968159 ) ( ontology:Q2198855 ) } . ?r rdf:type ?j } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) ?u WHERE { { ?u rdf:type ontology:Q41176 . ?d rdf:type ontology:Q968159 . ?u property:P149 ?d } UNION { ?u property:P149 ?d . ?u rdf:type ontology:Q41176 . ?d rdf:type ontology:Q2198855 } } GROUP BY ?u } . FILTER ( ?c = ?w ) }
action argmin
action union
action find_tuple_counts
relation architectural style
type building
type art movement
action find_tuple_counts
relation architectural style
type building
type cultural movement
[{'concept': 'building'}, 'architectural style', [{'concept': 'art movement'}, {'concept': 'cultural movement'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?i WHERE { VALUES ( ?j ) { ( ontology:art_movement ) ( ontology:cultural_movement ) } . ?r rdf:type ?j } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) ?u WHERE { { ?u rdf:type ontology:building . ?d rdf:type ontology:art_movement . ?u property:architectural_style ?d } UNION { ?u property:architectural_style ?d . ?u rdf:type ontology:building . ?d rdf:type ontology:cultural_movement } } GROUP BY ?u } . FILTER ( ?c = ?w ) }
[]
art movement cultural movement building
Q12495 Q1075988 Q18536
SYSTEM
Burj Khalifa, Louvre Palace, The Shard
Q6486519 Q793169 Q2719120 Q2760139 Q246479 Q1540984 Q4889884 Q6842179 Q405637 Q17384048 Q1440190 Q134137 Q946439 Q540426 Q5338037 Q1425790 Q3068461 Q873832 Q18713582 Q14705208 Q941946 Q27681840 Q1367269 Q708859 Q1906882 Q4811050 Q838509 Q538610 Q5004369 Q911929 Q7972130 Q14684110 Q4356287 Q16585999 Q897802 Q15042377 Q14710205 Q10499927 Q444070 Q14682010 Q4705348 Q873309 Q20639499 Q488618 Q1470076 Q3890653 Q5135151 Q2433739 Q3333136 Q3657333 Q4127212 Q7978358 Q3156019 Q62408 Q143463 Q1517446 Q435524 Q2483110 Q2957450 Q1467467 Q940733 Q525811 Q2362239 Q7605575 Q2415873 Q168795 Q7580305 Q27162563 Q638593 Q1335287 Q420618 Q5592448 Q374662 Q16566 Q4152 Q2980424 Q2317067 Q925271 Q5647903 Q17275475 Q8772027 Q8017809 Q732489 Q1228217 Q7637618 Q7318137 Q4684009 Q898904 Q211818 Q682529 Q14682387 Q2534168 Q7890955 Q5594856 Q646339 Q6933041 Q6000580 Q4813549 Q3890974 Q193639 Q4769887 Q1278748 Q12334946 Q611811 Q27154899 Q5137179 Q14681856 Q62364 Q3657503 Q14683594 Q704695 Q7826523 Q570042 Q704698 Q18000018 Q2330055 Q3132953 Q7568799 Q15958081 Q2429287 Q1329088 Q7598273 Q4993599 Q574145 Q16895822 Q3891454 Q902532 Q15229519 Q161988 Q3149060 Q7456115 Q1257719 Q3889580 Q3527664 Q14691283 Q7103970 Q5517006 Q3197197 Q3115007 Q5944180 Q12334555 Q1144475 Q7054807 Q1428812 Q284013 Q6869487 Q1890644 Q18682579 Q4441034 Q11170679 Q5772098 Q6770714 Q1344454 Q211888 Q3533569 Q7891152 Q2927192 Q1404444 Q3550791 Q1594444 Q2064699 Q1478288 Q457318 Q4904336 Q2656838 Q2932201 Q5575704 Q3125027 Q15131 Q6921322 Q1439379 Q245731 Q2956542 Q200959 Q751174 Q18609463 Q3360861 Q1241285 Q3279128 Q14687467 Q1889721 Q3342690 Q14712186 Q2452513 Q14684214 Q2562959 Q586771 Q498261 Q6464835 Q6422568 Q5689896 Q321783 Q573955 Q15269800 Q18536 Q23792750 Q645474 Q14943579 Q16826147 Q7589425 Q731437 Q12800564 Q1547268 Q20220105 Q14713841 Q1354033 Q1464499 Q10441996 Q3561003 Q16840597 Q7006487 Q881790 Q1998385 Q14705214 Q650772 Q171517 Q7590612 Q571763 Q14709616 Q17615282 Q1783531 Q2298628 Q1405208 Q14689266 Q2957160 Q1033446 Q20054411 Q5642529 Q16964849 Q1075988 Q14681778 Q5073110 Q11704264 Q18594001 Q560144 Q249973 Q7204088 Q6535402 Q2046933 Q12063873 Q4969003 Q14716112 Q2932205 Q1413761 Q6796829 Q1540732 Q710826 Q6483870 Q4806060 Q5453389 Q18920448 Q6744870 Q12033470 Q12033471 Q922996 Q2248849 Q5004690 Q1614219 Q5551914 Q4906817 Q21806381 Q911047 Q15051794 Q317091 Q2000542 Q920930 Q3155126 Q3068088 Q2349038 Q16892043 Q2803442 Q1330847 Q15051892 Q800686 Q4774752 Q4155887 Q16981109 Q488935 Q1428488 Q63471 Q7355659 Q14687484 Q14687957 Q7581031 Q287165 Q3896289 Q3533022 Q22712506 Q7085356 Q7085355 Q3890269 Q11878512 Q746063 Q14713545 Q2983985 Q5123296 Q4392418 Q701941 Q3870216 Q1921433 Q2269261 Q1300447 Q530788 Q205666 Q4643425 Q7242864 Q4819044 Q1295286 Q216511 Q4993354 Q14712543 Q13360213 Q4856061 Q1983797 Q4801545 Q7696229 Q6682355 Q15920114 Q47473 Q1116546 Q1686861 Q3360878 Q6663659 Q7550197 Q7283924 Q6464273 Q4780361 Q7777436 Q7777435 Q2831230 Q7629948 Q14705229 Q1818096 Q18660147 Q565078 Q769964 Q6470829 Q2749982 Q80906 Q505233 Q8027222 Q6107318 Q5643183 Q4998927 Q317871 Q4943891 Q852960 Q1620225 Q1416812 Q1229016 Q14691877 Q139318 Q14715155 Q181461 Q126393 Q14710916 Q546009 Q7071672 Q600832 Q599223 Q9054542 Q17592468 Q723417 Q2047247 Q14711993 Q4884375 Q2315050 Q5414778 Q7630160 Q315002 Q7516682 Q1730099 Q1515007 Q14713057 Q1570788 Q18813727 Q20821994 Q1030463 Q2465115 Q2803035 Q7088451 Q1580576 Q7788000 Q14682315 Q5522339 Q3287172 Q1262915 Q750444 Q1359125 Q1756626 Q94057 Q2957238 Q7672924 Q4117100 Q14704718 Q4680398 Q5579468 Q203035 Q15216114 Q14707719 Q246455 Q321040 Q329948 Q193193 Q1029885 Q17592981 Q2854543 Q7126325 Q2963366 Q7161828 Q1044613 Q7126329 Q21538879 Q7711999 Q6658748 Q9166380 Q6784928 Q123256 Q2993017 Q7338593 Q7885731 Q2111621 Q200693 Q5442634 Q2522995 Q3314565 Q6747863 Q7568389 Q14679545 Q1472490 Q3361112 Q878763 Q521619 Q251156 Q7539219 Q5073060 Q5603657 Q18068600 Q307325 Q3533871 Q4115057 Q12057051 Q9393076 Q1277747 Q7243361 Q3889647 Q16014230 Q2398614 Q2573936 Q5723868 Q2465440 Q2136024 Q7641328 Q27681118 Q345276 Q14947757 Q6105622 Q7196651 Q5446781 Q7056153 Q1276394 Q19678886 Q7411342 Q147994 Q16857075 Q851200 Q5186000 Q71803 Q27150033 Q17266053 Q600355 Q14708030 Q317840 Q20679795 Q14688300 Q694382 Q7084867 Q1524923 Q6779603 Q6763774 Q135607 Q16830044 Q3090870 Q1372014 Q7084760 Q1972987 Q6776320 Q3533017 Q8041315 Q599272 Q7891003 Q14704431 Q24912881 Q42182 Q4552293 Q1165269 Q189883 Q7606724 Q5769637 Q2813508 Q1862683 Q6911481 Q1961082 Q4130435 Q3064721 Q1969613 Q676093 Q6504501 Q5473086 Q319076 Q23128 Q16968972 Q1760658 Q509638 Q2300067 Q964638 Q7284075 Q14680855 Q883810 Q2370575 Q1090716 Q151330 Q712824 Q7777423 Q22662669 Q134124 Q1105597 Q2004827 Q10715459 Q6420185 Q2505167 Q5592560 Q1003322 Q1782542 Q1138832 Q385793 Q6843080 Q323670 Q1130908 Q3129969 Q1238406 Q7545952 Q15660354 Q7807294 Q717105 Q273225 Q7590428 Q1140265 Q3889774 Q1389717 Q1625712 Q800675 Q7518027 Q3486527 Q14711548 Q19881634 Q1258473 Q6107155 Q7913572 Q19758782 Q138908 Q5578850 Q6747325 Q7603558 Q635307 Q2665595 Q559698 Q17496242 Q327983 Q1131522 Q65320 Q14704793 Q164150 Q1406020 Q3517636 Q608346 Q7233729 Q2628455 Q15224024 Q7205423 Q6301875 Q1370087 Q549951 Q5273809 Q2034292 Q3432288 Q14683470 Q14709164 Q7084209 Q2408919 Q1277953 Q4640576 Q705126 Q246667 Q14685755 Q3920140 Q14685619 Q2744984 Q2370612 Q2652905 Q7012089 Q2943 Q2946 Q7842384 Q1756846 Q5470141 Q873332 Q14714741 Q2546376 Q18787781 Q19492 Q15945278 Q14683993 Q4886763 Q4993627 Q2384554 Q3360856 Q999439 Q675115 Q4980690 Q3199184 Q2036593 Q1617722 Q13397 Q938516 Q3517682 Q2301984 Q14684207 Q14681659 Q3359762 Q1814818 Q5759020 Q11208 Q14684204 Q696362 Q2006730 Q1406358 Q14682971 Q1610702 Q6484803 Q2885653 Q557229 Q838780 Q801139 Q963326 Q14716676 Q612963 Q8022343 Q3579112 Q2403338 Q247531 Q14713007 Q2185890 Q7654098 Q14689845 Q803869 Q27020467 Q12678741 Q15263738 Q7842953 Q1325799 Q2599273 Q3349144 Q2288502 Q7338490 Q16237973 Q281051 Q5594568 Q2502215 Q1287806 Q5758770 Q4883935 Q12486774 Q1072284 Q651030 Q7890900 Q3516795 Q17592524 Q12495 Q2056267 Q836531 Q216264 Q14715258 Q464061 Q657238 Q1136273 Q5470109 Q521254 Q2684173 Q8025879 Q14685302 Q3361224 Q7546365 Q16983188 Q3223922 Q5467599 Q1314988 Q6535353 Q2298605 Q402091 Q1115328 Q283120 Q7191712 Q1063236 Q284719 Q705281 Q7829962 Q15120957 Q19564170 Q1662324
(c(Q41176),P149,c(Q968159)|c(Q2198855))
action argmin
action union
action find_tuple_counts
relation P149
type Q41176
type Q968159
action find_tuple_counts
relation P149
type Q41176
type Q2198855
[ANSWERS] follow an architectural style of min number of art movements and cultural movements
[{'concept': 'Q41176'}, 'P149', [{'concept': 'Q968159'}, {'concept': 'Q2198855'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?i WHERE { VALUES ( ?j ) { ( ontology:Q968159 ) ( ontology:Q2198855 ) } . ?r rdf:type ?j } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) ?u WHERE { { ?u rdf:type ontology:Q41176 . ?d rdf:type ontology:Q968159 . ?u property:P149 ?d } UNION { ?u property:P149 ?d . ?u rdf:type ontology:Q41176 . ?d rdf:type ontology:Q2198855 } } GROUP BY ?u } . FILTER ( ?c = ?w ) }
Langston Hughes Performing Arts Center Aynalıkavak Palace Casa del Fascio Puck Building Ikoma Jinja Minneapolis Grain Exchange Bennington Post Office Midford Castle Pavlovsk Palace Stora Enso headquarters Fox Theatre DAMAC Heights Clam-Gallas Palace Haymarket Theatre Edifici Gas Natural Hotel Arts Eira Hospital Pálffy Palace chapelle Notre-Dame de Valentine Mary Lee Nichols School Palazzo Firrao Cine Tívoli Belorussky railway station Isonokami Shrine Palais du Pharo Astor Building Chapelle Saint-Gabriel de Tarascon Palazzo Corner Spinelli Byron Greenough Block Dynamic Tower Washington Place The Forty Acres Tampere City Hall Palazzo Bindi Sergardi Comedy Theatre of Budapest Park View School (Washington, DC) Stanton Masonic Lodge and School Fullersta bio Wrocław Palace Geyserville Union School Alabama Theatre Sanatorium Purkersdorf St Botolph Building Tanzan Shrine HHHR Tower Palazzo Piccolomini Clorox Building Tilty Abbey Memorial Ossuary Lazarevac Capponi Chapel Vrtbovský palác Weaver Mercantile Building Itämerentorni Palace of Westminster Palais des Papes Sibton Abbey Alte Dorfkirche San José palace Crucifix Chapel Parthenon Christiansborg Palace Generalife Palazzo Barbarigo Steckart and Falck Double Block Theater Lübeck Allan Memorial Institute Spreckels Theater Building Palacio de Anglada Ellingen Residence Emek Royal Palace Graff's Market Pentominium Chehel Sotoun Neuschwanstein Castle Clyde Auditorium Annakapelle Palazzo Barbaran da Porto Hangar One Palazzo di fuoco New York County Lawyers' Association Building William Rowen School Mariyinsky Palace Palazzo Orsini di Gravina Summerland Trail Shelter Reverend Little's Young Ladies Seminary Adobe World Headquarters Palazzo Thiene Belvedere Darmstadt Central Station Howard Motor Company Building Valladolid Royal Palace United States Post Office Grand Opera House Hotel Torni Muhlenberg School One Hyde Park Athenæum Palazzo Tantucci, Siena Royal Albert Hall Anoka Post Office Six World Trade Center Chapel-burial-vault of Svyatopolk-Mirsky family Faenza theatre Merdeka Palace Clytha Castle Douglas Flat School Royal Pavilion Sindone Chapel Padua Hills Theatre Kagoshima Shrine Toronto Street Post Office Glendower House Prince-Bishops' Palace chapelle Saint-Nicolas de Génissac Ihlamur Palace Heliopolis Palace South Ward School Chapelle de la Grande Fabrique Ālī Qāpū Yaroslavsky railway station Standard Oil Building Kazdanga Palace Florida Theatre New Hampshire Legislative Office Building Palazzo della Loggia Teatro Olimpico Jersey Opera House Hohenschwangau Castle Les Chardons building Sesser Opera House Marywil Palazzo Balbi Théâtre de l'Athénée Stewart Home School Orpheum Theatre Gaiety Theatre, Isle of Man Kinpu Shrine La Grande Poste d'Alger Hunter-Oliphant Block St. Elisabeth's Hospital, Copenhagen Ostankino Palace North China Daily News Building Hochhaus an der Weberwiese 1 Wall Street Court Minster Elementary School Mannesmann-Haus Salpausselkä Sanatorium Moscow Gostiny Dvor Čejkovský palác His Majesty's Theatre, Perth Market Post Tower Leningradsky railway station St Oran's chapel Maamerkki United States Post Office–Lihue Bryce Inn St. Hildegardis Unité d'habitation of Briey Schönborn Palace Taganka Theatre Ajuda National Palace Grand Palais Biederstaedt Grocery Kosava castle Palazzo Tiepolo Bishops palace in Mahilioŭ Nihonbashi Mitsui Tower Palazzo Cisterna Mount Horeb Public School Tintern Abbey Ōyamato Shrine Foujita Chapel Carnegie Hall Praha hlavní nádraží chapelle Notre-Dame-des-Bois de La Suze-sur-Sarthe Palazzo Foscari Alatornio Church Communal House of the Textile Institute Col. Matthew Rogers Building Noordeinde Palace Nogi Shrine Clifton Forge Commercial Historic District Villa Ephrussi de Rothschild United States Post Office (Willows, California) Det Ny Theater Palace of the Kraków Bishops in Kielce Alcázar La Renaissance Apartments Knightstown Academy Headquarters Historic District Cecilienhof Plaza Theatre Cushing House The Shard Kurattikkadu Mutharamman Devi Temple Belweder Great Northern Tower Centralia Commercial Historic District St. Katherine's Historic District Shrine Auditorium Rudolfinum House of Nobility Union House Narada Falls Comfort Station Aljafería São Bento Palace Capitol Tampere Theatre Gust Brothers' Store New Century House Stadttor Nordiska Kompaniet McKinley Park School Mishima Taisha Royal Palace of Madrid St. Matthew Evangelical Lutheran School Palacio Barolo Poynor School Markiezenhof Aldwych Theatre Palazzo Valmarana Palazzo Antonini Nicholas Koester Building Bethlehem Chapel Cannon Building Chulalongkorn University Auditorium Hall's Opera Block unité d'habitation in Firminy-Vert Louvre Palace Copperopolis Armory Chapel of the Holy Cross Estonia Theatre chapelle Notre-Dame-de-Grâce-et-de-Toute-Joie (Villeneuve-sur-Lot) Klinikum Aachen Niccoline Chapel Pleasant Valley Wine Company Levi F. Warren Jr. High School Palais Clam-Gallas (Vienna) New Palace Theatre, Plymouth Bristol Royal Infirmary Goodyear Block Palazzo Corner Policlinico di Milano Mayan Theater Royal Palace of La Granja de San Ildefonso Hokkaidō Shrine Land Bank Building Ashton Memorial First National Bank Building Chapel of Mazières La Paeria Liechtenstein Palace Liechtenstein Palace Palazzo Marigliano School Street School Byzantine Bath Vision Tower Germania Wine Cellars Bigelow School Chapel of St Casimir Palazzo Medici Riccardi Doctor's Office (Plantersville, Alabama) Bellevue Palace Saint Michael's Castle Palazzo del Panormita Isaniwa Jinja Palace of the Borgias Juliusspital Hall School Hof van Savoye Elite Residence Crossett Post Office Dresden-Neustadt station Antigo Post Office Shuvalov Palace Las Vegas Post Office and Courthouse Chōsen Jingū Santo Spirito in Sassia Omura Shrine Rockwell Automation Headquarters Downey Building New Regal Theater Springfield Public School Meiji Shrine Chapel of Santa Ágata Tour Beaugrenelle chapelle Saint-Colomban de Carnac Old Union School Old Union School Palazzo Gualino Grand Prior's Palace Villa d'Este Wilson Warehouse Hospital de las Cinco Llagas City Market Putin's Palace Palais Hoyos Napa Valley Opera House Merchants Bank Building City Palace Palais Chotek Deutschhaus Mainz Hampton Court Palace Hopkins Store Prien Building Aubertine Building Waverley Abbey Basilica Cistern Old New York Evening Post Building Hite Store Palais de Chaillot Bank of British North America Building Metropolitan Palace Varahi Deula Telegraph Building Los Angeles Theatre Ortskapelle Schöneben Wilanów Palace Palau Reial Major Lighthouse Tower Jakabov palace Lobero Theatre Sobrato Office Tower Rail and Titsworth Canal Warehouse La Paloma Theater Apollo Theatre Theatre Royal, Newcastle Theatre Royal, Manchester Albert Hall Stærekassen Mount Rose Elementary School Louis Hartlooper Complex Kontinkangas Hospital Grand Opera House Carafa Chapel Ladywood House Paço de São Cristóvão Pella Palace Port of Liverpool Building Wisconsin Leather Company Building J. Vivian, Jr. and Company Building Halltown Colored Free School Burke Building Nakheel Tower Booth Theater Bey Hamam Lambertuskapelle Ford's Theatre Mariinsky Palace Benjamin's Department Store Moskovsky railway station Woodstock Academy Classroom Building Downing College Palais Erzherzog Albrecht Kress Building (Lubbock, Texas) Auditorium Building O'Brien General Store and Post Office Château de Goulaine Mafra National Palace Palacio de Ripalda St. Antonius Ōasahiko Shrine Palais de la Cité B. Williams & Co. Store Belmont Hotel Oranienbaum, Russia Sluck Gate in Niasviž Stāmeriena Palace Schloss Marienfels Silverene Taunusanlage 11 Gershwin Theatre Phlegar Building Solís Theatre Constantinianum Guernsey Dairy Milk Depot Mode Gakuen Cocoon Tower Bahia Palace Vossius Gymnasium Olney Elementary School Wendelinuskapelle Thomas Buchanan Read School Home Economics Building (Torrance High School) Garden Theatre Saint Petersburg Manege Dubai Pearl Stockholm Palace Tokyo Big Sight Theatre Royal, Drury Lane Olive Jinja Penchâteau Chapel Tabard Theatre Tennispalatsi Lower Logging Lake Snowshoe Cabin and Boathouse Adams School Golden Gate Theater Winchester Palace Edom Store and Post Office Warren Masonic Lodge No. 32 Tatsuta Shrine Seat of the European Central Bank Palais-Royal Sainte Chapelle Camp Muir De Nederlanden van 1845 (Arnhem) Catherine Palace Palacio de las Dueñas Chichibu Shrine Pelči Palace Helsinki Central railway station Palacio de los Guzmanes chapelle du Calvaire (Chambéry) The 88 Livestock Exchange Building Morzin Palace MasterCard International Global Headquarters Palais du Trocadéro Congress Theater Riverside School Union Hall Palace of the Dukes of Burgundy Kroměříž Archbishop's Palace Felt Cobblestone General Store New Orleans Milwaukee Center Mandarin Oriental Hyde Park, London South School United States Marine Hospital (Mobile, Alabama) Palace of the Porphyrogenitus The Water Company Palace Willy-Brandt-Haus Palazzo Strozzi Tōzan Shrine Slaven's Cabin Chapel in the Hills Greenawalt Building chapelle Saint-Loup de Saint-Loubès Östra Broby Church Tour Évasion 2000 Madrasah of Granada Grace Hopkinson Eliot Hall Palais des papes of Sorgues El Badi Palace Prime Tower Palazzo Beretta chapelle Notre-Dame de Grâce Chicago Cultural Center Palazzo Porto in Piazza Castello Baños de la Reina Rusakov Workers' Club The Bay Gate Sunset Park Trail Shelter Braem Pavilion Łazienki Palace U.S. Post Office and Mine Rescue Station J. Eshelman and Company Store Pioneer Building Fidelity Building North Mowich Trail Shelter Sohmer Piano Building Saint Joseph Chapel (Matzerath) Samuel F.B. Morse School Tsaritsyno Park St. Leonhard Beurs van Berlage Crisp Building Grillo-Theater Palace of Nell Natoli Palace Pazzi Chapel Market Square Rheinsberg Palace Seaman's Hospital Blessed Sacrament Chapel Monbijou Palace Old Rockville High School and East School Semmelweis Frauen-Klinik Mary G. Steiner Egyptian Theatre Marina 1 Essen Central Station Donnan-Asher Iron-Front Building Funabashi Shrine HSBC Building Old Post Office Royal Palace of Riofrío Martin Orthopedic School Tour Avant-Seine Włodowice Palace Tuschinski United States Post Office Masonic Temple Nepali Mandir Buckingham Palace 170-176 John Street Building Marina 101 Doge's Palace Stehekin School Cinema Europa 1 Cabot Square Hôtel-Dieu of Tonnerre Morewood School Catherine Palace Verkiai Palace Brejoeira Palace LeConte Memorial Lodge Tauride Palace Lawrence Public School Forum Theatre Osteiner Hof Union Building Ducal Palace of Guastalla Krasiński Palace National Palace Palazzo Civena castle of Ripaille Railroad Retirement Board Building Gazzola and Vaccaro Building Schloss Seehof Hôpital-Général de Douai Château de Rayne-Vigneau Sanssouci Kibitsu Jinja Theatre Royal chapelle Saint-Jean-du-Liget de Sennevières Ocean Heights Katona József Theatre (Kecskemét) New Amsterdam Theatre Villa Ensi Klein and Sutmar Block Astoria (Amsterdam) Grafton Post Office Boukoleon Palace Conservatorio Giuseppe Verdi (Como) Aarhus Theatre Ōsaka Tenman-gū Midtown Exchange Görlitz station Teatro Carcano Government Palace Vitebsky railway station Smoketown School Hôtel-Dieu de Gonesse Timothy J. McCarthy Building Arvfurstens palats Çırağan Palace St. Mary's School Royal Dramatic Theatre Palazzo Canossa Výstaviště Praha Casa Cogollo Dordrecht railway station Simms Building Furstenberg Palace Grantsville School and Meetinghouse Uptown Theater Peterhof Palace J. Sylvester Ramsey School Van Ornam & Murdock Block Chapel of Our Lady of Mercy Bolshoi Theatre Gold Seal Winery Manchester Civil Justice Centre State Street Public School Royal Palace of Brussels Palace of San Telmo Rialto Theatre Johanneskapelle Palace of Caserta Teatro degli Arcimboldi Iwa jinja Wilma Theatre Palace of the Parliament Palazzo Dalla Torre Temple de l'Amour Presidential Palace Post and King Saloon Palace of Linares Hill's Tavern Plumer Block Jubilee Library Grand Kremlin Palace Portinari Chapel Dickson Tavern Černín Palace Rio Nevada-California-Oregon Railway Co. General Office Building Oregon Commercial Company Building Old High Middle School Thame Abbey Jan-Wellem-Chapel 555 City Center Kono Shrine Hakuto Jinja Public School No. 19 Chraptovič Palace Main Office of the New Castle Leather Company Parliament House Pennhurst State School and Hospital Old Saint Petersburg Stock Exchange New Theatre Sistine Chapel Palace of Versailles Schirdingovský palác Lyceum Theatre Former United States Post Office Palais Augarten Jenny Lake Boat Concession Facilities Villa Trissino The News Building Princess Tower Chapelle d'Abrin Singer Building (Pasadena, California) Ben and Margaret Stone Boathouse Bīriņi Palace Gomel Palace Ficquelmont Palace Palais Lobkowitz, Vienna Alagar Koyil Bryce Hospital Kotohiki Hachiman-gū St. Elizabeths Hospital Maison du Brésil Louvre Pyramid Primate's Palace Montreal Masonic Memorial Temple All Saints Church United States Post Office Buhach Grammar School PNC Tower Lloyd's building Highland Park Public School The Pentagon United States Post Office (Palo Alto, California) Izumo-taisha Palazzo del Podestà Palazzo Schio Kindel Building Latrobe Gate Landmark Theater Barrière d’Enfer Ljubljana National Drama Theatre Almas Tower Lviv railway station Palazzo dei Camerlenghi Masonic Temple Building Cuomo Palace Willow Park Stable New York Life Insurance Building St John's Chapel Silberturm Old Christiansburg Industrial Institute Tikal Temple I E. S. Swayze Drugstore Northrup Theater Bain Commercial Building Marjorie Powell Allen Chapel Zabieliai Palace Old Belvidere High School Trinity Road Library St. Hubert Chapel Murmellius Gymnasium Odeon Leicester Square Palazzo Porto Riverside Fox Theater Masonic Temple, Brisbane Hansahochhaus Grand Forks Mercantile Co. Uruski palace Eduard-Müller-Krematorium Highland Falls Village Hall Bellevue High School Iris Bay Huis ten Bosch Palais Schwarzenberg United States Post Office-Santa Barbara Main Tech Tower St. Stephanus Burj Khalifa Pittsfield Building Hawa Mahal 23 Marina Mechanics Hall Rochuskapelle Waverly Hills Sanatorium Thorncrown Chapel Former New York Life Insurance Company Building Palazzo Pojana Crețulescu Palace Winona Church and School Charles Gray Printing Shop Palais Universitaire, Strasbourg Smoot Theater One Financial Square Le Lieu unique Ford's Store Roche Abbey Levi Anthony Building Palazzo Thiene Bonin Longare Taga-taisha Palazzo del Capitaniato Marble Palace Pier 8 Château Margaux Basilica Palladiana Hirose Shrine Town Hall Arts Center 6, rue de Hanovre Vasaskolan Rigal’sche Kapelle
Burj Khalifa, Louvre Palace and The Shard follow an architectural style of min number of art movements and cultural movements
Burj Khalifa Louvre Palace The Shard
action argmin
action union
action find_tuple_counts
relation architectural style
type building
type art movement
action find_tuple_counts
relation architectural style
type building
type cultural movement
[{'concept': 'building'}, 'architectural style', [{'concept': 'art movement'}, {'concept': 'cultural movement'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?i WHERE { VALUES ( ?j ) { ( ontology:art_movement ) ( ontology:cultural_movement ) } . ?r rdf:type ?j } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) ?u WHERE { { ?u rdf:type ontology:building . ?d rdf:type ontology:art_movement . ?u property:architectural_style ?d } UNION { ?u property:architectural_style ?d . ?u rdf:type ontology:building . ?d rdf:type ontology:cultural_movement } } GROUP BY ?u } . FILTER ( ?c = ?w ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q12495
P915
Q838948
USER
Which work of art was filmed at that building ?
(c(Q838948),P915,Q12495)
action filter_type
action find_reverse
entity Q12495
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q12495']
SELECT DISTINCT ?x WHERE { ?x property:P915 resource:Q12495 . ?x rdf:type ontology:Q838948 }
Burj Khalifa
action filter_type
action find_reverse
entity Burj Khalifa
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Burj Khalifa']
SELECT DISTINCT ?x WHERE { ?x property:filming_location resource:Burj_Khalifa . ?x rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q1075988
SYSTEM
Did you mean Louvre Palace ?
Q12495 Q1075988 Q18536
(c(Q838948),P915,Q12495) (c(Q838948),P915,Q1075988) (c(Q838948),P915,Q18536)
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q12495'] [{'concept': 'Q838948'}, 'P915', 'Q1075988'] [{'concept': 'Q838948'}, 'P915', 'Q18536']
SELECT DISTINCT ?x WHERE { ?x property:P915 resource:Q12495 . ?x rdf:type ontology:Q838948 }
Burj Khalifa Louvre Palace The Shard
Did you mean Louvre Palace ?
Louvre Palace
[{'concept': 'work of art'}, 'filming location', 'Burj Khalifa'] [{'concept': 'work of art'}, 'filming location', 'Louvre Palace'] [{'concept': 'work of art'}, 'filming location', 'The Shard']
SELECT DISTINCT ?x WHERE { ?x property:filming_location resource:Burj_Khalifa . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant Burj Khalifa. Could you tell me the answer for that?
(c(Q838948),P915,Q12495)
Q12495
[{'concept': 'Q838948'}, 'P915', 'Q12495']
[{'concept': 'work of art'}, 'filming location', 'Burj Khalifa']
[]
Q19614711
SYSTEM
Independence Day: Resurgence
Q19614711
(c(Q838948),P915,Q12495)
action filter_type
action find_reverse
entity Q12495
relation P915
type Q838948
[ANSWER] was filmed at that building
[{'concept': 'Q838948'}, 'P915', 'Q12495']
SELECT DISTINCT ?x WHERE { ?x property:P915 resource:Q12495 . ?x rdf:type ontology:Q838948 }
Independence Day: Resurgence
Independence Day: Resurgence was filmed at that building
Independence Day: Resurgence
action filter_type
action find_reverse
entity Burj Khalifa
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Burj Khalifa']
SELECT DISTINCT ?x WHERE { ?x property:filming_location resource:Burj_Khalifa . ?x rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q12495 Q64105
P193
Q43229
USER
How many organizations have built Burj Khalifa or Sky City ?
(Q12495,P193,c(Q43229)) (Q64105,P193,c(Q43229))
action count
action union
action filter_type
action find
entity Q12495
relation P193
type Q43229
action filter_type
action find
entity Q64105
relation P193
type Q43229
['Q12495', 'P193', {'concept': 'Q43229'}] ['Q64105', 'P193', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { ?k rdf:type ontology:Q43229 . resource:Q12495 property:P193 ?k } UNION { resource:Q64105 property:P193 ?k . ?k rdf:type ontology:Q43229 } }
Burj Khalifa Sky City
action count
action union
action filter_type
action find
entity Burj Khalifa
relation main building contractor
type organization
action filter_type
action find
entity Sky City
relation main building contractor
type organization
['Burj Khalifa', 'main building contractor', {'concept': 'organization'}] ['Sky City', 'main building contractor', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { ?k rdf:type ontology:organization . resource:Burj_Khalifa property:main_building_contractor ?k } UNION { resource:Sky_City property:main_building_contractor ?k . ?k rdf:type ontology:organization } }
[]
organization
SYSTEM
3
Q499194 Q4783497 Q4971979
(Q12495,P193,c(Q43229)) (Q64105,P193,c(Q43229))
action count
action union
action filter_type
action find
entity Q12495
relation P193
type Q43229
action filter_type
action find
entity Q64105
relation P193
type Q43229
[ANSWER]
['Q12495', 'P193', {'concept': 'Q43229'}] ['Q64105', 'P193', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { ?k rdf:type ontology:Q43229 . resource:Q12495 property:P193 ?k } UNION { resource:Q64105 property:P193 ?k . ?k rdf:type ontology:Q43229 } }
Samsung C&T Corporation Arabtec Broad Sustainable Building
3
action count
action union
action filter_type
action find
entity Burj Khalifa
relation main building contractor
type organization
action filter_type
action find
entity Sky City
relation main building contractor
type organization
['Burj Khalifa', 'main building contractor', {'concept': 'organization'}] ['Sky City', 'main building contractor', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { ?k rdf:type ontology:organization . resource:Burj_Khalifa property:main_building_contractor ?k } UNION { resource:Sky_City property:main_building_contractor ?k . ?k rdf:type ontology:organization } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q17742355
P825
Q502895 Q178885 Q41176
USER
Which buildings have dedication towards around the same number of people and deities as Upton Chapel ?
(c(Q41176),P825,c(Q502895)|c(Q178885))
action approx
action union
action find_tuple_counts
relation P825
type Q41176
type Q502895
action find_tuple_counts
relation P825
type Q41176
type Q178885
action count
action filter_multi_types
action find
entity Q17742355
relation P825
type Q502895
type Q178885
[{'concept': 'Q41176'}, 'P825', [{'concept': 'Q502895'}, {'concept': 'Q178885'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { { ?z rdf:type ontology:Q502895 } UNION { ?z rdf:type ontology:Q178885 } } . resource:Q17742355 property:P825 ?z } } . FILTER ( ?x = ?i ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?g WHERE { { ?g property:P825 ?t . ?t rdf:type ontology:Q502895 . ?g rdf:type ontology:Q41176 } UNION { ?g property:P825 ?t . ?g rdf:type ontology:Q41176 . ?t rdf:type ontology:Q178885 } } GROUP BY ?g } }
Upton Chapel
action approx
action union
action find_tuple_counts
relation dedicated to
type building
type common name
action find_tuple_counts
relation dedicated to
type building
type deity
action count
action filter_multi_types
action find
entity Upton Chapel
relation dedicated to
type common name
type deity
[{'concept': 'building'}, 'dedicated to', [{'concept': 'common name'}, {'concept': 'deity'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { { ?z rdf:type ontology:common_name } UNION { ?z rdf:type ontology:deity } } . resource:Upton_Chapel property:dedicated_to ?z } } . FILTER ( ?x = ?i ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?g WHERE { { ?g property:dedicated_to ?t . ?t rdf:type ontology:common_name . ?g rdf:type ontology:building } UNION { ?g property:dedicated_to ?t . ?g rdf:type ontology:building . ?t rdf:type ontology:deity } } GROUP BY ?g } }
[]
common name deity building
Q2956905 Q2957238 Q2963366
SYSTEM
St Mark's Chapel, Kervalet, Penchâteau Chapel, Chichibu Shrine
Q11378135 Q195715 Q11370953 Q403338 Q19754765 Q11565717 Q3571342 Q631373 Q653180 Q6958481 Q195714 Q15979526 Q11405620 Q705949 Q10946254 Q3109957 Q564302 Q705542 Q11414032 Q662176 Q705151 Q701620 Q251682 Q11635096 Q11659484 Q22117940 Q11563607 Q705310 Q488618 Q714828 Q11597744 Q11657965 Q1728383 Q11618891 Q11392320 Q20867981 Q11368830 Q998709 Q11616915 Q583589 Q705121 Q11568957 Q6404042 Q29682 Q1466105 Q3195151 Q11500742 Q2956751 Q11496939 Q3155136 Q3572667 Q45470 Q10925104 Q17193550 Q11414497 Q3155126 Q11403863 Q3047222 Q10884977 Q21029925 Q3317351 Q3581724 Q2841005 Q385793 Q3199184 Q696641 Q712162 Q20644559 Q546197 Q714742 Q21075780 Q11605047 Q704855 Q11405437 Q15958089 Q705635 Q11408100 Q20741330 Q11426034 Q710333 Q195684 Q385407 Q2957238 Q705916 Q2963366 Q94317 Q251156 Q701403 Q19953303 Q11660683 Q2956905 Q12742788 Q11390512 Q521319 Q11548625 Q17742355 Q710351 Q3335477 Q21674461 Q11603067 Q709822 Q11498960 Q11597743 Q3317243 Q712824 Q3342145 Q704898 Q500763 Q10867478 Q172253 Q715632 Q11647638 Q703904 Q3335060 Q3981952
(c(Q41176),P825,c(Q502895)|c(Q178885))
action approx
action union
action find_tuple_counts
relation P825
type Q41176
type Q502895
action find_tuple_counts
relation P825
type Q41176
type Q178885
action count
action filter_multi_types
action find
entity Q17742355
relation P825
type Q502895
type Q178885
[ANSWERS] have dedication towards around the same number of people and deities as Upton Chapel
[{'concept': 'Q41176'}, 'P825', [{'concept': 'Q502895'}, {'concept': 'Q178885'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { { ?z rdf:type ontology:Q502895 } UNION { ?z rdf:type ontology:Q178885 } } . resource:Q17742355 property:P825 ?z } } . FILTER ( ?x = ?i ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?g WHERE { { ?g property:P825 ?t . ?t rdf:type ontology:Q502895 . ?g rdf:type ontology:Q41176 } UNION { ?g property:P825 ?t . ?g rdf:type ontology:Q41176 . ?t rdf:type ontology:Q178885 } } GROUP BY ?g } }
Senba Tōshō-gū Yusuhara Hachiman-gū Kameido Shrine Takebe taisha Tokumori-jinja Shioe Tenmangu Yaizu Shrine Kashii-gū Fujisan Hongū Sengen Taisha Nagao Shrine Sasamuta-jinja St. Govan's Chapel Chiriku Hachiman-gū Sumiyoshi taisha Futaarayama Shrine (Utsunomiya) Gokiso Hachiman-gū Tamasaki Shrine Ōmiwa jinja Yoshida Shrine Kitano Tenman-gū Ōtori taisha Shimogamo Shrine Yūtoku Inari Shrine Meta Shrine Rikyū Hachiman-gū Iyahiko-jinja Mont Yudono Shrine Hakone Shrine Tanzan Shrine Fushimi Inari-taisha Kamado-jinja Abeno Shrine Chapel beheading of John the Baptist Shōnai-jinja Rokusonnō Shrine Catherine of Alexandria's Chapel Nogi-jinja, Tokyo Oyama Shrine Hikosan Jingū Ujigami Shrine Minase Shrine Kumano Jinja Kibitsu jinja Sumiyoshi-jinja Hirota Shrine Kenkun Shrine Ikaruga Shrine St Anna's Chapel Tamukeyama Hachiman Shrine Isasumi Shrine Yoshimizu Shrine Sasuke Inari Shrine Shijōnawate Shrine Imakumano-jinja Shrine Yoshino Shrine Isaniwa Jinja Kitabatake Shrine Eda-jinja Izanagi Shrine St Sebastian's Chapel Mizuta Tenmangū St Goustan's Chapel Amanawa Shinmei Shrine Ōsaka Tenman-gū Kotohiki Hachiman-gū Nikkō Tōshō-gū Kunōzan Tōshō-gū Mizonokuchi-jinja Ōmiwa Shrine, Ichinomiya Hakozaki Shrine St Louis' Chapel, Quimiac Kishū Tōshō-gū Hōkoku Shrine Senhime tenmangū St Anna's Chapel Shiramine Shrine Nanshu shrine Chapelle Sainte-Anne Jōnan-gū Kashihara Shrine Yahiko-jinja Omi Shrine Penchâteau Chapel Masumida Shrine Chichibu Shrine Kikuchi Shrine Tōzan Shrine Tsurugaoka Hachiman-gū Shinzan-jinja (Oga) Reikyū Jinja St Mark's Chapel, Kervalet Uji Shrine Yatsushiro-gū Takekoma Inari Shrine Mito Tōshō-gū Upton Chapel Kamakura-gū Namiyoke Inari Shrine St Bernadette's Chapel Tsutsumori Shrine Toyokuni Shrine Hōjōzu Hachiman-gū Kamayama Shrine Miwa Shrine Kibitsu Jinja Nishina Shinmei Shrine Hōfu Tenman-gū Kibitsuhiko jinja Uesugi shrine Amatsu-jinja Usa-jinjū Konnō Hachiman-gū Ōyamazumi Shrine Nagara Tenjin Shrine Teatro Cressoni
St Mark's Chapel, Kervalet, Penchâteau Chapel and Chichibu Shrine have dedication towards around the same number of people and deities as Upton Chapel
St Mark's Chapel, Kervalet Penchâteau Chapel Chichibu Shrine
action approx
action union
action find_tuple_counts
relation dedicated to
type building
type common name
action find_tuple_counts
relation dedicated to
type building
type deity
action count
action filter_multi_types
action find
entity Upton Chapel
relation dedicated to
type common name
type deity
[{'concept': 'building'}, 'dedicated to', [{'concept': 'common name'}, {'concept': 'deity'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { { ?z rdf:type ontology:common_name } UNION { ?z rdf:type ontology:deity } } . resource:Upton_Chapel property:dedicated_to ?z } } . FILTER ( ?x = ?i ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?g WHERE { { ?g property:dedicated_to ?t . ?t rdf:type ontology:common_name . ?g rdf:type ontology:building } UNION { ?g property:dedicated_to ?t . ?g rdf:type ontology:building . ?t rdf:type ontology:deity } } GROUP BY ?g } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q63471
P825
Q502895 Q178885 Q41176
USER
And also tell me about Omura Shrine?
(c(Q41176),P825,c(Q502895)|c(Q178885))
action approx
action union
action find_tuple_counts
relation P825
type Q41176
type Q502895
action find_tuple_counts
relation P825
type Q41176
type Q178885
action count
action filter_multi_types
action find
entity Q63471
relation P825
type Q502895
type Q178885
[{'concept': 'Q41176'}, 'P825', [{'concept': 'Q502895'}, {'concept': 'Q178885'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ?e . VALUES ( ?e ) { ( ontology:Q502895 ) ( ontology:Q178885 ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Q63471 property:P825 ?d . { VALUES ( ?r ) { ( ontology:Q502895 ) ( ontology:Q178885 ) } . ?d rdf:type ?r } } } . FILTER ( ?q = ?s ) }
Omura Shrine
action approx
action union
action find_tuple_counts
relation dedicated to
type building
type common name
action find_tuple_counts
relation dedicated to
type building
type deity
action count
action filter_multi_types
action find
entity Omura Shrine
relation dedicated to
type common name
type deity
[{'concept': 'building'}, 'dedicated to', [{'concept': 'common name'}, {'concept': 'deity'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ?e . VALUES ( ?e ) { ( ontology:common_name ) ( ontology:deity ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Omura_Shrine property:dedicated_to ?d . { VALUES ( ?r ) { ( ontology:common_name ) ( ontology:deity ) } . ?d rdf:type ?r } } } . FILTER ( ?q = ?s ) }
[]
common name deity building
Q2956672 Q2957450 Q63471
SYSTEM
Notre-Dame de Bongarant, Crucifix Chapel, Omura Shrine
Q498698 Q723417 Q2956656 Q218828 Q705303 Q715647 Q21674855 Q421597 Q10934922 Q3193657 Q705547 Q11643470 Q3335115 Q11581351 Q246463 Q246370 Q19754774 Q65320 Q692714 Q3304192 Q710302 Q276779 Q714559 Q2956672 Q245734 Q335606 Q218813 Q172417 Q2957450 Q172382 Q3145229 Q11129340 Q21674420 Q654417 Q21674501 Q335612 Q3517214 Q246447 Q705035 Q2956668 Q191763 Q21674860 Q19754813 Q710098 Q500955 Q60581 Q63471 Q245731 Q704695 Q11570699 Q3541675 Q713177 Q26269675 Q11073095 Q3594020 Q372380 Q19754731 Q21659492 Q708859 Q3547711 Q3791906 Q11513661 Q704702 Q21074835 Q3574291 Q3530344 Q11647233 Q611678 Q710359 Q3541617 Q703633 Q704890 Q32422 Q715639 Q11665493 Q3140133 Q704967 Q700448 Q19930073 Q11608754 Q3135218 Q706499 Q24706271
(c(Q41176),P825,c(Q502895)|c(Q178885))
action approx
action union
action find_tuple_counts
relation P825
type Q41176
type Q502895
action find_tuple_counts
relation P825
type Q41176
type Q178885
action count
action filter_multi_types
action find
entity Q63471
relation P825
type Q502895
type Q178885
[ANSWERS]
[{'concept': 'Q41176'}, 'P825', [{'concept': 'Q502895'}, {'concept': 'Q178885'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ?e . VALUES ( ?e ) { ( ontology:Q502895 ) ( ontology:Q178885 ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Q63471 property:P825 ?d . { VALUES ( ?r ) { ( ontology:Q502895 ) ( ontology:Q178885 ) } . ?d rdf:type ?r } } } . FILTER ( ?q = ?s ) }
Mekari Shrine Ōasahiko Shrine Notre-Dame-du-Mûrier Togakushi Shrine Shirahige Jinja Kōra taisha Our Lady the White One's Chapel Oguni Jinja Ōmiya Hachiman Shrine Kasai Shrine Awa Shrine Tsukubusuma Shrine Nagoya Shrine Morioka Hachiman Shrine Kamochi Jinja Niukawakami Shrine Yakumo-jinja (Kimitsu) Iwa jinja Yasaka Shrine Mefu Jinja Matsunoo-taisha Kibune Shrine Kasuga-taisha Notre-Dame de Bongarant Shitori Jinja Yushima Tenman-gū Suwa taisha Kota Shrine Crucifix Chapel Watatsu-jinja San Raffaele Hospital Keta Shrine Our Lady of the Sacred Heart's Chapel Tomioka Hachiman Shrine Notre-Dame-des-Grèves Nezu Shrine Tejikarao Shrine Ube Jinja Kumano Hongū Taisha Notre-Dame-la-Blanche's Chapel Itsukushima Shrine Our Lady of Good Help Chapel Hitomi-jinja Iwashimizu Hachiman-gū Imamiya Shrine Hōnen Matsuri Omura Shrine Ōyamato Shrine Kagoshima Shrine Mononobe-jinja Tsuno Shrine Yoshida Shrine chapelle Saint-Michel du Palais Ikisu Shurine Ōharano Shrine Katori Shrine Merasaki-jinja St Michael's Chapel Isonokami Shrine Uda Mikumari Shrine Takase Shrine Kasuga Shrine Shirayama Hime Shrine Our Lady's Chapel, Merquel Yōrō Shrine Toga Shrine Kanamura Wake Ikazuchi Shrine Ōkunitama Shrine Kumano Nachi Taisha Tsubaki Grand Shrine Hikawa jinja Tosa jinja Hiraoka Shrine Aso-jinja Kazahaya Jinja Honjō Shrine Nangū Taisha Kamigamo Shrine Shibuya Hikawa-jinja Sōja Shrine Hida Gokoku Shrine Kashima-jingū Our Lady of the Oak
Notre-Dame de Bongarant Crucifix Chapel Omura Shrine
action approx
action union
action find_tuple_counts
relation dedicated to
type building
type common name
action find_tuple_counts
relation dedicated to
type building
type deity
action count
action filter_multi_types
action find
entity Omura Shrine
relation dedicated to
type common name
type deity
[{'concept': 'building'}, 'dedicated to', [{'concept': 'common name'}, {'concept': 'deity'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ?e . VALUES ( ?e ) { ( ontology:common_name ) ( ontology:deity ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Omura_Shrine property:dedicated_to ?d . { VALUES ( ?r ) { ( ontology:common_name ) ( ontology:deity ) } . ?d rdf:type ?r } } } . FILTER ( ?q = ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q15700834
P1435
Q41176 Q44539 Q27686
USER
How many buildings are the heritage status of approximately the same number of temples or hotels as Grade II listed building ?
(c(Q44539)|c(Q27686),P1435,c(Q41176))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1435
type Q41176
type Q44539
action find_reverse_tuple_counts
relation P1435
type Q41176
type Q27686
action count
action filter_multi_types
action find_reverse
entity Q15700834
relation P1435
type Q44539
type Q27686
[[{'concept': 'Q44539'}, {'concept': 'Q27686'}], 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?d WHERE { { ?p property:P1435 ?d . ?d rdf:type ontology:Q41176 . ?p rdf:type ontology:Q44539 } UNION { ?p property:P1435 ?d . ?p rdf:type ontology:Q27686 . ?d rdf:type ontology:Q41176 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { { ?z rdf:type ontology:Q27686 } UNION { ?z rdf:type ontology:Q44539 } } . ?z property:P1435 resource:Q15700834 } } . FILTER ( ?s = ?q ) }
Grade II listed building
action count
action approx
action union
action find_reverse_tuple_counts
relation heritage status
type building
type temple
action find_reverse_tuple_counts
relation heritage status
type building
type hotel
action count
action filter_multi_types
action find_reverse
entity Grade II listed building
relation heritage status
type temple
type hotel
[[{'concept': 'temple'}, {'concept': 'hotel'}], 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?d WHERE { { ?p property:heritage_status ?d . ?d rdf:type ontology:building . ?p rdf:type ontology:temple } UNION { ?p property:heritage_status ?d . ?p rdf:type ontology:hotel . ?d rdf:type ontology:building } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { { ?z rdf:type ontology:hotel } UNION { ?z rdf:type ontology:temple } } . ?z property:heritage_status resource:Grade_II_listed_building } } . FILTER ( ?s = ?q ) }
[]
building temple hotel
SYSTEM
3
Q15700834 Q15700831 Q15700818
(c(Q44539)|c(Q27686),P1435,c(Q41176))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1435
type Q41176
type Q44539
action find_reverse_tuple_counts
relation P1435
type Q41176
type Q27686
action count
action filter_multi_types
action find_reverse
entity Q15700834
relation P1435
type Q44539
type Q27686
[ANSWER]
[[{'concept': 'Q44539'}, {'concept': 'Q27686'}], 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?d WHERE { { ?p property:P1435 ?d . ?d rdf:type ontology:Q41176 . ?p rdf:type ontology:Q44539 } UNION { ?p property:P1435 ?d . ?p rdf:type ontology:Q27686 . ?d rdf:type ontology:Q41176 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { { ?z rdf:type ontology:Q27686 } UNION { ?z rdf:type ontology:Q44539 } } . ?z property:P1435 resource:Q15700834 } } . FILTER ( ?s = ?q ) }
Grade II listed building Grade II* listed building Grade I listed building
3
action count
action approx
action union
action find_reverse_tuple_counts
relation heritage status
type building
type temple
action find_reverse_tuple_counts
relation heritage status
type building
type hotel
action count
action filter_multi_types
action find_reverse
entity Grade II listed building
relation heritage status
type temple
type hotel
[[{'concept': 'temple'}, {'concept': 'hotel'}], 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?d WHERE { { ?p property:heritage_status ?d . ?d rdf:type ontology:building . ?p rdf:type ontology:temple } UNION { ?p property:heritage_status ?d . ?p rdf:type ontology:hotel . ?d rdf:type ontology:building } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { { ?z rdf:type ontology:hotel } UNION { ?z rdf:type ontology:temple } } . ?z property:heritage_status resource:Grade_II_listed_building } } . FILTER ( ?s = ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q18575424
P1435
Q41176 Q44539 Q27686
USER
And what about Grade B listed structure?
(c(Q44539)|c(Q27686),P1435,c(Q41176))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1435
type Q41176
type Q44539
action find_reverse_tuple_counts
relation P1435
type Q41176
type Q27686
action count
action filter_multi_types
action find_reverse
entity Q18575424
relation P1435
type Q44539
type Q27686
[[{'concept': 'Q44539'}, {'concept': 'Q27686'}], 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?z ) WHERE { ?i rdf:type ?h . VALUES ( ?h ) { ( ontology:Q44539 ) ( ontology:Q27686 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:P1435 resource:Q18575424 . { { ?r rdf:type ontology:Q44539 } UNION { ?r rdf:type ontology:Q27686 } } } } . FILTER ( ?z = ?w ) }
Grade B listed structure
action count
action approx
action union
action find_reverse_tuple_counts
relation heritage status
type building
type temple
action find_reverse_tuple_counts
relation heritage status
type building
type hotel
action count
action filter_multi_types
action find_reverse
entity Grade B listed structure
relation heritage status
type temple
type hotel
[[{'concept': 'temple'}, {'concept': 'hotel'}], 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?z ) WHERE { ?i rdf:type ?h . VALUES ( ?h ) { ( ontology:temple ) ( ontology:hotel ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:heritage_status resource:Grade_B_listed_structure . { { ?r rdf:type ontology:temple } UNION { ?r rdf:type ontology:hotel } } } } . FILTER ( ?z = ?w ) }
[]
building temple hotel
SYSTEM
5
Q16983914 Q10729142 Q10729125 Q18575424 Q10729054
(c(Q44539)|c(Q27686),P1435,c(Q41176))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1435
type Q41176
type Q44539
action find_reverse_tuple_counts
relation P1435
type Q41176
type Q27686
action count
action filter_multi_types
action find_reverse
entity Q18575424
relation P1435
type Q44539
type Q27686
[ANSWER]
[[{'concept': 'Q44539'}, {'concept': 'Q27686'}], 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?z ) WHERE { ?i rdf:type ?h . VALUES ( ?h ) { ( ontology:Q44539 ) ( ontology:Q27686 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:P1435 resource:Q18575424 . { { ?r rdf:type ontology:Q44539 } UNION { ?r rdf:type ontology:Q27686 } } } } . FILTER ( ?z = ?w ) }
Heritage at Risk category C listed building category B listed building Grade B listed structure category A listed building
5
action count
action approx
action union
action find_reverse_tuple_counts
relation heritage status
type building
type temple
action find_reverse_tuple_counts
relation heritage status
type building
type hotel
action count
action filter_multi_types
action find_reverse
entity Grade B listed structure
relation heritage status
type temple
type hotel
[[{'concept': 'temple'}, {'concept': 'hotel'}], 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?z ) WHERE { ?i rdf:type ?h . VALUES ( ?h ) { ( ontology:temple ) ( ontology:hotel ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:heritage_status resource:Grade_B_listed_structure . { { ?r rdf:type ontology:temple } UNION { ?r rdf:type ontology:hotel } } } } . FILTER ( ?z = ?w ) }
[]