Simple Question (Direct)
Simple Question
Q4224528
P20
Q56061
USER
Where did Roberts Klaviņš die ?
(Q4224528,P20,c(Q56061))
action filter_type
action find
entity Q4224528
relation P20
type Q56061
['Q4224528', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q4224528 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Roberts Klaviņš
action filter_type
action find
entity Roberts Klaviņš
relation place of death
type administrative territorial entity
['Roberts Klaviņš', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Roberts_Klaviņš property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q4224528,P20,c(Q56061))
action filter_type
action find
entity Q4224528
relation P20
type Q56061
Roberts Klaviņš died in [ANSWER]
['Q4224528', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q4224528 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Moscow
Roberts Klaviņš died in Moscow
Moscow
action filter_type
action find
entity Roberts Klaviņš
relation place of death
type administrative territorial entity
['Roberts Klaviņš', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Roberts_Klaviņš property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q649
P159
Q7210356
USER
Which political organizations have their head office location at that administrative territory ?
(c(Q7210356),P159,Q649)
action filter_type
action find_reverse
entity Q649
relation P159
type Q7210356
[{'concept': 'Q7210356'}, 'P159', 'Q649']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q7210356 . ?n property:P159 resource:Q649 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Moscow']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_organization . ?n property:headquarters_location resource:Moscow }
[]
political organization
Q1470302 Q4157656 Q2256403
SYSTEM
People's Freedom Party "For Russia without Lawlessness and Corruption", Democratic Union, Left Front
Q321022 Q2070568 Q4313240 Q2386921 Q7382124 Q1314890 Q4400494 Q166073 Q730786 Q4397989 Q2362813 Q2256403 Q2372144 Q2394353 Q3267854 Q1975636 Q7767510 Q4430198 Q6016537 Q4346000 Q714860 Q4391775 Q1958474 Q4398257 Q4397994 Q1862986 Q4157656 Q4229911 Q4229917 Q1470302 Q1561318 Q4231861 Q163931
(c(Q7210356),P159,Q649)
action filter_type
action find_reverse
entity Q649
relation P159
type Q7210356
[ANSWERS] have their head office location at that administrative territory
[{'concept': 'Q7210356'}, 'P159', 'Q649']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q7210356 . ?n property:P159 resource:Q649 }
National Bolshevik Party The Other Russia People's National Party Socialist League Vpered Russian Section of the Committee for a Workers' International Union of Communist Parties – Communist Party of the Soviet Union Russian Monarchist Union Komsomol All-Russia People's Front Russian Party of Communists People's Union Left Front Social Democratic Party of Russia Great Russia (party) Union of Social Democrats Revolutionary Communist Youth League Progress Party United Socialist Party of Russia Independent Democratic Party of Russia Beer Lovers Party Russian National Unity Workers Revolutionary Party (Russia) Fatherland – All Russia Russian Socialist Movement Russian Party of Social Democracy Leninist Komsomol of the Russian Federation Democratic Union Communist Party of the Soviet Union Communist Party of Social Justice People's Freedom Party "For Russia without Lawlessness and Corruption" Russian People's Democratic Union Conceptual Party Unity Comintern
People's Freedom Party "For Russia without Lawlessness and Corruption", Democratic Union and Left Front have their head office location at that administrative territory
People's Freedom Party "For Russia without Lawlessness and Corruption" Democratic Union Left Front
action filter_type
action find_reverse
entity Moscow
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Moscow']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_organization . ?n property:headquarters_location resource:Moscow }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7871388 Q4224528
P607
Q198
USER
Which wars was Roberts Klaviņš or USS Lydonia a part of ?
OR((Q4224528,P607,c(Q198)), (Q7871388,P607,c(Q198)))
action filter_type
action union
action find
entity Q4224528
relation P607
action find
entity Q7871388
relation P607
type Q198
{'OR': [['Q4224528', 'P607', {'concept': 'Q198'}], ['Q7871388', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q4224528 property:P607 ?j } UNION { resource:Q7871388 property:P607 ?j } } . ?j rdf:type ontology:Q198 }
USS Lydonia Roberts Klaviņš
action filter_type
action union
action find
entity Roberts Klaviņš
relation conflict
action find
entity USS Lydonia
relation conflict
type war
{'OR': [['Roberts Klaviņš', 'conflict', {'concept': 'war'}], ['USS Lydonia', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Roberts_Klaviņš property:conflict ?j } UNION { resource:USS_Lydonia property:conflict ?j } } . ?j rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
OR((Q4224528,P607,c(Q198)), (Q7871388,P607,c(Q198)))
action filter_type
action union
action find
entity Q4224528
relation P607
action find
entity Q7871388
relation P607
type Q198
The [ANSWER] was Roberts Klaviņš or USS Lydonia a part of
{'OR': [['Q4224528', 'P607', {'concept': 'Q198'}], ['Q7871388', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q4224528 property:P607 ?j } UNION { resource:Q7871388 property:P607 ?j } } . ?j rdf:type ontology:Q198 }
World War II
The World War II was Roberts Klaviņš or USS Lydonia a part of
World War II
action filter_type
action union
action find
entity Roberts Klaviņš
relation conflict
action find
entity USS Lydonia
relation conflict
type war
{'OR': [['Roberts Klaviņš', 'conflict', {'concept': 'war'}], ['USS Lydonia', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Roberts_Klaviņš property:conflict ?j } UNION { resource:USS_Lydonia property:conflict ?j } } . ?j rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7871388
P137
Q781132
USER
Who operates that ship type ?
(Q362,P137,c(Q781132))
action filter_type
action find
entity Q7871388
relation P137
type Q781132
['Q362', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?k WHERE { resource:Q7871388 property:P137 ?k . ?k rdf:type ontology:Q781132 }
USS Lydonia
action filter_type
action find
entity USS Lydonia
relation operator
type military branch
['World War II', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?k WHERE { resource:USS_Lydonia property:operator ?k . ?k rdf:type ontology:military_branch }
[]
military branch
Q11220
SYSTEM
United States Navy
Q11220
(Q362,P137,c(Q781132))
action filter_type
action find
entity Q7871388
relation P137
type Q781132
[ANSWER] operates that ship type
['Q362', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?k WHERE { resource:Q7871388 property:P137 ?k . ?k rdf:type ontology:Q781132 }
United States Navy
United States Navy operates that ship type
United States Navy
action filter_type
action find
entity USS Lydonia
relation operator
type military branch
['World War II', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?k WHERE { resource:USS_Lydonia property:operator ?k . ?k rdf:type ontology:military_branch }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q11220 Q12087458 Q16470657
P159
Q56061
USER
Does that military branch have its head office location at Valea Călmățuiului and Ramaitiškė ?
(Q11220,P159,Q12087458) (Q11220,P159,Q16470657)
action is_in
entity Q11220
action intersection
action find_reverse
entity Q12087458
relation P159
action find_reverse
entity Q16470657
relation P159
['Q11220', 'P159', 'Q12087458'] ['Q11220', 'P159', 'Q16470657']
ASK WHERE { resource:Q11220 property:P159 resource:Q12087458 . resource:Q11220 property:P159 resource:Q16470657 }
United States Navy Valea Călmățuiului Ramaitiškė
action is_in
entity United States Navy
action intersection
action find_reverse
entity Valea Călmățuiului
relation headquarters location
action find_reverse
entity Ramaitiškė
relation headquarters location
['United States Navy', 'headquarters location', 'Valea Călmățuiului'] ['United States Navy', 'headquarters location', 'Ramaitiškė']
ASK WHERE { resource:United_States_Navy property:headquarters_location resource:Valea_Călmățuiului . resource:United_States_Navy property:headquarters_location resource:Ramaitiškė }
[]
administrative territorial entity
SYSTEM
NO
(Q11220,P159,Q12087458) (Q11220,P159,Q16470657)
action is_in
entity Q11220
action intersection
action find_reverse
entity Q12087458
relation P159
action find_reverse
entity Q16470657
relation P159
[ANSWER]
['Q11220', 'P159', 'Q12087458'] ['Q11220', 'P159', 'Q16470657']
ASK WHERE { resource:Q11220 property:P159 resource:Q12087458 . resource:Q11220 property:P159 resource:Q16470657 }
No
action is_in
entity United States Navy
action intersection
action find_reverse
entity Valea Călmățuiului
relation headquarters location
action find_reverse
entity Ramaitiškė
relation headquarters location
['United States Navy', 'headquarters location', 'Valea Călmățuiului'] ['United States Navy', 'headquarters location', 'Ramaitiškė']
ASK WHERE { resource:United_States_Navy property:headquarters_location resource:Valea_Călmățuiului . resource:United_States_Navy property:headquarters_location resource:Ramaitiškė }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11220
P193
Q2385804
USER
Which educational institution has that military branch as its building contractor ?
action filter_type
action find_reverse
entity Q11220
relation P193
type Q2385804
SELECT DISTINCT ?p WHERE { ?p property:P193 resource:Q11220 . ?p rdf:type ontology:Q2385804 }
United States Navy
action filter_type
action find_reverse
entity United States Navy
relation main building contractor
type educational institution
SELECT DISTINCT ?p WHERE { ?p property:main_building_contractor resource:United_States_Navy . ?p rdf:type ontology:educational_institution }
[]
educational institution
Q15253137
SYSTEM
Merlyn G. Cooke School
Q15253137
action filter_type
action find_reverse
entity Q11220
relation P193
type Q2385804
[ANSWER] has that military branch as its building contractor
SELECT DISTINCT ?p WHERE { ?p property:P193 resource:Q11220 . ?p rdf:type ontology:Q2385804 }
Merlyn G. Cooke School
Merlyn G. Cooke School has that military branch as its building contractor
Merlyn G. Cooke School
action filter_type
action find_reverse
entity United States Navy
relation main building contractor
type educational institution
SELECT DISTINCT ?p WHERE { ?p property:main_building_contractor resource:United_States_Navy . ?p rdf:type ontology:educational_institution }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P366
Q350604 Q180684 Q781132
USER
Which military branches are mainly used as min number of armed conflicts or conflicts ?
(c(Q781132),P366,c(Q350604)|c(Q180684))
action argmin
action union
action find_tuple_counts
relation P366
type Q781132
type Q350604
action find_tuple_counts
relation P366
type Q781132
type Q180684
[{'concept': 'Q781132'}, 'P366', [{'concept': 'Q350604'}, {'concept': 'Q180684'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?f ) { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?u ) WHERE { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:Q350604 ) ( ontology:Q180684 ) } } GROUP BY ?q } } . { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?k ) WHERE { { ?x property:P366 ?c . ?x rdf:type ontology:Q781132 . ?c rdf:type ontology:Q180684 } UNION { ?x property:P366 ?c . ?x rdf:type ontology:Q781132 . ?c rdf:type ontology:Q350604 } } GROUP BY ?x } . FILTER ( ?k = ?f ) }
action argmin
action union
action find_tuple_counts
relation use
type military branch
type armed conflict
action find_tuple_counts
relation use
type military branch
type conflict
[{'concept': 'military branch'}, 'use', [{'concept': 'armed conflict'}, {'concept': 'conflict'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?f ) { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?u ) WHERE { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:armed_conflict ) ( ontology:conflict ) } } GROUP BY ?q } } . { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?k ) WHERE { { ?x property:use ?c . ?x rdf:type ontology:military_branch . ?c rdf:type ontology:conflict } UNION { ?x property:use ?c . ?x rdf:type ontology:military_branch . ?c rdf:type ontology:armed_conflict } } GROUP BY ?x } . FILTER ( ?k = ?f ) }
[]
armed conflict conflict military branch
Q15885502 Q210606 Q18669736
SYSTEM
Spetsnaz GRU, 2nd Marine Division, Jamaica Regiment
Q210606 Q18669736 Q1426835 Q15885502
(c(Q781132),P366,c(Q350604)|c(Q180684))
action argmin
action union
action find_tuple_counts
relation P366
type Q781132
type Q350604
action find_tuple_counts
relation P366
type Q781132
type Q180684
[ANSWERS] are mainly used as min number of armed conflicts or conflicts
[{'concept': 'Q781132'}, 'P366', [{'concept': 'Q350604'}, {'concept': 'Q180684'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?f ) { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?u ) WHERE { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:Q350604 ) ( ontology:Q180684 ) } } GROUP BY ?q } } . { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?k ) WHERE { { ?x property:P366 ?c . ?x rdf:type ontology:Q781132 . ?c rdf:type ontology:Q180684 } UNION { ?x property:P366 ?c . ?x rdf:type ontology:Q781132 . ?c rdf:type ontology:Q350604 } } GROUP BY ?x } . FILTER ( ?k = ?f ) }
2nd Marine Division Jamaica Regiment anti-aircraft artillery Spetsnaz GRU
Spetsnaz GRU, 2nd Marine Division and Jamaica Regiment are mainly used as min number of armed conflicts or conflicts
Spetsnaz GRU 2nd Marine Division Jamaica Regiment
action argmin
action union
action find_tuple_counts
relation use
type military branch
type armed conflict
action find_tuple_counts
relation use
type military branch
type conflict
[{'concept': 'military branch'}, 'use', [{'concept': 'armed conflict'}, {'concept': 'conflict'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?f ) { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?u ) WHERE { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:armed_conflict ) ( ontology:conflict ) } } GROUP BY ?q } } . { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?k ) WHERE { { ?x property:use ?c . ?x rdf:type ontology:military_branch . ?c rdf:type ontology:conflict } UNION { ?x property:use ?c . ?x rdf:type ontology:military_branch . ?c rdf:type ontology:armed_conflict } } GROUP BY ?x } . FILTER ( ?k = ?f ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q128781 Q210606
P361
Q21506450
USER
Which military unit size classes are a component of 2nd Marine Division or Wehrmacht ?
OR((c(Q21506450),P361,Q210606), (c(Q21506450),P361,Q128781))
action filter_type
action union
action find_reverse
entity Q210606
relation P361
action find_reverse
entity Q128781
relation P361
type Q21506450
{'OR': [[{'concept': 'Q21506450'}, 'P361', 'Q210606'], [{'concept': 'Q21506450'}, 'P361', 'Q128781']]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?v ) { ( resource:Q210606 ) ( resource:Q128781 ) } . ?j property:P361 ?v } . ?j rdf:type ontology:Q21506450 }
Wehrmacht 2nd Marine Division
action filter_type
action union
action find_reverse
entity 2nd Marine Division
relation part of
action find_reverse
entity Wehrmacht
relation part of
type military unit size class
{'OR': [[{'concept': 'military unit size class'}, 'part of', '2nd Marine Division'], [{'concept': 'military unit size class'}, 'part of', 'Wehrmacht']]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?v ) { ( resource:2nd_Marine_Division ) ( resource:Wehrmacht ) } . ?j property:part_of ?v } . ?j rdf:type ontology:military_unit_size_class }
[]
military unit size class
Q234844 Q535201 Q213606 Q197374 Q184195 Q244382 Q196364 Q270332 Q236670 Q230312
SYSTEM
Some of them are 45th Infantry Division, 297th Infantry Division, 214th Infantry Division, 17th Infantry Division, 132nd Infantry Division, 57th Infantry Division (Wehrmacht), 164th Infantry Division, 8th Mountain Division, 48. Infanterie-Division (Wehrmacht), 4th Mountain Division
Q213606 Q209960 Q214192 Q223860 Q213379 Q173426 Q226243 Q197374 Q225033 Q221691 Q212752 Q228595 Q273846 Q277084 Q271425 Q219600 Q270756 Q163605 Q246313 Q228903 Q215956 Q175523 Q214185 Q236670 Q821734 Q164108 Q225484 Q271972 Q221909 Q211060 Q221220 Q215196 Q174687 Q123532 Q223203 Q181719 Q169423 Q169932 Q197363 Q194495 Q219911 Q275718 Q217746 Q214479 Q200506 Q226532 Q164773 Q217468 Q1740781 Q212787 Q226107 Q261838 Q4643005 Q223647 Q228280 Q187318 Q221561 Q213780 Q234844 Q175246 Q173676 Q276761 Q565633 Q223957 Q162846 Q275235 Q558756 Q196067 Q642415 Q225148 Q246684 Q200165 Q215711 Q200163 Q225704 Q216909 Q224245 Q197693 Q224240 Q170016 Q2818487 Q234858 Q230312 Q244124 Q218318 Q213010 Q201371 Q275240 Q266868 Q210387 Q213529 Q262289 Q219482 Q256755 Q204749 Q535201 Q840918 Q203419 Q204745 Q213808 Q2808147 Q194863 Q268720 Q172462 Q225832 Q226910 Q221617 Q248116 Q274105 Q244382 Q240404 Q276920 Q2818159 Q506420 Q265919 Q166346 Q275914 Q165541 Q219709 Q162567 Q170372 Q185849 Q195460 Q221667 Q2807539 Q172764 Q218184 Q226219 Q235395 Q208312 Q270332 Q184833 Q13600072 Q220357 Q1231287 Q264046 Q694212 Q196973 Q164541 Q626001 Q277010 Q210267 Q215473 Q212697 Q171780 Q196364 Q165242 Q213903 Q242318 Q273123 Q167338 Q231032 Q217462 Q187298 Q259787 Q276642 Q165289 Q234339 Q210834 Q260811 Q696944 Q245642 Q220042 Q270590 Q184195 Q210842 Q226309 Q4638580 Q163385 Q215465 Q183271 Q191124 Q196256 Q269662 Q221677 Q2806986 Q701732 Q219465 Q2807002 Q212586 Q240033 Q217163 Q171773 Q682797
OR((c(Q21506450),P361,Q210606), (c(Q21506450),P361,Q128781))
action filter_type
action union
action find_reverse
entity Q210606
relation P361
action find_reverse
entity Q128781
relation P361
type Q21506450
[ANSWERS] are a component of 2nd Marine Division or Wehrmacht
{'OR': [[{'concept': 'Q21506450'}, 'P361', 'Q210606'], [{'concept': 'Q21506450'}, 'P361', 'Q128781']]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?v ) { ( resource:Q210606 ) ( resource:Q128781 ) } . ?j property:P361 ?v } . ?j rdf:type ontology:Q21506450 }
214th Infantry Division 2nd Mountain Division 22nd Air Landing Division (Wehrmacht) 302nd Static Infantry Division 21st Panzer Division 125th Infantry Division 340th Volksgrenadier Division 17th Infantry Division 319th Static Infantry Division 294th Infantry Division 207th Infantry Division 389th Infantry Division (Wehrmacht) 87th Infantry Division (Wehrmacht) 97th Jäger Division 81st Infantry Division (Wehrmacht) 27. Flak-Division 8th Panzer Division (Wehrmacht) 1st Ski Division 6th Panzer Division (Wehrmacht) 392nd (Croatian) Infantry Division (Wehrmacht) 233rd Reserve Panzer Division 13th Panzer Division 22. Flak-Division 48. Infanterie-Division (Wehrmacht) Panzer Division Feldherrnhalle 2 10. Flak-Division 326th Infantry Division 83rd Infantry Division (Wehrmacht) 299th Infantry Division (Wehrmacht) 20th Panzer Division 29. Flak-Division 227th Infantry Division 129th Infantry Division 269th Infantry Division 3rd Mountain Division 72nd Infantry Division 11th Infantry Division 11th Panzer Division 17. Flak-Division 16th Infantry Division 275th Infantry Division 9th Panzer Division (Wehrmacht) 25th Panzer Division 22nd Panzer Division 181st Infantry Division 35th Infantry Division 100th Light Infantry Division 25th Panzergrenadier Division Panzer Division Holstein 208th Infantry Division 337th Infantry Division 707th Security Division 708th Volksgrenadier Division 30. Flak-Division 384th Infantry Division 14th Infantry Division 290th Infantry Division 215th Infantry Division 45th Infantry Division 13. Flak-Division 126th Infantry Division 94th Infantry Division 15th Panzer Division 305th Infantry Division (Wehrmacht) 1st Cavalry Division 9th Flak-Division Panzer Division Müncheberg 179th Reserve Panzer Division Panzergrenadier Division Kurmark 32nd Infantry Division 60th Infantry Division (Wehrmacht) 18th Infantry Division 23rd Panzer Division 18. Flak-Division 33rd Infantry Division 24th Panzer Division 31st Infantry Division 170th Infantry Division 31. Flak-Division 110th Infantry Division 82nd Infantry Division Panzer Division Clausewitz 4th Mountain Division 56th Infantry Division (Wehrmacht) 258th Infantry Division 21st Infantry Division 3rd Panzer Division 9th Mountain Division (Wehrmacht) 76th Infantry Division 2nd Panzer Division 212th Infantry Division 71st Infantry Division (Wehrmacht) 268th Infantry Division (Wehrmacht) 68th Infantry Division (Wehrmacht) 19th Infantry Division 297th Infantry Division 1st Naval Infantry Division 188th Reserve Mountain Division 19. Flak-Division 216th Infantry Division 155th Reserve Panzer Division 16th Panzer Division 78th Infantry Division 121st Infantry Division 333rd Infantry Division (Wehrmacht) 36th Infantry Division 291st Infantry Division 61st Infantry Division (Wehrmacht) 88th Infantry Division (Wehrmacht) 57th Infantry Division (Wehrmacht) 50th Infantry Division 95th Infantry Division 6th Marine Regiment Panzer Division Tatra 75th Infantry Division (Wehrmacht) 15th Infantry Division 90th Light Infantry Division (Wehrmacht) 102nd Infantry Division 27th Panzer Division 1st Mountain Division 111th Infantry Division (Wehrmacht) 137th Infantry Division 161st Infantry Division (Wehrmacht) 292nd Infantry Division 131st Infantry Division (Wehrmacht) 122nd Infantry Division (Wehrmacht) 256th Infantry Division 34th Infantry Division 46th Infantry Division 198th Infantry Division 8th Mountain Division 134th Infantry Division 15. Panzer-Grenadier-Division 28th Jäger Division Division von Broich/von Manteuffel 73rd Infantry Division (Wehrmacht) 5th Jäger Division 169th Infantry Division 10th Panzer Division 12th Panzer Division 96th Infantry Division 2nd Naval Infantry Division 23rd Infantry Division 206th Infantry Division 12th Infantry Division 164th Infantry Division 101st Jäger Division (Wehrmacht) 218th Infantry Division 52nd Infantry Division 86th Infantry Division 106th Infantry Division (Wehrmacht) 4th Panzer Division (Wehrmacht) 25. Flak-Division 14. Flak-Division 7th Mountain Division (Wehrmacht) 93rd Infantry Division 197th Infantry Division 44th Infantry Division 20. Flak-Division 7th Panzer Division (Wehrmacht) Panzer-Grenadier-Division Großdeutschland 6th Mountain Division (Wehrmacht) 278th Infantry Division (Wehrmacht) 8th Jäger Division 132nd Infantry Division 20th Infantry Division 342nd Infantry Division (Wehrmacht) 47th Volksgrenadier Division 1st Panzer Division 23. Flak-Division 69th Infantry Division 15. Flak-Division 163rd Infantry Division 79th Infantry Division 293rd Infantry Division 112th Infantry Division Panzer Division Kempf 267th Infantry Division (Wehrmacht) 113th Infantry Division 205th Infantry Division 5th Panzer Division (Wehrmacht) 246th Volksgrenadier Division 12th Flak-Division Fallschirm-Panzer Division 1 Hermann Göring
45th Infantry Division, 297th Infantry Division, 214th Infantry Division, 17th Infantry Division, 132nd Infantry Division, 57th Infantry Division (Wehrmacht), 164th Infantry Division, 8th Mountain Division, 48. Infanterie-Division (Wehrmacht) and 4th Mountain Division are a component of 2nd Marine Division or Wehrmacht
45th Infantry Division 297th Infantry Division 214th Infantry Division 17th Infantry Division 132nd Infantry Division 57th Infantry Division (Wehrmacht) 164th Infantry Division 8th Mountain Division 48. Infanterie-Division (Wehrmacht) 4th Mountain Division
action filter_type
action union
action find_reverse
entity 2nd Marine Division
relation part of
action find_reverse
entity Wehrmacht
relation part of
type military unit size class
{'OR': [[{'concept': 'military unit size class'}, 'part of', '2nd Marine Division'], [{'concept': 'military unit size class'}, 'part of', 'Wehrmacht']]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?v ) { ( resource:2nd_Marine_Division ) ( resource:Wehrmacht ) } . ?j property:part_of ?v } . ?j rdf:type ontology:military_unit_size_class }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1046947
P361
Q781132 Q12737077 Q811979
USER
Which military branches are less number of occupations and architectural structures a portion of than Royal Marines ?
(c(Q12737077)|c(Q811979),P361,c(Q781132))
action less
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q12737077
action find_reverse_tuple_counts
relation P361
type Q781132
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q1046947
relation P361
type Q12737077
type Q811979
[[{'concept': 'Q12737077'}, {'concept': 'Q811979'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?i ) WHERE { { ?c property:P361 ?n . ?c rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q781132 } UNION { ?c property:P361 ?n . ?n rdf:type ontology:Q781132 . ?c rdf:type ontology:Q811979 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { VALUES ( ?p ) { ( ontology:Q12737077 ) ( ontology:Q811979 ) } . ?b rdf:type ?p } . ?b property:P361 resource:Q1046947 } } . FILTER ( ?i < ?s ) }
Royal Marines
action less
action union
action find_reverse_tuple_counts
relation part of
type military branch
type occupation
action find_reverse_tuple_counts
relation part of
type military branch
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Royal Marines
relation part of
type occupation
type architectural structure
[[{'concept': 'occupation'}, {'concept': 'architectural structure'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?i ) WHERE { { ?c property:part_of ?n . ?c rdf:type ontology:occupation . ?n rdf:type ontology:military_branch } UNION { ?c property:part_of ?n . ?n rdf:type ontology:military_branch . ?c rdf:type ontology:architectural_structure } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { VALUES ( ?p ) { ( ontology:occupation ) ( ontology:architectural_structure ) } . ?b rdf:type ?p } . ?b property:part_of resource:Royal_Marines } } . FILTER ( ?i < ?s ) }
[]
military branch occupation architectural structure
Q276538 Q2862927 Q706042
SYSTEM
Eurocorps, Indonesian Army, Prussian Army
Q16056518 Q23905126 Q56015 Q210606 Q1799545 Q2328515 Q483268 Q1114493 Q1815399 Q3068744 Q701923 Q1078222 Q2078095 Q676404 Q5555333 Q313422 Q2558747 Q19344622 Q311689 Q248989 Q642932 Q1038047 Q833040 Q4117226 Q217406 Q2575188 Q488756 Q156649 Q1546449 Q1067064 Q889751 Q2492012 Q2862927 Q2749588 Q4447359 Q1652708 Q19247539 Q1951484 Q276535 Q1750688 Q276538 Q272110 Q796411 Q56012 Q7275540 Q208711 Q1076619 Q897614 Q6479134 Q11322507 Q2292358 Q151701 Q11218 Q2301347 Q167682 Q2383264 Q18643350 Q465283 Q2384177 Q1124986 Q25436 Q1358152 Q2258261 Q4447363 Q355771 Q18129370 Q1753805 Q731647 Q706042 Q2630039 Q219712 Q706996 Q1674702 Q1370395
(c(Q12737077)|c(Q811979),P361,c(Q781132))
action less
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q12737077
action find_reverse_tuple_counts
relation P361
type Q781132
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q1046947
relation P361
type Q12737077
type Q811979
[ANSWERS] are less number of occupations and architectural structures a portion of than Royal Marines
[[{'concept': 'Q12737077'}, {'concept': 'Q811979'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?i ) WHERE { { ?c property:P361 ?n . ?c rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q781132 } UNION { ?c property:P361 ?n . ?n rdf:type ontology:Q781132 . ?c rdf:type ontology:Q811979 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { VALUES ( ?p ) { ( ontology:Q12737077 ) ( ontology:Q811979 ) } . ?b rdf:type ?p } . ?b property:P361 resource:Q1046947 } } . FILTER ( ?i < ?s ) }
Nepalese Army Slovak Army German Navy 2nd Marine Division Philippine Army Belize Defence Force Republic of Korea Army Roman army South African Army Syrian Arab Army German Army Imperial Russian Army Pakistan Army Spanish Navy Ghana Army German Army Romanian Land Forces naval reserve force Royal Hungarian Army Polish Land Forces Indian Army Irish Army Italian Navy Royal Jordanian Land Force French Navy Royal Danish Army Republic of Korea Navy Imperial German Navy Hellenic Army United States Special Operations Command Japan Ground Self-Defense Force Swedish Army Indonesian Army Royal Thai Army Austrian Land Forces South African Navy Ottoman Army Georgian Land Forces Imperial Japanese Army Brazilian Navy Eurocorps Yugoslav People's Army Italian Army German Army RAF Regiment Chilean Navy French Army Iraqi Army Egyptian Army German Army Brazilian Army Kriegsmarine United States Marine Corps Argentine Army rocket artillery Finnish Army Islamic Republic of Iran Ground Force Russian Navy Norwegian Army Confederate States Navy Canadian Army Korean People's Army Ground Force Pakistan Navy Lebanese Ground Forces Indian Army Philippine Commonwealth Army Croatian Army Japan Maritime Self-Defense Force Prussian Army New Zealand Army Imperial Japanese Navy Southern Expeditionary Army Group GOC Army Headquarters Estonian Land Forces
Eurocorps, Indonesian Army and Prussian Army are less number of occupations and architectural structures a portion of than Royal Marines
Eurocorps Indonesian Army Prussian Army
action less
action union
action find_reverse_tuple_counts
relation part of
type military branch
type occupation
action find_reverse_tuple_counts
relation part of
type military branch
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Royal Marines
relation part of
type occupation
type architectural structure
[[{'concept': 'occupation'}, {'concept': 'architectural structure'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?i ) WHERE { { ?c property:part_of ?n . ?c rdf:type ontology:occupation . ?n rdf:type ontology:military_branch } UNION { ?c property:part_of ?n . ?n rdf:type ontology:military_branch . ?c rdf:type ontology:architectural_structure } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { VALUES ( ?p ) { ( ontology:occupation ) ( ontology:architectural_structure ) } . ?b rdf:type ?p } . ?b property:part_of resource:Royal_Marines } } . FILTER ( ?i < ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q9160892
P361
Q781132 Q12737077 Q811979
USER
And what about fortress artillery?
(c(Q12737077)|c(Q811979),P361,c(Q781132))
action less
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q12737077
action find_reverse_tuple_counts
relation P361
type Q781132
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q9160892
relation P361
type Q12737077
type Q811979
[[{'concept': 'Q12737077'}, {'concept': 'Q811979'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?q < ?d ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:P361 resource:Q9160892 . { VALUES ( ?l ) { ( ontology:Q12737077 ) ( ontology:Q811979 ) } . ?b rdf:type ?l } } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) ?w WHERE { { ?i property:P361 ?w . ?w rdf:type ontology:Q781132 . ?i rdf:type ontology:Q12737077 } UNION { ?i property:P361 ?w . ?w rdf:type ontology:Q781132 . ?i rdf:type ontology:Q811979 } } GROUP BY ?w } }
fortress artillery
action less
action union
action find_reverse_tuple_counts
relation part of
type military branch
type occupation
action find_reverse_tuple_counts
relation part of
type military branch
type architectural structure
action count
action filter_multi_types
action find_reverse
entity fortress artillery
relation part of
type occupation
type architectural structure
[[{'concept': 'occupation'}, {'concept': 'architectural structure'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?q < ?d ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:part_of resource:fortress_artillery . { VALUES ( ?l ) { ( ontology:occupation ) ( ontology:architectural_structure ) } . ?b rdf:type ?l } } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) ?w WHERE { { ?i property:part_of ?w . ?w rdf:type ontology:military_branch . ?i rdf:type ontology:occupation } UNION { ?i property:part_of ?w . ?w rdf:type ontology:military_branch . ?i rdf:type ontology:architectural_structure } } GROUP BY ?w } }
[]
military branch occupation architectural structure
Q276538 Q2862927 Q706042
SYSTEM
Eurocorps, Indonesian Army, Prussian Army
Q16056518 Q23905126 Q56015 Q210606 Q1799545 Q2328515 Q483268 Q1114493 Q1815399 Q3068744 Q701923 Q1078222 Q2078095 Q676404 Q5555333 Q313422 Q2558747 Q19344622 Q311689 Q248989 Q642932 Q1038047 Q833040 Q4117226 Q217406 Q2575188 Q488756 Q156649 Q1546449 Q1067064 Q889751 Q2492012 Q2862927 Q2749588 Q4447359 Q1652708 Q19247539 Q1951484 Q276535 Q1750688 Q276538 Q272110 Q796411 Q56012 Q7275540 Q208711 Q1076619 Q897614 Q6479134 Q11322507 Q2292358 Q151701 Q11218 Q2301347 Q167682 Q2383264 Q18643350 Q465283 Q2384177 Q1124986 Q25436 Q1358152 Q2258261 Q4447363 Q355771 Q18129370 Q1753805 Q731647 Q706042 Q2630039 Q219712 Q706996 Q1674702 Q1370395
(c(Q12737077)|c(Q811979),P361,c(Q781132))
action less
action union
action find_reverse_tuple_counts
relation P361
type Q781132
type Q12737077
action find_reverse_tuple_counts
relation P361
type Q781132
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q9160892
relation P361
type Q12737077
type Q811979
[ANSWERS]
[[{'concept': 'Q12737077'}, {'concept': 'Q811979'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?q < ?d ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:P361 resource:Q9160892 . { VALUES ( ?l ) { ( ontology:Q12737077 ) ( ontology:Q811979 ) } . ?b rdf:type ?l } } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) ?w WHERE { { ?i property:P361 ?w . ?w rdf:type ontology:Q781132 . ?i rdf:type ontology:Q12737077 } UNION { ?i property:P361 ?w . ?w rdf:type ontology:Q781132 . ?i rdf:type ontology:Q811979 } } GROUP BY ?w } }
Nepalese Army Slovak Army German Navy 2nd Marine Division Philippine Army Belize Defence Force Republic of Korea Army Roman army South African Army Syrian Arab Army German Army Imperial Russian Army Pakistan Army Spanish Navy Ghana Army German Army Romanian Land Forces naval reserve force Royal Hungarian Army Polish Land Forces Indian Army Irish Army Italian Navy Royal Jordanian Land Force French Navy Royal Danish Army Republic of Korea Navy Imperial German Navy Hellenic Army United States Special Operations Command Japan Ground Self-Defense Force Swedish Army Indonesian Army Royal Thai Army Austrian Land Forces South African Navy Ottoman Army Georgian Land Forces Imperial Japanese Army Brazilian Navy Eurocorps Yugoslav People's Army Italian Army German Army RAF Regiment Chilean Navy French Army Iraqi Army Egyptian Army German Army Brazilian Army Kriegsmarine United States Marine Corps Argentine Army rocket artillery Finnish Army Islamic Republic of Iran Ground Force Russian Navy Norwegian Army Confederate States Navy Canadian Army Korean People's Army Ground Force Pakistan Navy Lebanese Ground Forces Indian Army Philippine Commonwealth Army Croatian Army Japan Maritime Self-Defense Force Prussian Army New Zealand Army Imperial Japanese Navy Southern Expeditionary Army Group GOC Army Headquarters Estonian Land Forces
Eurocorps Indonesian Army Prussian Army
action less
action union
action find_reverse_tuple_counts
relation part of
type military branch
type occupation
action find_reverse_tuple_counts
relation part of
type military branch
type architectural structure
action count
action filter_multi_types
action find_reverse
entity fortress artillery
relation part of
type occupation
type architectural structure
[[{'concept': 'occupation'}, {'concept': 'architectural structure'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?q < ?d ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:part_of resource:fortress_artillery . { VALUES ( ?l ) { ( ontology:occupation ) ( ontology:architectural_structure ) } . ?b rdf:type ?l } } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) ?w WHERE { { ?i property:part_of ?w . ?w rdf:type ontology:military_branch . ?i rdf:type ontology:occupation } UNION { ?i property:part_of ?w . ?w rdf:type ontology:military_branch . ?i rdf:type ontology:architectural_structure } } GROUP BY ?w } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q781132 Q874405 Q2235308
USER
How many military branches are approximately the same number of social groups and ship types a component of as that military branch ?
(c(Q874405)|c(Q2235308),P361,c(Q781132))
[[{'concept': 'Q874405'}, {'concept': 'Q2235308'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?p ) { ( ?z ) ( ?x ) } . ?p property:P361 ?y } . ?z rdf:type ontology:Q874405 . ?y rdf:type ontology:Q781132 . ?x rdf:type ontology:Q2235308 }
[[{'concept': 'social group'}, {'concept': 'ship type'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?p ) { ( ?z ) ( ?x ) } . ?p property:part_of ?y } . ?z rdf:type ontology:social_group . ?y rdf:type ontology:military_branch . ?x rdf:type ontology:ship_type }
[]
military branch social group ship type
Comparative|Count over More/Less|Mult. entity type|Clarification
Q2862927
SYSTEM
Did you mean Indonesian Army ?
(c(Q874405)|c(Q2235308),P361,c(Q781132))
[ANSWER]
[[{'concept': 'Q874405'}, {'concept': 'Q2235308'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?p ) { ( ?z ) ( ?x ) } . ?p property:P361 ?y } . ?z rdf:type ontology:Q874405 . ?y rdf:type ontology:Q781132 . ?x rdf:type ontology:Q2235308 }
Did you mean Indonesian Army ?
Indonesian Army
[[{'concept': 'social group'}, {'concept': 'ship type'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?p ) { ( ?z ) ( ?x ) } . ?p property:part_of ?y } . ?z rdf:type ontology:social_group . ?y rdf:type ontology:military_branch . ?x rdf:type ontology:ship_type }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q874405)|c(Q2235308),P361,c(Q781132))
[[{'concept': 'Q874405'}, {'concept': 'Q2235308'}], 'P361', {'concept': 'Q781132'}]
[[{'concept': 'social group'}, {'concept': 'ship type'}], 'part of', {'concept': 'military branch'}]
[]
SYSTEM
79
Q16056518 Q23905126 Q222595 Q210606 Q1799545 Q2328515 Q483268 Q1114493 Q1815399 Q3068744 Q11220 Q1046947 Q701923 Q1078222 Q2078095 Q676404 Q5555333 Q313422 Q9160892 Q2558747 Q19344622 Q311689 Q248989 Q642932 Q1038047 Q833040 Q4117226 Q217406 Q2575188 Q488756 Q156649 Q1546449 Q1067064 Q889751 Q781360 Q2492012 Q2862927 Q2749588 Q4447359 Q1652708 Q19247539 Q1951484 Q276535 Q1750688 Q276538 Q272110 Q796411 Q56012 Q7275540 Q208711 Q1076619 Q897614 Q6479134 Q11322507 Q2292358 Q151701 Q11218 Q2301347 Q167682 Q2383264 Q18643350 Q465283 Q2384177 Q1124986 Q25436 Q1358152 Q2258261 Q4447363 Q9212 Q355771 Q18129370 Q1753805 Q731647 Q706042 Q2630039 Q219712 Q706996 Q1674702 Q1370395
(c(Q874405)|c(Q2235308),P361,c(Q781132))
[ANSWER]
[[{'concept': 'Q874405'}, {'concept': 'Q2235308'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?x property:P361 ?y } } . ?z rdf:type ontology:Q874405 . ?y rdf:type ontology:Q781132 . ?x rdf:type ontology:Q2235308 }
Nepalese Army Slovak Army British Army 2nd Marine Division Philippine Army Belize Defence Force Republic of Korea Army Roman army South African Army Syrian Arab Army United States Navy Royal Marines German Army Imperial Russian Army Pakistan Army Spanish Navy Ghana Army German Army fortress artillery Romanian Land Forces naval reserve force Royal Hungarian Army Polish Land Forces Indian Army Irish Army Italian Navy Royal Jordanian Land Force French Navy Royal Danish Army Republic of Korea Navy Imperial German Navy Hellenic Army United States Special Operations Command Japan Ground Self-Defense Force Australian Army Swedish Army Indonesian Army Royal Thai Army Austrian Land Forces South African Navy Ottoman Army Georgian Land Forces Imperial Japanese Army Brazilian Navy Eurocorps Yugoslav People's Army Italian Army German Army RAF Regiment Chilean Navy French Army Iraqi Army Egyptian Army German Army Brazilian Army Kriegsmarine United States Marine Corps Argentine Army rocket artillery Finnish Army Islamic Republic of Iran Ground Force Russian Navy Norwegian Army Confederate States Navy Canadian Army Korean People's Army Ground Force Pakistan Navy Lebanese Ground Forces United States Army Indian Army Philippine Commonwealth Army Croatian Army Japan Maritime Self-Defense Force Prussian Army New Zealand Army Imperial Japanese Navy Southern Expeditionary Army Group GOC Army Headquarters Estonian Land Forces
79
[[{'concept': 'social group'}, {'concept': 'ship type'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?x property:part_of ?y } } . ?z rdf:type ontology:social_group . ?y rdf:type ontology:military_branch . ?x rdf:type ontology:ship_type }
[]