Simple Question (Direct)
Simple Question
Q4520328
P607
Q350604
USER
What battle was Matvey Shaposhnikov a part of ?
(Q4520328,P607,c(Q350604))
action filter_type
action find
entity Q4520328
relation P607
type Q350604
['Q4520328', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?c WHERE { resource:Q4520328 property:P607 ?c . ?c rdf:type ontology:Q350604 }
Matvey Shaposhnikov
action filter_type
action find
entity Matvey Shaposhnikov
relation conflict
type armed conflict
['Matvey Shaposhnikov', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?c WHERE { resource:Matvey_Shaposhnikov property:conflict ?c . ?c rdf:type ontology:armed_conflict }
[]
armed conflict
Q134949
SYSTEM
Winter War
Q134949
(Q4520328,P607,c(Q350604))
action filter_type
action find
entity Q4520328
relation P607
type Q350604
Matvey Shaposhnikov was the [ANSWER]
['Q4520328', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?c WHERE { resource:Q4520328 property:P607 ?c . ?c rdf:type ontology:Q350604 }
Winter War
Matvey Shaposhnikov was the Winter War
Winter War
action filter_type
action find
entity Matvey Shaposhnikov
relation conflict
type armed conflict
['Matvey Shaposhnikov', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?c WHERE { resource:Matvey_Shaposhnikov property:conflict ?c . ?c rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4520328
P20
Q56061
USER
Where did that person expire ?
(Q134949,P20,c(Q56061))
action filter_type
action find
entity Q4520328
relation P20
type Q56061
['Q134949', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q4520328 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Matvey Shaposhnikov
action filter_type
action find
entity Matvey Shaposhnikov
relation place of death
type administrative territorial entity
['Winter War', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Matvey_Shaposhnikov property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q908
SYSTEM
Rostov-on-Don
Q908
(Q134949,P20,c(Q56061))
action filter_type
action find
entity Q4520328
relation P20
type Q56061
That person expired in [ANSWER]
['Q134949', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q4520328 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Rostov-on-Don
That person expired in Rostov-on-Don
Rostov-on-Don
action filter_type
action find
entity Matvey Shaposhnikov
relation place of death
type administrative territorial entity
['Winter War', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Matvey_Shaposhnikov property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q350604 Q645883 Q502895
USER
How many armed conflicts are around 3 military operations or people a part of ?
(c(Q645883)|c(Q502895),P361,c(Q350604))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q350604
type Q645883
action find_reverse_tuple_counts
relation P361
type Q350604
type Q502895
value 3
[[{'concept': 'Q645883'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { FILTER ( ?y = 3 ) . { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?y ) WHERE { { ?i property:P361 ?f . ?f rdf:type ontology:Q350604 . ?i rdf:type ontology:Q645883 } UNION { ?i property:P361 ?f . ?f rdf:type ontology:Q350604 . ?i rdf:type ontology:Q502895 } } GROUP BY ?f } }
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type armed conflict
type military operation
action find_reverse_tuple_counts
relation part of
type armed conflict
type common name
value 3
[[{'concept': 'military operation'}, {'concept': 'common name'}], 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { FILTER ( ?y = 3 ) . { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?y ) WHERE { { ?i property:part_of ?f . ?f rdf:type ontology:armed_conflict . ?i rdf:type ontology:military_operation } UNION { ?i property:part_of ?f . ?f rdf:type ontology:armed_conflict . ?i rdf:type ontology:common_name } } GROUP BY ?f } }
[]
armed conflict military operation common name
SYSTEM
2
Q68969 Q189266
(c(Q645883)|c(Q502895),P361,c(Q350604))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q350604
type Q645883
action find_reverse_tuple_counts
relation P361
type Q350604
type Q502895
value 3
[ANSWER]
[[{'concept': 'Q645883'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { FILTER ( ?y = 3 ) . { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?y ) WHERE { { ?i property:P361 ?f . ?f rdf:type ontology:Q350604 . ?i rdf:type ontology:Q645883 } UNION { ?i property:P361 ?f . ?f rdf:type ontology:Q350604 . ?i rdf:type ontology:Q502895 } } GROUP BY ?f } }
Croatian War of Independence Eastern Front
2
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type armed conflict
type military operation
action find_reverse_tuple_counts
relation part of
type armed conflict
type common name
value 3
[[{'concept': 'military operation'}, {'concept': 'common name'}], 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { FILTER ( ?y = 3 ) . { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?y ) WHERE { { ?i property:part_of ?f . ?f rdf:type ontology:armed_conflict . ?i rdf:type ontology:military_operation } UNION { ?i property:part_of ?f . ?f rdf:type ontology:armed_conflict . ?i rdf:type ontology:common_name } } GROUP BY ?f } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
How many ship types have around 2 administrative territories as registry port ?
(c(Q2235308),P532,c(Q56061))
action count
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?j ) WHERE { ?n property:P532 ?u . ?u rdf:type ontology:Q56061 . ?n rdf:type ontology:Q2235308 } GROUP BY ?n } . FILTER ( ?j = 2 ) }
action count
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?j ) WHERE { ?n property:port_of_registry ?u . ?u rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:ship_type } GROUP BY ?n } . FILTER ( ?j = 2 ) }
[]
administrative territorial entity ship type
SYSTEM
4
Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action count
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?j ) WHERE { ?n property:P532 ?u . ?u rdf:type ontology:Q56061 . ?n rdf:type ontology:Q2235308 } GROUP BY ?n } . FILTER ( ?j = 2 ) }
Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
4
action count
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?j ) WHERE { ?n property:port_of_registry ?u . ?u rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:ship_type } GROUP BY ?n } . FILTER ( ?j = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q908
P190
Q56061
USER
How many administrative territories are partner towns of Rostov-on-Don ?
(Q908,P190,c(Q56061))
action count
action filter_type
action find
entity Q908
relation P190
type Q56061
['Q908', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Q908 property:P190 ?o . ?o rdf:type ontology:Q56061 }
Rostov-on-Don
action count
action filter_type
action find
entity Rostov-on-Don
relation sister city
type administrative territorial entity
['Rostov-on-Don', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Rostov-on-Don property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
12
Q43070 Q200036 Q6487 Q193180 Q134279 Q4093 Q79875 Q1874 Q2678 Q42147 Q165420 Q1295
(Q908,P190,c(Q56061))
action count
action filter_type
action find
entity Q908
relation P190
type Q56061
[ANSWER]
['Q908', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Q908 property:P190 ?o . ?o rdf:type ontology:Q56061 }
Donetsk Volos Antalya Kajaani Luhansk Glasgow Mobile Odessa Gomel Cheongju Pleven Dortmund
12
action count
action filter_type
action find
entity Rostov-on-Don
relation sister city
type administrative territorial entity
['Rostov-on-Don', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Rostov-on-Don property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q209109
P190
Q56061
USER
And also tell me about Saint-Amand-Montrond?
(Q209109,P190,c(Q56061))
action count
action filter_type
action find
entity Q209109
relation P190
type Q56061
['Q209109', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:Q56061 . resource:Q209109 property:P190 ?k }
Saint-Amand-Montrond
action count
action filter_type
action find
entity Saint-Amand-Montrond
relation sister city
type administrative territorial entity
['Saint-Amand-Montrond', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Saint-Amand-Montrond property:sister_city ?k }
[]
administrative territorial entity
SYSTEM
1
Q478675
(Q209109,P190,c(Q56061))
action count
action filter_type
action find
entity Q209109
relation P190
type Q56061
[ANSWER]
['Q209109', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:Q56061 . resource:Q209109 property:P190 ?k }
Riobamba
1
action count
action filter_type
action find
entity Saint-Amand-Montrond
relation sister city
type administrative territorial entity
['Saint-Amand-Montrond', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Saint-Amand-Montrond property:sister_city ?k }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3771
Q56061
USER
And what about Gütersloh?
(Q3771,P190,c(Q56061))
action count
action filter_type
action find
entity Q3771
relation P190
type Q56061
['Q3771', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { resource:Q3771 property:P190 ?g . ?g rdf:type ontology:Q56061 }
Gütersloh
action count
action filter_type
action find
entity Gütersloh
relation sister city
type administrative territorial entity
['Gütersloh', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { resource:Gütersloh property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
2
(Q3771,P190,c(Q56061))
action count
action filter_type
action find
entity Q3771
relation P190
type Q56061
[ANSWER]
['Q3771', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { resource:Q3771 property:P190 ?g . ?g rdf:type ontology:Q56061 }
2
action count
action filter_type
action find
entity Gütersloh
relation sister city
type administrative territorial entity
['Gütersloh', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { resource:Gütersloh property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7543934 Q4520328
P19
Q56061
USER
Which administrative territories are the places of birth of Matvey Shaposhnikov or Smart Arridge ?
OR((Q4520328,P19,c(Q56061)), (Q7543934,P19,c(Q56061)))
action filter_type
action union
action find
entity Q4520328
relation P19
action find
entity Q7543934
relation P19
type Q56061
{'OR': [['Q4520328', 'P19', {'concept': 'Q56061'}], ['Q7543934', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q7543934 property:P19 ?f } UNION { resource:Q4520328 property:P19 ?f } } . ?f rdf:type ontology:Q56061 }
Smart Arridge Matvey Shaposhnikov
action filter_type
action union
action find
entity Matvey Shaposhnikov
relation place of birth
action find
entity Smart Arridge
relation place of birth
type administrative territorial entity
{'OR': [['Matvey Shaposhnikov', 'place of birth', {'concept': 'administrative territorial entity'}], ['Smart Arridge', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Smart_Arridge property:place_of_birth ?f } UNION { resource:Matvey_Shaposhnikov property:place_of_birth ?f } } . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q7571458 Q103427
SYSTEM
Southwick, Sunderland, Alexeyevka
Q7571458 Q103427
OR((Q4520328,P19,c(Q56061)), (Q7543934,P19,c(Q56061)))
action filter_type
action union
action find
entity Q4520328
relation P19
action find
entity Q7543934
relation P19
type Q56061
[ANSWERS] are the places of birth of Matvey Shaposhnikov or Smart Arridge
{'OR': [['Q4520328', 'P19', {'concept': 'Q56061'}], ['Q7543934', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q7543934 property:P19 ?f } UNION { resource:Q4520328 property:P19 ?f } } . ?f rdf:type ontology:Q56061 }
Southwick, Sunderland Alexeyevka
Southwick, Sunderland and Alexeyevka are the places of birth of Matvey Shaposhnikov or Smart Arridge
Southwick, Sunderland Alexeyevka
action filter_type
action union
action find
entity Matvey Shaposhnikov
relation place of birth
action find
entity Smart Arridge
relation place of birth
type administrative territorial entity
{'OR': [['Matvey Shaposhnikov', 'place of birth', {'concept': 'administrative territorial entity'}], ['Smart Arridge', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Smart_Arridge property:place_of_birth ?f } UNION { resource:Matvey_Shaposhnikov property:place_of_birth ?f } } . ?f rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1362162
P361
Q350604 Q49447 Q350604
USER
How many armed conflicts are parts of lesser number of armed conflicts or world views than First Carnatic War ?
(c(Q350604),P361,c(Q350604)|c(Q49447))
action count
action less
action union
action find_tuple_counts
relation P361
type Q350604
type Q350604
action find_tuple_counts
relation P361
type Q350604
type Q49447
action count
action filter_multi_types
action find
entity Q1362162
relation P361
type Q350604
type Q49447
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q350604'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?d ) WHERE { { ?e rdf:type ontology:Q350604 . ?j rdf:type ontology:Q350604 . ?j property:P361 ?e } UNION { ?j property:P361 ?e . ?j rdf:type ontology:Q350604 . ?e rdf:type ontology:Q49447 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { resource:Q1362162 property:P361 ?p . { { ?p rdf:type ontology:Q350604 } UNION { ?p rdf:type ontology:Q49447 } } } } . FILTER ( ?d < ?t ) }
First Carnatic War
action count
action less
action union
action find_tuple_counts
relation part of
type armed conflict
type armed conflict
action find_tuple_counts
relation part of
type armed conflict
type world view
action count
action filter_multi_types
action find
entity First Carnatic War
relation part of
type armed conflict
type world view
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'armed conflict'}, {'concept': 'world view'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?d ) WHERE { { ?e rdf:type ontology:armed_conflict . ?j rdf:type ontology:armed_conflict . ?j property:part_of ?e } UNION { ?j property:part_of ?e . ?j rdf:type ontology:armed_conflict . ?e rdf:type ontology:world_view } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { resource:First_Carnatic_War property:part_of ?p . { { ?p rdf:type ontology:armed_conflict } UNION { ?p rdf:type ontology:world_view } } } } . FILTER ( ?d < ?t ) }
[]
armed conflict world view armed conflict
SYSTEM
84
Q1044829 Q184425 Q1305130 Q196409 Q68969 Q154940 Q5557072 Q190029 Q6334 Q2373506 Q381375 Q49077 Q430053 Q122100 Q7572892 Q75665 Q2652686 Q58947 Q17272643 Q49097 Q134949 Q989092 Q552373 Q252298 Q2060306 Q317519 Q8740 Q181533 Q18586347 Q4072719 Q233642 Q2576016 Q2667645 Q23403028 Q199955 Q631163 Q8064768 Q6286 Q1851858 Q178687 Q12583 Q16933898 Q322607 Q3042463 Q11942758 Q1249270 Q17126147 Q1891008 Q404517 Q19686631 Q6271 Q2915510 Q418151 Q179250 Q631799 Q2487361 Q3242848 Q598774 Q1967193 Q76118 Q75626 Q16335075 Q189266 Q2523742 Q7210108 Q1249250 Q400465 Q2985977 Q233553 Q8628 Q1074467 Q6254 Q12846172 Q644589 Q74109 Q177918 Q288251 Q1669192 Q553157 Q1262084 Q21900262 Q1757301 Q49100 Q151622
(c(Q350604),P361,c(Q350604)|c(Q49447))
action count
action less
action union
action find_tuple_counts
relation P361
type Q350604
type Q350604
action find_tuple_counts
relation P361
type Q350604
type Q49447
action count
action filter_multi_types
action find
entity Q1362162
relation P361
type Q350604
type Q49447
[ANSWER]
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q350604'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?d ) WHERE { { ?e rdf:type ontology:Q350604 . ?j rdf:type ontology:Q350604 . ?j property:P361 ?e } UNION { ?j property:P361 ?e . ?j rdf:type ontology:Q350604 . ?e rdf:type ontology:Q49447 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { resource:Q1362162 property:P361 ?p . { { ?p rdf:type ontology:Q350604 } UNION { ?p rdf:type ontology:Q49447 } } } } . FILTER ( ?d < ?t ) }
Polish–Muscovite War Pacific War War of Saint Sabas Livonian Crusade Croatian War of Independence Lapland War Ghost Dance War Kosovo War Third Punic War Polish–Swedish War (1617-18) Nagorno-Karabakh War Six-Day War Great Sioux War of 1876 Continuation War Spain in the American Revolutionary War Second Macedonian War Kachin conflict War of the Triple Alliance spillover of the Syrian Civil War 1948 Palestine war Winter War First Anglo-Afghan War Fourth Macedonian War Hungarian–Romanian war of 1919 Red Cloud's War Muslim conquest of Egypt Vietnam War Bosnian War First Soviet-Finnish War Afghanistan–Pakistan skirmishes Second Anglo-Maratha War Anastasian War Mongol invasion of Poland Hīt offensive Hundred Days Deluge Zaian War First Punic War Dakota War of 1862 First Sino-Japanese War Spanish–American War Normandy campaigns of 1200–1204 War of Attrition Uruguayan War Ethiopian-Somali border conflict Third Sacred War Arab–Israeli wars Sand War Kargil War Yemeni Civil War Second Punic War 2009 Sudan airstrikes Second Opium War French invasion of Russia Russo-Turkish War Frans van Brederode's rebellion of 1488–1490 First War of Scottish Independence Polish–Swedish War (1600–11) Second conflict in the Goryeo–Khitan War Third Macedonian War First Macedonian War War in Donbass Eastern Front Fourth French War of Religion Polish–Swedish War (1621–25) First Sacred War Little War Polish–Swedish War (1626–29) Second Sacred War War in the Vendée War of Chioggia Kitos War Safavid-Ottoman War (1616-1618) Toyota War Albanian resistance during World War II First Balkan War Cisplatine War Fourth Sacred War Romania during World War I Djiboutian Civil War Bombing of Miskolc submarine warfare Yom Kippur War Israeli–Palestinian conflict
84
action count
action less
action union
action find_tuple_counts
relation part of
type armed conflict
type armed conflict
action find_tuple_counts
relation part of
type armed conflict
type world view
action count
action filter_multi_types
action find
entity First Carnatic War
relation part of
type armed conflict
type world view
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'armed conflict'}, {'concept': 'world view'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?d ) WHERE { { ?e rdf:type ontology:armed_conflict . ?j rdf:type ontology:armed_conflict . ?j property:part_of ?e } UNION { ?j property:part_of ?e . ?j rdf:type ontology:armed_conflict . ?e rdf:type ontology:world_view } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { resource:First_Carnatic_War property:part_of ?p . { { ?p rdf:type ontology:armed_conflict } UNION { ?p rdf:type ontology:world_view } } } } . FILTER ( ?d < ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q182865
P361
Q350604 Q49447 Q350604
USER
And how about War in Afghanistan?
(c(Q350604),P361,c(Q350604)|c(Q49447))
action count
action less
action union
action find_tuple_counts
relation P361
type Q350604
type Q350604
action find_tuple_counts
relation P361
type Q350604
type Q49447
action count
action filter_multi_types
action find
entity Q182865
relation P361
type Q350604
type Q49447
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q350604'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?u ) WHERE { VALUES ( ?w ) { ( ontology:Q350604 ) ( ontology:Q49447 ) } . ?k rdf:type ?w } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q182865 property:P361 ?e . { { ?e rdf:type ontology:Q49447 } UNION { ?e rdf:type ontology:Q350604 } } } } . FILTER ( ?u < ?q ) }
War in Afghanistan
action count
action less
action union
action find_tuple_counts
relation part of
type armed conflict
type armed conflict
action find_tuple_counts
relation part of
type armed conflict
type world view
action count
action filter_multi_types
action find
entity War in Afghanistan
relation part of
type armed conflict
type world view
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'armed conflict'}, {'concept': 'world view'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?u ) WHERE { VALUES ( ?w ) { ( ontology:armed_conflict ) ( ontology:world_view ) } . ?k rdf:type ?w } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:War_in_Afghanistan property:part_of ?e . { { ?e rdf:type ontology:world_view } UNION { ?e rdf:type ontology:armed_conflict } } } } . FILTER ( ?u < ?q ) }
[]
armed conflict world view armed conflict
SYSTEM
150
Q5168559 Q1044829 Q184425 Q1305130 Q196409 Q3778613 Q68969 Q154940 Q3778618 Q699511 Q5557072 Q190029 Q6334 Q2373506 Q1968528 Q2259304 Q381375 Q49077 Q430053 Q122100 Q18920712 Q976827 Q63863 Q4200795 Q7572892 Q75665 Q2652686 Q58947 Q17272643 Q49097 Q260684 Q134949 Q989092 Q617350 Q4065191 Q249232 Q1186260 Q552373 Q252298 Q2060306 Q317519 Q550172 Q8740 Q21693680 Q181533 Q18586347 Q4072719 Q1418062 Q233642 Q2576016 Q233663 Q2667645 Q553184 Q23403028 Q617070 Q2602070 Q199955 Q3540197 Q170314 Q616846 Q631163 Q1672808 Q8064768 Q690361 Q6286 Q1362162 Q1851858 Q178687 Q1072042 Q1355145 Q2471586 Q12583 Q17324420 Q16933898 Q322607 Q3042463 Q3984895 Q11942758 Q1249270 Q17126147 Q1891008 Q748780 Q559181 Q404517 Q19686631 Q617782 Q6271 Q2915510 Q418151 Q4122579 Q179250 Q1429256 Q233702 Q631799 Q2487361 Q26690200 Q3242848 Q598774 Q1967193 Q76118 Q75626 Q16335075 Q34103 Q5555632 Q189266 Q2523742 Q7210108 Q80330 Q372330 Q1249250 Q372338 Q83085 Q154697 Q5452958 Q400465 Q2985977 Q233553 Q8628 Q1074467 Q431001 Q34145 Q877450 Q207318 Q120843 Q6254 Q12846172 Q644589 Q4207617 Q6744162 Q3042457 Q168442 Q2075775 Q74109 Q329203 Q177918 Q29269 Q170682 Q288251 Q1669192 Q524272 Q553157 Q936803 Q1262084 Q21900262 Q220878 Q42937 Q1757301 Q49100 Q15542964 Q151622
(c(Q350604),P361,c(Q350604)|c(Q49447))
action count
action less
action union
action find_tuple_counts
relation P361
type Q350604
type Q350604
action find_tuple_counts
relation P361
type Q350604
type Q49447
action count
action filter_multi_types
action find
entity Q182865
relation P361
type Q350604
type Q49447
[ANSWER]
[{'concept': 'Q350604'}, 'P361', [{'concept': 'Q350604'}, {'concept': 'Q49447'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?u ) WHERE { VALUES ( ?w ) { ( ontology:Q350604 ) ( ontology:Q49447 ) } . ?k rdf:type ?w } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q182865 property:P361 ?e . { { ?e rdf:type ontology:Q49447 } UNION { ?e rdf:type ontology:Q350604 } } } } . FILTER ( ?u < ?q ) }
Cophen Campaign Polish–Muscovite War Pacific War War of Saint Sabas Livonian Crusade Caroline War Croatian War of Independence Lapland War Lancastrian War Campaigns of 1796 in the French Revolutionary Wars Ghost Dance War Kosovo War Third Punic War Polish–Swedish War (1617-18) Operation Black Buck Hundred Years' War Nagorno-Karabakh War Six-Day War Great Sioux War of 1876 Continuation War War in Afghanistan Carnatic Wars Operation Focus Indian campaign of Alexander the Great Spain in the American Revolutionary War Second Macedonian War Kachin conflict War of the Triple Alliance spillover of the Syrian Civil War 1948 Palestine war Alexander's Balkan campaign Winter War First Anglo-Afghan War Third Anglo-Mysore War Anglo-Spanish War (1796–1808) War of the Third Coalition Creek War Fourth Macedonian War Hungarian–Romanian war of 1919 Red Cloud's War Muslim conquest of Egypt War of the Breton Succession Vietnam War conflict between Unitarians and Federalists in the Argentine Civil Wars Bosnian War First Soviet-Finnish War Afghanistan–Pakistan skirmishes Fourth Syrian War (219–217 BCE) Second Anglo-Maratha War Anastasian War Second Anglo-Mysore War Mongol invasion of Poland Gaza–Israel conflict Hīt offensive First Anglo-Mysore War Colorado War Hundred Days Third English Civil War Second Sino-Japanese War Anglo-Spanish War (1762–1763) Deluge Irish Confederate Wars Zaian War Long War First Punic War First Carnatic War Dakota War of 1862 First Sino-Japanese War War in Somalia (2006-2009) Italian War of 1494–1498 Pomeranian War Spanish–American War 2014 Israel–Gaza conflict Normandy campaigns of 1200–1204 War of Attrition Uruguayan War Third Messenian War Ethiopian-Somali border conflict Third Sacred War Arab–Israeli wars Sand War First Indochina War First Silesian War Kargil War Yemeni Civil War Fourth Anglo-Mysore War Second Punic War 2009 Sudan airstrikes Second Opium War Arikara War French invasion of Russia War of the League of Cognac Second Silesian War Russo-Turkish War Frans van Brederode's rebellion of 1488–1490 Rutulian War First War of Scottish Independence Polish–Swedish War (1600–11) Second conflict in the Goryeo–Khitan War Third Macedonian War First Macedonian War War in Donbass Second Syrian War (260–253 BCE) First Messenian War Eastern Front Fourth French War of Religion Polish–Swedish War (1621–25) English Civil War Fifth Syrian War (202–195 BCE) First Sacred War Sixth Syrian War (170–168 BCE) Soviet–Afghan War French and Indian War First English Civil War, 1642 Little War Polish–Swedish War (1626–29) Second Sacred War War in the Vendée War of Chioggia Spanish–Portuguese War Third Syrian War (246–241 BCE) Laotian Civil War French Revolutionary Wars Second Chechen War Kitos War Safavid-Ottoman War (1616-1618) Toyota War Balkan campaign of 1529 Mallian Campaign Platine War Anglo-Spanish War (1625–1630) Second Messenian War Albanian resistance during World War II First Boer War First Balkan War First Chechen War Gaza War Cisplatine War Fourth Sacred War South-East Asian theatre of World War II Romania during World War I First Syrian War (274–271 BCE) Djiboutian Civil War Bombing of Miskolc Titanomachy Trojan War submarine warfare Yom Kippur War Italian War of 1542–46 Israeli–Palestinian conflict
150
action count
action less
action union
action find_tuple_counts
relation part of
type armed conflict
type armed conflict
action find_tuple_counts
relation part of
type armed conflict
type world view
action count
action filter_multi_types
action find
entity War in Afghanistan
relation part of
type armed conflict
type world view
[{'concept': 'armed conflict'}, 'part of', [{'concept': 'armed conflict'}, {'concept': 'world view'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?u ) WHERE { VALUES ( ?w ) { ( ontology:armed_conflict ) ( ontology:world_view ) } . ?k rdf:type ?w } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:War_in_Afghanistan property:part_of ?e . { { ?e rdf:type ontology:world_view } UNION { ?e rdf:type ontology:armed_conflict } } } } . FILTER ( ?u < ?q ) }
[]