Simple Question (Direct)
Simple Question
Q16681179
P607
Q350604
USER
Which battles did Boris Novikov take part in ?
(Q16681179,P607,c(Q350604))
action filter_type
action find
entity Q16681179
relation P607
type Q350604
['Q16681179', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?f WHERE { resource:Q16681179 property:P607 ?f . ?f rdf:type ontology:Q350604 }
Boris Novikov
action filter_type
action find
entity Boris Novikov
relation conflict
type armed conflict
['Boris Novikov', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?f WHERE { resource:Boris_Novikov property:conflict ?f . ?f rdf:type ontology:armed_conflict }
[]
armed conflict
Q220602 Q189266
SYSTEM
Soviet–Japanese War, Eastern Front
Q220602 Q189266
(Q16681179,P607,c(Q350604))
action filter_type
action find
entity Q16681179
relation P607
type Q350604
Boris Novikov took part in [ANSWERS]
['Q16681179', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?f WHERE { resource:Q16681179 property:P607 ?f . ?f rdf:type ontology:Q350604 }
Soviet–Japanese War Eastern Front
Boris Novikov took part in Soviet–Japanese War and Eastern Front
Soviet–Japanese War Eastern Front
action filter_type
action find
entity Boris Novikov
relation conflict
type armed conflict
['Boris Novikov', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?f WHERE { resource:Boris_Novikov property:conflict ?f . ?f rdf:type ontology:armed_conflict }
[]
Clarification
Simple Question|Single Entity|Indirect
Q189266
P276
Q7275
USER
Where is that armed conflict located ?
(Q189266,P276,c(Q7275))
action filter_type
action find
entity Q189266
relation P276
type Q7275
['Q189266', 'P276', {'concept': 'Q7275'}]
SELECT DISTINCT ?m WHERE { resource:Q189266 property:P276 ?m . ?m rdf:type ontology:Q7275 }
Eastern Front
action filter_type
action find
entity Eastern Front
relation location
type state
['Eastern Front', 'location', {'concept': 'state'}]
SELECT DISTINCT ?m WHERE { resource:Eastern_Front property:location ?m . ?m rdf:type ontology:state }
[]
state
Clarification for simple ques.
Q189266
SYSTEM
Did you mean Eastern Front ?
Q220602 Q189266
(Q220602,P276,c(Q7275)) (Q189266,P276,c(Q7275))
[ANSWER]
['Q220602', 'P276', {'concept': 'Q7275'}] ['Q189266', 'P276', {'concept': 'Q7275'}]
SELECT DISTINCT ?m WHERE { resource:Q189266 property:P276 ?m . ?m rdf:type ontology:Q7275 }
Soviet–Japanese War Eastern Front
Did you mean Eastern Front ?
Eastern Front
['Soviet–Japanese War', 'location', {'concept': 'state'}] ['Eastern Front', 'location', {'concept': 'state'}]
SELECT DISTINCT ?m WHERE { resource:Eastern_Front property:location ?m . ?m rdf:type ontology:state }
[]
Simple Question (Coreferenced)
USER
Yes
(Q189266,P276,c(Q7275))
['Q189266', 'P276', {'concept': 'Q7275'}]
['Eastern Front', 'location', {'concept': 'state'}]
[]
Q15180
SYSTEM
Soviet Union
Q15180
(Q189266,P276,c(Q7275))
action filter_type
action find
entity Q189266
relation P276
type Q7275
That armed conflict is located in [ANSWER]
['Q189266', 'P276', {'concept': 'Q7275'}]
SELECT DISTINCT ?m WHERE { resource:Q189266 property:P276 ?m . ?m rdf:type ontology:Q7275 }
Soviet Union
That armed conflict is located in Soviet Union
Soviet Union
action filter_type
action find
entity Eastern Front
relation location
type state
['Eastern Front', 'location', {'concept': 'state'}]
SELECT DISTINCT ?m WHERE { resource:Eastern_Front property:location ?m . ?m rdf:type ontology:state }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q15180 Q11657939
P27
Q502895
USER
Is Kōzō Abe a citizen of that state ?
(Q11657939,P27,Q15180)
action is_in
entity Q11657939
action find
entity Q15180
relation P27
['Q11657939', 'P27', 'Q15180']
ASK WHERE { resource:Q15180 property:P27 resource:Q11657939 }
Soviet Union Kōzō Abe
action is_in
entity Kōzō Abe
action find
entity Soviet Union
relation country of citizenship
['Kōzō Abe', 'country of citizenship', 'Soviet Union']
ASK WHERE { resource:Soviet_Union property:country_of_citizenship resource:Kōzō_Abe }
[]
common name
SYSTEM
NO
(Q11657939,P27,Q15180)
action is_in
entity Q11657939
action find
entity Q15180
relation P27
[ANSWER]
['Q11657939', 'P27', 'Q15180']
ASK WHERE { resource:Q15180 property:P27 resource:Q11657939 }
No
action is_in
entity Kōzō Abe
action find
entity Soviet Union
relation country of citizenship
['Kōzō Abe', 'country of citizenship', 'Soviet Union']
ASK WHERE { resource:Soviet_Union property:country_of_citizenship resource:Kōzō_Abe }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q595411
P194
Q11204 Q7275
USER
Which legislatures govern around the same number of states as Congress of the Dominican Republic ?
(c(Q7275),P194,c(Q11204))
action approx
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
action count
action filter_type
action find
entity Q595411
relation P194
type Q11204
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { resource:Q595411 property:P194 ?b . ?b rdf:type ontology:Q11204 } } . FILTER ( ?o = ?z ) . { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P194 ?i . ?e rdf:type ontology:Q7275 . ?i rdf:type ontology:Q11204 } GROUP BY ?i } }
Congress of the Dominican Republic
action approx
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
action count
action filter_type
action find
entity Congress of the Dominican Republic
relation legislative body
type legislature
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { resource:Congress_of_the_Dominican_Republic property:legislative_body ?b . ?b rdf:type ontology:legislature } } . FILTER ( ?o = ?z ) . { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:legislative_body ?i . ?e rdf:type ontology:state . ?i rdf:type ontology:legislature } GROUP BY ?i } }
[]
legislature state
Q11268 Q19208 Q3687390
SYSTEM
United States Congress, Legislative Council of Hong Kong, Regional Council of Veneto
Q6064424 Q7101400 Q2518570 Q2304409 Q2650715 Q3365321 Q2656777 Q6386149 Q2867079 Q320501 Q550133 Q5692374 Q589022 Q19208 Q3556484 Q3687390 Q3687397 Q4817650 Q2994027 Q3687394 Q22330280 Q7700086 Q1643140 Q2994248 Q3084210 Q1319595 Q2993961 Q5783861 Q7681292 Q5783863 Q5783866 Q1281107 Q1149644 Q715869 Q22443329 Q22443280 Q1812873 Q22443320 Q22443322 Q22443284 Q22443324 Q595411 Q22443327 Q22360043 Q7101257 Q2564988 Q135630 Q4902948 Q2653964 Q7320919 Q2994272 Q374152 Q19211 Q530970 Q4313275 Q5261561 Q1136026 Q680806 Q2867077 Q19606559 Q2707406 Q5684411 Q11268 Q5025648 Q7010195 Q4345425 Q217799 Q330600 Q285714 Q1514096 Q6518465 Q457869 Q10566065 Q2994267 Q2994263 Q2994260 Q1386962 Q22443273 Q14562584 Q22443277 Q5783847 Q5783845 Q131279 Q5783843 Q2747168 Q5783841 Q3634937 Q22443275 Q5783849 Q2994073 Q7972258 Q5253303 Q579836 Q7008154 Q3625554 Q2993782 Q647976 Q1437547 Q1453540 Q3270273 Q764201 Q3270271 Q3270276 Q3687391 Q3270274 Q2080399 Q5783859 Q7080820 Q7986861 Q5783851 Q5783853 Q5783856 Q2747172 Q3687395 Q5161534 Q22330307 Q7051064 Q5399679 Q2386705 Q5148810 Q6386198 Q3270268 Q1484102 Q3270265 Q4303926 Q146138 Q775994 Q22443253 Q5783828 Q16934215 Q17017103 Q897278 Q5783824 Q5783833 Q5783826 Q5783821 Q583952 Q14468380 Q6527389 Q1127198 Q5783831 Q688346 Q2741727 Q2301457 Q14562680 Q5160905 Q274918 Q7604031 Q7055026 Q493517 Q1684080 Q2994252 Q2994253 Q2384499 Q2994255 Q2994239 Q6879566 Q5783839 Q5783837 Q2994234 Q2994235 Q4256974 Q2994237 Q996610 Q1137059 Q3462542 Q719894 Q10566263 Q22443256 Q16996347 Q5018721 Q3687399 Q2565909 Q2994249 Q6689290 Q22443317 Q2994245 Q2994244 Q3365495 Q4938196 Q2994241 Q2994240 Q2994243 Q1563736 Q920609 Q2867076 Q693192 Q6664413 Q6392265 Q7082403 Q250641 Q202384 Q4791449 Q1117432 Q3687389 Q2742602 Q18342090 Q3555619 Q3687386 Q3687387 Q3567567 Q17443556 Q129821 Q7478146 Q2749841 Q3658756 Q22569956
(c(Q7275),P194,c(Q11204))
action approx
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
action count
action filter_type
action find
entity Q595411
relation P194
type Q11204
[ANSWERS] govern around the same number of states as Congress of the Dominican Republic
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { resource:Q595411 property:P194 ?b . ?b rdf:type ontology:Q11204 } } . FILTER ( ?o = ?z ) . { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P194 ?i . ?e rdf:type ontology:Q7275 . ?i rdf:type ontology:Q11204 } GROUP BY ?i } }
Iowa General Assembly Oregon Territorial Legislature Regional Council of Rhône-Alpes South Dakota Legislature General Council of Loiret Legislative Assembly of the Falkland Islands Parliament of Transnistria Lancashire County Council New Jersey Legislature Landtag Legislative Assembly of Macau Legislative Council of Carabobo Regional Council of Lorraine Legislative Council of Hong Kong Florida Legislature Regional Council of Veneto Regional Council of Sardinia Austrian Parliament Seine-Saint-Denis General Council Regional Council of Calabria Cebu Provincial Board Tennessee General Assembly Niue Assembly Regional Council of Languedoc-Roussillon California State Legislature National Assembly general council of Meurthe-et-Moselle Legislative Council of Vargas Tamil Nadu Legislative Assembly Legislative Council of Yaracuy Legislative Council of Mérida House of Assembly of Kiribati Landtag of Liechtenstein Legislative Yuan Sangguniang Panlungsod of Carcar Sangguniang Bayan of Alcoy Legislative Assembly of El Salvador Sangguniang Panlungsod of Tagbilaran Sangguniang Panlungsod of Mandaue Sangguniang Bayan of Alegria Sangguniang Panlungsod of Lapu-Lapu Congress of the Dominican Republic Sangguniang Panlungsod of Cebu City Sangguniang Panlungsod of Naga Oregon Legislative Assembly Corsican Assembly Parliament of Catalonia National Legislature Texas Legislature Rhode Island General Assembly Regional Council of Nord-Pas-de-Calais Seimas National People's Congress Virginia General Assembly People's Assembly of the Republic of Dagestan Derbyshire County Council Congress of Guatemala National Parliament Pennsylvania General Assembly Regional Council of Auvergne-Rhône-Alpes Sicilian Regional Assembly Hawaii State Legislature United States Congress Cambridgeshire County Council New Mexico Legislature Parliament of Fiji Islands Riigikogu National Assembly of Azerbaijan Northern Ireland Assembly People's Assembly of Abkhazia Legislature of the Virgin Islands Federal Assembly of the Russian Federation Maryland General Assembly Regional Council of Limousin Regional Council of Martinique Regional Council of Pays de la Loire Legislative Assembly of Costa Rica Sangguniang Bayan of Madridejos Regional Council of Marche Sangguniang Bayan of Alcantara Legislative Council of Monagas Legislative Council of Lara Althing Legislative Council of Guárico Arkansas General Assembly Legislative Council of Falcón Indiana General Assembly Sangguniang Panlungsod of Toledo Legislative Council of Nueva Esparta Nord General Council Washington State Legislature Delaware General Assembly Legislative Council of Zulia New Hampshire General Court Legislative Assembly of the Cayman Islands Regional Council of the Aosta Valley Regional Council of Centre Illinois General Assembly Massachusetts General Court Michigan Legislature Parliament of Vanuatu Kansas Legislature Wyoming Legislature Regional Council of Abruzzo Wisconsin Legislature Parliament of Bhutan Legislative Council of Táchira Ohio General Assembly West Virginia Legislature Legislative Council of Portuguesa Legislative Council of Sucre Legislative Council of Trujillo Arizona State Legislature Regional Council of Lombardy Connecticut General Assembly Siquijor Provincial Board Norfolk Legislative Assembly Essex County Council National Assembly Colorado General Assembly Leicestershire County Council New York State Legislature House of Representatives Alabama Legislature Moscow Oblast Duma Bundesrat Council of Paris Sangguniang Bayan of Bantayan Legislative Council of Barinas Nottinghamshire County Council North Yorkshire County Council Parliament of Tuvalu Legislative Council of Apure Legislative Council of Bolívar Consejo Legislativo del Estado Bolivariano de Aragua Legislative Council of Anzoátegui Oklahoma Legislature Parliament of Kenya Council of the District of Columbia National Council Legislative Council of Miranda Diet of Dalmatia General Council of Finistère Regional Council of Brittany Regional Council of Apulia Congress of Zacatecas Grand National Assembly of Turkey States of Alderney North Dakota Legislative Assembly National Assembly for Wales Jatiyo Sangshad Regional Council of Provence-Alpes-Côte d'Azur Regional Council of Poitou-Charentes Utah State Legislature Regional Council of Guadeloupe Regional Council of Basse-Normandie Missouri General Assembly Legislative Council of Delta Amacuro Legislative Council of Cojedes Regional Council of Île-de-France Regional Council of Auvergne Idaho Legislature Regional Council of Burgundy Nebraska Legislature Belgian Federal Parliament Kerala Legislative Assembly Alaska Legislature North Carolina General Assembly Sangguniang Bayan of Santa Fe Lincolnshire County Council National Legislature Regional Council of Tuscany Parliament of Barbados Regional Council of Picardy Louisiana State Legislature Sangguniang Bayan of Aloguinsan Regional Council of Upper Normandy Franche-Comté Regional Council Parliament of Tunisia Bohol Provincial Board Regional Council of Champagne-Ardenne Alsace Regional Council Aquitaine Regional Council Parliament of Saint Lucia House of Burgesses Vermont General Assembly Regional Council of Midi-Pyrénées Peterborough City Council Kentucky General Assembly Oklahoma Territorial Legislature Tagsatzung National Diet Arizona Territorial Legislature Minnesota Legislature Regional council of Trentino-Alto Adige/Südtirol Parliament of Navarre Assembly of the Representatives of the People Nevada Legislature Regional Council of Friuli-Venezia Giulia Regional Council of Lazio Montana Legislature House of Representatives Oireachtas Pontifical Commission for Vatican City State Maine Legislature San Francisco Board of Supervisors Sangguniang Bayan of Bien Unido
United States Congress, Legislative Council of Hong Kong and Regional Council of Veneto govern around the same number of states as Congress of the Dominican Republic
United States Congress Legislative Council of Hong Kong Regional Council of Veneto
action approx
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
action count
action filter_type
action find
entity Congress of the Dominican Republic
relation legislative body
type legislature
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { resource:Congress_of_the_Dominican_Republic property:legislative_body ?b . ?b rdf:type ontology:legislature } } . FILTER ( ?o = ?z ) . { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:legislative_body ?i . ?e rdf:type ontology:state . ?i rdf:type ontology:legislature } GROUP BY ?i } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1684080
P194
Q11204 Q7275
USER
And also tell me about Jatiyo Sangshad?
(c(Q7275),P194,c(Q11204))
action approx
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
action count
action filter_type
action find
entity Q1684080
relation P194
type Q11204
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?u ) WHERE { ?f rdf:type ontology:Q11204 . ?v rdf:type ontology:Q7275 . ?v property:P194 ?f } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Q1684080 property:P194 ?a . ?a rdf:type ontology:Q11204 } } . FILTER ( ?u = ?e ) }
Jatiyo Sangshad
action approx
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
action count
action filter_type
action find
entity Jatiyo Sangshad
relation legislative body
type legislature
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?u ) WHERE { ?f rdf:type ontology:legislature . ?v rdf:type ontology:state . ?v property:legislative_body ?f } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Jatiyo_Sangshad property:legislative_body ?a . ?a rdf:type ontology:legislature } } . FILTER ( ?u = ?e ) }
[]
legislature state
Q11268 Q19208 Q3687390
SYSTEM
United States Congress, Legislative Council of Hong Kong, Regional Council of Veneto
Q6064424 Q7101400 Q2518570 Q2304409 Q2650715 Q3365321 Q2656777 Q6386149 Q2867079 Q320501 Q550133 Q5692374 Q589022 Q19208 Q3556484 Q3687390 Q3687397 Q4817650 Q2994027 Q3687394 Q22330280 Q7700086 Q1643140 Q2994248 Q3084210 Q1319595 Q2993961 Q5783861 Q7681292 Q5783863 Q5783866 Q1281107 Q1149644 Q715869 Q22443329 Q22443280 Q1812873 Q22443320 Q22443322 Q22443284 Q22443324 Q595411 Q22443327 Q22360043 Q7101257 Q2564988 Q135630 Q4902948 Q2653964 Q7320919 Q2994272 Q374152 Q19211 Q530970 Q4313275 Q5261561 Q1136026 Q680806 Q2867077 Q19606559 Q2707406 Q5684411 Q11268 Q5025648 Q7010195 Q4345425 Q217799 Q330600 Q285714 Q1514096 Q6518465 Q457869 Q10566065 Q2994267 Q2994263 Q2994260 Q1386962 Q22443273 Q14562584 Q22443277 Q5783847 Q5783845 Q131279 Q5783843 Q2747168 Q5783841 Q3634937 Q22443275 Q5783849 Q2994073 Q7972258 Q5253303 Q579836 Q7008154 Q3625554 Q2993782 Q647976 Q1437547 Q1453540 Q3270273 Q764201 Q3270271 Q3270276 Q3687391 Q3270274 Q2080399 Q5783859 Q7080820 Q7986861 Q5783851 Q5783853 Q5783856 Q2747172 Q3687395 Q5161534 Q22330307 Q7051064 Q5399679 Q2386705 Q5148810 Q6386198 Q3270268 Q1484102 Q3270265 Q4303926 Q146138 Q775994 Q22443253 Q5783828 Q16934215 Q17017103 Q897278 Q5783824 Q5783833 Q5783826 Q5783821 Q583952 Q14468380 Q6527389 Q1127198 Q5783831 Q688346 Q2741727 Q2301457 Q14562680 Q5160905 Q274918 Q7604031 Q7055026 Q493517 Q1684080 Q2994252 Q2994253 Q2384499 Q2994255 Q2994239 Q6879566 Q5783839 Q5783837 Q2994234 Q2994235 Q4256974 Q2994237 Q996610 Q1137059 Q3462542 Q719894 Q10566263 Q22443256 Q16996347 Q5018721 Q3687399 Q2565909 Q2994249 Q6689290 Q22443317 Q2994245 Q2994244 Q3365495 Q4938196 Q2994241 Q2994240 Q2994243 Q1563736 Q920609 Q2867076 Q693192 Q6664413 Q6392265 Q7082403 Q250641 Q202384 Q4791449 Q1117432 Q3687389 Q2742602 Q18342090 Q3555619 Q3687386 Q3687387 Q3567567 Q17443556 Q129821 Q7478146 Q2749841 Q3658756 Q22569956
(c(Q7275),P194,c(Q11204))
action approx
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
action count
action filter_type
action find
entity Q1684080
relation P194
type Q11204
[ANSWERS]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?u ) WHERE { ?f rdf:type ontology:Q11204 . ?v rdf:type ontology:Q7275 . ?v property:P194 ?f } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Q1684080 property:P194 ?a . ?a rdf:type ontology:Q11204 } } . FILTER ( ?u = ?e ) }
Iowa General Assembly Oregon Territorial Legislature Regional Council of Rhône-Alpes South Dakota Legislature General Council of Loiret Legislative Assembly of the Falkland Islands Parliament of Transnistria Lancashire County Council New Jersey Legislature Landtag Legislative Assembly of Macau Legislative Council of Carabobo Regional Council of Lorraine Legislative Council of Hong Kong Florida Legislature Regional Council of Veneto Regional Council of Sardinia Austrian Parliament Seine-Saint-Denis General Council Regional Council of Calabria Cebu Provincial Board Tennessee General Assembly Niue Assembly Regional Council of Languedoc-Roussillon California State Legislature National Assembly general council of Meurthe-et-Moselle Legislative Council of Vargas Tamil Nadu Legislative Assembly Legislative Council of Yaracuy Legislative Council of Mérida House of Assembly of Kiribati Landtag of Liechtenstein Legislative Yuan Sangguniang Panlungsod of Carcar Sangguniang Bayan of Alcoy Legislative Assembly of El Salvador Sangguniang Panlungsod of Tagbilaran Sangguniang Panlungsod of Mandaue Sangguniang Bayan of Alegria Sangguniang Panlungsod of Lapu-Lapu Congress of the Dominican Republic Sangguniang Panlungsod of Cebu City Sangguniang Panlungsod of Naga Oregon Legislative Assembly Corsican Assembly Parliament of Catalonia National Legislature Texas Legislature Rhode Island General Assembly Regional Council of Nord-Pas-de-Calais Seimas National People's Congress Virginia General Assembly People's Assembly of the Republic of Dagestan Derbyshire County Council Congress of Guatemala National Parliament Pennsylvania General Assembly Regional Council of Auvergne-Rhône-Alpes Sicilian Regional Assembly Hawaii State Legislature United States Congress Cambridgeshire County Council New Mexico Legislature Parliament of Fiji Islands Riigikogu National Assembly of Azerbaijan Northern Ireland Assembly People's Assembly of Abkhazia Legislature of the Virgin Islands Federal Assembly of the Russian Federation Maryland General Assembly Regional Council of Limousin Regional Council of Martinique Regional Council of Pays de la Loire Legislative Assembly of Costa Rica Sangguniang Bayan of Madridejos Regional Council of Marche Sangguniang Bayan of Alcantara Legislative Council of Monagas Legislative Council of Lara Althing Legislative Council of Guárico Arkansas General Assembly Legislative Council of Falcón Indiana General Assembly Sangguniang Panlungsod of Toledo Legislative Council of Nueva Esparta Nord General Council Washington State Legislature Delaware General Assembly Legislative Council of Zulia New Hampshire General Court Legislative Assembly of the Cayman Islands Regional Council of the Aosta Valley Regional Council of Centre Illinois General Assembly Massachusetts General Court Michigan Legislature Parliament of Vanuatu Kansas Legislature Wyoming Legislature Regional Council of Abruzzo Wisconsin Legislature Parliament of Bhutan Legislative Council of Táchira Ohio General Assembly West Virginia Legislature Legislative Council of Portuguesa Legislative Council of Sucre Legislative Council of Trujillo Arizona State Legislature Regional Council of Lombardy Connecticut General Assembly Siquijor Provincial Board Norfolk Legislative Assembly Essex County Council National Assembly Colorado General Assembly Leicestershire County Council New York State Legislature House of Representatives Alabama Legislature Moscow Oblast Duma Bundesrat Council of Paris Sangguniang Bayan of Bantayan Legislative Council of Barinas Nottinghamshire County Council North Yorkshire County Council Parliament of Tuvalu Legislative Council of Apure Legislative Council of Bolívar Consejo Legislativo del Estado Bolivariano de Aragua Legislative Council of Anzoátegui Oklahoma Legislature Parliament of Kenya Council of the District of Columbia National Council Legislative Council of Miranda Diet of Dalmatia General Council of Finistère Regional Council of Brittany Regional Council of Apulia Congress of Zacatecas Grand National Assembly of Turkey States of Alderney North Dakota Legislative Assembly National Assembly for Wales Jatiyo Sangshad Regional Council of Provence-Alpes-Côte d'Azur Regional Council of Poitou-Charentes Utah State Legislature Regional Council of Guadeloupe Regional Council of Basse-Normandie Missouri General Assembly Legislative Council of Delta Amacuro Legislative Council of Cojedes Regional Council of Île-de-France Regional Council of Auvergne Idaho Legislature Regional Council of Burgundy Nebraska Legislature Belgian Federal Parliament Kerala Legislative Assembly Alaska Legislature North Carolina General Assembly Sangguniang Bayan of Santa Fe Lincolnshire County Council National Legislature Regional Council of Tuscany Parliament of Barbados Regional Council of Picardy Louisiana State Legislature Sangguniang Bayan of Aloguinsan Regional Council of Upper Normandy Franche-Comté Regional Council Parliament of Tunisia Bohol Provincial Board Regional Council of Champagne-Ardenne Alsace Regional Council Aquitaine Regional Council Parliament of Saint Lucia House of Burgesses Vermont General Assembly Regional Council of Midi-Pyrénées Peterborough City Council Kentucky General Assembly Oklahoma Territorial Legislature Tagsatzung National Diet Arizona Territorial Legislature Minnesota Legislature Regional council of Trentino-Alto Adige/Südtirol Parliament of Navarre Assembly of the Representatives of the People Nevada Legislature Regional Council of Friuli-Venezia Giulia Regional Council of Lazio Montana Legislature House of Representatives Oireachtas Pontifical Commission for Vatican City State Maine Legislature San Francisco Board of Supervisors Sangguniang Bayan of Bien Unido
United States Congress Legislative Council of Hong Kong Regional Council of Veneto
action approx
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
action count
action filter_type
action find
entity Jatiyo Sangshad
relation legislative body
type legislature
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?u ) WHERE { ?f rdf:type ontology:legislature . ?v rdf:type ontology:state . ?v property:legislative_body ?f } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { resource:Jatiyo_Sangshad property:legislative_body ?a . ?a rdf:type ontology:legislature } } . FILTER ( ?u = ?e ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q11268 Q19208 Q3687390
P17
Q15617994
USER
Which administrative territories are those legislatures situated in ?
(Q11268,P17,c(Q15617994)) (Q19208,P17,c(Q15617994)) (Q3687390,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q11268', 'P17', {'concept': 'Q15617994'}] ['Q19208', 'P17', {'concept': 'Q15617994'}] ['Q3687390', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . ?z property:P17 ?t . VALUES ( ?z ) { ( resource:Q6064424 ) ( resource:Q7101400 ) ( resource:Q2518570 ) } }
United States Congress Legislative Council of Hong Kong Regional Council of Veneto
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['United States Congress', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Legislative Council of Hong Kong', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Regional Council of Veneto', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:country ?t . VALUES ( ?z ) { ( resource:Iowa_General_Assembly ) ( resource:Oregon_Territorial_Legislature ) ( resource:Regional_Council_of_Rhône-Alpes ) } }
[]
designation for an administrative territorial entity
Q30 Q148 Q38
SYSTEM
United States of America, People's Republic of China, Italy
Q30 Q148 Q38
(Q11268,P17,c(Q15617994)) (Q19208,P17,c(Q15617994)) (Q3687390,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those legislatures are situated in [ANSWERS]
['Q11268', 'P17', {'concept': 'Q15617994'}] ['Q19208', 'P17', {'concept': 'Q15617994'}] ['Q3687390', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . ?z property:P17 ?t . VALUES ( ?z ) { ( resource:Q6064424 ) ( resource:Q7101400 ) ( resource:Q2518570 ) } }
United States of America People's Republic of China Italy
Those legislatures are situated in United States of America, People's Republic of China and Italy
United States of America People's Republic of China Italy
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['United States Congress', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Legislative Council of Hong Kong', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Regional Council of Veneto', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:country ?t . VALUES ( ?z ) { ( resource:Iowa_General_Assembly ) ( resource:Oregon_Territorial_Legislature ) ( resource:Regional_Council_of_Rhône-Alpes ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q30 Q148 Q38
P6
Q502895
USER
Who are the heads of the government of United States of America, People's Republic of China and Italy ?
(Q30,P6,c(Q502895)) (Q148,P6,c(Q502895)) (Q38,P6,c(Q502895))
action union
action filter_type
action find
entity Q30
relation P6
type Q502895
action filter_type
action find
entity Q148
relation P6
type Q502895
action filter_type
action find
entity Q38
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}] ['Q148', 'P6', {'concept': 'Q502895'}] ['Q38', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { resource:Q30 property:P6 ?e . ?e rdf:type ontology:Q502895 } UNION { resource:Q148 property:P6 ?e . ?e rdf:type ontology:Q502895 } }
United States of America People's Republic of China Italy
action union
action filter_type
action find
entity United States of America
relation head of government
type common name
action filter_type
action find
entity People's Republic of China
relation head of government
type common name
action filter_type
action find
entity Italy
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}] ["People's Republic of China", 'head of government', {'concept': 'common name'}] ['Italy', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { resource:United_States_of_America property:head_of_government ?e . ?e rdf:type ontology:common_name } UNION { resource:People's_Republic_of_China property:head_of_government ?e . ?e rdf:type ontology:common_name } }
[]
common name
Q76 Q9916 Q22686
SYSTEM
Barack Obama, Dwight D. Eisenhower, Donald Trump
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q9588 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891 Q99829 Q41570 Q18111 Q18285 Q18301 Q17410 Q16628 Q47563 Q674957
(Q30,P6,c(Q502895)) (Q148,P6,c(Q502895)) (Q38,P6,c(Q502895))
action union
action filter_type
action find
entity Q30
relation P6
type Q502895
action filter_type
action find
entity Q148
relation P6
type Q502895
action filter_type
action find
entity Q38
relation P6
type Q502895
The heads of the government of United States of America , People's Republic of China and Italy are President [ANSWERS]
['Q30', 'P6', {'concept': 'Q502895'}] ['Q148', 'P6', {'concept': 'Q502895'}] ['Q38', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { resource:Q30 property:P6 ?e . ?e rdf:type ontology:Q502895 } UNION { resource:Q148 property:P6 ?e . ?e rdf:type ontology:Q502895 } }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk Zhao Ziyang Hua Guofeng Li Keqiang Zhu Rongji Li Peng Zhou Enlai Wen Jiabao Matteo Renzi Enrico Letta
The heads of the government of United States of America , People's Republic of China and Italy are President Barack Obama, Dwight D. Eisenhower and Donald Trump
Barack Obama Dwight D. Eisenhower Donald Trump
action union
action filter_type
action find
entity United States of America
relation head of government
type common name
action filter_type
action find
entity People's Republic of China
relation head of government
type common name
action filter_type
action find
entity Italy
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}] ["People's Republic of China", 'head of government', {'concept': 'common name'}] ['Italy', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { resource:United_States_of_America property:head_of_government ?e . ?e rdf:type ontology:common_name } UNION { resource:People's_Republic_of_China property:head_of_government ?e . ?e rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q9916
P39
Q4164871
USER
What was a position held by that person ?
(Q9916,P39,c(Q4164871))
action filter_type
action find
entity Q9916
relation P39
type Q4164871
['Q9916', 'P39', {'concept': 'Q4164871'}]
SELECT DISTINCT ?k WHERE { resource:Q9916 property:P39 ?k . ?k rdf:type ontology:Q4164871 }
Dwight D. Eisenhower
action filter_type
action find
entity Dwight D. Eisenhower
relation position held
type position
['Dwight D. Eisenhower', 'position held', {'concept': 'position'}]
SELECT DISTINCT ?k WHERE { resource:Dwight_D._Eisenhower property:position_held ?k . ?k rdf:type ontology:position }
[]
position
Clarification for simple ques.
Q9916
SYSTEM
Did you mean Dwight D. Eisenhower ?
Q76 Q9916 Q22686
(Q76,P39,c(Q4164871)) (Q9916,P39,c(Q4164871)) (Q22686,P39,c(Q4164871))
[ANSWER]
['Q76', 'P39', {'concept': 'Q4164871'}] ['Q9916', 'P39', {'concept': 'Q4164871'}] ['Q22686', 'P39', {'concept': 'Q4164871'}]
SELECT DISTINCT ?k WHERE { resource:Q9916 property:P39 ?k . ?k rdf:type ontology:Q4164871 }
Barack Obama Dwight D. Eisenhower Donald Trump
Did you mean Dwight D. Eisenhower ?
Dwight D. Eisenhower
['Barack Obama', 'position held', {'concept': 'position'}] ['Dwight D. Eisenhower', 'position held', {'concept': 'position'}] ['Donald Trump', 'position held', {'concept': 'position'}]
SELECT DISTINCT ?k WHERE { resource:Dwight_D._Eisenhower property:position_held ?k . ?k rdf:type ontology:position }
[]
Simple Question (Coreferenced)
USER
Yes
(Q9916,P39,c(Q4164871))
['Q9916', 'P39', {'concept': 'Q4164871'}]
['Dwight D. Eisenhower', 'position held', {'concept': 'position'}]
[]
Q1640949
SYSTEM
Supreme Allied Commander
Q1640949
(Q9916,P39,c(Q4164871))
action filter_type
action find
entity Q9916
relation P39
type Q4164871
A position held by that person was the [ANSWER]
['Q9916', 'P39', {'concept': 'Q4164871'}]
SELECT DISTINCT ?k WHERE { resource:Q9916 property:P39 ?k . ?k rdf:type ontology:Q4164871 }
Supreme Allied Commander
A position held by that person was the Supreme Allied Commander
Supreme Allied Commander
action filter_type
action find
entity Dwight D. Eisenhower
relation position held
type position
['Dwight D. Eisenhower', 'position held', {'concept': 'position'}]
SELECT DISTINCT ?k WHERE { resource:Dwight_D._Eisenhower property:position_held ?k . ?k rdf:type ontology:position }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q61394 Q3687390
P1001 P17
Q15617994
USER
Which administrative territories are judicially linked to Regional Council of Veneto or do Latur belong to ?
OR((Q3687390,P1001,c(Q15617994)), (Q61394,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3687390
relation P1001
action find
entity Q61394
relation P17
type Q15617994
{'OR': [['Q3687390', 'P1001', {'concept': 'Q15617994'}], ['Q61394', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q3687390 property:P1001 ?t } UNION { resource:Q61394 property:P17 ?t } } . ?t rdf:type ontology:Q15617994 }
Latur Regional Council of Veneto
action filter_type
action union
action find
entity Regional Council of Veneto
relation applies to jurisdiction
action find
entity Latur
relation country
type designation for an administrative territorial entity
{'OR': [['Regional Council of Veneto', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Latur', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Regional_Council_of_Veneto property:applies_to_jurisdiction ?t } UNION { resource:Latur property:country ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1243 Q668
SYSTEM
Veneto, India
Q1243 Q668
OR((Q3687390,P1001,c(Q15617994)), (Q61394,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3687390
relation P1001
action find
entity Q61394
relation P17
type Q15617994
[ANSWERS] are judicially linked to Regional Council of Veneto or do Latur belong to
{'OR': [['Q3687390', 'P1001', {'concept': 'Q15617994'}], ['Q61394', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q3687390 property:P1001 ?t } UNION { resource:Q61394 property:P17 ?t } } . ?t rdf:type ontology:Q15617994 }
Veneto India
Veneto and India are judicially linked to Regional Council of Veneto or do Latur belong to
Veneto India
action filter_type
action union
action find
entity Regional Council of Veneto
relation applies to jurisdiction
action find
entity Latur
relation country
type designation for an administrative territorial entity
{'OR': [['Regional Council of Veneto', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Latur', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Regional_Council_of_Veneto property:applies_to_jurisdiction ?t } UNION { resource:Latur property:country ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]