Simple Question (Direct)
Simple Question
Q21408078
P1412
Q34770
USER
Which language is Jenny Jaeger capable of writing ?
(Q21408078,P1412,c(Q34770))
action filter_type
action find
entity Q21408078
relation P1412
type Q34770
['Q21408078', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q21408078 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Jenny Jaeger
action filter_type
action find
entity Jenny Jaeger
relation languages spoken, written or signed
type language
['Jenny Jaeger', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Jenny_Jaeger property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q21408078,P1412,c(Q34770))
action filter_type
action find
entity Q21408078
relation P1412
type Q34770
[ANSWER] is Jenny Jaeger capable of writing
['Q21408078', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q21408078 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
English
English is Jenny Jaeger capable of writing
English
action filter_type
action find
entity Jenny Jaeger
relation languages spoken, written or signed
type language
['Jenny Jaeger', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Jenny_Jaeger property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21408078
P27
Q7275
USER
Which state is Jenny Jaeger a civilian of ?
(Q21408078,P27,c(Q7275))
action filter_type
action find
entity Q21408078
relation P27
type Q7275
['Q21408078', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?z WHERE { resource:Q21408078 property:P27 ?z . ?z rdf:type ontology:Q7275 }
Jenny Jaeger
action filter_type
action find
entity Jenny Jaeger
relation country of citizenship
type state
['Jenny Jaeger', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?z WHERE { resource:Jenny_Jaeger property:country_of_citizenship ?z . ?z rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q21408078,P27,c(Q7275))
action filter_type
action find
entity Q21408078
relation P27
type Q7275
[ANSWER] is Jenny Jaeger a civilian of
['Q21408078', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?z WHERE { resource:Q21408078 property:P27 ?z . ?z rdf:type ontology:Q7275 }
Soviet Union
Soviet Union is Jenny Jaeger a civilian of
Soviet Union
action filter_type
action find
entity Jenny Jaeger
relation country of citizenship
type state
['Jenny Jaeger', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?z WHERE { resource:Jenny_Jaeger property:country_of_citizenship ?z . ?z rdf:type ontology:state }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q14539181
Q7275
USER
And also tell me about Victor Remsha?
(Q14539181,P27,c(Q7275))
action filter_type
action find
entity Q14539181
relation P27
type Q7275
['Q14539181', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q7275 . resource:Q14539181 property:P27 ?v }
Victor Remsha
action filter_type
action find
entity Victor Remsha
relation country of citizenship
type state
['Victor Remsha', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:state . resource:Victor_Remsha property:country_of_citizenship ?v }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q14539181,P27,c(Q7275))
action filter_type
action find
entity Q14539181
relation P27
type Q7275
[ANSWER]
['Q14539181', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q7275 . resource:Q14539181 property:P27 ?v }
Soviet Union
Soviet Union
action filter_type
action find
entity Victor Remsha
relation country of citizenship
type state
['Victor Remsha', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:state . resource:Victor_Remsha property:country_of_citizenship ?v }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q15180 Q132899
P6
Q502895
USER
Is that state the head of goverment of Vyacheslav Molotov ?
(Q15180,P6,Q132899)
action is_in
entity Q132899
action find
entity Q15180
relation P6
['Q15180', 'P6', 'Q132899']
ASK WHERE { resource:Q15180 property:P6 resource:Q132899 }
Soviet Union Vyacheslav Molotov
action is_in
entity Vyacheslav Molotov
action find
entity Soviet Union
relation head of government
['Soviet Union', 'head of government', 'Vyacheslav Molotov']
ASK WHERE { resource:Soviet_Union property:head_of_government resource:Vyacheslav_Molotov }
[]
common name
SYSTEM
YES
(Q15180,P6,Q132899)
action is_in
entity Q132899
action find
entity Q15180
relation P6
[ANSWER]
['Q15180', 'P6', 'Q132899']
ASK WHERE { resource:Q15180 property:P6 resource:Q132899 }
Yes
action is_in
entity Vyacheslav Molotov
action find
entity Soviet Union
relation head of government
['Soviet Union', 'head of government', 'Vyacheslav Molotov']
ASK WHERE { resource:Soviet_Union property:head_of_government resource:Vyacheslav_Molotov }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P85
Q7725634 Q484692 Q7275
USER
How many states have atmost 1 literary works or hymns as their anthem ?
(c(Q7275),P85,c(Q7725634)|c(Q484692))
action count
action atmost
action union
action find_tuple_counts
relation P85
type Q7275
type Q7725634
action find_tuple_counts
relation P85
type Q7275
type Q484692
value 1
[{'concept': 'Q7275'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) ?t WHERE { VALUES ( ?o ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?d rdf:type ?o } GROUP BY ?t } . FILTER ( ?q <= 1 ) }
action count
action atmost
action union
action find_tuple_counts
relation anthem
type state
type literary work
action find_tuple_counts
relation anthem
type state
type hymn
value 1
[{'concept': 'state'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) ?t WHERE { VALUES ( ?o ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?d rdf:type ?o } GROUP BY ?t } . FILTER ( ?q <= 1 ) }
[]
literary work hymn state
SYSTEM
126
Q241748 Q211853 Q180573 Q70802 Q842931 Q797527 Q1274468 Q2414171 Q218023 Q245160 Q25279 Q174193 Q965174 Q233263 Q1028835 Q330988 Q139670 Q27306 Q457167 Q533558 Q167360 Q1044536 Q209065 Q21203 Q713750 Q209062 Q1998866 Q207162 Q11196 Q2006542 Q131964 Q133356 Q2454585 Q33946 Q83572 Q191077 Q2638486 Q28278 Q16957 Q1649871 Q941881 Q870055 Q842794 Q1057542 Q652560 Q550374 Q178038 Q30623 Q203493 Q867778 Q147909 Q980 Q58202 Q1709185 Q154401 Q180393 Q112558 Q252580 Q518101 Q37024 Q16410 Q153128 Q83286 Q210036 Q173761 Q207272 Q25227 Q797214 Q15864 Q738144 Q36704 Q950644 Q153015 Q49910 Q386496 Q696242 Q71092 Q217230 Q4843701 Q170072 Q170174 Q212056 Q210542 Q7318 Q1072140 Q170468 Q146328 Q248452 Q8733 Q58296 Q371334 Q853348 Q824489 Q2342822 Q189988 Q1192936 Q615902 Q708865 Q498735 Q837136 Q491559 Q154195 Q1072362 Q1775277 Q121932 Q146761 Q153660 Q769782 Q70972 Q497777 Q13131807 Q206411 Q12548 Q211274 Q6500954 Q26988 Q26273 Q139319 Q171150 Q487687 Q370736 Q541455 Q41304 Q797422 Q216173 Q178469
(c(Q7275),P85,c(Q7725634)|c(Q484692))
action count
action atmost
action union
action find_tuple_counts
relation P85
type Q7275
type Q7725634
action find_tuple_counts
relation P85
type Q7275
type Q484692
value 1
[ANSWER]
[{'concept': 'Q7275'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) ?t WHERE { VALUES ( ?o ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?d rdf:type ?o } GROUP BY ?t } . FILTER ( ?q <= 1 ) }
Kingdom of Serbia Republic of Serbian Krajina South Vietnam French Third Republic East Pakistan British Togoland Republic of Bosnia and Herzegovina First Brazilian Republic Orange Free State Democratic Republic of Georgia Curaçao United Kingdom of Great Britain and Ireland Coalition Provisional Authority Second Republic of South Korea British Cameroons Democratic Kampuchea Democratic Republic of Armenia Kingdom of Prussia West Ukrainian People's Republic Kingdom of Croatia-Slavonia First Portuguese Republic Spain under the Restoration Kingdom of Greece Aruba West Germany Socialist Republic of Croatia Czech and Slovak Federal Republic Bourbon Restoration Republika Srpska Dominion of Pakistan Austrian Empire Ukrainian Soviet Socialist Republic History of Czechoslovakia Czechoslovakia Sikh Empire Kingdom of Yugoslavia Kingdom of Cambodia Provisional Government of the Republic of Korea East Germany Kingdom of Poland Netherlands New Guinea Kingdom of Laos Socialist Republic of Romania Republic of Hawaii West Indies Federation South African Republic Second Spanish Republic Manchukuo Kingdom of Romania People's Republic of Kampuchea Kingdom of Bulgaria Bavaria July Monarchy Kingdom of Spain under Joseph Bonaparte Slovak Republic Kingdom of the Two Sicilies Republic of Saugeais Duchy of Modena and Reggio First Republic of Austria Serbia and Montenegro People's Republic of Hungary Independent State of Croatia Socialist Federal Republic of Yugoslavia Chechen Republic of Ichkeria Lithuanian Soviet Socialist Republic Second Polish Republic Netherlands Antilles French Togoland United Kingdom of the Netherlands United Provinces of the Río de la Plata Yugoslavia Carpatho-Ukraine Kingdom of Saxony Colony of Aden Kingdom of Montenegro Reorganized National Government of China Second French Empire Empire of Brazil Libyan Arab Jamahiriya Dutch Republic Papal States Mongolian People's Republic Second Brazilian Republic Nazi Germany Roman Republic United Arab Republic Commonwealth of the Philippines British North America Qing dynasty French Republic Second Mexican Empire Czechoslovak Socialist Republic Estado Novo West Pakistan Central African Empire Kingdom of Burundi Kingdom of Finland Reformed Government of the Republic of China division of Korea Kingdom of Deheubarth First Republic of South Korea Kingdom of Bavaria Provisional Revolutionary Government of the Republic of South Vietnam Dominion of India People's Republic of Bulgaria Hatay State Italian Social Republic Kingdom of Powys Kingdom of France First Spanish Republic Kindom of Morgannwg Democratic Republic of Azerbaijan Holy Roman Empire People's Republic of Poland Zaire Cook Islands Sint Maarten Russian Republic Kingdom of Hungary Third Republic of South Korea Cape Colony Anglo-Egyptian Sudan Weimar Republic Republic of Upper Volta Free City of Danzig Biafra
126
action count
action atmost
action union
action find_tuple_counts
relation anthem
type state
type literary work
action find_tuple_counts
relation anthem
type state
type hymn
value 1
[{'concept': 'state'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) ?t WHERE { VALUES ( ?o ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?d rdf:type ?o } GROUP BY ?t } . FILTER ( ?q <= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1860
P37
Q7275 Q476300
USER
How many states and competitions designates English as their official language ?
(c(Q7275),P37,Q1860) (c(Q476300),P37,Q1860)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P37
type Q7275
action filter_type
action find_reverse
entity Q1860
relation P37
type Q476300
[{'concept': 'Q7275'}, 'P37', 'Q1860'] [{'concept': 'Q476300'}, 'P37', 'Q1860']
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { ?y property:P37 resource:Q1860 . ?y rdf:type ontology:Q7275 } UNION { ?y property:P37 resource:Q1860 . ?y rdf:type ontology:Q476300 } }
English
action count
action union
action filter_type
action find_reverse
entity English
relation official language
type state
action filter_type
action find_reverse
entity English
relation official language
type competition
[{'concept': 'state'}, 'official language', 'English'] [{'concept': 'competition'}, 'official language', 'English']
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { ?y property:official_language resource:English . ?y rdf:type ontology:state } UNION { ?y property:official_language resource:English . ?y rdf:type ontology:competition } }
[]
state competition
SYSTEM
14 states and 1 competitions
Q26988 Q25279 Q161376 Q26273 Q551798 Q6083755 Q19801186 Q2353425 Q1123960 Q1194329 Q1423680 Q25227 Q1152445 Q744042 Q1083009
(c(Q7275),P37,Q1860) (c(Q476300),P37,Q1860)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P37
type Q7275
action filter_type
action find_reverse
entity Q1860
relation P37
type Q476300
[ANSWER]
[{'concept': 'Q7275'}, 'P37', 'Q1860'] [{'concept': 'Q476300'}, 'P37', 'Q1860']
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { ?y property:P37 resource:Q1860 . ?y rdf:type ontology:Q7275 } UNION { ?y property:P37 resource:Q1860 . ?y rdf:type ontology:Q476300 } }
Cook Islands Curaçao Miss Universe Sint Maarten Grand Duchy of Flandrensis Islands of Refreshment Liberland Talossa Conch Republic Nova Roma Gay and Lesbian Kingdom of the Coral Sea Islands Netherlands Antilles Aerican Empire Grand Duchy of Avram Principality of Wy
14 states and 1 competitions
action count
action union
action filter_type
action find_reverse
entity English
relation official language
type state
action filter_type
action find_reverse
entity English
relation official language
type competition
[{'concept': 'state'}, 'official language', 'English'] [{'concept': 'competition'}, 'official language', 'English']
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { ?y property:official_language resource:English . ?y rdf:type ontology:state } UNION { ?y property:official_language resource:English . ?y rdf:type ontology:competition } }
[]