Simple Question (Direct)
Simple Question
Q95933
P1344
Q16510064
USER
Which sporting event did Martina Jäschke participate in ?
(Q95933,P1344,c(Q16510064))
action filter_type
action find
entity Q95933
relation P1344
type Q16510064
['Q95933', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?s WHERE { resource:Q95933 property:P1344 ?s . ?s rdf:type ontology:Q16510064 }
Martina Jäschke
action filter_type
action find
entity Martina Jäschke
relation participant of
type sporting event
['Martina Jäschke', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?s WHERE { resource:Martina_Jäschke property:participant_of ?s . ?s rdf:type ontology:sporting_event }
[]
sporting event
Q4000214
SYSTEM
Diving at the 1980 Summer Olympics – Women's 10 metre platform
Q4000214
(Q95933,P1344,c(Q16510064))
action filter_type
action find
entity Q95933
relation P1344
type Q16510064
Martina Jäschke participated in [ANSWER]
['Q95933', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?s WHERE { resource:Q95933 property:P1344 ?s . ?s rdf:type ontology:Q16510064 }
Diving at the 1980 Summer Olympics – Women's 10 metre platform
Martina Jäschke participated in Diving at the 1980 Summer Olympics – Women's 10 metre platform
Diving at the 1980 Summer Olympics – Women's 10 metre platform
action filter_type
action find
entity Martina Jäschke
relation participant of
type sporting event
['Martina Jäschke', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?s WHERE { resource:Martina_Jäschke property:participant_of ?s . ?s rdf:type ontology:sporting_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q95933
P1532
Q7275
USER
Which state does Martina Jäschke represent ?
(Q95933,P1532,c(Q7275))
action filter_type
action find
entity Q95933
relation P1532
type Q7275
['Q95933', 'P1532', {'concept': 'Q7275'}]
SELECT DISTINCT ?g WHERE { resource:Q95933 property:P1532 ?g . ?g rdf:type ontology:Q7275 }
Martina Jäschke
action filter_type
action find
entity Martina Jäschke
relation country for sport
type state
['Martina Jäschke', 'country for sport', {'concept': 'state'}]
SELECT DISTINCT ?g WHERE { resource:Martina_Jäschke property:country_for_sport ?g . ?g rdf:type ontology:state }
[]
state
Q16957
SYSTEM
East Germany
Q16957
(Q95933,P1532,c(Q7275))
action filter_type
action find
entity Q95933
relation P1532
type Q7275
Martina Jäschke represents the [ANSWER]
['Q95933', 'P1532', {'concept': 'Q7275'}]
SELECT DISTINCT ?g WHERE { resource:Q95933 property:P1532 ?g . ?g rdf:type ontology:Q7275 }
East Germany
Martina Jäschke represents the East Germany
East Germany
action filter_type
action find
entity Martina Jäschke
relation country for sport
type state
['Martina Jäschke', 'country for sport', {'concept': 'state'}]
SELECT DISTINCT ?g WHERE { resource:Martina_Jäschke property:country_for_sport ?g . ?g rdf:type ontology:state }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q800236
P1376
Q7275 Q20667921 Q56061
USER
How many states have less number of french administrative divisions and administrative territories have their center of administration than Bahawalpur State ?
(c(Q20667921)|c(Q56061),P1376,c(Q7275))
action count
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q800236
relation P1376
type Q20667921
type Q56061
[[{'concept': 'Q20667921'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?h ) WHERE { VALUES ( ?f ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } . ?v rdf:type ?f } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:P1376 resource:Q800236 . { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } } } } . FILTER ( ?h < ?z ) }
Bahawalpur State
action count
action less
action union
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type state
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Bahawalpur State
relation capital of
type type of french administrative division
type administrative territorial entity
[[{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?h ) WHERE { VALUES ( ?f ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } . ?v rdf:type ?f } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:capital_of resource:Bahawalpur_State . { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } } } } . FILTER ( ?h < ?z ) }
[]
state type of french administrative division administrative territorial entity
SYSTEM
161
Q1193822 Q178665 Q18285930 Q152855 Q855044 Q975405 Q1688151 Q1483643 Q827040 Q210198 Q2006542 Q215530 Q912043 Q1649871 Q2564694 Q203493 Q1574107 Q798431 Q1269910 Q877875 Q2361927 Q402145 Q255931 Q2342822 Q863279 Q3177715 Q698089 Q83821 Q953432 Q13107370 Q761370 Q2114397 Q321371 Q220110 Q1414395 Q756895 Q49697 Q153660 Q1069905 Q6500954 Q274488 Q216173 Q577867 Q476757 Q1274468 Q202687 Q2419932 Q234197 Q2668600 Q551375 Q146246 Q1108445 Q153080 Q526507 Q16957 Q1154540 Q28322 Q550374 Q19831559 Q1048918 Q736936 Q783489 Q2444884 Q16949002 Q618399 Q180573 Q1923401 Q1135255 Q624887 Q199442 Q13706 Q156020 Q216786 Q26472 Q139319 Q752662 Q797422 Q235030 Q1668970 Q320930 Q849623 Q2264735 Q28511 Q139670 Q1138904 Q10988528 Q402580 Q7352 Q9903 Q83572 Q941881 Q1319681 Q1115291 Q894030 Q38060 Q914898 Q844250 Q738144 Q207521 Q1658411 Q28025 Q11704201 Q49326 Q1057118 Q157734 Q2088324 Q11909456 Q1415585 Q146328 Q1508143 Q940821 Q248572 Q697084 Q213586 Q16624774 Q173082 Q170588 Q11196 Q187684 Q1324889 Q146713 Q427941 Q697837 Q994451 Q3185305 Q1148907 Q320925 Q2593459 Q571453 Q271570 Q307069 Q28278 Q107380 Q206696 Q62454 Q1198071 Q1192067 Q2372248 Q1062422 Q505503 Q169705 Q212439 Q153015 Q846670 Q696242 Q422065 Q1479726 Q467864 Q212056 Q777981 Q487829 Q154853 Q1148042 Q770776 Q1549254 Q7314513 Q3041595 Q484104 Q680997 Q648297 Q149805
(c(Q20667921)|c(Q56061),P1376,c(Q7275))
action count
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q800236
relation P1376
type Q20667921
type Q56061
[ANSWER]
[[{'concept': 'Q20667921'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?h ) WHERE { VALUES ( ?f ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } . ?v rdf:type ?f } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:P1376 resource:Q800236 . { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } } } } . FILTER ( ?h < ?z ) }
Wuyue Mitanni German Empire of 1848/1849 Kingdom of Tungning Bhopal State Sultanate of Rum Kingdom of Thomond Nakhon Si Thammarat Kingdom Nanyue Erivan Khanate Dominion of Pakistan Kingdom of Ireland Jin Kingdom of Poland Powys Fadog Kingdom of Romania Han Zhao Republic of Dahomey Republic of Madawaska Palmyrene Empire Duchy of Masovia Mataram Sultanate Hariphunchai West Pakistan Sukhothai Kingdom Pagaruyung Kingdom Grand Duchy of Würzburg Bijapur Sultanate Couto Misto Principality of Serbia Aro Confederacy Yogyakarta Sultanate Bosporan Kingdom Rohan Republic of South Maluku Kediri Liu Song dynasty Italian Social Republic Cheng Han Zaire Eastern Wu Free City of Danzig Kingdom of Poland Democratic Republic of Afghanistan Republic of Bosnia and Herzegovina Songhai Empire Kingdom of Redonda Srivijaya Taifa of Niebla Grand Duchy of Westarctica Francia Kievan Rus' East Francia Later Shu East Germany Later Jin Dynasty Balhae South African Republic Oldenburg Suebic Kingdom of Galicia Lu Later Liang dynasty Tibet Lordship of Brecknock Republic of the Congo South Vietnam Zunghar Khanate Chinese Soviet Republic Neo-Babylonian Empire Kingdom of Aragon Principality of Sealand State of the Teutonic Order Champa Kingdom of Dali Russian Republic Hafsid dynasty Republic of Upper Volta Principality of Antioch Western Qin Cao Wei Oyo Empire Arthedain Buyeo kingdom Democratic Republic of Armenia Kingdom of Afghanistan Second East Turkestan Republic Medang Kingdom Jin dynasty Ming imperium Sikh Empire Netherlands New Guinea Qi Thonburi Kingdom Bornu Empire Gaul Kingdom of Khotan Lordship of Ireland United Provinces of the Río de la Plata Abyssinia Kingdom of Sarawak Ryukyu Kingdom Taifa of Arjona Majapahit Chenla Kingdom Muscat and Oman Colonial Brazil Bit Agusi Islamic State of Afghanistan Commonwealth of the Philippines Ukrainian State People's Democratic Republic of Ethiopia Sultanate of Maguindanao Duchy of Oldenburg Gondor Kingdom of Nicoya Dacia Republic of Texas Republika Srpska Despotate of Epirus Germiyanids Arab Federation Islamic Emirate of Afghanistan Mengjiang Western Liang Kingdom of Israel State of Katanga Shu Han Provisional Government of Hawaii Former Shu Kingdom of Araucanía and Patagonia Eastern Wei Provisional Government of the Republic of Korea History of Lippe Helvetic Republic Chen dynasty Southern Han Min Free State of Oldenburg Konbaung Dynasty Cochinchina Xia dynasty Cossack Hetmanate Kingdom of Saxony Danishmends Reorganized National Government of China Sultanate of Sulu Federation of Malaya People's Socialist Republic of Albania Mongolian People's Republic Duchy of the Archipelago Chagatai Khanate Diauehi Qutb Shahi dynasty Dutch Gold Coast Principality of Seborga Republic of South Carolina Republic of Iraq United States Army Military Government in Korea Principality of Lower Pannonia Free State of Brunswick Kingdom of Iraq
161
action count
action less
action union
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type state
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Bahawalpur State
relation capital of
type type of french administrative division
type administrative territorial entity
[[{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?h ) WHERE { VALUES ( ?f ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } . ?v rdf:type ?f } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:capital_of resource:Bahawalpur_State . { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } } } } . FILTER ( ?h < ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q713750
P1376
Q7275 Q20667921 Q56061
USER
And what about West Germany?
(c(Q20667921)|c(Q56061),P1376,c(Q7275))
action count
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q713750
relation P1376
type Q20667921
type Q56061
[[{'concept': 'Q20667921'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?x WHERE { { ?p property:P1376 ?x . ?x rdf:type ontology:Q7275 . ?p rdf:type ontology:Q20667921 } UNION { ?x rdf:type ontology:Q7275 . ?p rdf:type ontology:Q56061 . ?p property:P1376 ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:P1376 resource:Q713750 . { { ?s rdf:type ontology:Q20667921 } UNION { ?s rdf:type ontology:Q56061 } } } } . FILTER ( ?j < ?m ) }
West Germany
action count
action less
action union
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type state
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity West Germany
relation capital of
type type of french administrative division
type administrative territorial entity
[[{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?x WHERE { { ?p property:capital_of ?x . ?x rdf:type ontology:state . ?p rdf:type ontology:type_of_french_administrative_division } UNION { ?x rdf:type ontology:state . ?p rdf:type ontology:administrative_territorial_entity . ?p property:capital_of ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:capital_of resource:West_Germany . { { ?s rdf:type ontology:type_of_french_administrative_division } UNION { ?s rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?j < ?m ) }
[]
state type of french administrative division administrative territorial entity
SYSTEM
161
Q1193822 Q178665 Q18285930 Q152855 Q855044 Q975405 Q1688151 Q1483643 Q827040 Q210198 Q2006542 Q215530 Q912043 Q1649871 Q2564694 Q203493 Q1574107 Q798431 Q1269910 Q877875 Q2361927 Q402145 Q255931 Q2342822 Q863279 Q3177715 Q698089 Q83821 Q953432 Q13107370 Q761370 Q2114397 Q321371 Q220110 Q1414395 Q756895 Q49697 Q153660 Q1069905 Q6500954 Q274488 Q216173 Q577867 Q476757 Q1274468 Q202687 Q2419932 Q234197 Q2668600 Q551375 Q146246 Q1108445 Q153080 Q526507 Q16957 Q1154540 Q28322 Q550374 Q19831559 Q1048918 Q736936 Q783489 Q2444884 Q16949002 Q618399 Q180573 Q1923401 Q1135255 Q624887 Q199442 Q13706 Q156020 Q216786 Q26472 Q139319 Q752662 Q797422 Q235030 Q1668970 Q320930 Q849623 Q2264735 Q28511 Q139670 Q1138904 Q10988528 Q402580 Q7352 Q9903 Q83572 Q941881 Q1319681 Q1115291 Q894030 Q38060 Q914898 Q844250 Q738144 Q207521 Q1658411 Q28025 Q11704201 Q49326 Q1057118 Q157734 Q2088324 Q11909456 Q1415585 Q146328 Q1508143 Q940821 Q248572 Q697084 Q213586 Q16624774 Q173082 Q170588 Q11196 Q187684 Q1324889 Q146713 Q427941 Q697837 Q994451 Q3185305 Q1148907 Q320925 Q2593459 Q571453 Q271570 Q307069 Q28278 Q107380 Q206696 Q62454 Q1198071 Q1192067 Q2372248 Q1062422 Q505503 Q169705 Q212439 Q153015 Q846670 Q696242 Q422065 Q1479726 Q467864 Q212056 Q777981 Q487829 Q154853 Q1148042 Q770776 Q1549254 Q7314513 Q3041595 Q484104 Q680997 Q648297 Q149805
(c(Q20667921)|c(Q56061),P1376,c(Q7275))
action count
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q713750
relation P1376
type Q20667921
type Q56061
[ANSWER]
[[{'concept': 'Q20667921'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?x WHERE { { ?p property:P1376 ?x . ?x rdf:type ontology:Q7275 . ?p rdf:type ontology:Q20667921 } UNION { ?x rdf:type ontology:Q7275 . ?p rdf:type ontology:Q56061 . ?p property:P1376 ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:P1376 resource:Q713750 . { { ?s rdf:type ontology:Q20667921 } UNION { ?s rdf:type ontology:Q56061 } } } } . FILTER ( ?j < ?m ) }
Wuyue Mitanni German Empire of 1848/1849 Kingdom of Tungning Bhopal State Sultanate of Rum Kingdom of Thomond Nakhon Si Thammarat Kingdom Nanyue Erivan Khanate Dominion of Pakistan Kingdom of Ireland Jin Kingdom of Poland Powys Fadog Kingdom of Romania Han Zhao Republic of Dahomey Republic of Madawaska Palmyrene Empire Duchy of Masovia Mataram Sultanate Hariphunchai West Pakistan Sukhothai Kingdom Pagaruyung Kingdom Grand Duchy of Würzburg Bijapur Sultanate Couto Misto Principality of Serbia Aro Confederacy Yogyakarta Sultanate Bosporan Kingdom Rohan Republic of South Maluku Kediri Liu Song dynasty Italian Social Republic Cheng Han Zaire Eastern Wu Free City of Danzig Kingdom of Poland Democratic Republic of Afghanistan Republic of Bosnia and Herzegovina Songhai Empire Kingdom of Redonda Srivijaya Taifa of Niebla Grand Duchy of Westarctica Francia Kievan Rus' East Francia Later Shu East Germany Later Jin Dynasty Balhae South African Republic Oldenburg Suebic Kingdom of Galicia Lu Later Liang dynasty Tibet Lordship of Brecknock Republic of the Congo South Vietnam Zunghar Khanate Chinese Soviet Republic Neo-Babylonian Empire Kingdom of Aragon Principality of Sealand State of the Teutonic Order Champa Kingdom of Dali Russian Republic Hafsid dynasty Republic of Upper Volta Principality of Antioch Western Qin Cao Wei Oyo Empire Arthedain Buyeo kingdom Democratic Republic of Armenia Kingdom of Afghanistan Second East Turkestan Republic Medang Kingdom Jin dynasty Ming imperium Sikh Empire Netherlands New Guinea Qi Thonburi Kingdom Bornu Empire Gaul Kingdom of Khotan Lordship of Ireland United Provinces of the Río de la Plata Abyssinia Kingdom of Sarawak Ryukyu Kingdom Taifa of Arjona Majapahit Chenla Kingdom Muscat and Oman Colonial Brazil Bit Agusi Islamic State of Afghanistan Commonwealth of the Philippines Ukrainian State People's Democratic Republic of Ethiopia Sultanate of Maguindanao Duchy of Oldenburg Gondor Kingdom of Nicoya Dacia Republic of Texas Republika Srpska Despotate of Epirus Germiyanids Arab Federation Islamic Emirate of Afghanistan Mengjiang Western Liang Kingdom of Israel State of Katanga Shu Han Provisional Government of Hawaii Former Shu Kingdom of Araucanía and Patagonia Eastern Wei Provisional Government of the Republic of Korea History of Lippe Helvetic Republic Chen dynasty Southern Han Min Free State of Oldenburg Konbaung Dynasty Cochinchina Xia dynasty Cossack Hetmanate Kingdom of Saxony Danishmends Reorganized National Government of China Sultanate of Sulu Federation of Malaya People's Socialist Republic of Albania Mongolian People's Republic Duchy of the Archipelago Chagatai Khanate Diauehi Qutb Shahi dynasty Dutch Gold Coast Principality of Seborga Republic of South Carolina Republic of Iraq United States Army Military Government in Korea Principality of Lower Pannonia Free State of Brunswick Kingdom of Iraq
161
action count
action less
action union
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type state
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity West Germany
relation capital of
type type of french administrative division
type administrative territorial entity
[[{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) ?x WHERE { { ?p property:capital_of ?x . ?x rdf:type ontology:state . ?p rdf:type ontology:type_of_french_administrative_division } UNION { ?x rdf:type ontology:state . ?p rdf:type ontology:administrative_territorial_entity . ?p property:capital_of ?x } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { ?s property:capital_of resource:West_Germany . { { ?s rdf:type ontology:type_of_french_administrative_division } UNION { ?s rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?j < ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q641439
P194
Q1752346 Q7275
USER
Which assemblies are the legislative bodies for lesser number of states than Landtag of Bavaria ?
(c(Q7275),P194,c(Q1752346))
action less
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find_reverse
entity Q641439
relation P194
type Q7275
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?j ) WHERE { ?w rdf:type ontology:Q1752346 . ?t rdf:type ontology:Q7275 . ?t property:P194 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { ?x rdf:type ontology:Q7275 . ?x property:P194 resource:Q641439 } } . FILTER ( ?j < ?v ) }
Landtag of Bavaria
action less
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find_reverse
entity Landtag of Bavaria
relation legislative body
type state
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?j ) WHERE { ?w rdf:type ontology:assembly . ?t rdf:type ontology:state . ?t property:legislative_body ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { ?x rdf:type ontology:state . ?x property:legislative_body resource:Landtag_of_Bavaria } } . FILTER ( ?j < ?v ) }
[]
assembly state
Q154797 Q209151 Q157638
SYSTEM
Bundestag of Germany, Folketing, Frankfurt Parliament
Q16980374 Q3154693 Q1253647 Q109016 Q896075 Q4220207 Q2511660 Q949699 Q4496302 Q3365524 Q17063844 Q1257966 Q18510957 Q2584535 Q1258164 Q1368318 Q128852 Q1572486 Q5153951 Q206171 Q4808730 Q1283189 Q636377 Q458185 Q1813360 Q510511 Q509668 Q5035091 Q1599346 Q1398920 Q3251036 Q2347172 Q6411382 Q1817866 Q319994 Q1450753 Q2089528 Q7138943 Q21516057 Q884824 Q1577158 Q2282872 Q4816040 Q1585014 Q154797 Q2102558 Q19758733 Q1969591 Q1368588 Q4863502 Q4999218 Q11010 Q24824 Q5265877 Q1112381 Q9633175 Q7447085 Q7186810 Q1798607 Q7205806 Q640859 Q1091494 Q3333555 Q4852810 Q7603047 Q2185780 Q4184925 Q1116283 Q1117578 Q2016884 Q1139204 Q2358985 Q2963301 Q5347180 Q7442079 Q2041767 Q4345419 Q1968458 Q1415847 Q740564 Q1517231 Q946944 Q3365530 Q1972029 Q643412 Q17064146 Q12114504 Q2739604 Q1870447 Q378605 Q1130737 Q6867972 Q24861263 Q648716 Q1292 Q571436 Q35749 Q521764 Q695252 Q209151 Q1520966 Q1284236 Q157638 Q4938444 Q219825 Q884829 Q1357543 Q1288169 Q882738 Q2994129 Q1077701 Q26856919 Q321246 Q645195 Q7253170 Q1280751 Q1135960 Q7063612 Q817979 Q12357499 Q2994125 Q684719 Q1965042 Q4849285 Q477089 Q1269552 Q1968468 Q260372 Q5211293 Q1501988 Q317147 Q878525 Q382118 Q5132092 Q449304 Q314690 Q5123141 Q646190 Q4947808 Q1320418 Q7447087 Q475689 Q3393882 Q4985519 Q272930 Q11081523 Q15150880 Q822919 Q455697 Q219692 Q637829 Q5916428 Q5339025 Q133396 Q122635 Q3246027 Q2444341 Q160208 Q667464 Q7089412 Q1515950 Q189445 Q701632
(c(Q7275),P194,c(Q1752346))
action less
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find_reverse
entity Q641439
relation P194
type Q7275
[ANSWERS] are the legislative bodies for lesser number of states than Landtag of Bavaria
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?j ) WHERE { ?w rdf:type ontology:Q1752346 . ?t rdf:type ontology:Q7275 . ?t property:P194 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { ?x rdf:type ontology:Q7275 . ?x property:P194 resource:Q641439 } } . FILTER ( ?j < ?v ) }
Honolulu City Council city council Parliament of Grenada Parliament of Norway Landtag of Thuringia Kiev City Council Congress of Paraguay National Congress of Brasil Kharkiv City Municipality Parliament of Tasmania Kampuchean People's Representative Assembly Parliament of Greenland Supreme Soviet of the Donetsk People's Republic Parliament of Egypt Assembly of the Republic of Macedonia National Assembly Gibraltar Parliament Parliament of The Bahamas Communal Council of Monaco Scottish Parliament Legislative Assembly of São Paulo Estates of Aruba Hamburg Parliament Landtag of South Tyrol Parliament of Romania Landtag of Hesse Løgting Cape Town City Council National Assembly General council Legislature of New Brunswick Parliament of the Czech Republic King County Council Parliament of Malta Landtag of Lower Saxony Parliament of Sri Lanka Riga City Council Parliament of Trinidad and Tobago Zurich City Council Landtag of Saxony National Assembly diet Atlanta City Council National Assembly of Venezuela Bundestag of Germany Parliament of Poland departmental council National Assembly National Assembly of Panama Barrie City Council Burlington City Council Parliament of the United Kingdom General Council of Andorra Detroit City Council House of Representatives Legislative Assembly of Bahia Sejm of Congress Poland Phoenix City Council National Assembly of Belarus Plymouth General Court Abgeordnetenhaus of Berlin Parliament of Åland General Assembly of the Ottoman Empire Baltimore City Council State Assembly of the Mari El Republic Parliament of South Africa Legislative Assembly of Primorsky Krai National Assembly Italian Parliament Oireachtas of the Irish Free State National Council of Slovakia Congress of People's Deputies of Russia Chicago City Council Eeyou Istchee James Bay Territory Seattle City Council Moscow City Duma Parliament of Lesotho Plurinational Legislative Assembly National Congress of Honduras Assembly of the Republic Parliament of Singapore States of Jersey Parliament of the Province of Canada Parliament of Nauru Parliament of Finland Parliament of the Khmer Republic Kremenchuk City Municipality Parliament of Great Britain Los Angeles City Council Islamic Consultative Assembly Parliament of England Minneapolis City Council Kyoto City Assembly National Assembly Flemish Parliament Landtag of North Rhine-Westphalia parliament Landtag of Brandenburg Parliament of India Folketing New Zealand Parliament Congress of Colombia Frankfurt Parliament Boise City Council National Convention Landtag of Saxony-Anhalt Congress of the Republic of Peru Slovenian Parliament Landtag of Mecklenburg-Vorpommern Quebec City Council Regional Council in Italy Roccarainola city council Reichstag New York City Council Prussian estates Parliament of Antigua and Barbuda Parliament of Albania Nottingham City Council Grand and General Council Irkutsk Legislative Assembly Ottawa City Council Federal Assembly National Assembly Bakersfield City Council Hellenic Parliament Dáil Éireann National Congress of Chile Landtag of Saarland Dallas City Council General Assembly of Uruguay Bürgerschaft of Bremen Reichstag Parliament of Australia Cleveland City Council Landtag of Schleswig-Holstein Landtag of Rhineland-Palatinate City Council of Tehran Argentine National Congress Boston City Council Parliament of Cambodia Sejm of the Duchy of Warsaw Parliament of Canada Junta of the Kingdom of Galicia Buenos Aires City Legislature Parliament of Sweden New Taipei City Council Legislature of Quebec Saeima Landtag of Baden-Württemberg Cortes Generales Reichstag Houston City Council Edmonton City Council Knesset Parliament of Jamaica General Assembly of Nova Scotia Toronto City Council Reichstag Diet of Galicia and Lodomeria Omaha City Council Assembly of the Republic bicameral legislature municipal council
Bundestag of Germany, Folketing and Frankfurt Parliament are the legislative bodies for lesser number of states than Landtag of Bavaria
Bundestag of Germany Folketing Frankfurt Parliament
action less
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find_reverse
entity Landtag of Bavaria
relation legislative body
type state
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?t ) AS ?j ) WHERE { ?w rdf:type ontology:assembly . ?t rdf:type ontology:state . ?t property:legislative_body ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { ?x rdf:type ontology:state . ?x property:legislative_body resource:Landtag_of_Bavaria } } . FILTER ( ?j < ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q7253170
P194
Q1752346 Q7275
USER
And also tell me about Prussian estates?
(c(Q7275),P194,c(Q1752346))
action less
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find_reverse
entity Q7253170
relation P194
type Q7275
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:P194 resource:Q7253170 . ?m rdf:type ontology:Q7275 } } . FILTER ( ?q < ?h ) . { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?q ) WHERE { ?b rdf:type ontology:Q1752346 . ?c rdf:type ontology:Q7275 . ?c property:P194 ?b } GROUP BY ?b } }
Prussian estates
action less
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find_reverse
entity Prussian estates
relation legislative body
type state
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:legislative_body resource:Prussian_estates . ?m rdf:type ontology:state } } . FILTER ( ?q < ?h ) . { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?q ) WHERE { ?b rdf:type ontology:assembly . ?c rdf:type ontology:state . ?c property:legislative_body ?b } GROUP BY ?b } }
[]
assembly state
Q154797 Q209151 Q133396
SYSTEM
Bundestag of Germany, Folketing, Knesset
Q16980374 Q3154693 Q1253647 Q109016 Q896075 Q4220207 Q2511660 Q4496302 Q3365524 Q1257966 Q18510957 Q2584535 Q1258164 Q1368318 Q128852 Q1572486 Q5153951 Q206171 Q4808730 Q636377 Q458185 Q510511 Q509668 Q5035091 Q1599346 Q1398920 Q3251036 Q2347172 Q6411382 Q1817866 Q319994 Q1450753 Q2089528 Q7138943 Q21516057 Q884824 Q1577158 Q4816040 Q1585014 Q154797 Q2102558 Q19758733 Q1969591 Q1368588 Q4863502 Q4999218 Q24824 Q5265877 Q1112381 Q9633175 Q7447085 Q7186810 Q1798607 Q7205806 Q640859 Q1091494 Q3333555 Q4852810 Q7603047 Q2185780 Q4184925 Q1117578 Q2016884 Q1139204 Q2358985 Q2963301 Q5347180 Q7442079 Q2041767 Q4345419 Q1968458 Q1415847 Q740564 Q1517231 Q946944 Q3365530 Q1972029 Q12114504 Q1870447 Q378605 Q6867972 Q24861263 Q1292 Q571436 Q521764 Q695252 Q209151 Q1520966 Q1284236 Q4938444 Q884829 Q1357543 Q1288169 Q882738 Q2994129 Q1077701 Q26856919 Q645195 Q1280751 Q1135960 Q7063612 Q817979 Q12357499 Q2994125 Q684719 Q1965042 Q4849285 Q477089 Q1968468 Q260372 Q5211293 Q1501988 Q317147 Q382118 Q5132092 Q449304 Q314690 Q5123141 Q646190 Q4947808 Q475689 Q4985519 Q272930 Q11081523 Q15150880 Q822919 Q455697 Q5916428 Q5339025 Q133396 Q122635 Q3246027 Q2444341 Q160208 Q7089412 Q1515950 Q701632
(c(Q7275),P194,c(Q1752346))
action less
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
action count
action filter_type
action find_reverse
entity Q7253170
relation P194
type Q7275
[ANSWERS]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:P194 resource:Q7253170 . ?m rdf:type ontology:Q7275 } } . FILTER ( ?q < ?h ) . { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?q ) WHERE { ?b rdf:type ontology:Q1752346 . ?c rdf:type ontology:Q7275 . ?c property:P194 ?b } GROUP BY ?b } }
Honolulu City Council city council Parliament of Grenada Parliament of Norway Landtag of Thuringia Kiev City Council Congress of Paraguay Kharkiv City Municipality Parliament of Tasmania Parliament of Greenland Supreme Soviet of the Donetsk People's Republic Parliament of Egypt Assembly of the Republic of Macedonia National Assembly Gibraltar Parliament Parliament of The Bahamas Communal Council of Monaco Scottish Parliament Legislative Assembly of São Paulo Hamburg Parliament Landtag of South Tyrol Landtag of Hesse Løgting Cape Town City Council National Assembly General council Legislature of New Brunswick Parliament of the Czech Republic King County Council Parliament of Malta Landtag of Lower Saxony Parliament of Sri Lanka Riga City Council Parliament of Trinidad and Tobago Zurich City Council Landtag of Saxony National Assembly Atlanta City Council National Assembly of Venezuela Bundestag of Germany Parliament of Poland departmental council National Assembly National Assembly of Panama Barrie City Council Burlington City Council General Council of Andorra Detroit City Council House of Representatives Legislative Assembly of Bahia Sejm of Congress Poland Phoenix City Council National Assembly of Belarus Plymouth General Court Abgeordnetenhaus of Berlin Parliament of Åland General Assembly of the Ottoman Empire Baltimore City Council State Assembly of the Mari El Republic Parliament of South Africa Legislative Assembly of Primorsky Krai Italian Parliament Oireachtas of the Irish Free State National Council of Slovakia Congress of People's Deputies of Russia Chicago City Council Eeyou Istchee James Bay Territory Seattle City Council Moscow City Duma Parliament of Lesotho Plurinational Legislative Assembly National Congress of Honduras Assembly of the Republic Parliament of Singapore States of Jersey Parliament of the Province of Canada Parliament of Nauru Kremenchuk City Municipality Los Angeles City Council Islamic Consultative Assembly Minneapolis City Council Kyoto City Assembly Flemish Parliament Landtag of North Rhine-Westphalia Landtag of Brandenburg Parliament of India Folketing New Zealand Parliament Congress of Colombia Boise City Council Landtag of Saxony-Anhalt Congress of the Republic of Peru Slovenian Parliament Landtag of Mecklenburg-Vorpommern Quebec City Council Regional Council in Italy Roccarainola city council New York City Council Parliament of Antigua and Barbuda Parliament of Albania Nottingham City Council Grand and General Council Irkutsk Legislative Assembly Ottawa City Council Federal Assembly National Assembly Bakersfield City Council Hellenic Parliament National Congress of Chile Landtag of Saarland Dallas City Council General Assembly of Uruguay Bürgerschaft of Bremen Parliament of Australia Cleveland City Council Landtag of Schleswig-Holstein Landtag of Rhineland-Palatinate City Council of Tehran Argentine National Congress Boston City Council Parliament of Canada Buenos Aires City Legislature Parliament of Sweden New Taipei City Council Legislature of Quebec Saeima Landtag of Baden-Württemberg Houston City Council Edmonton City Council Knesset Parliament of Jamaica General Assembly of Nova Scotia Toronto City Council Reichstag Omaha City Council Assembly of the Republic municipal council
Bundestag of Germany Folketing Knesset
action less
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
action count
action filter_type
action find_reverse
entity Prussian estates
relation legislative body
type state
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:legislative_body resource:Prussian_estates . ?m rdf:type ontology:state } } . FILTER ( ?q < ?h ) . { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?q ) WHERE { ?b rdf:type ontology:assembly . ?c rdf:type ontology:state . ?c property:legislative_body ?b } GROUP BY ?b } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q209151
P488
Q502895
USER
Who chaired that assembly ?
(Q209151,P488,c(Q502895))
action filter_type
action find
entity Q209151
relation P488
type Q502895
['Q209151', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q209151 property:P488 ?k . ?k rdf:type ontology:Q502895 }
Folketing
action filter_type
action find
entity Folketing
relation chairperson
type common name
['Folketing', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Folketing property:chairperson ?k . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q154797
SYSTEM
Did you mean Bundestag of Germany ?
Q154797 Q209151 Q133396
(Q154797,P488,c(Q502895)) (Q209151,P488,c(Q502895)) (Q133396,P488,c(Q502895))
[ANSWER]
['Q154797', 'P488', {'concept': 'Q502895'}] ['Q209151', 'P488', {'concept': 'Q502895'}] ['Q133396', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q209151 property:P488 ?k . ?k rdf:type ontology:Q502895 }
Bundestag of Germany Folketing Knesset
Did you mean Bundestag of Germany ?
Bundestag of Germany
['Bundestag of Germany', 'chairperson', {'concept': 'common name'}] ['Folketing', 'chairperson', {'concept': 'common name'}] ['Knesset', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Folketing property:chairperson ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Folketing. Could you tell me the answer for that?
(Q209151,P488,c(Q502895))
Q209151
['Q209151', 'P488', {'concept': 'Q502895'}]
['Folketing', 'chairperson', {'concept': 'common name'}]
[]
Q1937560 Q272924
SYSTEM
Mogens Lykketoft, Pia Kjærsgaard
Q1937560 Q272924
(Q209151,P488,c(Q502895))
action filter_type
action find
entity Q209151
relation P488
type Q502895
[ANSWERS] chaired that assembly
['Q209151', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q209151 property:P488 ?k . ?k rdf:type ontology:Q502895 }
Mogens Lykketoft Pia Kjærsgaard
Mogens Lykketoft and Pia Kjærsgaard chaired that assembly
Mogens Lykketoft Pia Kjærsgaard
action filter_type
action find
entity Folketing
relation chairperson
type common name
['Folketing', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Folketing property:chairperson ?k . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1376
Q7275 Q486972 Q56061
USER
Which states have max number of human settlements or administrative territories have their center of administration ?
(c(Q486972)|c(Q56061),P1376,c(Q7275))
action argmax
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q56061
[[{'concept': 'Q486972'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?e WHERE { ?x rdf:type ?w . VALUES ( ?w ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) ?n WHERE { { ?j property:P1376 ?n . ?n rdf:type ontology:Q7275 . ?j rdf:type ontology:Q56061 } UNION { ?j property:P1376 ?n . ?n rdf:type ontology:Q7275 . ?j rdf:type ontology:Q486972 } } GROUP BY ?n } . FILTER ( ?o = ?v ) }
action argmax
action union
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action find_reverse_tuple_counts
relation capital of
type state
type administrative territorial entity
[[{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?e WHERE { ?x rdf:type ?w . VALUES ( ?w ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) ?n WHERE { { ?j property:capital_of ?n . ?n rdf:type ontology:state . ?j rdf:type ontology:administrative_territorial_entity } UNION { ?j property:capital_of ?n . ?n rdf:type ontology:state . ?j rdf:type ontology:human_settlement } } GROUP BY ?n } . FILTER ( ?o = ?v ) }
[]
state human settlement administrative territorial entity
Q188586
SYSTEM
Kingdom of Sicily
Q188586
(c(Q486972)|c(Q56061),P1376,c(Q7275))
action argmax
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q56061
[ANSWER] have max number of human settlements or administrative territories have their center of administration
[[{'concept': 'Q486972'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?e WHERE { ?x rdf:type ?w . VALUES ( ?w ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) ?n WHERE { { ?j property:P1376 ?n . ?n rdf:type ontology:Q7275 . ?j rdf:type ontology:Q56061 } UNION { ?j property:P1376 ?n . ?n rdf:type ontology:Q7275 . ?j rdf:type ontology:Q486972 } } GROUP BY ?n } . FILTER ( ?o = ?v ) }
Kingdom of Sicily
Kingdom of Sicily have max number of human settlements or administrative territories have their center of administration
Kingdom of Sicily
action argmax
action union
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action find_reverse_tuple_counts
relation capital of
type state
type administrative territorial entity
[[{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?e WHERE { ?x rdf:type ?w . VALUES ( ?w ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) ?n WHERE { { ?j property:capital_of ?n . ?n rdf:type ontology:state . ?j rdf:type ontology:administrative_territorial_entity } UNION { ?j property:capital_of ?n . ?n rdf:type ontology:state . ?j rdf:type ontology:human_settlement } } GROUP BY ?n } . FILTER ( ?o = ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1194765
P36
Q486972 Q20667921 Q7275
USER
Which states have approximately the same number of human settlements and french administrative divisions as their capital as Kamarupa ?
(c(Q7275),P36,c(Q486972)|c(Q20667921))
action approx
action union
action find_tuple_counts
relation P36
type Q7275
type Q486972
action find_tuple_counts
relation P36
type Q7275
type Q20667921
action count
action filter_multi_types
action find
entity Q1194765
relation P36
type Q486972
type Q20667921
[{'concept': 'Q7275'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?r ) WHERE { { ?q property:P36 ?m . ?q rdf:type ontology:Q7275 . ?m rdf:type ontology:Q20667921 } UNION { ?q rdf:type ontology:Q7275 . ?m rdf:type ontology:Q486972 . ?q property:P36 ?m } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q1194765 property:P36 ?g . { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } } } } . FILTER ( ?r = ?o ) }
Kamarupa
action approx
action union
action find_tuple_counts
relation capital
type state
type human settlement
action find_tuple_counts
relation capital
type state
type type of french administrative division
action count
action filter_multi_types
action find
entity Kamarupa
relation capital
type human settlement
type type of french administrative division
[{'concept': 'state'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?r ) WHERE { { ?q property:capital ?m . ?q rdf:type ontology:state . ?m rdf:type ontology:type_of_french_administrative_division } UNION { ?q rdf:type ontology:state . ?m rdf:type ontology:human_settlement . ?q property:capital ?m } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Kamarupa property:capital ?g . { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } } } } . FILTER ( ?r = ?o ) }
[]
human settlement type of french administrative division state
Q33946 Q15180 Q980
SYSTEM
Czechoslovakia, Soviet Union, Bavaria
Q230791 Q1193822 Q15102440 Q46652 Q7559152 Q568523 Q18285930 Q788071 Q207162 Q572222 Q1275158 Q152855 Q174193 Q855044 Q466581 Q110888 Q2145402 Q1471995 Q1295806 Q975405 Q1688151 Q457167 Q1483643 Q827040 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q72785 Q210198 Q31454 Q834486 Q2006542 Q186096 Q133356 Q215530 Q912043 Q501684 Q164079 Q588672 Q2564694 Q62623 Q870055 Q282475 Q1789596 Q184536 Q203493 Q523380 Q980 Q1574107 Q154401 Q746443 Q252580 Q3446210 Q317078 Q332005 Q940123 Q874954 Q172579 Q867782 Q798431 Q1269910 Q506008 Q188553 Q536476 Q877875 Q1068408 Q1150344 Q330362 Q8146595 Q23366230 Q267584 Q310293 Q15864 Q1362278 Q1269234 Q918204 Q1067513 Q402145 Q255931 Q2342822 Q863279 Q1468426 Q71092 Q3177715 Q15180 Q800236 Q698089 Q83821 Q27260 Q249578 Q16410 Q215643 Q212278 Q210542 Q223936 Q8735 Q13107370 Q8733 Q1462877 Q156038 Q7405 Q761370 Q2114397 Q208404 Q467627 Q1796239 Q321371 Q1152445 Q220110 Q2670639 Q2412900 Q1414395 Q756895 Q190025 Q229411 Q240123 Q153660 Q1771831 Q1069905 Q105313 Q44642 Q6500954 Q38872 Q107299 Q546282 Q466803 Q274488 Q11876909 Q541455 Q646374 Q241748 Q577867 Q210163 Q842931 Q858841 Q476757 Q1274468 Q427703 Q2301372 Q216632 Q202687 Q207272 Q889394 Q151148 Q6412669 Q5148520 Q2419932 Q234197 Q2668600 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q49697 Q551375 Q762943 Q1998866 Q106577 Q146246 Q1198071 Q1240096 Q153080 Q473433 Q651377 Q161885 Q526507 Q191077 Q468814 Q174306 Q1617495 Q37024 Q1194765 Q1154540 Q157367 Q28322 Q760893 Q1539360 Q2305208 Q550374 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q19831559 Q1048918 Q1322229 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q736936 Q783489 Q28428 Q1479952 Q303421 Q19083 Q83618 Q449639 Q1395320 Q1143524 Q2086556 Q26988 Q16949002 Q618399 Q180573 Q1923401 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1135255 Q1477220 Q624887 Q4159675 Q269864 Q199841 Q335088 Q325461 Q12557 Q583038 Q199442 Q860407 Q13706 Q146761 Q200262 Q1296908 Q156020 Q431575 Q769782 Q216786 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q26472 Q158725 Q862701 Q139315 Q28370 Q139319 Q832554 Q171150 Q3271735 Q160440 Q752662 Q2305337 Q1668970 Q320930 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q849623 Q1149230 Q324470 Q551067 Q176495 Q2264735 Q28511 Q796583 Q330988 Q139670 Q1136259 Q1194329 Q1138904 Q28456 Q1183649 Q209065 Q21203 Q10988528 Q631210 Q75903 Q402580 Q7352 Q2086608 Q733799 Q9903 Q178913 Q131964 Q83274 Q62589 Q83572 Q4948 Q836169 Q234009 Q28208 Q903779 Q1774 Q941881 Q55502 Q1319681 Q713750 Q2552742 Q220167 Q1115291 Q696908 Q147909 Q319881 Q1709185 Q894030 Q38060 Q39760 Q1192067 Q62519 Q736727 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q914898 Q7771127 Q844250 Q181254 Q738144 Q207521 Q2396442 Q1658411 Q28025 Q142417 Q11704201 Q2428714 Q49326 Q1406298 Q14934927 Q1057118 Q157734 Q2088324 Q11909456 Q580188 Q1796198 Q1415585 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q146328 Q248452 Q175379 Q552157 Q1508143 Q170770 Q30623 Q940821 Q248572 Q697084 Q747314 Q5157575 Q213586 Q3456373 Q862304 Q217196 Q16624774 Q154195 Q266923 Q173082 Q285658 Q150061 Q170588 Q165154 Q11196 Q70972 Q268970 Q187684 Q1143164 Q1324889 Q1562357 Q146713 Q1164500 Q427941 Q161036 Q2314907 Q2184 Q697837 Q774783 Q994451 Q105092 Q3185305 Q178038 Q1148907 Q13496558 Q179876 Q206279 Q1469100 Q25279 Q1078602 Q48685 Q2378381 Q225890 Q320925 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q102679 Q2593459 Q150058 Q571453 Q4461035 Q33946 Q150056 Q762084 Q271570 Q307069 Q28278 Q107380 Q206696 Q544630 Q180114 Q431731 Q1320058 Q36704 Q62454 Q1472004 Q28233 Q889884 Q698239 Q1142179 Q1277557 Q4453003 Q1483430 Q2372248 Q4453007 Q829356 Q1062422 Q764697 Q853477 Q505503 Q169705 Q212439 Q1751495 Q738264 Q153015 Q846670 Q386496 Q696241 Q696242 Q152420 Q11774 Q4843701 Q422065 Q1479726 Q467864 Q76236 Q209857 Q2712121 Q212056 Q13426199 Q964024 Q877155 Q777981 Q26273 Q2365048 Q4274522 Q154853 Q1148042 Q770776 Q230407 Q1549254 Q49683 Q7314513 Q75613 Q1192936 Q2109946 Q28405 Q71747 Q676184 Q128938 Q837136 Q3041595 Q146597 Q1072362 Q185488 Q484104 Q680997 Q5362837 Q93180 Q28573 Q949268 Q1986139 Q151536 Q188586 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q899706 Q1029847 Q6415938 Q5148517 Q41304 Q648297 Q149805
(c(Q7275),P36,c(Q486972)|c(Q20667921))
action approx
action union
action find_tuple_counts
relation P36
type Q7275
type Q486972
action find_tuple_counts
relation P36
type Q7275
type Q20667921
action count
action filter_multi_types
action find
entity Q1194765
relation P36
type Q486972
type Q20667921
[ANSWERS] have approximately the same number of human settlements and french administrative divisions as their capital as Kamarupa
[{'concept': 'Q7275'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?r ) WHERE { { ?q property:P36 ?m . ?q rdf:type ontology:Q7275 . ?m rdf:type ontology:Q20667921 } UNION { ?q rdf:type ontology:Q7275 . ?m rdf:type ontology:Q486972 . ?q property:P36 ?m } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q1194765 property:P36 ?g . { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } } } } . FILTER ( ?r = ?o ) }
Kingdom of Scotland Wuyue Kingdom of Serbs, Croatians and Slovenes Malacca sultanate Somali Republic Nobatia German Empire of 1848/1849 Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais Kingdom of Tungning United Kingdom of Great Britain and Ireland Bhopal State Hoysala Empire Kingdom of Essex Republic of South Peru Former Qin Lower Yafa Sultanate of Rum Kingdom of Thomond West Ukrainian People's Republic Nakhon Si Thammarat Kingdom Nanyue British Togoland Khanate of Sibir Warsangali Sultanate Ahom kingdom Samanid dynasty Adamawa Emirate Cretan State Erivan Khanate Kingdom of Libya Federation of South Arabia Dominion of Pakistan Tsardom of Russia Ukrainian Soviet Socialist Republic Kingdom of Ireland Jin Kingdom of Gomma Kingdom of Hanover Hammadid dynasty Powys Fadog Kalmar Union Kingdom of Laos Kingdom of Kartli-Kakheti Croatia in personal union with Hungary Mali Empire Kingdom of Romania Republic of Central Lithuania Bavaria Han Zhao Slovak Republic Golden Ambrosian Republic Duchy of Modena and Reggio Kingdom of Pamplona Pskov Republic Principality of Achaea Rustamid dynasty Principality of Theodoro Kingdom of Italy Kingdom of Funan Republic of Dahomey Republic of Madawaska Kingdom of Deira Batavian Republic Toucouleur Empire Palmyrene Empire Kuru Kingdom Johor Sultanate Commonwealth of England Upingtonia Republic of Geneva Yemen Arab Republic Saar Protectorate United Kingdom of the Netherlands United States of Stellaland Stellaland Rajpipla State Injuids Mataram Sultanate Hariphunchai West Pakistan Sukhothai Kingdom Limmu-Ennarea Second French Empire Pagaruyung Kingdom Soviet Union Bahawalpur State Grand Duchy of Würzburg Bijapur Sultanate Samma dynasty Ghaznavid Empire People's Republic of Hungary Indo-Greek Kingdom Kingdom of Holland Second Brazilian Republic Kingdom of Italy Medes Principality of Serbia Qing dynasty Kingdom of Kaffa Duchy of Courland and Semigallia Sui dynasty Aro Confederacy Yogyakarta Sultanate Kingdom of Armenia Durrani Empire Kingdom of Seville Bosporan Kingdom Aerican Empire Rohan Powys Wenwynwyn Republic of Salé Republic of South Maluku Kediri Federal Republic of Central America Delhi Sultanate Indo-Scythians Italian Social Republic Kruševo Republic Cheng Han Kingdom of Wessex Federation of Arab Republics Zaire Prussia Kingdom of Northumbria Xia Pallava Eastern Wu State of Brazil Anglo-Egyptian Sudan French India Kingdom of Serbia Kingdom of Poland Astrakhan Khanate East Pakistan Kingdom of Croatia Democratic Republic of Afghanistan Republic of Bosnia and Herzegovina Free State of Schaumburg-Lippe Kingdom of Toledo Mali Federation Songhai Empire Second Polish Republic Portuguese Mozambique Chola dynasty Kingdom of Tunisia Colony of Niger Kingdom of Redonda Srivijaya Taifa of Niebla Gallic Empire Adiabene Kingdom of Prussia Conch Republic Yamhad Ouaddai Empire First Portuguese Republic Muang Phuan Kingdom of Brycheiniog United Suvadive Republic Finnish Socialist Workers' Republic Liu Song dynasty Grand Duchy of Westarctica County of Holland Czech and Slovak Federal Republic Neustria Francia Southern Han Hyderabad State East Francia Ammon Shunga Empire Kingdom of Great Britain Later Shu Kingdom of Yugoslavia Dahomey Republic of Genoa Kingdom of Jaén Serbia and Montenegro Kamarupa Later Jin Dynasty Brandenburg-Prussia Balhae Jolof Empire Northern Liang Soviet Russia South African Republic People's Republic of the Congo West Indies Federation Mountainous Republic of the Northern Caucasus Karabakh Khanate Gold Coast Kingdom of Egypt Jaffna kingdom Oldenburg Suebic Kingdom of Galicia Enlightenment in Spain Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Lu Later Liang dynasty Baekje Kadamba Dynasty Kingdom of Galicia Iberia Maratha Empire Alodia Duchy of Siewierz Northern Qi Kakatiya dynasty Cook Islands Lordship of Brecknock Republic of the Congo South Vietnam Zunghar Khanate Kingdom of Bohemia United Arab Republic Kingdom of Hungary Portuguese India Kingdom of Illyria Chinese Soviet Republic Somali Democratic Republic Neo-Babylonian Empire Javad khanate Socialist Republic of Serbia South Yemen Armenian Kingdom of Cilicia Kingdom of Thessalonica Mongol Empire Ostrogothic Kingdom Kingdom of Aragon Kahlur State Principality of Sealand Hatay State Kingdom of Navarre Kathiri State of the Teutonic Order Idrisid dynasty Kingdom of Powys Champa First Spanish Republic Serbian Despotate Protectorate of Peru Marinid dynasty Democratic Republic of Azerbaijan Kingdom of Castile Kingdom of Dali Tanganyika Territory People's Republic of Benin Dʿmt Goguryeo Russian Republic Argentine Confederation Kingdom of Hungary Kingdom of Arles Crimean Khanate Hafsid dynasty Azerbaijan People's Government Western Qin Cao Wei Republic of Serbian Krajina Kingdom of Cyprus Basutoland Travancore-Cochin Kingdom of Albania First Brazilian Republic Orange Free State Duchy of Bohemia Septinsular Republic Oyo Empire Western Yan Kara Koyunlu Northern Zhou Federal State of Austria Arthedain Buyeo kingdom Kingdom of Kongo Democratic Kampuchea Democratic Republic of Armenia Southwestern Somalia Nova Roma Kingdom of Afghanistan Silla Deccan sultanates Kingdom of Greece Aruba Second East Turkestan Republic Nogai Horde Turkestan Autonomous Soviet Socialist Republic Medang Kingdom Jin dynasty Western Satraps Kingdom of the Hwicce Ming imperium empire of Trebizond Austrian Empire Hatay Union between Sweden and Norway Sikh Empire Republic of Venice Qasim Khanate Magadha Goryeo United Kingdom of Portugal, Brazil and the Algarves Zanzibar Netherlands New Guinea Kingdom of Jerusalem Qi West Germany Northland State Lydenburg Republic Thonburi Kingdom Kingdom of Poland Kingdom of Bulgaria Republic of Taiwan Kingdom of Spain under Joseph Bonaparte Bornu Empire Gaul Gaza Strip Min Finnish Democratic Republic Republic of Siena Kamerun Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Kingdom of Italy Indo-Parthian Kingdom Congo Free State Kingdom of Khotan Pohnpei State Lordship of Ireland Empire of Nicea United Provinces of the Río de la Plata Abyssinia Kingdom of Galicia and Lodomeria Kingdom of Sarawak Ryukyu Kingdom Kingdom of Valencia Taifa of Arjona Sena dynasty Majapahit Serbian Empire Murrawarri Republic Chenla Kingdom Muscat and Oman Colonial Brazil Bit Agusi Mutawakkilite Kingdom of Yemen Kingdom of Córdoba Islamic State of Afghanistan Papal States Taebong Kingdom of León Caucasian Albania Nazi Germany Pandyan Dynasty Commonwealth of the Philippines British North America Empire of China Nieuwe Republiek Ukrainian State Grand Duchy of Moscow Manchukuo People's Democratic Republic of Ethiopia Sultanate of Maguindanao Duchy of Oldenburg Bechuanaland Protectorate Griqualand East Gondor Republic of Brescia Kara-Khitan Khanate Crown of Castile Kingdom of Nicoya Kingdom of Bavaria Kingdom of Mysore Dacia First Mexican Empire Republic of Ararat Republic of Texas Kingdom of Sardinia Republika Srpska Kingdom of France Republic of German-Austria Despotate of Epirus Western Wei Germiyanids Republic of Central Albania Arab Federation Kingdom of Murcia Islamic Emirate of Afghanistan Free State of Prussia Later Zhao Russian Soviet Federative Socialist Republic Mengjiang Sovereign Principality of the United Netherlands Western Liang Kingdom of Mercia Kingdom of Israel Second Spanish Republic State of Katanga Bishopric of Brixen Kingdom of England Waalo Karamanids Curaçao Kingdom of Nepal Judah State of Aden Kingdom of Strathclyde Shu Han Qu'aiti Saloum Bahmani Sultanate Egypt Eyalet Spain under the Restoration Elmet Republic of Hungary Himyarite Kingdom Numidia Provisional Government of Hawaii Travancore Former Shu Akkadian empire Czechoslovakia Kingdom of Cochin Bamana Empire Kingdom of Araucanía and Patagonia Eastern Wei Provisional Government of the Republic of Korea History of Lippe Helvetic Republic Republic of Maryland Ayyubid dynasty Tanganyika History of Laos to 1945 Yugoslavia Chen dynasty Former Yan Korean Empire Kingdom of Rwanda Hubaekje Orange River Colony Democratic Federal Yugoslavia Tashkent State Principality of Kiev Free State of Oldenburg Tashkent Khanate Kingdom of Makuria Konbaung Dynasty Taifa of Orihuela Lan Xang Cochinchina Xia dynasty Cossack Hetmanate Slovak Socialist Republic Los Altos, Central America Kingdom of Saxony Danishmends Kingdom of Montenegro Khanate of Kokand Reorganized National Government of China Guelders Gupta Empire Libyan Arab Jamahiriya Sultanate of Sulu Federation of Malaya People's Socialist Republic of Albania Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Republic of Connaught Mongolian People's Republic Republic of China Moldavian Democratic Republic Chera Dynasty Duchy of the Archipelago Sint Maarten Adal Sultanate Tyrconnell Diauehi Qutb Shahi dynasty Dutch Gold Coast Kingdom of Israel Principality of Seborga Grand Duchy of Lithuania Republic of South Carolina Almoravid dynasty Kingdom of Burundi Principality of Galilee Gojoseon Duchy of Brittany Kingdom of Sussex Shang dynasty Kingdom of Deheubarth Republic of Iraq Zand dynasty Provisional Revolutionary Government of the Republic of South Vietnam Volga Bulgaria United States Army Military Government in Korea Principality of Lower Pannonia Emirate of Jabal Shammar Seleucid Empire Inca Nanda Empire Parthian Empire Novgorod Republic Kingdom of Sicily People's Republic of Poland Far Eastern Republic Realm of Stefan Dragutin Duchy of Teschen Republic of Georgia Lithuanian Soviet Socialist Republic Rashidun Caliphate Peru–Bolivian Confederation Natalia Republic Emirate of Dhala Colony and Protectorate of Nigeria Weimar Republic Free State of Brunswick Kingdom of Iraq
Czechoslovakia, Soviet Union and Bavaria have approximately the same number of human settlements and french administrative divisions as their capital as Kamarupa
Czechoslovakia Soviet Union Bavaria
action approx
action union
action find_tuple_counts
relation capital
type state
type human settlement
action find_tuple_counts
relation capital
type state
type type of french administrative division
action count
action filter_multi_types
action find
entity Kamarupa
relation capital
type human settlement
type type of french administrative division
[{'concept': 'state'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?r ) WHERE { { ?q property:capital ?m . ?q rdf:type ontology:state . ?m rdf:type ontology:type_of_french_administrative_division } UNION { ?q rdf:type ontology:state . ?m rdf:type ontology:human_settlement . ?q property:capital ?m } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Kamarupa property:capital ?g . { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } } } } . FILTER ( ?r = ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q11196
P36
Q486972 Q20667921 Q7275
USER
And what about Republika Srpska?
(c(Q7275),P36,c(Q486972)|c(Q20667921))
action approx
action union
action find_tuple_counts
relation P36
type Q7275
type Q486972
action find_tuple_counts
relation P36
type Q7275
type Q20667921
action count
action filter_multi_types
action find
entity Q11196
relation P36
type Q486972
type Q20667921
[{'concept': 'Q7275'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?z ) WHERE { { ?y property:P36 ?g . ?y rdf:type ontology:Q7275 . ?g rdf:type ontology:Q486972 } UNION { ?y rdf:type ontology:Q7275 . ?g rdf:type ontology:Q20667921 . ?y property:P36 ?g } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { { ?h rdf:type ontology:Q486972 } UNION { ?h rdf:type ontology:Q20667921 } } . resource:Q11196 property:P36 ?h } } . FILTER ( ?z = ?a ) }
Republika Srpska
action approx
action union
action find_tuple_counts
relation capital
type state
type human settlement
action find_tuple_counts
relation capital
type state
type type of french administrative division
action count
action filter_multi_types
action find
entity Republika Srpska
relation capital
type human settlement
type type of french administrative division
[{'concept': 'state'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?z ) WHERE { { ?y property:capital ?g . ?y rdf:type ontology:state . ?g rdf:type ontology:human_settlement } UNION { ?y rdf:type ontology:state . ?g rdf:type ontology:type_of_french_administrative_division . ?y property:capital ?g } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { { ?h rdf:type ontology:human_settlement } UNION { ?h rdf:type ontology:type_of_french_administrative_division } } . resource:Republika_Srpska property:capital ?h } } . FILTER ( ?z = ?a ) }
[]
human settlement type of french administrative division state
Q33946 Q15180 Q980
SYSTEM
Czechoslovakia, Soviet Union, Bavaria
Q230791 Q1193822 Q15102440 Q46652 Q7559152 Q568523 Q18285930 Q788071 Q207162 Q572222 Q1275158 Q152855 Q174193 Q855044 Q466581 Q110888 Q2145402 Q1471995 Q1295806 Q975405 Q1688151 Q457167 Q1483643 Q827040 Q797527 Q190513 Q889374 Q2308237 Q486181 Q775550 Q72785 Q210198 Q31454 Q834486 Q2006542 Q186096 Q133356 Q215530 Q912043 Q501684 Q164079 Q588672 Q2564694 Q62623 Q870055 Q282475 Q1789596 Q184536 Q203493 Q523380 Q980 Q1574107 Q154401 Q746443 Q252580 Q3446210 Q317078 Q332005 Q940123 Q874954 Q172579 Q867782 Q798431 Q1269910 Q506008 Q188553 Q536476 Q877875 Q1068408 Q1150344 Q330362 Q8146595 Q23366230 Q267584 Q310293 Q15864 Q1362278 Q1269234 Q918204 Q1067513 Q402145 Q255931 Q2342822 Q863279 Q1468426 Q71092 Q3177715 Q15180 Q800236 Q698089 Q83821 Q27260 Q249578 Q16410 Q215643 Q212278 Q210542 Q223936 Q8735 Q13107370 Q8733 Q1462877 Q156038 Q7405 Q761370 Q2114397 Q208404 Q467627 Q1796239 Q321371 Q1152445 Q220110 Q2670639 Q2412900 Q1414395 Q756895 Q190025 Q229411 Q240123 Q153660 Q1771831 Q1069905 Q105313 Q44642 Q6500954 Q38872 Q107299 Q546282 Q466803 Q274488 Q11876909 Q541455 Q646374 Q241748 Q577867 Q210163 Q842931 Q858841 Q476757 Q1274468 Q427703 Q2301372 Q216632 Q202687 Q207272 Q889394 Q151148 Q6412669 Q5148520 Q2419932 Q234197 Q2668600 Q273025 Q149747 Q27306 Q1123960 Q617218 Q1132786 Q167360 Q1186434 Q954585 Q150069 Q1811029 Q49697 Q551375 Q762943 Q1998866 Q106577 Q146246 Q1198071 Q1240096 Q153080 Q473433 Q651377 Q161885 Q526507 Q191077 Q468814 Q174306 Q1617495 Q37024 Q1194765 Q1154540 Q157367 Q28322 Q760893 Q1539360 Q2305208 Q550374 Q1152126 Q652560 Q1639475 Q1636212 Q503623 Q124943 Q1311219 Q19831559 Q1048918 Q1322229 Q12548 Q25227 Q870517 Q19901436 Q623751 Q726798 Q736936 Q783489 Q28428 Q1479952 Q303421 Q19083 Q83618 Q449639 Q1395320 Q1143524 Q2086556 Q26988 Q16949002 Q618399 Q180573 Q1923401 Q42585 Q170468 Q600018 Q323904 Q1117051 Q1135255 Q1477220 Q624887 Q4159675 Q269864 Q199841 Q335088 Q325461 Q12557 Q583038 Q199442 Q860407 Q13706 Q146761 Q200262 Q1296908 Q156020 Q431575 Q769782 Q216786 Q497777 Q878319 Q7251405 Q582861 Q206411 Q179293 Q26472 Q158725 Q862701 Q139315 Q28370 Q139319 Q832554 Q171150 Q3271735 Q160440 Q752662 Q2305337 Q1668970 Q320930 Q211853 Q213638 Q2340665 Q1538311 Q2657134 Q2414171 Q218023 Q2162698 Q1077630 Q849623 Q1149230 Q324470 Q551067 Q176495 Q2264735 Q28511 Q796583 Q330988 Q139670 Q1136259 Q1194329 Q1138904 Q28456 Q1183649 Q209065 Q21203 Q10988528 Q631210 Q75903 Q402580 Q7352 Q2086608 Q733799 Q9903 Q178913 Q131964 Q83274 Q62589 Q83572 Q4948 Q836169 Q234009 Q28208 Q903779 Q1774 Q941881 Q55502 Q1319681 Q713750 Q2552742 Q220167 Q1115291 Q696908 Q147909 Q319881 Q1709185 Q894030 Q38060 Q39760 Q1192067 Q62519 Q736727 Q668294 Q83286 Q210036 Q3755547 Q1255614 Q76048 Q914898 Q7771127 Q844250 Q181254 Q738144 Q207521 Q2396442 Q1658411 Q28025 Q142417 Q11704201 Q2428714 Q49326 Q1406298 Q14934927 Q1057118 Q157734 Q2088324 Q11909456 Q580188 Q1796198 Q1415585 Q170174 Q699871 Q175276 Q177076 Q7318 Q844910 Q146328 Q248452 Q175379 Q552157 Q1508143 Q170770 Q30623 Q940821 Q248572 Q697084 Q747314 Q5157575 Q213586 Q3456373 Q862304 Q217196 Q16624774 Q154195 Q266923 Q173082 Q285658 Q150061 Q170588 Q165154 Q11196 Q70972 Q268970 Q187684 Q1143164 Q1324889 Q1562357 Q146713 Q1164500 Q427941 Q161036 Q2314907 Q2184 Q697837 Q774783 Q994451 Q105092 Q3185305 Q178038 Q1148907 Q13496558 Q179876 Q206279 Q1469100 Q25279 Q1078602 Q48685 Q2378381 Q225890 Q320925 Q202775 Q1471373 Q374521 Q491507 Q1044536 Q1333032 Q940741 Q289577 Q102679 Q2593459 Q150058 Q571453 Q4461035 Q33946 Q150056 Q762084 Q271570 Q307069 Q28278 Q107380 Q206696 Q544630 Q180114 Q431731 Q1320058 Q36704 Q62454 Q1472004 Q28233 Q889884 Q698239 Q1142179 Q1277557 Q4453003 Q1483430 Q2372248 Q4453007 Q829356 Q1062422 Q764697 Q853477 Q505503 Q169705 Q212439 Q1751495 Q738264 Q153015 Q846670 Q386496 Q696241 Q696242 Q152420 Q11774 Q4843701 Q422065 Q1479726 Q467864 Q76236 Q209857 Q2712121 Q212056 Q13426199 Q964024 Q877155 Q777981 Q26273 Q2365048 Q4274522 Q154853 Q1148042 Q770776 Q230407 Q1549254 Q49683 Q7314513 Q75613 Q1192936 Q2109946 Q28405 Q71747 Q676184 Q128938 Q837136 Q3041595 Q146597 Q1072362 Q185488 Q484104 Q680997 Q5362837 Q93180 Q28573 Q949268 Q1986139 Q151536 Q188586 Q211274 Q61292 Q6412664 Q671899 Q7314469 Q80211 Q12490507 Q899706 Q1029847 Q6415938 Q5148517 Q41304 Q648297 Q149805
(c(Q7275),P36,c(Q486972)|c(Q20667921))
action approx
action union
action find_tuple_counts
relation P36
type Q7275
type Q486972
action find_tuple_counts
relation P36
type Q7275
type Q20667921
action count
action filter_multi_types
action find
entity Q11196
relation P36
type Q486972
type Q20667921
[ANSWERS]
[{'concept': 'Q7275'}, 'P36', [{'concept': 'Q486972'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?z ) WHERE { { ?y property:P36 ?g . ?y rdf:type ontology:Q7275 . ?g rdf:type ontology:Q486972 } UNION { ?y rdf:type ontology:Q7275 . ?g rdf:type ontology:Q20667921 . ?y property:P36 ?g } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { { ?h rdf:type ontology:Q486972 } UNION { ?h rdf:type ontology:Q20667921 } } . resource:Q11196 property:P36 ?h } } . FILTER ( ?z = ?a ) }
Kingdom of Scotland Wuyue Kingdom of Serbs, Croatians and Slovenes Malacca sultanate Somali Republic Nobatia German Empire of 1848/1849 Talysh-Mughan Autonomous Republic Bourbon Restoration County of Horne Elymais Kingdom of Tungning United Kingdom of Great Britain and Ireland Bhopal State Hoysala Empire Kingdom of Essex Republic of South Peru Former Qin Lower Yafa Sultanate of Rum Kingdom of Thomond West Ukrainian People's Republic Nakhon Si Thammarat Kingdom Nanyue British Togoland Khanate of Sibir Warsangali Sultanate Ahom kingdom Samanid dynasty Adamawa Emirate Cretan State Erivan Khanate Kingdom of Libya Federation of South Arabia Dominion of Pakistan Tsardom of Russia Ukrainian Soviet Socialist Republic Kingdom of Ireland Jin Kingdom of Gomma Kingdom of Hanover Hammadid dynasty Powys Fadog Kalmar Union Kingdom of Laos Kingdom of Kartli-Kakheti Croatia in personal union with Hungary Mali Empire Kingdom of Romania Republic of Central Lithuania Bavaria Han Zhao Slovak Republic Golden Ambrosian Republic Duchy of Modena and Reggio Kingdom of Pamplona Pskov Republic Principality of Achaea Rustamid dynasty Principality of Theodoro Kingdom of Italy Kingdom of Funan Republic of Dahomey Republic of Madawaska Kingdom of Deira Batavian Republic Toucouleur Empire Palmyrene Empire Kuru Kingdom Johor Sultanate Commonwealth of England Upingtonia Republic of Geneva Yemen Arab Republic Saar Protectorate United Kingdom of the Netherlands United States of Stellaland Stellaland Rajpipla State Injuids Mataram Sultanate Hariphunchai West Pakistan Sukhothai Kingdom Limmu-Ennarea Second French Empire Pagaruyung Kingdom Soviet Union Bahawalpur State Grand Duchy of Würzburg Bijapur Sultanate Samma dynasty Ghaznavid Empire People's Republic of Hungary Indo-Greek Kingdom Kingdom of Holland Second Brazilian Republic Kingdom of Italy Medes Principality of Serbia Qing dynasty Kingdom of Kaffa Duchy of Courland and Semigallia Sui dynasty Aro Confederacy Yogyakarta Sultanate Kingdom of Armenia Durrani Empire Kingdom of Seville Bosporan Kingdom Aerican Empire Rohan Powys Wenwynwyn Republic of Salé Republic of South Maluku Kediri Federal Republic of Central America Delhi Sultanate Indo-Scythians Italian Social Republic Kruševo Republic Cheng Han Kingdom of Wessex Federation of Arab Republics Zaire Prussia Kingdom of Northumbria Xia Pallava Eastern Wu State of Brazil Anglo-Egyptian Sudan French India Kingdom of Serbia Kingdom of Poland Astrakhan Khanate East Pakistan Kingdom of Croatia Democratic Republic of Afghanistan Republic of Bosnia and Herzegovina Free State of Schaumburg-Lippe Kingdom of Toledo Mali Federation Songhai Empire Second Polish Republic Portuguese Mozambique Chola dynasty Kingdom of Tunisia Colony of Niger Kingdom of Redonda Srivijaya Taifa of Niebla Gallic Empire Adiabene Kingdom of Prussia Conch Republic Yamhad Ouaddai Empire First Portuguese Republic Muang Phuan Kingdom of Brycheiniog United Suvadive Republic Finnish Socialist Workers' Republic Liu Song dynasty Grand Duchy of Westarctica County of Holland Czech and Slovak Federal Republic Neustria Francia Southern Han Hyderabad State East Francia Ammon Shunga Empire Kingdom of Great Britain Later Shu Kingdom of Yugoslavia Dahomey Republic of Genoa Kingdom of Jaén Serbia and Montenegro Kamarupa Later Jin Dynasty Brandenburg-Prussia Balhae Jolof Empire Northern Liang Soviet Russia South African Republic People's Republic of the Congo West Indies Federation Mountainous Republic of the Northern Caucasus Karabakh Khanate Gold Coast Kingdom of Egypt Jaffna kingdom Oldenburg Suebic Kingdom of Galicia Enlightenment in Spain Holy Roman Empire Netherlands Antilles Odrysian kingdom Suriname Kingdom of Bernicia Tulunids Lu Later Liang dynasty Baekje Kadamba Dynasty Kingdom of Galicia Iberia Maratha Empire Alodia Duchy of Siewierz Northern Qi Kakatiya dynasty Cook Islands Lordship of Brecknock Republic of the Congo South Vietnam Zunghar Khanate Kingdom of Bohemia United Arab Republic Kingdom of Hungary Portuguese India Kingdom of Illyria Chinese Soviet Republic Somali Democratic Republic Neo-Babylonian Empire Javad khanate Socialist Republic of Serbia South Yemen Armenian Kingdom of Cilicia Kingdom of Thessalonica Mongol Empire Ostrogothic Kingdom Kingdom of Aragon Kahlur State Principality of Sealand Hatay State Kingdom of Navarre Kathiri State of the Teutonic Order Idrisid dynasty Kingdom of Powys Champa First Spanish Republic Serbian Despotate Protectorate of Peru Marinid dynasty Democratic Republic of Azerbaijan Kingdom of Castile Kingdom of Dali Tanganyika Territory People's Republic of Benin Dʿmt Goguryeo Russian Republic Argentine Confederation Kingdom of Hungary Kingdom of Arles Crimean Khanate Hafsid dynasty Azerbaijan People's Government Western Qin Cao Wei Republic of Serbian Krajina Kingdom of Cyprus Basutoland Travancore-Cochin Kingdom of Albania First Brazilian Republic Orange Free State Duchy of Bohemia Septinsular Republic Oyo Empire Western Yan Kara Koyunlu Northern Zhou Federal State of Austria Arthedain Buyeo kingdom Kingdom of Kongo Democratic Kampuchea Democratic Republic of Armenia Southwestern Somalia Nova Roma Kingdom of Afghanistan Silla Deccan sultanates Kingdom of Greece Aruba Second East Turkestan Republic Nogai Horde Turkestan Autonomous Soviet Socialist Republic Medang Kingdom Jin dynasty Western Satraps Kingdom of the Hwicce Ming imperium empire of Trebizond Austrian Empire Hatay Union between Sweden and Norway Sikh Empire Republic of Venice Qasim Khanate Magadha Goryeo United Kingdom of Portugal, Brazil and the Algarves Zanzibar Netherlands New Guinea Kingdom of Jerusalem Qi West Germany Northland State Lydenburg Republic Thonburi Kingdom Kingdom of Poland Kingdom of Bulgaria Republic of Taiwan Kingdom of Spain under Joseph Bonaparte Bornu Empire Gaul Gaza Strip Min Finnish Democratic Republic Republic of Siena Kamerun Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Kingdom of Italy Indo-Parthian Kingdom Congo Free State Kingdom of Khotan Pohnpei State Lordship of Ireland Empire of Nicea United Provinces of the Río de la Plata Abyssinia Kingdom of Galicia and Lodomeria Kingdom of Sarawak Ryukyu Kingdom Kingdom of Valencia Taifa of Arjona Sena dynasty Majapahit Serbian Empire Murrawarri Republic Chenla Kingdom Muscat and Oman Colonial Brazil Bit Agusi Mutawakkilite Kingdom of Yemen Kingdom of Córdoba Islamic State of Afghanistan Papal States Taebong Kingdom of León Caucasian Albania Nazi Germany Pandyan Dynasty Commonwealth of the Philippines British North America Empire of China Nieuwe Republiek Ukrainian State Grand Duchy of Moscow Manchukuo People's Democratic Republic of Ethiopia Sultanate of Maguindanao Duchy of Oldenburg Bechuanaland Protectorate Griqualand East Gondor Republic of Brescia Kara-Khitan Khanate Crown of Castile Kingdom of Nicoya Kingdom of Bavaria Kingdom of Mysore Dacia First Mexican Empire Republic of Ararat Republic of Texas Kingdom of Sardinia Republika Srpska Kingdom of France Republic of German-Austria Despotate of Epirus Western Wei Germiyanids Republic of Central Albania Arab Federation Kingdom of Murcia Islamic Emirate of Afghanistan Free State of Prussia Later Zhao Russian Soviet Federative Socialist Republic Mengjiang Sovereign Principality of the United Netherlands Western Liang Kingdom of Mercia Kingdom of Israel Second Spanish Republic State of Katanga Bishopric of Brixen Kingdom of England Waalo Karamanids Curaçao Kingdom of Nepal Judah State of Aden Kingdom of Strathclyde Shu Han Qu'aiti Saloum Bahmani Sultanate Egypt Eyalet Spain under the Restoration Elmet Republic of Hungary Himyarite Kingdom Numidia Provisional Government of Hawaii Travancore Former Shu Akkadian empire Czechoslovakia Kingdom of Cochin Bamana Empire Kingdom of Araucanía and Patagonia Eastern Wei Provisional Government of the Republic of Korea History of Lippe Helvetic Republic Republic of Maryland Ayyubid dynasty Tanganyika History of Laos to 1945 Yugoslavia Chen dynasty Former Yan Korean Empire Kingdom of Rwanda Hubaekje Orange River Colony Democratic Federal Yugoslavia Tashkent State Principality of Kiev Free State of Oldenburg Tashkent Khanate Kingdom of Makuria Konbaung Dynasty Taifa of Orihuela Lan Xang Cochinchina Xia dynasty Cossack Hetmanate Slovak Socialist Republic Los Altos, Central America Kingdom of Saxony Danishmends Kingdom of Montenegro Khanate of Kokand Reorganized National Government of China Guelders Gupta Empire Libyan Arab Jamahiriya Sultanate of Sulu Federation of Malaya People's Socialist Republic of Albania Lithuanian–Belorussian Soviet Socialist Republic Kingdom of Lombardy–Venetia Republic of Connaught Mongolian People's Republic Republic of China Moldavian Democratic Republic Chera Dynasty Duchy of the Archipelago Sint Maarten Adal Sultanate Tyrconnell Diauehi Qutb Shahi dynasty Dutch Gold Coast Kingdom of Israel Principality of Seborga Grand Duchy of Lithuania Republic of South Carolina Almoravid dynasty Kingdom of Burundi Principality of Galilee Gojoseon Duchy of Brittany Kingdom of Sussex Shang dynasty Kingdom of Deheubarth Republic of Iraq Zand dynasty Provisional Revolutionary Government of the Republic of South Vietnam Volga Bulgaria United States Army Military Government in Korea Principality of Lower Pannonia Emirate of Jabal Shammar Seleucid Empire Inca Nanda Empire Parthian Empire Novgorod Republic Kingdom of Sicily People's Republic of Poland Far Eastern Republic Realm of Stefan Dragutin Duchy of Teschen Republic of Georgia Lithuanian Soviet Socialist Republic Rashidun Caliphate Peru–Bolivian Confederation Natalia Republic Emirate of Dhala Colony and Protectorate of Nigeria Weimar Republic Free State of Brunswick Kingdom of Iraq
Czechoslovakia Soviet Union Bavaria
action approx
action union
action find_tuple_counts
relation capital
type state
type human settlement
action find_tuple_counts
relation capital
type state
type type of french administrative division
action count
action filter_multi_types
action find
entity Republika Srpska
relation capital
type human settlement
type type of french administrative division
[{'concept': 'state'}, 'capital', [{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?z ) WHERE { { ?y property:capital ?g . ?y rdf:type ontology:state . ?g rdf:type ontology:human_settlement } UNION { ?y rdf:type ontology:state . ?g rdf:type ontology:type_of_french_administrative_division . ?y property:capital ?g } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { { ?h rdf:type ontology:human_settlement } UNION { ?h rdf:type ontology:type_of_french_administrative_division } } . resource:Republika_Srpska property:capital ?h } } . FILTER ( ?z = ?a ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q33946 Q15180 Q980
P85
Q484692
USER
What are the anthems for those states ?
(Q33946,P85,c(Q484692)) (Q15180,P85,c(Q484692)) (Q980,P85,c(Q484692))
action filter_type
action find
entity prev_answer
relation P85
type Q484692
['Q33946', 'P85', {'concept': 'Q484692'}] ['Q15180', 'P85', {'concept': 'Q484692'}] ['Q980', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?f ) { ( resource:Q230791 ) ( resource:Q1193822 ) ( resource:Q15102440 ) } . ?o rdf:type ontology:Q484692 . ?f property:P85 ?o }
Czechoslovakia Soviet Union Bavaria
action filter_type
action find
entity prev_answer
relation anthem
type hymn
['Czechoslovakia', 'anthem', {'concept': 'hymn'}] ['Soviet Union', 'anthem', {'concept': 'hymn'}] ['Bavaria', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?f ) { ( resource:Kingdom_of_Scotland ) ( resource:Wuyue ) ( resource:Kingdom_of_Serbs,_Croatians_and_Slovenes ) } . ?o rdf:type ontology:hymn . ?f property:anthem ?o }
[]
hymn
Q11178664 Q251918 Q256615
SYSTEM
Czechoslovak anthem, National Anthem of the Soviet Union, Bayernhymne
Q11178664 Q251918 Q256615
(Q33946,P85,c(Q484692)) (Q15180,P85,c(Q484692)) (Q980,P85,c(Q484692))
action filter_type
action find
entity prev_answer
relation P85
type Q484692
The anthems for those states are the [ANSWERS]
['Q33946', 'P85', {'concept': 'Q484692'}] ['Q15180', 'P85', {'concept': 'Q484692'}] ['Q980', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?f ) { ( resource:Q230791 ) ( resource:Q1193822 ) ( resource:Q15102440 ) } . ?o rdf:type ontology:Q484692 . ?f property:P85 ?o }
Czechoslovak anthem National Anthem of the Soviet Union Bayernhymne
The anthems for those states are the Czechoslovak anthem, National Anthem of the Soviet Union and Bayernhymne
Czechoslovak anthem National Anthem of the Soviet Union Bayernhymne
action filter_type
action find
entity prev_answer
relation anthem
type hymn
['Czechoslovakia', 'anthem', {'concept': 'hymn'}] ['Soviet Union', 'anthem', {'concept': 'hymn'}] ['Bavaria', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?f ) { ( resource:Kingdom_of_Scotland ) ( resource:Wuyue ) ( resource:Kingdom_of_Serbs,_Croatians_and_Slovenes ) } . ?o rdf:type ontology:hymn . ?f property:anthem ?o }
[]
Clarification
Simple Question|Single Entity|Indirect
Q256615
P676
Q502895
USER
Which person wrote the lyrics of that hymn ?
(Q256615,P676,c(Q502895))
action filter_type
action find
entity Q256615
relation P676
type Q502895
['Q256615', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q256615 property:P676 ?v . ?v rdf:type ontology:Q502895 }
Bayernhymne
action filter_type
action find
entity Bayernhymne
relation lyrics by
type common name
['Bayernhymne', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Bayernhymne property:lyrics_by ?v . ?v rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q251918
SYSTEM
Did you mean National Anthem of the Soviet Union ?
Q11178664 Q251918 Q256615
(Q11178664,P676,c(Q502895)) (Q251918,P676,c(Q502895)) (Q256615,P676,c(Q502895))
[ANSWER]
['Q11178664', 'P676', {'concept': 'Q502895'}] ['Q251918', 'P676', {'concept': 'Q502895'}] ['Q256615', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q256615 property:P676 ?v . ?v rdf:type ontology:Q502895 }
Czechoslovak anthem National Anthem of the Soviet Union Bayernhymne
Did you mean National Anthem of the Soviet Union ?
National Anthem of the Soviet Union
['Czechoslovak anthem', 'lyrics by', {'concept': 'common name'}] ['National Anthem of the Soviet Union', 'lyrics by', {'concept': 'common name'}] ['Bayernhymne', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Bayernhymne property:lyrics_by ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Bayernhymne. Could you tell me the answer for that?
(Q256615,P676,c(Q502895))
Q256615
['Q256615', 'P676', {'concept': 'Q502895'}]
['Bayernhymne', 'lyrics by', {'concept': 'common name'}]
[]
Q1269314
SYSTEM
Michael Öchsner
Q1269314
(Q256615,P676,c(Q502895))
action filter_type
action find
entity Q256615
relation P676
type Q502895
[ANSWER] wrote the lyrics of that hymn
['Q256615', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q256615 property:P676 ?v . ?v rdf:type ontology:Q502895 }
Michael Öchsner
Michael Öchsner wrote the lyrics of that hymn
Michael Öchsner
action filter_type
action find
entity Bayernhymne
relation lyrics by
type common name
['Bayernhymne', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Bayernhymne property:lyrics_by ?v . ?v rdf:type ontology:common_name }
[]