Simple Question (Direct)
Simple Question
Q5497334
P22
Q502895
USER
Which male person was the parent of Frederick Baltimore Calvert ?
(Q5497334,P22,c(Q502895))
action filter_type
action find
entity Q5497334
relation P22
type Q502895
['Q5497334', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q5497334 property:P22 ?o . ?o rdf:type ontology:Q502895 }
Frederick Baltimore Calvert
action filter_type
action find
entity Frederick Baltimore Calvert
relation father
type common name
['Frederick Baltimore Calvert', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Frederick_Baltimore_Calvert property:father ?o . ?o rdf:type ontology:common_name }
[]
common name
Q19325221
SYSTEM
Charles Calvert
Q19325221
(Q5497334,P22,c(Q502895))
action filter_type
action find
entity Q5497334
relation P22
type Q502895
[ANSWER] was the parent of Frederick Baltimore Calvert
['Q5497334', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q5497334 property:P22 ?o . ?o rdf:type ontology:Q502895 }
Charles Calvert
Charles Calvert was the parent of Frederick Baltimore Calvert
Charles Calvert
action filter_type
action find
entity Frederick Baltimore Calvert
relation father
type common name
['Frederick Baltimore Calvert', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Frederick_Baltimore_Calvert property:father ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19325221
P27
Q7275
USER
Which state is the country of citizenship of that person ?
(Q19325221,P27,c(Q7275))
action filter_type
action find
entity Q19325221
relation P27
type Q7275
['Q19325221', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?c WHERE { resource:Q19325221 property:P27 ?c . ?c rdf:type ontology:Q7275 }
Charles Calvert
action filter_type
action find
entity Charles Calvert
relation country of citizenship
type state
['Charles Calvert', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?c WHERE { resource:Charles_Calvert property:country_of_citizenship ?c . ?c rdf:type ontology:state }
[]
state
Q161885
SYSTEM
Kingdom of Great Britain
Q161885
(Q19325221,P27,c(Q7275))
action filter_type
action find
entity Q19325221
relation P27
type Q7275
The [ANSWER] is the country of citizenship of that person
['Q19325221', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?c WHERE { resource:Q19325221 property:P27 ?c . ?c rdf:type ontology:Q7275 }
Kingdom of Great Britain
The Kingdom of Great Britain is the country of citizenship of that person
Kingdom of Great Britain
action filter_type
action find
entity Charles Calvert
relation country of citizenship
type state
['Charles Calvert', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?c WHERE { resource:Charles_Calvert property:country_of_citizenship ?c . ?c rdf:type ontology:state }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P1376
Q7275 Q486972 Q56061
USER
How many states have less number of human settlements and administrative territories have their first city than that state ?
(c(Q486972)|c(Q56061),P1376,c(Q7275))
action count
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q161885
relation P1376
type Q486972
type Q56061
[[{'concept': 'Q486972'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { FILTER ( ?t < ?n ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { { ?s rdf:type ontology:Q56061 } UNION { ?s rdf:type ontology:Q486972 } } . ?s property:P1376 resource:Q161885 } } . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?t ) WHERE { { ?x property:P1376 ?f . ?f rdf:type ontology:Q7275 . ?x rdf:type ontology:Q56061 } UNION { ?x property:P1376 ?f . ?x rdf:type ontology:Q486972 . ?f rdf:type ontology:Q7275 } } GROUP BY ?f } }
action count
action less
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
action count
action filter_multi_types
action find_reverse
entity Kingdom of Great Britain
relation capital of
type human settlement
type administrative territorial entity
[[{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { FILTER ( ?t < ?n ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { { ?s rdf:type ontology:administrative_territorial_entity } UNION { ?s rdf:type ontology:human_settlement } } . ?s property:capital_of resource:Kingdom_of_Great_Britain } } . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?t ) WHERE { { ?x property:capital_of ?f . ?f rdf:type ontology:state . ?x rdf:type ontology:administrative_territorial_entity } UNION { ?x property:capital_of ?f . ?x rdf:type ontology:human_settlement . ?f rdf:type ontology:state } } GROUP BY ?f } }
[]
state human settlement administrative territorial entity
SYSTEM
156
Q1193822 Q178665 Q18285930 Q3456417 Q152855 Q855044 Q975405 Q1688151 Q1483643 Q827040 Q210198 Q2006542 Q215530 Q912043 Q2564694 Q203493 Q1574107 Q798431 Q1269910 Q877875 Q402145 Q255931 Q2342822 Q863279 Q3177715 Q698089 Q83821 Q13107370 Q761370 Q2114397 Q321371 Q220110 Q1414395 Q756895 Q49697 Q153660 Q1069905 Q6500954 Q274488 Q577867 Q476757 Q1274468 Q202687 Q2419932 Q234197 Q2668600 Q551375 Q146246 Q1108445 Q153080 Q526507 Q1154540 Q28322 Q550374 Q19831559 Q1048918 Q736936 Q783489 Q2444884 Q16949002 Q618399 Q180573 Q1923401 Q1135255 Q624887 Q199442 Q13706 Q156020 Q216786 Q26472 Q139319 Q752662 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 Q842091 Q187684 Q1324889 Q146713 Q427941 Q697837 Q994451 Q3185305 Q1148907 Q320925 Q2593459 Q571453 Q271570 Q307069 Q28278 Q107380 Q206696 Q62454 Q112558 Q1198071 Q1192067 Q2372248 Q1062422 Q505503 Q169705 Q212439 Q153015 Q846670 Q696242 Q422065 Q1479726 Q467864 Q212056 Q777981 Q154853 Q1148042 Q770776 Q1549254 Q7314513 Q3041595 Q484104 Q680997 Q648297 Q149805
(c(Q486972)|c(Q56061),P1376,c(Q7275))
action count
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q161885
relation P1376
type Q486972
type Q56061
[ANSWER]
[[{'concept': 'Q486972'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { FILTER ( ?t < ?n ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { { ?s rdf:type ontology:Q56061 } UNION { ?s rdf:type ontology:Q486972 } } . ?s property:P1376 resource:Q161885 } } . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?t ) WHERE { { ?x property:P1376 ?f . ?f rdf:type ontology:Q7275 . ?x rdf:type ontology:Q56061 } UNION { ?x property:P1376 ?f . ?x rdf:type ontology:Q486972 . ?f rdf:type ontology:Q7275 } } GROUP BY ?f } }
Wuyue Mitanni German Empire of 1848/1849 Republic of Saint-Malo 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 Powys Fadog Kingdom of Romania Han Zhao Republic of Dahomey Republic of Madawaska Palmyrene Empire Mataram Sultanate Hariphunchai West Pakistan Sukhothai Kingdom Pagaruyung Kingdom Grand Duchy of Würzburg Bijapur Sultanate 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 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 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 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 Duchy of Normandy 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 Republic of Saugeais 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 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
156
action count
action less
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
action count
action filter_multi_types
action find_reverse
entity Kingdom of Great Britain
relation capital of
type human settlement
type administrative territorial entity
[[{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { FILTER ( ?t < ?n ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { { ?s rdf:type ontology:administrative_territorial_entity } UNION { ?s rdf:type ontology:human_settlement } } . ?s property:capital_of resource:Kingdom_of_Great_Britain } } . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?t ) WHERE { { ?x property:capital_of ?f . ?f rdf:type ontology:state . ?x rdf:type ontology:administrative_territorial_entity } UNION { ?x property:capital_of ?f . ?x rdf:type ontology:human_settlement . ?f rdf:type ontology:state } } GROUP BY ?f } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P194
Q1752346 Q7275
USER
Which assemblies are the legislative bodies for max number of states ?
(c(Q7275),P194,Q701632)
action argmax
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
[{'concept': 'Q7275'}, 'P194', 'Q701632']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:P194 ?s . ?s rdf:type ontology:Q1752346 . ?e rdf:type ontology:Q7275 } GROUP BY ?s } . FILTER ( ?f = ?c ) . { SELECT DISTINCT ( MAX ( ?x ) AS ?c ) { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:P194 ?y . ?y rdf:type ontology:Q1752346 . ?j rdf:type ontology:Q7275 } GROUP BY ?y } } }
action argmax
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
[{'concept': 'state'}, 'legislative body', 'municipal council']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:legislative_body ?s . ?s rdf:type ontology:assembly . ?e rdf:type ontology:state } GROUP BY ?s } . FILTER ( ?f = ?c ) . { SELECT DISTINCT ( MAX ( ?x ) AS ?c ) { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:legislative_body ?y . ?y rdf:type ontology:assembly . ?j rdf:type ontology:state } GROUP BY ?y } } }
[]
assembly state
Q632552
SYSTEM
French Parliament
Q632552
(c(Q7275),P194,Q701632)
action argmax
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
[ANSWER] is the legislative bodies for max number of states
[{'concept': 'Q7275'}, 'P194', 'Q701632']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:P194 ?s . ?s rdf:type ontology:Q1752346 . ?e rdf:type ontology:Q7275 } GROUP BY ?s } . FILTER ( ?f = ?c ) . { SELECT DISTINCT ( MAX ( ?x ) AS ?c ) { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:P194 ?y . ?y rdf:type ontology:Q1752346 . ?j rdf:type ontology:Q7275 } GROUP BY ?y } } }
French Parliament
French Parliament is the legislative bodies for max number of states
French Parliament
action argmax
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
[{'concept': 'state'}, 'legislative body', 'municipal council']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:legislative_body ?s . ?s rdf:type ontology:assembly . ?e rdf:type ontology:state } GROUP BY ?s } . FILTER ( ?f = ?c ) . { SELECT DISTINCT ( MAX ( ?x ) AS ?c ) { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:legislative_body ?y . ?y rdf:type ontology:assembly . ?j rdf:type ontology:state } GROUP BY ?y } } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q632552 Q156038
P194
Q7275
USER
Does Duchy of Courland and Semigallia have that assembly as its council ?
(Q156038,P194,Q632552)
action is_in
entity Q156038
action find
entity Q632552
relation P194
['Q156038', 'P194', 'Q632552']
ASK WHERE { resource:Q632552 property:P194 resource:Q156038 }
French Parliament Duchy of Courland and Semigallia
action is_in
entity Duchy of Courland and Semigallia
action find
entity French Parliament
relation legislative body
['Duchy of Courland and Semigallia', 'legislative body', 'French Parliament']
ASK WHERE { resource:French_Parliament property:legislative_body resource:Duchy_of_Courland_and_Semigallia }
[]
state
SYSTEM
NO
(Q156038,P194,Q632552)
action is_in
entity Q156038
action find
entity Q632552
relation P194
[ANSWER]
['Q156038', 'P194', 'Q632552']
ASK WHERE { resource:Q632552 property:P194 resource:Q156038 }
No
action is_in
entity Duchy of Courland and Semigallia
action find
entity French Parliament
relation legislative body
['Duchy of Courland and Semigallia', 'legislative body', 'French Parliament']
ASK WHERE { resource:French_Parliament property:legislative_body resource:Duchy_of_Courland_and_Semigallia }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5497334 Q5181671 Q11518603
P20
Q56061
USER
Does Frederick Baltimore Calvert have Craighall Park and Kizuki-Isechō as the location of death ?
(Q5497334,P20,Q5181671) (Q5497334,P20,Q11518603)
action is_in
entity Q5497334
action intersection
action find_reverse
entity Q5181671
relation P20
action find_reverse
entity Q11518603
relation P20
['Q5497334', 'P20', 'Q5181671'] ['Q5497334', 'P20', 'Q11518603']
ASK WHERE { resource:Q5497334 property:P20 resource:Q5181671 . resource:Q5497334 property:P20 resource:Q11518603 }
Frederick Baltimore Calvert Craighall Park Kizuki-Isechō
action is_in
entity Frederick Baltimore Calvert
action intersection
action find_reverse
entity Craighall Park
relation place of death
action find_reverse
entity Kizuki-Isechō
relation place of death
['Frederick Baltimore Calvert', 'place of death', 'Craighall Park'] ['Frederick Baltimore Calvert', 'place of death', 'Kizuki-Isechō']
ASK WHERE { resource:Frederick_Baltimore_Calvert property:place_of_death resource:Craighall_Park . resource:Frederick_Baltimore_Calvert property:place_of_death resource:Kizuki-Isechō }
[]
administrative territorial entity
SYSTEM
NO
(Q5497334,P20,Q5181671) (Q5497334,P20,Q11518603)
action is_in
entity Q5497334
action intersection
action find_reverse
entity Q5181671
relation P20
action find_reverse
entity Q11518603
relation P20
[ANSWER]
['Q5497334', 'P20', 'Q5181671'] ['Q5497334', 'P20', 'Q11518603']
ASK WHERE { resource:Q5497334 property:P20 resource:Q5181671 . resource:Q5497334 property:P20 resource:Q11518603 }
No
action is_in
entity Frederick Baltimore Calvert
action intersection
action find_reverse
entity Craighall Park
relation place of death
action find_reverse
entity Kizuki-Isechō
relation place of death
['Frederick Baltimore Calvert', 'place of death', 'Craighall Park'] ['Frederick Baltimore Calvert', 'place of death', 'Kizuki-Isechō']
ASK WHERE { resource:Frederick_Baltimore_Calvert property:place_of_death resource:Craighall_Park . resource:Frederick_Baltimore_Calvert property:place_of_death resource:Kizuki-Isechō }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q7275 Q515 Q486972
USER
How many states have atleast 1 cities and human settlements as their capital ?
(c(Q515)|c(Q486972),P1376,c(Q7275))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
value 1
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?y ) WHERE { VALUES ( ?w ) { ( ontology:Q515 ) ( ontology:Q486972 ) } . ?u rdf:type ?w } GROUP BY ?v } . FILTER ( ?y >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation capital of
type state
type city
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
value 1
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?y ) WHERE { VALUES ( ?w ) { ( ontology:city ) ( ontology:human_settlement ) } . ?u rdf:type ?w } GROUP BY ?v } . FILTER ( ?y >= 1 ) }
[]
state city human settlement
SYSTEM
85
Q178665 Q18285930 Q855044 Q210198 Q133356 Q215530 Q912043 Q1649871 Q203493 Q1574107 Q15864 Q2361927 Q698089 Q953432 Q210542 Q2114397 Q220110 Q1414395 Q756895 Q49697 Q6500954 Q274488 Q216173 Q476757 Q1274468 Q234197 Q1108445 Q153080 Q16957 Q1154540 Q550374 Q19831559 Q172107 Q1048918 Q783489 Q618399 Q180573 Q216786 Q752662 Q797422 Q235030 Q1668970 Q320930 Q849623 Q139670 Q1138904 Q7352 Q9903 Q941881 Q38060 Q844250 Q738144 Q207521 Q1658411 Q157734 Q1415585 Q146328 Q1508143 Q940821 Q248572 Q697084 Q213586 Q11196 Q146713 Q427941 Q697837 Q747314 Q307069 Q28278 Q62454 Q1192067 Q2372248 Q505503 Q153015 Q846670 Q696242 Q1479726 Q467864 Q212056 Q13426199 Q487829 Q3041595 Q484104 Q648297 Q149805
(c(Q515)|c(Q486972),P1376,c(Q7275))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
value 1
[ANSWER]
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?y ) WHERE { VALUES ( ?w ) { ( ontology:Q515 ) ( ontology:Q486972 ) } . ?u rdf:type ?w } GROUP BY ?v } . FILTER ( ?y >= 1 ) }
Mitanni German Empire of 1848/1849 Bhopal State Erivan Khanate Ukrainian Soviet Socialist Republic Kingdom of Ireland Jin Kingdom of Poland Kingdom of Romania Han Zhao United Kingdom of the Netherlands Duchy of Masovia Grand Duchy of Würzburg Couto Misto Second Brazilian Republic Yogyakarta Sultanate Rohan Republic of South Maluku Kediri Liu Song dynasty Zaire Eastern Wu Free City of Danzig Democratic Republic of Afghanistan Republic of Bosnia and Herzegovina Srivijaya Kievan Rus' East Francia East Germany Later Jin Dynasty South African Republic Oldenburg Polish–Lithuanian Commonwealth Suebic Kingdom of Galicia Later Liang dynasty Republic of the Congo South Vietnam Champa Hafsid dynasty Republic of Upper Volta Principality of Antioch Western Qin Cao Wei Oyo Empire Democratic Republic of Armenia Kingdom of Afghanistan Jin dynasty Ming imperium Netherlands New Guinea Gaul Lordship of Ireland United Provinces of the Río de la Plata Abyssinia Kingdom of Sarawak Muscat and Oman Islamic State of Afghanistan Commonwealth of the Philippines Ukrainian State People's Democratic Republic of Ethiopia Sultanate of Maguindanao Duchy of Oldenburg Gondor Republika Srpska Arab Federation Islamic Emirate of Afghanistan Mengjiang Bechuanaland Protectorate Eastern Wei Provisional Government of the Republic of Korea Chen dynasty Min Free State of Oldenburg Cochinchina Kingdom of Saxony Danishmends Reorganized National Government of China Federation of Malaya People's Socialist Republic of Albania Mongolian People's Republic Republic of China Chagatai Khanate Republic of Iraq United States Army Military Government in Korea Free State of Brunswick Kingdom of Iraq
85
action count
action atleast
action union
action find_reverse_tuple_counts
relation capital of
type state
type city
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
value 1
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?u ) AS ?y ) WHERE { VALUES ( ?w ) { ( ontology:city ) ( ontology:human_settlement ) } . ?u rdf:type ?w } GROUP BY ?v } . FILTER ( ?y >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q44539 Q15617994
USER
How many people are the names of person who are the patron saints of exactly 7 temples and administrative territories ?
(c(Q44539)|c(Q15617994),P417,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
value 7
[[{'concept': 'Q44539'}, {'concept': 'Q15617994'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { FILTER ( ?d = 7 ) . { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?d ) WHERE { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15617994 ) ( ontology:Q44539 ) } } GROUP BY ?f } }
action count
action equal
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
value 7
[[{'concept': 'temple'}, {'concept': 'designation for an administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { FILTER ( ?d = 7 ) . { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?d ) WHERE { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:temple ) } } GROUP BY ?f } }
[]
common name temple designation for an administrative territorial entity
SYSTEM
2
Q359878 Q42827
(c(Q44539)|c(Q15617994),P417,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
value 7
[ANSWER]
[[{'concept': 'Q44539'}, {'concept': 'Q15617994'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { FILTER ( ?d = 7 ) . { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?d ) WHERE { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15617994 ) ( ontology:Q44539 ) } } GROUP BY ?f } }
Erasmus of Formiae Gregory I
2
action count
action equal
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
value 7
[[{'concept': 'temple'}, {'concept': 'designation for an administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { FILTER ( ?d = 7 ) . { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?d ) WHERE { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:temple ) } } GROUP BY ?f } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P608
Q33506 Q2668072 Q502895
USER
Which people were presented at around 2 museums and collections ?
(c(Q502895),P608,c(Q33506)|c(Q2668072))
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q33506
action find_tuple_counts
relation P608
type Q502895
type Q2668072
value 2
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q33506'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?t = 2 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) ?d WHERE { ?m rdf:type ?f . VALUES ( ?f ) { ( ontology:Q33506 ) ( ontology:Q2668072 ) } } GROUP BY ?d } }
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type museum
action find_tuple_counts
relation exhibition history
type common name
type collection
value 2
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'museum'}, {'concept': 'collection'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?t = 2 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) ?d WHERE { ?m rdf:type ?f . VALUES ( ?f ) { ( ontology:museum ) ( ontology:collection ) } } GROUP BY ?d } }
[]
museum collection common name
Q15873898 Q15734265 Q16121375
SYSTEM
Chrisje van der Willigen, Adri Bleuland van Oordt, Judith Lowry
Q17314881 Q15734263 Q15734265 Q6196481 Q7649008 Q15991813 Q5671224 Q17625628 Q5248733 Q2824894 Q20888837 Q5375139 Q9015308 Q805807 Q16121375 Q15873898 Q16968866
(c(Q502895),P608,c(Q33506)|c(Q2668072))
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q33506
action find_tuple_counts
relation P608
type Q502895
type Q2668072
value 2
[ANSWERS] were presented at around 2 museums and collections
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q33506'}, {'concept': 'Q2668072'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?t = 2 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) ?d WHERE { ?m rdf:type ?f . VALUES ( ?f ) { ( ontology:Q33506 ) ( ontology:Q2668072 ) } } GROUP BY ?d } }
René Izaure Johanna Bleuland van Oordt Adri Bleuland van Oordt Jim Love Susie Bootja Bootja Napaltjarri Judie Bamber Pablo Borges Delgado Deborah De Robertis Manuel Ocampo Adolphe Péterelle Angélique Bègue Ena Swansea Juan Carlos Alom Balto Judith Lowry Chrisje van der Willigen Lydia Schouten
Chrisje van der Willigen, Adri Bleuland van Oordt and Judith Lowry were presented at around 2 museums and collections
Chrisje van der Willigen Adri Bleuland van Oordt Judith Lowry
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type museum
action find_tuple_counts
relation exhibition history
type common name
type collection
value 2
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'museum'}, {'concept': 'collection'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?t = 2 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) ?d WHERE { ?m rdf:type ?f . VALUES ( ?f ) { ( ontology:museum ) ( ontology:collection ) } } GROUP BY ?d } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q15734265
P27
Q15617994
USER
How many administrative territories are Adri Bleuland van Oordt an inhabitant of ?
(Q15734265,P27,c(Q15617994))
action count
action filter_type
action find
entity Q15734265
relation P27
type Q15617994
['Q15734265', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { resource:Q15734265 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Adri Bleuland van Oordt
action count
action filter_type
action find
entity Adri Bleuland van Oordt
relation country of citizenship
type designation for an administrative territorial entity
['Adri Bleuland van Oordt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { resource:Adri_Bleuland_van_Oordt property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29999
(Q15734265,P27,c(Q15617994))
action count
action filter_type
action find
entity Q15734265
relation P27
type Q15617994
[ANSWER]
['Q15734265', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { resource:Q15734265 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
1
action count
action filter_type
action find
entity Adri Bleuland van Oordt
relation country of citizenship
type designation for an administrative territorial entity
['Adri Bleuland van Oordt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { resource:Adri_Bleuland_van_Oordt property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q863773
Q15617994
USER
And also tell me about Bingen Fernández?
(Q863773,P27,c(Q15617994))
action count
action filter_type
action find
entity Q863773
relation P27
type Q15617994
['Q863773', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Q863773 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Bingen Fernández
action count
action filter_type
action find
entity Bingen Fernández
relation country of citizenship
type designation for an administrative territorial entity
['Bingen Fernández', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Bingen_Fernández property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q863773,P27,c(Q15617994))
action count
action filter_type
action find
entity Q863773
relation P27
type Q15617994
[ANSWER]
['Q863773', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Q863773 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Bingen Fernández
relation country of citizenship
type designation for an administrative territorial entity
['Bingen Fernández', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Bingen_Fernández property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]