Simple Question (Direct)
Simple Question
Q383675
P106
Q12737077
USER
What are the job of Samuel Garman ?
(Q383675,P106,c(Q12737077))
action filter_type
action find
entity Q383675
relation P106
type Q12737077
['Q383675', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q383675 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Samuel Garman
action filter_type
action find
entity Samuel Garman
relation occupation
type occupation
['Samuel Garman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Samuel_Garman property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q18805 Q4205432 Q350979
SYSTEM
naturalist, ichthyologist, zoologist
Q18805 Q4205432 Q350979
(Q383675,P106,c(Q12737077))
action filter_type
action find
entity Q383675
relation P106
type Q12737077
The job of Samuel Garman are a [ANSWERS]
['Q383675', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q383675 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
naturalist ichthyologist zoologist
The job of Samuel Garman are a naturalist, ichthyologist and zoologist
naturalist ichthyologist zoologist
action filter_type
action find
entity Samuel Garman
relation occupation
type occupation
['Samuel Garman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Samuel_Garman property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q383675
P1412
Q34770
USER
Which language can that person understand ?
(Q18805,P1412,c(Q34770)) (Q4205432,P1412,c(Q34770)) (Q350979,P1412,c(Q34770))
action filter_type
action find
entity Q383675
relation P1412
type Q34770
['Q18805', 'P1412', {'concept': 'Q34770'}] ['Q4205432', 'P1412', {'concept': 'Q34770'}] ['Q350979', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q383675 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
Samuel Garman
action filter_type
action find
entity Samuel Garman
relation languages spoken, written or signed
type language
['naturalist', 'languages spoken, written or signed', {'concept': 'language'}] ['ichthyologist', 'languages spoken, written or signed', {'concept': 'language'}] ['zoologist', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Samuel_Garman property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q18805,P1412,c(Q34770)) (Q4205432,P1412,c(Q34770)) (Q350979,P1412,c(Q34770))
action filter_type
action find
entity Q383675
relation P1412
type Q34770
That person can understand the [ANSWER]
['Q18805', 'P1412', {'concept': 'Q34770'}] ['Q4205432', 'P1412', {'concept': 'Q34770'}] ['Q350979', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q383675 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
English
That person can understand the English
English
action filter_type
action find
entity Samuel Garman
relation languages spoken, written or signed
type language
['naturalist', 'languages spoken, written or signed', {'concept': 'language'}] ['ichthyologist', 'languages spoken, written or signed', {'concept': 'language'}] ['zoologist', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Samuel_Garman property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P2439
Q34770 Q1002697 Q24457356
USER
How many languages have an association with less number of periodical literatures and historiographical concepts than that language ?
(c(Q1002697)|c(Q24457356),P2439,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q1002697
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q24457356
action count
action filter_multi_types
action find_reverse
entity Q1860
relation P2439
type Q1002697
type Q24457356
[[{'concept': 'Q1002697'}, {'concept': 'Q24457356'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?r WHERE { { ?j property:P2439 ?r . ?j rdf:type ontology:Q1002697 . ?r rdf:type ontology:Q34770 } UNION { ?j property:P2439 ?r . ?j rdf:type ontology:Q24457356 . ?r rdf:type ontology:Q34770 } } GROUP BY ?r } . FILTER ( ?x < ?z ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:P2439 resource:Q1860 . { ?a rdf:type ?s . VALUES ( ?s ) { ( ontology:Q24457356 ) ( ontology:Q1002697 ) } } } } }
action count
action less
action union
action find_reverse_tuple_counts
relation language
type language
type periodical literature
action find_reverse_tuple_counts
relation language
type language
type historiographical concept
action count
action filter_multi_types
action find_reverse
entity English
relation language
type periodical literature
type historiographical concept
[[{'concept': 'periodical literature'}, {'concept': 'historiographical concept'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?r WHERE { { ?j property:language ?r . ?j rdf:type ontology:periodical_literature . ?r rdf:type ontology:language } UNION { ?j property:language ?r . ?j rdf:type ontology:historiographical_concept . ?r rdf:type ontology:language } } GROUP BY ?r } . FILTER ( ?x < ?z ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:language resource:English . { ?a rdf:type ?s . VALUES ( ?s ) { ( ontology:historiographical_concept ) ( ontology:periodical_literature ) } } } } }
[]
language periodical literature historiographical concept
SYSTEM
9
Q36765 Q18130932 Q9056 Q13414913 Q652 Q8752 Q397 Q25167 Q25164
(c(Q1002697)|c(Q24457356),P2439,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q1002697
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q24457356
action count
action filter_multi_types
action find_reverse
entity Q1860
relation P2439
type Q1002697
type Q24457356
[ANSWER]
[[{'concept': 'Q1002697'}, {'concept': 'Q24457356'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?r WHERE { { ?j property:P2439 ?r . ?j rdf:type ontology:Q1002697 . ?r rdf:type ontology:Q34770 } UNION { ?j property:P2439 ?r . ?j rdf:type ontology:Q24457356 . ?r rdf:type ontology:Q34770 } } GROUP BY ?r } . FILTER ( ?x < ?z ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:P2439 resource:Q1860 . { ?a rdf:type ?s . VALUES ( ?s ) { ( ontology:Q24457356 ) ( ontology:Q1002697 ) } } } } }
Demotic Traditional Chinese Czech Simplified Chinese Italian Basque Latin Bokmål Nynorsk
9
action count
action less
action union
action find_reverse_tuple_counts
relation language
type language
type periodical literature
action find_reverse_tuple_counts
relation language
type language
type historiographical concept
action count
action filter_multi_types
action find_reverse
entity English
relation language
type periodical literature
type historiographical concept
[[{'concept': 'periodical literature'}, {'concept': 'historiographical concept'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?r WHERE { { ?j property:language ?r . ?j rdf:type ontology:periodical_literature . ?r rdf:type ontology:language } UNION { ?j property:language ?r . ?j rdf:type ontology:historiographical_concept . ?r rdf:type ontology:language } } GROUP BY ?r } . FILTER ( ?x < ?z ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:language resource:English . { ?a rdf:type ?s . VALUES ( ?s ) { ( ontology:historiographical_concept ) ( ontology:periodical_literature ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1423680
P37
Q34770 Q7275
USER
Which states designates lesser number of languages as their official language than Gay and Lesbian Kingdom of the Coral Sea Islands ?
(c(Q7275),P37,c(Q34770))
action less
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q1423680
relation P37
type Q34770
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Q1423680 property:P37 ?s . ?s rdf:type ontology:Q34770 } } . FILTER ( ?e < ?r ) . { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ontology:Q34770 . ?w rdf:type ontology:Q7275 . ?w property:P37 ?q } GROUP BY ?w } }
Gay and Lesbian Kingdom of the Coral Sea Islands
action less
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Gay and Lesbian Kingdom of the Coral Sea Islands
relation official language
type language
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Gay_and_Lesbian_Kingdom_of_the_Coral_Sea_Islands property:official_language ?s . ?s rdf:type ontology:language } } . FILTER ( ?e < ?r ) . { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ontology:language . ?w rdf:type ontology:state . ?w property:official_language ?q } GROUP BY ?w } }
[]
language state
Q15180 Q330988 Q147909
SYSTEM
Soviet Union, Democratic Kampuchea, Kingdom of Bulgaria
Q2444884 Q2145397 Q8146595 Q552157 Q4461035 Q218023 Q1493843 Q271570 Q303421 Q36704 Q23541302 Q3456417 Q75613 Q1269234 Q10874967 Q15180 Q696908 Q550374 Q14934927 Q220167 Q330988 Q842091 Q877579 Q147909 Q76236 Q319881 Q1136259 Q112558 Q1142179 Q7382038 Q7318 Q729768 Q212056 Q940741 Q21203 Q12490507 Q600018 Q107299 Q1029847 Q1044668 Q139319 Q1483430 Q11876909 Q150981 Q1362278 Q623751 Q633573
(c(Q7275),P37,c(Q34770))
action less
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q1423680
relation P37
type Q34770
[ANSWERS] designate lesser number of languages as their official language than Gay and Lesbian Kingdom of the Coral Sea Islands
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Q1423680 property:P37 ?s . ?s rdf:type ontology:Q34770 } } . FILTER ( ?e < ?r ) . { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ontology:Q34770 . ?w rdf:type ontology:Q7275 . ?w property:P37 ?q } GROUP BY ?w } }
Tibet Goshen (South Africa) Upingtonia Nieuwe Republiek Akkadian empire Orange Free State Klein Vrystaat Kingdom of Araucanía and Patagonia Kingdom of Galicia Yugoslavia Kaluga Soviet Republic Republic of Saint-Malo Almoravid dynasty Stellaland People's Republic of Zhongtai Soviet Union Kingdom of Poland South African Republic Murrawarri Republic Lydenburg Republic Democratic Kampuchea Duchy of Normandy Kugelmugel Kingdom of Bulgaria Lithuanian–Belorussian Soviet Socialist Republic Republic of Taiwan Southwestern Somalia Republic of Saugeais Orange River Colony Imperial Throne Nazi Germany Zulu Kingdom Mongolian People's Republic Republic of Hungary Aruba Rashidun Caliphate Kingdom of Hungary Kingdom of Northumbria Natalia Republic Republic of Rose Island Russian Republic Principality of Kiev State of Brazil North German Confederation United States of Stellaland Kingdom of Bernicia Kingdom of Rheged
Soviet Union, Democratic Kampuchea and Kingdom of Bulgaria designate lesser number of languages as their official language than Gay and Lesbian Kingdom of the Coral Sea Islands
Soviet Union Democratic Kampuchea Kingdom of Bulgaria
action less
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Gay and Lesbian Kingdom of the Coral Sea Islands
relation official language
type language
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Gay_and_Lesbian_Kingdom_of_the_Coral_Sea_Islands property:official_language ?s . ?s rdf:type ontology:language } } . FILTER ( ?e < ?r ) . { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ontology:language . ?w rdf:type ontology:state . ?w property:official_language ?q } GROUP BY ?w } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q204920
P37
Q34770 Q7275
USER
And what about Crown of Aragon?
(c(Q7275),P37,c(Q34770))
action less
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q204920
relation P37
type Q34770
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?s ) WHERE { ?i rdf:type ontology:Q7275 . ?f rdf:type ontology:Q34770 . ?i property:P37 ?f } GROUP BY ?i } . FILTER ( ?s < ?w ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e rdf:type ontology:Q34770 . resource:Q204920 property:P37 ?e } } }
Crown of Aragon
action less
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Crown of Aragon
relation official language
type language
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?s ) WHERE { ?i rdf:type ontology:state . ?f rdf:type ontology:language . ?i property:official_language ?f } GROUP BY ?i } . FILTER ( ?s < ?w ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e rdf:type ontology:language . resource:Crown_of_Aragon property:official_language ?e } } }
[]
language state
Q15180 Q330988 Q147909
SYSTEM
Soviet Union, Democratic Kampuchea, Kingdom of Bulgaria
Q2444884 Q2145397 Q8146595 Q552157 Q4461035 Q218023 Q1493843 Q271570 Q303421 Q36704 Q23541302 Q3456417 Q75613 Q1269234 Q10874967 Q15180 Q696908 Q550374 Q14934927 Q220167 Q330988 Q842091 Q877579 Q147909 Q76236 Q319881 Q1136259 Q112558 Q1142179 Q7382038 Q7318 Q729768 Q212056 Q940741 Q21203 Q12490507 Q600018 Q107299 Q1029847 Q1044668 Q139319 Q1483430 Q11876909 Q150981 Q1362278 Q623751 Q633573
(c(Q7275),P37,c(Q34770))
action less
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q204920
relation P37
type Q34770
[ANSWERS]
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?s ) WHERE { ?i rdf:type ontology:Q7275 . ?f rdf:type ontology:Q34770 . ?i property:P37 ?f } GROUP BY ?i } . FILTER ( ?s < ?w ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e rdf:type ontology:Q34770 . resource:Q204920 property:P37 ?e } } }
Tibet Goshen (South Africa) Upingtonia Nieuwe Republiek Akkadian empire Orange Free State Klein Vrystaat Kingdom of Araucanía and Patagonia Kingdom of Galicia Yugoslavia Kaluga Soviet Republic Republic of Saint-Malo Almoravid dynasty Stellaland People's Republic of Zhongtai Soviet Union Kingdom of Poland South African Republic Murrawarri Republic Lydenburg Republic Democratic Kampuchea Duchy of Normandy Kugelmugel Kingdom of Bulgaria Lithuanian–Belorussian Soviet Socialist Republic Republic of Taiwan Southwestern Somalia Republic of Saugeais Orange River Colony Imperial Throne Nazi Germany Zulu Kingdom Mongolian People's Republic Republic of Hungary Aruba Rashidun Caliphate Kingdom of Hungary Kingdom of Northumbria Natalia Republic Republic of Rose Island Russian Republic Principality of Kiev State of Brazil North German Confederation United States of Stellaland Kingdom of Bernicia Kingdom of Rheged
Soviet Union Democratic Kampuchea Kingdom of Bulgaria
action less
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Crown of Aragon
relation official language
type language
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?s ) WHERE { ?i rdf:type ontology:state . ?f rdf:type ontology:language . ?i property:official_language ?f } GROUP BY ?i } . FILTER ( ?s < ?w ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { ?e rdf:type ontology:language . resource:Crown_of_Aragon property:official_language ?e } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P36
Q20667921 Q56061 Q7275
USER
Which states have min number of french administrative divisions or administrative territories as their administrative centre ?
(c(Q7275),P36,c(Q20667921)|c(Q56061))
action argmin
action union
action find_tuple_counts
relation P36
type Q7275
type Q20667921
action find_tuple_counts
relation P36
type Q7275
type Q56061
[{'concept': 'Q7275'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?s WHERE { { ?s property:P36 ?i . ?i rdf:type ontology:Q20667921 . ?s rdf:type ontology:Q7275 } UNION { ?s rdf:type ontology:Q7275 . ?i rdf:type ontology:Q56061 . ?s property:P36 ?i } } GROUP BY ?s } } . FILTER ( ?e = ?b ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) ?z WHERE { { ?z property:P36 ?t . ?z rdf:type ontology:Q7275 . ?t rdf:type ontology:Q20667921 } UNION { ?z property:P36 ?t . ?t rdf:type ontology:Q56061 . ?z rdf:type ontology:Q7275 } } GROUP BY ?z } }
action argmin
action union
action find_tuple_counts
relation capital
type state
type type of french administrative division
action find_tuple_counts
relation capital
type state
type administrative territorial entity
[{'concept': 'state'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?s WHERE { { ?s property:capital ?i . ?i rdf:type ontology:type_of_french_administrative_division . ?s rdf:type ontology:state } UNION { ?s rdf:type ontology:state . ?i rdf:type ontology:administrative_territorial_entity . ?s property:capital ?i } } GROUP BY ?s } } . FILTER ( ?e = ?b ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) ?z WHERE { { ?z property:capital ?t . ?z rdf:type ontology:state . ?t rdf:type ontology:type_of_french_administrative_division } UNION { ?z property:capital ?t . ?t rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:state } } GROUP BY ?z } }
[]
type of french administrative division administrative territorial entity state
Q16957 Q13706 Q28025
SYSTEM
East Germany, Principality of Sealand, Ryukyu Kingdom
Q1193822 Q18285930 Q152855 Q855044 Q975405 Q1688151 Q1483643 Q827040 Q210198 Q2006542 Q215530 Q912043 Q1649871 Q2564694 Q203493 Q1574107 Q940123 Q798431 Q1269910 Q877875 Q2361927 Q402145 Q255931 Q2342822 Q863279 Q3177715 Q698089 Q83821 Q953432 Q13107370 Q1462877 Q761370 Q2114397 Q321371 Q220110 Q1414395 Q756895 Q240123 Q153660 Q1069905 Q6500954 Q274488 Q216173 Q577867 Q476757 Q1274468 Q202687 Q6412669 Q2419932 Q234197 Q2668600 Q49697 Q551375 Q146246 Q1198071 Q1240096 Q153080 Q526507 Q16957 Q1154540 Q28322 Q550374 Q19831559 Q1048918 Q736936 Q783489 Q19083 Q83618 Q16949002 Q618399 Q180573 Q1923401 Q1135255 Q624887 Q12557 Q13706 Q156020 Q216786 Q26472 Q862701 Q28370 Q139319 Q752662 Q797422 Q235030 Q1668970 Q320930 Q849623 Q2264735 Q28511 Q139670 Q1138904 Q10988528 Q402580 Q7352 Q9903 Q83572 Q941881 Q1319681 Q1115291 Q894030 Q38060 Q1192067 Q914898 Q7771127 Q844250 Q738144 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 Q13496558 Q320925 Q102679 Q2593459 Q571453 Q150056 Q271570 Q307069 Q28278 Q107380 Q206696 Q62454 Q1472004 Q1483430 Q2372248 Q1062422 Q505503 Q169705 Q212439 Q153015 Q846670 Q696242 Q422065 Q1479726 Q467864 Q212056 Q777981 Q487829 Q154853 Q1148042 Q770776 Q1549254 Q7314513 Q28405 Q3041595 Q185488 Q484104 Q680997 Q648297 Q149805
(c(Q7275),P36,c(Q20667921)|c(Q56061))
action argmin
action union
action find_tuple_counts
relation P36
type Q7275
type Q20667921
action find_tuple_counts
relation P36
type Q7275
type Q56061
[ANSWERS] have min number of french administrative divisions or administrative territories as their administrative centre
[{'concept': 'Q7275'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?s WHERE { { ?s property:P36 ?i . ?i rdf:type ontology:Q20667921 . ?s rdf:type ontology:Q7275 } UNION { ?s rdf:type ontology:Q7275 . ?i rdf:type ontology:Q56061 . ?s property:P36 ?i } } GROUP BY ?s } } . FILTER ( ?e = ?b ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) ?z WHERE { { ?z property:P36 ?t . ?z rdf:type ontology:Q7275 . ?t rdf:type ontology:Q20667921 } UNION { ?z property:P36 ?t . ?t rdf:type ontology:Q56061 . ?z rdf:type ontology:Q7275 } } GROUP BY ?z } }
Wuyue 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 Rustamid dynasty 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 Kingdom of Kaffa Aro Confederacy Yogyakarta Sultanate Bosporan Kingdom Rohan Republic of South Maluku Kediri Indo-Scythians 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 Tunisia Kingdom of Redonda Srivijaya Taifa of Niebla Liu Song dynasty Grand Duchy of Westarctica Francia Southern Han Hyderabad State East Francia Later Shu East Germany Later Jin Dynasty Balhae South African Republic Oldenburg Suebic Kingdom of Galicia Lu Later Liang dynasty Iberia Maratha Empire Lordship of Brecknock Republic of the Congo South Vietnam Zunghar Khanate Chinese Soviet Republic Neo-Babylonian Empire Mongol Empire Principality of Sealand State of the Teutonic Order Champa Kingdom of Dali People's Republic of Benin Goguryeo 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 Min Kingdom of Khotan Pohnpei State Lordship of Ireland United Provinces of the Río de la Plata 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 Bishopric of Brixen Shu Han Numidia Provisional Government of Hawaii Former Shu Kingdom of Cochin Kingdom of Araucanía and Patagonia Eastern Wei Provisional Government of the Republic of Korea History of Lippe Helvetic Republic Chen dynasty Former Yan Principality of Kiev 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 Gojoseon Republic of Iraq Volga Bulgaria United States Army Military Government in Korea Principality of Lower Pannonia Free State of Brunswick Kingdom of Iraq
East Germany, Principality of Sealand and Ryukyu Kingdom have min number of french administrative divisions or administrative territories as their administrative centre
East Germany Principality of Sealand Ryukyu Kingdom
action argmin
action union
action find_tuple_counts
relation capital
type state
type type of french administrative division
action find_tuple_counts
relation capital
type state
type administrative territorial entity
[{'concept': 'state'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) ?s WHERE { { ?s property:capital ?i . ?i rdf:type ontology:type_of_french_administrative_division . ?s rdf:type ontology:state } UNION { ?s rdf:type ontology:state . ?i rdf:type ontology:administrative_territorial_entity . ?s property:capital ?i } } GROUP BY ?s } } . FILTER ( ?e = ?b ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) ?z WHERE { { ?z property:capital ?t . ?z rdf:type ontology:state . ?t rdf:type ontology:type_of_french_administrative_division } UNION { ?z property:capital ?t . ?t rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:state } } GROUP BY ?z } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16957
P530
Q7275
USER
Which state has diplomatic relations with East Germany ?
(c(Q7275),P530,Q16957)
action filter_type
action find
entity Q16957
relation P530
type Q7275
[{'concept': 'Q7275'}, 'P530', 'Q16957']
SELECT DISTINCT ?e WHERE { resource:Q16957 property:P530 ?e . ?e rdf:type ontology:Q7275 }
East Germany
action filter_type
action find
entity East Germany
relation diplomatic relation
type state
[{'concept': 'state'}, 'diplomatic relation', 'East Germany']
SELECT DISTINCT ?e WHERE { resource:East_Germany property:diplomatic_relation ?e . ?e rdf:type ontology:state }
[]
state
Q713750
SYSTEM
West Germany
Q713750
(c(Q7275),P530,Q16957)
action filter_type
action find
entity Q16957
relation P530
type Q7275
And [ANSWER] has diplomatic relations with East Germany
[{'concept': 'Q7275'}, 'P530', 'Q16957']
SELECT DISTINCT ?e WHERE { resource:Q16957 property:P530 ?e . ?e rdf:type ontology:Q7275 }
West Germany
And West Germany has diplomatic relations with East Germany
West Germany
action filter_type
action find
entity East Germany
relation diplomatic relation
type state
[{'concept': 'state'}, 'diplomatic relation', 'East Germany']
SELECT DISTINCT ?e WHERE { resource:East_Germany property:diplomatic_relation ?e . ?e rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16957
P495
Q15416
USER
Which television programs originated in East Germany ?
(c(Q15416),P495,Q16957)
action filter_type
action find_reverse
entity Q16957
relation P495
type Q15416
[{'concept': 'Q15416'}, 'P495', 'Q16957']
SELECT DISTINCT ?m WHERE { ?m property:P495 resource:Q16957 . ?m rdf:type ontology:Q15416 }
East Germany
action filter_type
action find_reverse
entity East Germany
relation country of origin
type television program
[{'concept': 'television program'}, 'country of origin', 'East Germany']
SELECT DISTINCT ?m WHERE { ?m property:country_of_origin resource:East_Germany . ?m rdf:type ontology:television_program }
[]
television program
Q1195218 Q1964256 Q936997
SYSTEM
Der Leutnant vom Schwanenkietz, Anna Pavlova, Ways across the Country
Q140917 Q1492433 Q1567024 Q1517695 Q1562399 Q1675621 Q50951 Q1310334 Q1696897 Q2314405 Q1913746 Q340518 Q1430476 Q1409528 Q1219938 Q936997 Q1395227 Q1257230 Q1218988 Q808111 Q1427576 Q1964256 Q18288344 Q1395165 Q882963 Q2314383 Q7370652 Q5459769 Q1171256 Q615195 Q22059260 Q1434005 Q2451033 Q1343581 Q1401846 Q230357 Q1407223 Q835277 Q992373 Q13400 Q871786 Q1475491 Q321519 Q13399 Q323380 Q1741144 Q1195218 Q5347416
(c(Q15416),P495,Q16957)
action filter_type
action find_reverse
entity Q16957
relation P495
type Q15416
[ANSWERS] originated in East Germany
[{'concept': 'Q15416'}, 'P495', 'Q16957']
SELECT DISTINCT ?m WHERE { ?m property:P495 resource:Q16957 . ?m rdf:type ontology:Q15416 }
Zahn um Zahn Gestohlenes Glück Rentner haben niemals Zeit Geschichten übern Gartenzaun Abschiedslied für Linda Spuk von draußen Ein Kessel Buntes Einzug ins Paradies Johanna Spuk unterm Riesenrad Maxe Baumann Achims Hitparade Die Flucht aus der Hölle Feuerdrachen Die zertanzten Schuhe Ways across the Country Familienfest mit Folgen Drei reizende Schwestern Die lieben Luder Barfuß ins Bett Flax und Krümel Anna Pavlova Märkische Chronik Familie Neumann Blaulicht Spuk im Hochhaus Rottenknechte Flitterwochen ohne Ehemann Das große Abenteuer des Kaspar Schmeck Sandmännchen Guten Morgen, du Schöne: Doris Flugstaffel Meinecke Treffpunkt Flughafen Ferienheim Bergkristall Rote Bergsteiger Zur See Fernsehpitaval Front ohne Gnade Das Spielhaus Florentiner 73 Stülpner-Legende Johann Sebastian Bach Das unsichtbare Visier Neues aus der Florentiner 73 Archiv des Todes Kiezgeschichten Der Leutnant vom Schwanenkietz Effi Briest
Der Leutnant vom Schwanenkietz, Anna Pavlova and Ways across the Country originated in East Germany
Der Leutnant vom Schwanenkietz Anna Pavlova Ways across the Country
action filter_type
action find_reverse
entity East Germany
relation country of origin
type television program
[{'concept': 'television program'}, 'country of origin', 'East Germany']
SELECT DISTINCT ?m WHERE { ?m property:country_of_origin resource:East_Germany . ?m rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1195218 Q1964256 Q936997
P58
Q502895
USER
Who wrote the script for those television programs ?
(Q1195218,P58,c(Q502895)) (Q1964256,P58,c(Q502895)) (Q936997,P58,c(Q502895))
action filter_type
action find
entity prev_answer
relation P58
type Q502895
['Q1195218', 'P58', {'concept': 'Q502895'}] ['Q1964256', 'P58', {'concept': 'Q502895'}] ['Q936997', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?s ) { ( resource:Q140917 ) ( resource:Q1492433 ) ( resource:Q1567024 ) } . ?b rdf:type ontology:Q502895 . ?s property:P58 ?b }
Der Leutnant vom Schwanenkietz Anna Pavlova Ways across the Country
action filter_type
action find
entity prev_answer
relation screenwriter
type common name
['Der Leutnant vom Schwanenkietz', 'screenwriter', {'concept': 'common name'}] ['Anna Pavlova', 'screenwriter', {'concept': 'common name'}] ['Ways across the Country', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?s ) { ( resource:Zahn_um_Zahn ) ( resource:Gestohlenes_Glück ) ( resource:Rentner_haben_niemals_Zeit ) } . ?b rdf:type ontology:common_name . ?s property:screenwriter ?b }
[]
common name
Q1387100 Q2610508 Q105476
SYSTEM
Rudi Kurz, Emil Loteanu, Helmut Sakowski
Q1387100 Q2610508 Q105476
(Q1195218,P58,c(Q502895)) (Q1964256,P58,c(Q502895)) (Q936997,P58,c(Q502895))
action filter_type
action find
entity prev_answer
relation P58
type Q502895
[ANSWERS] wrote the script for those television programs
['Q1195218', 'P58', {'concept': 'Q502895'}] ['Q1964256', 'P58', {'concept': 'Q502895'}] ['Q936997', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?s ) { ( resource:Q140917 ) ( resource:Q1492433 ) ( resource:Q1567024 ) } . ?b rdf:type ontology:Q502895 . ?s property:P58 ?b }
Rudi Kurz Emil Loteanu Helmut Sakowski
Rudi Kurz, Emil Loteanu and Helmut Sakowski wrote the script for those television programs
Rudi Kurz Emil Loteanu Helmut Sakowski
action filter_type
action find
entity prev_answer
relation screenwriter
type common name
['Der Leutnant vom Schwanenkietz', 'screenwriter', {'concept': 'common name'}] ['Anna Pavlova', 'screenwriter', {'concept': 'common name'}] ['Ways across the Country', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?s ) { ( resource:Zahn_um_Zahn ) ( resource:Gestohlenes_Glück ) ( resource:Rentner_haben_niemals_Zeit ) } . ?b rdf:type ontology:common_name . ?s property:screenwriter ?b }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1387100 Q2610508 Q105476
P21
Q290
USER
Which sexes do those people belong to ?
(Q1387100,P21,c(Q290)) (Q2610508,P21,c(Q290)) (Q105476,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q1387100', 'P21', {'concept': 'Q290'}] ['Q2610508', 'P21', {'concept': 'Q290'}] ['Q105476', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?u ) { ( resource:Q1387100 ) ( resource:Q2610508 ) ( resource:Q105476 ) } . ?u property:P21 ?h . ?h rdf:type ontology:Q290 }
Rudi Kurz Emil Loteanu Helmut Sakowski
action filter_type
action find
entity prev_answer
relation gender
type sex
['Rudi Kurz', 'gender', {'concept': 'sex'}] ['Emil Loteanu', 'gender', {'concept': 'sex'}] ['Helmut Sakowski', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?u ) { ( resource:Rudi_Kurz ) ( resource:Emil_Loteanu ) ( resource:Helmut_Sakowski ) } . ?u property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q1387100,P21,c(Q290)) (Q2610508,P21,c(Q290)) (Q105476,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people belong to [ANSWER], [ANSWER] and [ANSWER]
['Q1387100', 'P21', {'concept': 'Q290'}] ['Q2610508', 'P21', {'concept': 'Q290'}] ['Q105476', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?u ) { ( resource:Q1387100 ) ( resource:Q2610508 ) ( resource:Q105476 ) } . ?u property:P21 ?h . ?h rdf:type ontology:Q290 }
male male male
Those people belong to male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Rudi Kurz', 'gender', {'concept': 'sex'}] ['Emil Loteanu', 'gender', {'concept': 'sex'}] ['Helmut Sakowski', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?u ) { ( resource:Rudi_Kurz ) ( resource:Emil_Loteanu ) ( resource:Helmut_Sakowski ) } . ?u property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1964256
P57
Q502895
USER
Who was Anna Pavlova directed by ?
(Q1964256,P57,c(Q502895))
action filter_type
action find
entity Q1964256
relation P57
type Q502895
['Q1964256', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1964256 property:P57 ?p . ?p rdf:type ontology:Q502895 }
Anna Pavlova
action filter_type
action find
entity Anna Pavlova
relation director
type common name
['Anna Pavlova', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Anna_Pavlova property:director ?p . ?p rdf:type ontology:common_name }
[]
common name
Q2610508
SYSTEM
Emil Loteanu
Q2610508
(Q1964256,P57,c(Q502895))
action filter_type
action find
entity Q1964256
relation P57
type Q502895
By Anna Pavlova was directed by [ANSWER]
['Q1964256', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1964256 property:P57 ?p . ?p rdf:type ontology:Q502895 }
Emil Loteanu
By Anna Pavlova was directed by Emil Loteanu
Emil Loteanu
action filter_type
action find
entity Anna Pavlova
relation director
type common name
['Anna Pavlova', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Anna_Pavlova property:director ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1964256
P364
Q34770
USER
Which language was used originally for the creation of Anna Pavlova ?
(Q1964256,P364,c(Q34770))
action filter_type
action find
entity Q1964256
relation P364
type Q34770
['Q1964256', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q1964256 property:P364 ?u . ?u rdf:type ontology:Q34770 }
Anna Pavlova
action filter_type
action find
entity Anna Pavlova
relation original language of work
type language
['Anna Pavlova', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Anna_Pavlova property:original_language_of_work ?u . ?u rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1964256,P364,c(Q34770))
action filter_type
action find
entity Q1964256
relation P364
type Q34770
[ANSWER] was used originally for the creation of Anna Pavlova
['Q1964256', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q1964256 property:P364 ?u . ?u rdf:type ontology:Q34770 }
English
English was used originally for the creation of Anna Pavlova
English
action filter_type
action find
entity Anna Pavlova
relation original language of work
type language
['Anna Pavlova', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Anna_Pavlova property:original_language_of_work ?u . ?u rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1964256
P86
Q502895
USER
Which person composed that television program ?
(Q1860,P86,c(Q502895))
action filter_type
action find
entity Q1964256
relation P86
type Q502895
['Q1860', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1964256 property:P86 ?q . ?q rdf:type ontology:Q502895 }
Anna Pavlova
action filter_type
action find
entity Anna Pavlova
relation composer
type common name
['English', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Anna_Pavlova property:composer ?q . ?q rdf:type ontology:common_name }
[]
common name
Q2632350
SYSTEM
Eugen Doga
Q2632350
(Q1860,P86,c(Q502895))
action filter_type
action find
entity Q1964256
relation P86
type Q502895
[ANSWER] composed that television program
['Q1860', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1964256 property:P86 ?q . ?q rdf:type ontology:Q502895 }
Eugen Doga
Eugen Doga composed that television program
Eugen Doga
action filter_type
action find
entity Anna Pavlova
relation composer
type common name
['English', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Anna_Pavlova property:composer ?q . ?q rdf:type ontology:common_name }
[]