Simple Question (Direct)
Simple Question
Q4089607
P166
Q618779
USER
Which awards were received by Vladislav Bogomolov ?
(Q4089607,P166,c(Q618779))
action filter_type
action find
entity Q4089607
relation P166
type Q618779
['Q4089607', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q4089607 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Vladislav Bogomolov
action filter_type
action find
entity Vladislav Bogomolov
relation award received
type award
['Vladislav Bogomolov', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Vladislav_Bogomolov property:award_received ?u . ?u rdf:type ontology:award }
[]
award
Q208167 Q185493 Q728960
SYSTEM
Hero of Socialist Labour, Order of Lenin, Order of the October Revolution
Q208167 Q185493 Q728960
(Q4089607,P166,c(Q618779))
action filter_type
action find
entity Q4089607
relation P166
type Q618779
[ANSWERS] were received by Vladislav Bogomolov
['Q4089607', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q4089607 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Hero of Socialist Labour Order of Lenin Order of the October Revolution
Hero of Socialist Labour, Order of Lenin and Order of the October Revolution were received by Vladislav Bogomolov
Hero of Socialist Labour Order of Lenin Order of the October Revolution
action filter_type
action find
entity Vladislav Bogomolov
relation award received
type award
['Vladislav Bogomolov', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Vladislav_Bogomolov property:award_received ?u . ?u rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4089607
P21
Q290
USER
What is the sex of Vladislav Bogomolov ?
(Q4089607,P21,c(Q290))
action filter_type
action find
entity Q4089607
relation P21
type Q290
['Q4089607', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q4089607 property:P21 ?r . ?r rdf:type ontology:Q290 }
Vladislav Bogomolov
action filter_type
action find
entity Vladislav Bogomolov
relation gender
type sex
['Vladislav Bogomolov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Vladislav_Bogomolov property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4089607,P21,c(Q290))
action filter_type
action find
entity Q4089607
relation P21
type Q290
The sex of Vladislav Bogomolov is the [ANSWER]
['Q4089607', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q4089607 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
The sex of Vladislav Bogomolov is the male
male
action filter_type
action find
entity Vladislav Bogomolov
relation gender
type sex
['Vladislav Bogomolov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Vladislav_Bogomolov property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4089607
P27
Q7275
USER
Which state is the native country of that person ?
(Q6581097,P27,c(Q7275))
action filter_type
action find
entity Q4089607
relation P27
type Q7275
['Q6581097', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q4089607 property:P27 ?h . ?h rdf:type ontology:Q7275 }
Vladislav Bogomolov
action filter_type
action find
entity Vladislav Bogomolov
relation country of citizenship
type state
['male', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:Vladislav_Bogomolov property:country_of_citizenship ?h . ?h rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q6581097,P27,c(Q7275))
action filter_type
action find
entity Q4089607
relation P27
type Q7275
[ANSWER] is the native country of that person
['Q6581097', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q4089607 property:P27 ?h . ?h rdf:type ontology:Q7275 }
Soviet Union
Soviet Union is the native country of that person
Soviet Union
action filter_type
action find
entity Vladislav Bogomolov
relation country of citizenship
type state
['male', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:Vladislav_Bogomolov property:country_of_citizenship ?h . ?h rdf:type ontology:state }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q1752346 Q7275
USER
Which assemblies are the legislative bodies for atleast 1 state ?
(c(Q7275),P194,c(Q1752346))
action atleast
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
value 1
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:P194 ?c . ?m rdf:type ontology:Q7275 . ?c rdf:type ontology:Q1752346 } GROUP BY ?c } . FILTER ( ?e >= 1 ) }
action atleast
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
value 1
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:legislative_body ?c . ?m rdf:type ontology:state . ?c rdf:type ontology:assembly } GROUP BY ?c } . FILTER ( ?e >= 1 ) }
[]
assembly state
Q157638 Q641439 Q1371388
SYSTEM
Frankfurt Parliament, Landtag of Bavaria, States General
Q949699 Q17063844 Q1283189 Q1889821 Q1813360 Q650248 Q641439 Q2282872 Q11010 Q1371388 Q371576 Q1116283 Q643412 Q17064146 Q2739604 Q1130737 Q648716 Q35749 Q1484825 Q157638 Q219825 Q321246 Q7253170 Q697775 Q632552 Q1269552 Q878525 Q639704 Q1320418 Q7447087 Q3393882 Q219692 Q637829 Q667464 Q189445
(c(Q7275),P194,c(Q1752346))
action atleast
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
value 1
[ANSWERS] are the legislative bodies for atleast 1 state
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:P194 ?c . ?m rdf:type ontology:Q7275 . ?c rdf:type ontology:Q1752346 } GROUP BY ?c } . FILTER ( ?e >= 1 ) }
National Congress of Brasil Kampuchean People's Representative Assembly Estates of Aruba Irish Parliament Parliament of Romania Landtag of Prussia Landtag of Bavaria diet Parliament of the United Kingdom States General Parliament of Croatia National Assembly Parliament of Finland Parliament of the Khmer Republic Parliament of Great Britain Parliament of England National Assembly parliament Congress of the Union Frankfurt Parliament National Convention Reichstag Prussian estates Imperial Council French Parliament Dáil Éireann Reichstag National Assembly Parliament of Cambodia Sejm of the Duchy of Warsaw Junta of the Kingdom of Galicia Cortes Generales Reichstag Diet of Galicia and Lodomeria bicameral legislature
Frankfurt Parliament, Landtag of Bavaria and States General are the legislative bodies for atleast 1 state
Frankfurt Parliament Landtag of Bavaria States General
action atleast
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
value 1
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:legislative_body ?c . ?m rdf:type ontology:state . ?c rdf:type ontology:assembly } GROUP BY ?c } . FILTER ( ?e >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q967016 Q2429253
P112
Q1002697
USER
How many periodical literatures were started by Umberto Malvano or Islamic State of Iraq and the Levant ?
(c(Q1002697),P112,Q967016) (c(Q1002697),P112,Q2429253)
action count
action union
action filter_type
action find_reverse
entity Q967016
relation P112
type Q1002697
action filter_type
action find_reverse
entity Q2429253
relation P112
type Q1002697
[{'concept': 'Q1002697'}, 'P112', 'Q967016'] [{'concept': 'Q1002697'}, 'P112', 'Q2429253']
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { ?h property:P112 resource:Q2429253 . ?h rdf:type ontology:Q1002697 } UNION { ?h property:P112 resource:Q967016 . ?h rdf:type ontology:Q1002697 } }
Umberto Malvano Islamic State of Iraq and the Levant
action count
action union
action filter_type
action find_reverse
entity Umberto Malvano
relation founder
type periodical literature
action filter_type
action find_reverse
entity Islamic State of Iraq and the Levant
relation founder
type periodical literature
[{'concept': 'periodical literature'}, 'founder', 'Umberto Malvano'] [{'concept': 'periodical literature'}, 'founder', 'Islamic State of Iraq and the Levant']
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { ?h property:founder resource:Islamic_State_of_Iraq_and_the_Levant . ?h rdf:type ontology:periodical_literature } UNION { ?h property:founder resource:Umberto_Malvano . ?h rdf:type ontology:periodical_literature } }
[]
periodical literature
SYSTEM
2
Q22079963 Q22907637
(c(Q1002697),P112,Q967016) (c(Q1002697),P112,Q2429253)
action count
action union
action filter_type
action find_reverse
entity Q967016
relation P112
type Q1002697
action filter_type
action find_reverse
entity Q2429253
relation P112
type Q1002697
[ANSWER]
[{'concept': 'Q1002697'}, 'P112', 'Q967016'] [{'concept': 'Q1002697'}, 'P112', 'Q2429253']
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { ?h property:P112 resource:Q2429253 . ?h rdf:type ontology:Q1002697 } UNION { ?h property:P112 resource:Q967016 . ?h rdf:type ontology:Q1002697 } }
Konstantiniyye Dar al-Islam
2
action count
action union
action filter_type
action find_reverse
entity Umberto Malvano
relation founder
type periodical literature
action filter_type
action find_reverse
entity Islamic State of Iraq and the Levant
relation founder
type periodical literature
[{'concept': 'periodical literature'}, 'founder', 'Umberto Malvano'] [{'concept': 'periodical literature'}, 'founder', 'Islamic State of Iraq and the Levant']
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { ?h property:founder resource:Islamic_State_of_Iraq_and_the_Levant . ?h rdf:type ontology:periodical_literature } UNION { ?h property:founder resource:Umberto_Malvano . ?h rdf:type ontology:periodical_literature } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q49683
P194
Q1752346 Q7275
USER
Which states have more number of assemblies as their representative body than Grand Duchy of Lithuania ?
(c(Q7275),P194,c(Q1752346))
action greater
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action count
action filter_type
action find
entity Q49683
relation P194
type Q7275
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?m ) WHERE { ?q property:P194 ?x . ?q rdf:type ontology:Q7275 . ?x rdf:type ontology:Q1752346 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { resource:Q49683 property:P194 ?b . ?b rdf:type ontology:Q7275 } } . FILTER ( ?m > ?u ) }
Grand Duchy of Lithuania
action greater
action find_tuple_counts
relation legislative body
type state
type assembly
action count
action filter_type
action find
entity Grand Duchy of Lithuania
relation legislative body
type state
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?m ) WHERE { ?q property:legislative_body ?x . ?q rdf:type ontology:state . ?x rdf:type ontology:assembly } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { resource:Grand_Duchy_of_Lithuania property:legislative_body ?b . ?b rdf:type ontology:state } } . FILTER ( ?m > ?u ) }
[]
assembly state
Q980 Q131964 Q518101
SYSTEM
Bavaria, Austrian Empire, First Republic of Austria
Q774783 Q70802 Q152115 Q121932 Q7318 Q18285930 Q179876 Q207162 Q174193 Q330988 Q27306 Q533558 Q1044536 Q21203 Q131964 Q215530 Q161885 Q2638486 Q1789596 Q203493 Q147909 Q980 Q58202 Q150981 Q518101 Q16410 Q15864 Q844250 Q303421 Q2396442 Q71092 Q217230 Q170072 Q146328 Q58296 Q371334 Q156038 Q824489 Q1140152 Q615902 Q1077630 Q154195 Q285658 Q156020 Q1054184 Q161036 Q41304
(c(Q7275),P194,c(Q1752346))
action greater
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action count
action filter_type
action find
entity Q49683
relation P194
type Q7275
[ANSWERS] have more number of assemblies as their representative body than Grand Duchy of Lithuania
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?m ) WHERE { ?q property:P194 ?x . ?q rdf:type ontology:Q7275 . ?x rdf:type ontology:Q1752346 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { resource:Q49683 property:P194 ?b . ?b rdf:type ontology:Q7275 } } . FILTER ( ?m > ?u ) }
Sovereign Principality of the United Netherlands French Third Republic Duchy of Warsaw People's Republic of Bulgaria Nazi Germany German Empire of 1848/1849 Kingdom of England Bourbon Restoration United Kingdom of Great Britain and Ireland Democratic Kampuchea Kingdom of Prussia Kingdom of Croatia-Slavonia Spain under the Restoration Aruba Austrian Empire Kingdom of Ireland Kingdom of Great Britain Kingdom of Cambodia Croatia in personal union with Hungary Kingdom of Romania Kingdom of Bulgaria Bavaria July Monarchy North German Confederation First Republic of Austria People's Republic of Hungary United Kingdom of the Netherlands Lordship of Ireland Kingdom of Galicia Kingdom of Galicia and Lodomeria Second French Empire Empire of Brazil Dutch Republic Commonwealth of the Philippines French Republic Second Mexican Empire Duchy of Courland and Semigallia Estado Novo Irish Republic Kingdom of Finland Septinsular Republic Kingdom of Bavaria First Mexican Empire State of the Teutonic Order Khmer Republic Free State of Prussia Weimar Republic
Bavaria, Austrian Empire and First Republic of Austria have more number of assemblies as their representative body than Grand Duchy of Lithuania
Bavaria Austrian Empire First Republic of Austria
action greater
action find_tuple_counts
relation legislative body
type state
type assembly
action count
action filter_type
action find
entity Grand Duchy of Lithuania
relation legislative body
type state
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?m ) WHERE { ?q property:legislative_body ?x . ?q rdf:type ontology:state . ?x rdf:type ontology:assembly } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { resource:Grand_Duchy_of_Lithuania property:legislative_body ?b . ?b rdf:type ontology:state } } . FILTER ( ?m > ?u ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q16063428 Q980
P27 P17
Q1048835
USER
Which political territories do Bavaria belong to and are the native countriesof Carl Bekker ?
AND((Q980,P17,c(Q1048835)), (Q16063428,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q980
relation P17
action find
entity Q16063428
relation P27
type Q1048835
{'AND': [['Q980', 'P17', {'concept': 'Q1048835'}], ['Q16063428', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . resource:Q980 property:P17 ?n . resource:Q16063428 property:P27 ?n }
Carl Bekker Bavaria
action filter_type
action intersection
action find
entity Bavaria
relation country
action find
entity Carl Bekker
relation country of citizenship
type political territorial entity
{'AND': [['Bavaria', 'country', {'concept': 'political territorial entity'}], ['Carl Bekker', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . resource:Bavaria property:country ?n . resource:Carl_Bekker property:country_of_citizenship ?n }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q980,P17,c(Q1048835)), (Q16063428,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q980
relation P17
action find
entity Q16063428
relation P27
type Q1048835
Carl Bekker Bavaria belong to [ANSWER] and are the native countriesof
{'AND': [['Q980', 'P17', {'concept': 'Q1048835'}], ['Q16063428', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . resource:Q980 property:P17 ?n . resource:Q16063428 property:P27 ?n }
Germany
Carl Bekker Bavaria belong to Germany and are the native countriesof
Germany
action filter_type
action intersection
action find
entity Bavaria
relation country
action find
entity Carl Bekker
relation country of citizenship
type political territorial entity
{'AND': [['Bavaria', 'country', {'concept': 'political territorial entity'}], ['Carl Bekker', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . resource:Bavaria property:country ?n . resource:Carl_Bekker property:country_of_citizenship ?n }
[]