Simple Question (Direct)
Simple Question
Q15068545
P166
Q618779
USER
What were received by Ivan Ivanovich Kvasov ?
(Q15068545,P166,c(Q618779))
action filter_type
action find
entity Q15068545
relation P166
type Q618779
['Q15068545', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q15068545 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Ivan Ivanovich Kvasov
action filter_type
action find
entity Ivan Ivanovich Kvasov
relation award received
type award
['Ivan Ivanovich Kvasov', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Ivan_Ivanovich_Kvasov property:award_received ?j . ?j rdf:type ontology:award }
[]
award
Q185493 Q695106 Q337463
SYSTEM
Order of Lenin, Order of the Red Star, Order of the Red Banner
Q337463 Q185493 Q18080149 Q178473 Q695106
(Q15068545,P166,c(Q618779))
action filter_type
action find
entity Q15068545
relation P166
type Q618779
[ANSWERS] were received by Ivan Ivanovich Kvasov
['Q15068545', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q15068545 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Order of the Red Banner Order of Lenin Order of the Patriotic War 1st class Hero of the Soviet Union Order of the Red Star
Order of Lenin, Order of the Red Star and Order of the Red Banner were received by Ivan Ivanovich Kvasov
Order of Lenin Order of the Red Star Order of the Red Banner
action filter_type
action find
entity Ivan Ivanovich Kvasov
relation award received
type award
['Ivan Ivanovich Kvasov', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Ivan_Ivanovich_Kvasov property:award_received ?j . ?j rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15068545
P734
Q82799
USER
Which name is associated with that person ?
(Q185493,P734,c(Q82799)) (Q695106,P734,c(Q82799)) (Q337463,P734,c(Q82799))
action filter_type
action find
entity Q15068545
relation P734
type Q82799
['Q185493', 'P734', {'concept': 'Q82799'}] ['Q695106', 'P734', {'concept': 'Q82799'}] ['Q337463', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q15068545 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Ivan Ivanovich Kvasov
action filter_type
action find
entity Ivan Ivanovich Kvasov
relation family name
type name
['Order of Lenin', 'family name', {'concept': 'name'}] ['Order of the Red Star', 'family name', {'concept': 'name'}] ['Order of the Red Banner', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Ivan_Ivanovich_Kvasov property:family_name ?f . ?f rdf:type ontology:name }
[]
name
Q4218586
SYSTEM
Kvasov
Q4218586
(Q185493,P734,c(Q82799)) (Q695106,P734,c(Q82799)) (Q337463,P734,c(Q82799))
action filter_type
action find
entity Q15068545
relation P734
type Q82799
[ANSWER] is associated with that person
['Q185493', 'P734', {'concept': 'Q82799'}] ['Q695106', 'P734', {'concept': 'Q82799'}] ['Q337463', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q15068545 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Kvasov
Kvasov is associated with that person
Kvasov
action filter_type
action find
entity Ivan Ivanovich Kvasov
relation family name
type name
['Order of Lenin', 'family name', {'concept': 'name'}] ['Order of the Red Star', 'family name', {'concept': 'name'}] ['Order of the Red Banner', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Ivan_Ivanovich_Kvasov property:family_name ?f . ?f rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17352275 Q15068545
P607
Q350604
USER
Which armed conflicts did Ivan Ivanovich Kvasov or Jean Zacharie Mesclop take part in ?
OR((Q15068545,P607,c(Q350604)), (Q17352275,P607,c(Q350604)))
action filter_type
action union
action find
entity Q15068545
relation P607
action find
entity Q17352275
relation P607
type Q350604
{'OR': [['Q15068545', 'P607', {'concept': 'Q350604'}], ['Q17352275', 'P607', {'concept': 'Q350604'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q15068545 property:P607 ?i } UNION { resource:Q17352275 property:P607 ?i } } . ?i rdf:type ontology:Q350604 }
Jean Zacharie Mesclop Ivan Ivanovich Kvasov
action filter_type
action union
action find
entity Ivan Ivanovich Kvasov
relation conflict
action find
entity Jean Zacharie Mesclop
relation conflict
type armed conflict
{'OR': [['Ivan Ivanovich Kvasov', 'conflict', {'concept': 'armed conflict'}], ['Jean Zacharie Mesclop', 'conflict', {'concept': 'armed conflict'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Ivan_Ivanovich_Kvasov property:conflict ?i } UNION { resource:Jean_Zacharie_Mesclop property:conflict ?i } } . ?i rdf:type ontology:armed_conflict }
[]
armed conflict
Q207318 Q189266
SYSTEM
French Revolutionary Wars, Eastern Front
Q207318 Q189266
OR((Q15068545,P607,c(Q350604)), (Q17352275,P607,c(Q350604)))
action filter_type
action union
action find
entity Q15068545
relation P607
action find
entity Q17352275
relation P607
type Q350604
Ivan Ivanovich Kvasov or Jean Zacharie Mesclop took part in the [ANSWERS]
{'OR': [['Q15068545', 'P607', {'concept': 'Q350604'}], ['Q17352275', 'P607', {'concept': 'Q350604'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q15068545 property:P607 ?i } UNION { resource:Q17352275 property:P607 ?i } } . ?i rdf:type ontology:Q350604 }
French Revolutionary Wars Eastern Front
Ivan Ivanovich Kvasov or Jean Zacharie Mesclop took part in the French Revolutionary Wars and Eastern Front
French Revolutionary Wars Eastern Front
action filter_type
action union
action find
entity Ivan Ivanovich Kvasov
relation conflict
action find
entity Jean Zacharie Mesclop
relation conflict
type armed conflict
{'OR': [['Ivan Ivanovich Kvasov', 'conflict', {'concept': 'armed conflict'}], ['Jean Zacharie Mesclop', 'conflict', {'concept': 'armed conflict'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Ivan_Ivanovich_Kvasov property:conflict ?i } UNION { resource:Jean_Zacharie_Mesclop property:conflict ?i } } . ?i rdf:type ontology:armed_conflict }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q350604 Q176799
USER
How many military units are a component of atmost 1 armed conflict ?
(c(Q176799),P361,c(Q350604))
action count
action atmost
action find_tuple_counts
relation P361
type Q176799
type Q350604
value 1
[{'concept': 'Q176799'}, 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?q ) WHERE { ?c property:P361 ?w . ?c rdf:type ontology:Q176799 . ?w rdf:type ontology:Q350604 } GROUP BY ?c } . FILTER ( ?q <= 1 ) }
action count
action atmost
action find_tuple_counts
relation part of
type military unit
type armed conflict
value 1
[{'concept': 'military unit'}, 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?q ) WHERE { ?c property:part_of ?w . ?c rdf:type ontology:military_unit . ?w rdf:type ontology:armed_conflict } GROUP BY ?c } . FILTER ( ?q <= 1 ) }
[]
armed conflict military unit
SYSTEM
228
Q19828538 Q277985 Q163646 Q13416638 Q13416639 Q5330072 Q4698061 Q4635732 Q4635052 Q5360387 Q1814293 Q1729228 Q9132252 Q190500 Q4642616 Q277973 Q2387066 Q18611871 Q24047712 Q19814972 Q4639194 Q2599920 Q19815262 Q5060357 Q4596195 Q4640904 Q18697057 Q2563827 Q5991286 Q19828534 Q4640487 Q26953127 Q13416641 Q11608030 Q3117742 Q170787 Q13416646 Q13416648 Q4638527 Q17074798 Q4640081 Q1469561 Q4596179 Q18145530 Q20715617 Q7043117 Q2298875 Q1635580 Q163084 Q22665686 Q4547821 Q18145516 Q7169217 Q396588 Q129154 Q4547006 Q19937943 Q4549993 Q4634580 Q5329989 Q24046079 Q4064600 Q26952963 Q4636131 Q4645306 Q2414156 Q4636686 Q7574646 Q18669749 Q209817 Q655740 Q2050151 Q653215 Q19371184 Q356379 Q1139856 Q4633567 Q704421 Q10602849 Q6134044 Q945806 Q4631609 Q171673 Q21073100 Q1552839 Q2591968 Q210633 Q3442816 Q26953140 Q4640624 Q2070929 Q4636125 Q4638212 Q155434 Q10493440 Q6738041 Q4698320 Q4548792 Q18706559 Q4641692 Q11268441 Q4557567 Q9133329 Q7043848 Q18611860 Q19814997 Q24046177 Q4635394 Q4697735 Q483080 Q4597026 Q10411410 Q4638353 Q1914713 Q1474813 Q16975013 Q16981007 Q2178688 Q4641790 Q24046198 Q4632922 Q1158122 Q4697969 Q1469267 Q1564383 Q20743998 Q1650942 Q4635571 Q19814827 Q2816309 Q4549411 Q19838999 Q848492 Q24047611 Q4550935 Q4595736 Q16523028 Q4637446 Q24054359 Q19815245 Q164557 Q4632757 Q4635243 Q4633451 Q24047339 Q442038 Q887545 Q5360610 Q2344621 Q1421194 Q4631350 Q921618 Q4640727 Q3095387 Q1241225 Q4643977 Q26953045 Q257026 Q5152195 Q911083 Q1634413 Q27600616 Q158260 Q10670494 Q1347332 Q6497385 Q2714291 Q19815275 Q7889245 Q4630668 Q9134172 Q3455188 Q4631939 Q2735500 Q4632579 Q5360166 Q4597042 Q2656142 Q26953118 Q4697918 Q16207216 Q4597030 Q4638666 Q4634810 Q1322747 Q4641242 Q4596631 Q9131486 Q711955 Q4596176 Q2573626 Q18712149 Q7053241 Q4635875 Q7043586 Q2354459 Q4639928 Q2088142 Q16975022 Q210845 Q1076943 Q2491839 Q7890728 Q6382533 Q7057809 Q24046194 Q549276 Q1276346 Q4635995 Q9130562 Q17604334 Q17598543 Q3095383 Q684080 Q223144 Q16522801 Q4631037 Q4552122 Q24047495 Q593565 Q4640984 Q4553582 Q2595244 Q3266836 Q1469548 Q1788961 Q10397282 Q4640815
(c(Q176799),P361,c(Q350604))
action count
action atmost
action find_tuple_counts
relation P361
type Q176799
type Q350604
value 1
[ANSWER]
[{'concept': 'Q176799'}, 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?q ) WHERE { ?c property:P361 ?w . ?c rdf:type ontology:Q176799 . ?w rdf:type ontology:Q350604 } GROUP BY ?c } . FILTER ( ?q <= 1 ) }
group 1st Ukrainian Front First Army 23rd Patrol Boat Division 21st Missile Boat Division Eastern Command Air Mobility Group RAAF 36th Battalion 32nd Battalion Western Army Southeastern Front Karelian Front 2nd Tactical Air Wing Central Front 6th Battalion Oryol Front Eleventh Air Force Eastern Command wing Escadrille 79 4th Battalion Reserve Front Escadrille 81 Central Army 1st Battalion 3rd Marines 58th Battalion Latvian Logistics Command 4th Ukrainian Front Canary Islands Air Command Wing 54th Battalion 4e Bataillon Royal 22e Régiment (Châteauguay) 20th Corvette Division Training Squadron Inflight Refueling Group 02.091 Bretagne 116th Panzer Division 31st Corvette Division 36th Patrol Boat Division 47th Battalion Escadrille 3 51st Battalion, Far North Queensland Regiment Voronezh Front 1st Battalion General Air Command III Corps No. 1 Squadron Transcaucasian Front Leningrad Front Army Group North 6888th Central Postal Directory Battalion 11th Battalion Combat Air Command Permanent Joint Headquarters Agrianes Kostrad 10th Battalion Fleet Air Wing 14th Battalion 30th Battalion Eastern Army Embarked Air Group 196 Amur Front 1er Bataillon Royal 22e Régiment 39th Battalion 8th Battalion 3rd Ukrainian Front 3rd Battalion 3rd Marines Special Operations Command Jamaica Defece Force Coast Guard 2nd Far Eastern Front North Caucasian Front Infantry Battalion 391 Supreme Allied Commander Atlantic 33rd Mine Warfare Division Indian Coast Guard II Marine Expeditionary Force 2nd Battalion Central Army 1st Helicopter Squadron Thirty-Seventh Army Fighter Wing 4 23rd Battalion 12th Army bivouac Corps of the Port Captaincies – Coast Guard Kursk Front 2nd Belorussian Front Special Operations Battalion 6e Bataillon Royal 22e Régiment 55th Battalion XIV Panzer Corps 39th Air Base Wing 45th Battalion 11th Army 22 U.N. Fighter Squadron Major Command Air Defence Battalion 12th Battalion Liberian Coast Guard 60th Battalion Self-Defense Fleet 18th Battalion 3rd Air Transport Wing No. 86 Wing RAAF Western Command Escadrille 66 Air Service Command 34th Battalion Air Armament Center Seventh Air Force 2/28th Battalion 2nd Helicopter Squadron 46th Battalion Highlanders Icelandic Coast Guard Escadrille 124 Flight Control Command Irish Legion 61st Battalion Air Fleet 29th Battalion No. 617 Squadron RAF Air Force Systems Command Stalingrad Front Musketeers of the Guard 912 Battalion Numbered Air Force 35th Battalion Escadrille 28 35 Service Battalion 13th Battalion Air Force Special Weapons Center Western Front air division 15th Battalion 19th Battalion 42nd Mine Warfare Division 40th Battalion Maritime Reconnaissance Group 128 Escadrille 167 10th SS Panzer Division Frundsberg 28th Battalion 33rd Battalion 2d Operations Group air district Pathfinder Boarding Company of the German Navy Northern Army 1st Baltic Front Kalinin Front 22nd Battalion Bryansk Front 56th Battalion Barbados Coast Guard Don Front 7th Battalion 2e Bataillon Royal 22e Régiment Northwestern Front Forces Command Transbaikal Front Southern Front 116 Combat Wing Army Group Centre Swedish Navy Schooner Division Steppe Front Latvian National Armed Forces Staff Battalion 27th Jäger Battalion Escadrille 96 United States Air Forces Southern Command 20th Battalion 4th Aviation School Wing Régiment d'infanterie-chars de marine 24th Battalion Hellenic Coast Guard 27th Battalion North Eastern Army 2/43rd Battalion Far Eastern Front 3e Bataillon Royal 22e Régiment Air Force Logistics Command 554th Engineer Battalion 2/2nd Machine Gun Battalion 48th Battalion 31st Battalion, Royal Queensland Regiment Royal Corps of Signals 5th Battalion 1st Strategic Aerospace Division 26th Battalion Japanese Seventh Area Army 1st Battalion, Parachute Regiment Argentine Naval Prefecture Canadian Forces Intelligence Command Norrbotten Armoured Battalion 37th Battalion No. 51 Squadron RAF Regiment 3rd Belorussian Front 50th Battalion 1st Belorussian Front Escadrille 37 20th Mountain Army Northern Front Moscow Reserve Front United States Marine Corps Silent Drill Platoon battalion Northeast Air Command Air Force Group Command flotilla EU Battlegroup 38th Battalion 1st Tactical Air Wing Navy Strategic Command Antigua and Barbuda Coast Guard Cape Verde Coast Guard Volkhov Front 3rd Baltic Front 41st Corvette Division 21st Battalion 16th Battalion, Royal Western Australia Regiment air corps Vexillatio 59th Battalion 17th Battalion Caucasian Front Swedish Coast Guard Southwestern Front Crimean Front 34th Missile Boat Division 57th Battalion
228
action count
action atmost
action find_tuple_counts
relation part of
type military unit
type armed conflict
value 1
[{'concept': 'military unit'}, 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?q ) WHERE { ?c property:part_of ?w . ?c rdf:type ontology:military_unit . ?w rdf:type ontology:armed_conflict } GROUP BY ?c } . FILTER ( ?q <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q189266
P180
Q234460
USER
Which text depicts Eastern Front ?
(c(Q234460),P180,Q189266)
action filter_type
action find_reverse
entity Q189266
relation P180
type Q234460
[{'concept': 'Q234460'}, 'P180', 'Q189266']
SELECT DISTINCT ?w WHERE { ?w property:P180 resource:Q189266 . ?w rdf:type ontology:Q234460 }
Eastern Front
action filter_type
action find_reverse
entity Eastern Front
relation depicts
type text
[{'concept': 'text'}, 'depicts', 'Eastern Front']
SELECT DISTINCT ?w WHERE { ?w property:depicts resource:Eastern_Front . ?w rdf:type ontology:text }
[]
text
Q466140
SYSTEM
A Soldier's Legacy
Q466140
(c(Q234460),P180,Q189266)
action filter_type
action find_reverse
entity Q189266
relation P180
type Q234460
It [ANSWER] depicts Eastern Front
[{'concept': 'Q234460'}, 'P180', 'Q189266']
SELECT DISTINCT ?w WHERE { ?w property:P180 resource:Q189266 . ?w rdf:type ontology:Q234460 }
A Soldier's Legacy
It A Soldier's Legacy depicts Eastern Front
A Soldier's Legacy
action filter_type
action find_reverse
entity Eastern Front
relation depicts
type text
[{'concept': 'text'}, 'depicts', 'Eastern Front']
SELECT DISTINCT ?w WHERE { ?w property:depicts resource:Eastern_Front . ?w rdf:type ontology:text }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q466140
P800
Q502895
USER
Which person is accredited with being the author of the notable work that text ?
(c(Q502895),P800,Q466140)
action filter_type
action find_reverse
entity Q466140
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q466140']
SELECT DISTINCT ?o WHERE { ?o property:P800 resource:Q466140 . ?o rdf:type ontology:Q502895 }
A Soldier's Legacy
action filter_type
action find_reverse
entity A Soldier's Legacy
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', "A Soldier's Legacy"]
SELECT DISTINCT ?o WHERE { ?o property:notable_work resource:A_Soldier's_Legacy . ?o rdf:type ontology:common_name }
[]
common name
Q42747
SYSTEM
Heinrich Böll
Q42747
(c(Q502895),P800,Q466140)
action filter_type
action find_reverse
entity Q466140
relation P800
type Q502895
[ANSWER] is accredited with being the author of the notable work that text
[{'concept': 'Q502895'}, 'P800', 'Q466140']
SELECT DISTINCT ?o WHERE { ?o property:P800 resource:Q466140 . ?o rdf:type ontology:Q502895 }
Heinrich Böll
Heinrich Böll is accredited with being the author of the notable work that text
Heinrich Böll
action filter_type
action find_reverse
entity A Soldier's Legacy
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', "A Soldier's Legacy"]
SELECT DISTINCT ?o WHERE { ?o property:notable_work resource:A_Soldier's_Legacy . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q466140
P921
Q198
USER
What was the main subject in the work A Soldier's Legacy ?
(Q466140,P921,c(Q198))
action filter_type
action find
entity Q466140
relation P921
type Q198
['Q466140', 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ?a WHERE { resource:Q466140 property:P921 ?a . ?a rdf:type ontology:Q198 }
A Soldier's Legacy
action filter_type
action find
entity A Soldier's Legacy
relation main subject
type war
["A Soldier's Legacy", 'main subject', {'concept': 'war'}]
SELECT DISTINCT ?a WHERE { resource:A_Soldier's_Legacy property:main_subject ?a . ?a rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q466140,P921,c(Q198))
action filter_type
action find
entity Q466140
relation P921
type Q198
The main subject in the work A Soldier's Legacy was about [ANSWER]
['Q466140', 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ?a WHERE { resource:Q466140 property:P921 ?a . ?a rdf:type ontology:Q198 }
World War II
The main subject in the work A Soldier's Legacy was about World War II
World War II
action filter_type
action find
entity A Soldier's Legacy
relation main subject
type war
["A Soldier's Legacy", 'main subject', {'concept': 'war'}]
SELECT DISTINCT ?a WHERE { resource:A_Soldier's_Legacy property:main_subject ?a . ?a rdf:type ontology:war }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q467541
Q198
USER
And how about All the Queen's Men?
(Q467541,P921,c(Q198))
action filter_type
action find
entity Q467541
relation P921
type Q198
['Q467541', 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ?n WHERE { resource:Q467541 property:P921 ?n . ?n rdf:type ontology:Q198 }
All the Queen's Men
action filter_type
action find
entity All the Queen's Men
relation main subject
type war
["All the Queen's Men", 'main subject', {'concept': 'war'}]
SELECT DISTINCT ?n WHERE { resource:All_the_Queen's_Men property:main_subject ?n . ?n rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q467541,P921,c(Q198))
action filter_type
action find
entity Q467541
relation P921
type Q198
[ANSWER]
['Q467541', 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ?n WHERE { resource:Q467541 property:P921 ?n . ?n rdf:type ontology:Q198 }
World War II
World War II
action filter_type
action find
entity All the Queen's Men
relation main subject
type war
["All the Queen's Men", 'main subject', {'concept': 'war'}]
SELECT DISTINCT ?n WHERE { resource:All_the_Queen's_Men property:main_subject ?n . ?n rdf:type ontology:war }
[]