Simple Question (Direct)
Simple Question
Q5997948
P607
Q350604
USER
What was was Mariano Santibáñez a part of ?
(Q5997948,P607,c(Q350604))
action filter_type
action find
entity Q5997948
relation P607
type Q350604
['Q5997948', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?d WHERE { resource:Q5997948 property:P607 ?d . ?d rdf:type ontology:Q350604 }
Mariano Santibáñez
action filter_type
action find
entity Mariano Santibáñez
relation conflict
type armed conflict
['Mariano Santibáñez', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?d WHERE { resource:Mariano_Santibáñez property:conflict ?d . ?d rdf:type ontology:armed_conflict }
[]
armed conflict
Q2697981
SYSTEM
Argentine Civil Wars
Q2697981
(Q5997948,P607,c(Q350604))
action filter_type
action find
entity Q5997948
relation P607
type Q350604
Part The [ANSWER] Mariano Santibáñez was a
['Q5997948', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?d WHERE { resource:Q5997948 property:P607 ?d . ?d rdf:type ontology:Q350604 }
Argentine Civil Wars
Part The Argentine Civil Wars Mariano Santibáñez was a
Argentine Civil Wars
action filter_type
action find
entity Mariano Santibáñez
relation conflict
type armed conflict
['Mariano Santibáñez', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?d WHERE { resource:Mariano_Santibáñez property:conflict ?d . ?d rdf:type ontology:armed_conflict }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5997948
P410
Q4189293
USER
Which title has Mariano Santibáñez achieved ?
(Q5997948,P410,c(Q4189293))
action filter_type
action find
entity Q5997948
relation P410
type Q4189293
['Q5997948', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?i WHERE { resource:Q5997948 property:P410 ?i . ?i rdf:type ontology:Q4189293 }
Mariano Santibáñez
action filter_type
action find
entity Mariano Santibáñez
relation military rank
type title
['Mariano Santibáñez', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?i WHERE { resource:Mariano_Santibáñez property:military_rank ?i . ?i rdf:type ontology:title }
[]
title
Q104680
SYSTEM
colonel
Q104680
(Q5997948,P410,c(Q4189293))
action filter_type
action find
entity Q5997948
relation P410
type Q4189293
Mariano Santibáñez has achieved the [ANSWER]
['Q5997948', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?i WHERE { resource:Q5997948 property:P410 ?i . ?i rdf:type ontology:Q4189293 }
colonel
Mariano Santibáñez has achieved the colonel
colonel
action filter_type
action find
entity Mariano Santibáñez
relation military rank
type title
['Mariano Santibáñez', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?i WHERE { resource:Mariano_Santibáñez property:military_rank ?i . ?i rdf:type ontology:title }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5997948
P20
Q56061
USER
Where did Mariano Santibáñez die ?
(Q5997948,P20,c(Q56061))
action filter_type
action find
entity Q5997948
relation P20
type Q56061
['Q5997948', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q5997948 property:P20 ?l }
Mariano Santibáñez
action filter_type
action find
entity Mariano Santibáñez
relation place of death
type administrative territorial entity
['Mariano Santibáñez', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Mariano_Santibáñez property:place_of_death ?l }
[]
administrative territorial entity
Q44217
SYSTEM
San Salvador de Jujuy
Q44217
(Q5997948,P20,c(Q56061))
action filter_type
action find
entity Q5997948
relation P20
type Q56061
Mariano Santibáñez died in [ANSWER]
['Q5997948', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q5997948 property:P20 ?l }
San Salvador de Jujuy
Mariano Santibáñez died in San Salvador de Jujuy
San Salvador de Jujuy
action filter_type
action find
entity Mariano Santibáñez
relation place of death
type administrative territorial entity
['Mariano Santibáñez', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Mariano_Santibáñez property:place_of_death ?l }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q44217 Q546300
P17
Q15617994
USER
Is that administrative territory located in Hetlingen ?
(Q44217,P17,Q546300)
action is_in
entity Q546300
action find
entity Q44217
relation P17
['Q44217', 'P17', 'Q546300']
ASK WHERE { resource:Q44217 property:P17 resource:Q546300 }
San Salvador de Jujuy Hetlingen
action is_in
entity Hetlingen
action find
entity San Salvador de Jujuy
relation country
['San Salvador de Jujuy', 'country', 'Hetlingen']
ASK WHERE { resource:San_Salvador_de_Jujuy property:country resource:Hetlingen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q44217,P17,Q546300)
action is_in
entity Q546300
action find
entity Q44217
relation P17
[ANSWER]
['Q44217', 'P17', 'Q546300']
ASK WHERE { resource:Q44217 property:P17 resource:Q546300 }
No
action is_in
entity Hetlingen
action find
entity San Salvador de Jujuy
relation country
['San Salvador de Jujuy', 'country', 'Hetlingen']
ASK WHERE { resource:San_Salvador_de_Jujuy property:country resource:Hetlingen }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027468
P532
Q56061 Q2235308
USER
How many ship types are the registry port of more number of administrative territories than George & Lizzie ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027468
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?h ) WHERE { ?z property:P532 ?x . ?x rdf:type ontology:Q56061 . ?z rdf:type ontology:Q2235308 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { resource:Q24027468 property:P532 ?b . ?b rdf:type ontology:Q2235308 } } . FILTER ( ?h > ?l ) }
George & Lizzie
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity George & Lizzie
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?h ) WHERE { ?z property:port_of_registry ?x . ?x rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:ship_type } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { resource:George_&_Lizzie property:port_of_registry ?b . ?b rdf:type ontology:ship_type } } . FILTER ( ?h > ?l ) }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027468
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?h ) WHERE { ?z property:P532 ?x . ?x rdf:type ontology:Q56061 . ?z rdf:type ontology:Q2235308 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { resource:Q24027468 property:P532 ?b . ?b rdf:type ontology:Q2235308 } } . FILTER ( ?h > ?l ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity George & Lizzie
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?h ) WHERE { ?z property:port_of_registry ?x . ?x rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:ship_type } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { resource:George_&_Lizzie property:port_of_registry ?b . ?b rdf:type ontology:ship_type } } . FILTER ( ?h > ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q24027283
P532
Q56061 Q2235308
USER
And also tell me about Margaretta?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027283
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?c ) WHERE { ?w rdf:type ontology:Q2235308 . ?s rdf:type ontology:Q56061 . ?w property:P532 ?s } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Q24027283 property:P532 ?v . ?v rdf:type ontology:Q2235308 } } . FILTER ( ?c > ?h ) }
Margaretta
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Margaretta
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?c ) WHERE { ?w rdf:type ontology:ship_type . ?s rdf:type ontology:administrative_territorial_entity . ?w property:port_of_registry ?s } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Margaretta property:port_of_registry ?v . ?v rdf:type ontology:ship_type } } . FILTER ( ?c > ?h ) }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027283
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?c ) WHERE { ?w rdf:type ontology:Q2235308 . ?s rdf:type ontology:Q56061 . ?w property:P532 ?s } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Q24027283 property:P532 ?v . ?v rdf:type ontology:Q2235308 } } . FILTER ( ?c > ?h ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Margaretta
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?c ) WHERE { ?w rdf:type ontology:ship_type . ?s rdf:type ontology:administrative_territorial_entity . ?w property:port_of_registry ?s } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Margaretta property:port_of_registry ?v . ?v rdf:type ontology:ship_type } } . FILTER ( ?c > ?h ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P607
Q350604 Q2235308 Q502895
USER
Which armed conflicts were min number of ship types or people a part of ?
(c(Q2235308)|c(Q502895),P607,c(Q350604))
action argmin
action union
action find_reverse_tuple_counts
relation P607
type Q350604
type Q2235308
action find_reverse_tuple_counts
relation P607
type Q350604
type Q502895
[[{'concept': 'Q2235308'}, {'concept': 'Q502895'}], 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?r WHERE { VALUES ( ?d ) { ( ontology:Q2235308 ) ( ontology:Q502895 ) } . ?w rdf:type ?d } GROUP BY ?r } } . FILTER ( ?h = ?l ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?z WHERE { { ?f property:P607 ?z . ?z rdf:type ontology:Q350604 . ?f rdf:type ontology:Q2235308 } UNION { ?z rdf:type ontology:Q350604 . ?f rdf:type ontology:Q502895 . ?f property:P607 ?z } } GROUP BY ?z } }
action argmin
action union
action find_reverse_tuple_counts
relation conflict
type armed conflict
type ship type
action find_reverse_tuple_counts
relation conflict
type armed conflict
type common name
[[{'concept': 'ship type'}, {'concept': 'common name'}], 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?r WHERE { VALUES ( ?d ) { ( ontology:ship_type ) ( ontology:common_name ) } . ?w rdf:type ?d } GROUP BY ?r } } . FILTER ( ?h = ?l ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?z WHERE { { ?f property:conflict ?z . ?z rdf:type ontology:armed_conflict . ?f rdf:type ontology:ship_type } UNION { ?z rdf:type ontology:armed_conflict . ?f rdf:type ontology:common_name . ?f property:conflict ?z } } GROUP BY ?z } }
[]
armed conflict ship type common name
Q42937 Q18920712 Q2337340
SYSTEM
Trojan War, War in Afghanistan, Cenepa War
Q18920712 Q1500631 Q553184 Q1362209 Q1282732 Q2337340 Q2032554 Q1949299 Q233702 Q1783607 Q3119132 Q223085 Q26690200 Q2670249 Q4176199 Q42937
(c(Q2235308)|c(Q502895),P607,c(Q350604))
action argmin
action union
action find_reverse_tuple_counts
relation P607
type Q350604
type Q2235308
action find_reverse_tuple_counts
relation P607
type Q350604
type Q502895
[ANSWERS] were min number of ship types or people a part of
[[{'concept': 'Q2235308'}, {'concept': 'Q502895'}], 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?r WHERE { VALUES ( ?d ) { ( ontology:Q2235308 ) ( ontology:Q502895 ) } . ?w rdf:type ?d } GROUP BY ?r } } . FILTER ( ?h = ?l ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?z WHERE { { ?f property:P607 ?z . ?z rdf:type ontology:Q350604 . ?f rdf:type ontology:Q2235308 } UNION { ?z rdf:type ontology:Q350604 . ?f rdf:type ontology:Q502895 . ?f property:P607 ?z } } GROUP BY ?z } }
War in Afghanistan Ecuadorian–Peruvian War Gaza–Israel conflict First Anglo-Maratha War Guatemalan Civil War Cenepa War Second Melillan campaign Russo-Kazan Wars Second Silesian War Salvadoran Civil War Indo-Pakistani wars and conflicts Football War Rutulian War Bombardment of Alexandria cold war Trojan War
Trojan War, War in Afghanistan and Cenepa War were min number of ship types or people a part of
Trojan War War in Afghanistan Cenepa War
action argmin
action union
action find_reverse_tuple_counts
relation conflict
type armed conflict
type ship type
action find_reverse_tuple_counts
relation conflict
type armed conflict
type common name
[[{'concept': 'ship type'}, {'concept': 'common name'}], 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?r WHERE { VALUES ( ?d ) { ( ontology:ship_type ) ( ontology:common_name ) } . ?w rdf:type ?d } GROUP BY ?r } } . FILTER ( ?h = ?l ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?z WHERE { { ?f property:conflict ?z . ?z rdf:type ontology:armed_conflict . ?f rdf:type ontology:ship_type } UNION { ?z rdf:type ontology:armed_conflict . ?f rdf:type ontology:common_name . ?f property:conflict ?z } } GROUP BY ?z } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q5084679
P361
Q350604 Q645883
USER
Which military operations are a portion of approximately the same number of armed conflicts as Norwegian Campaign ?
(c(Q645883),P361,c(Q350604))
action approx
action find_tuple_counts
relation P361
type Q645883
type Q350604
action count
action filter_type
action find
entity Q5084679
relation P361
type Q645883
[{'concept': 'Q645883'}, 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?u ) WHERE { ?w property:P361 ?d . ?w rdf:type ontology:Q645883 . ?d rdf:type ontology:Q350604 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Q5084679 property:P361 ?o . ?o rdf:type ontology:Q645883 } } . FILTER ( ?u = ?a ) }
Norwegian Campaign
action approx
action find_tuple_counts
relation part of
type military operation
type armed conflict
action count
action filter_type
action find
entity Norwegian Campaign
relation part of
type military operation
[{'concept': 'military operation'}, 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?u ) WHERE { ?w property:part_of ?d . ?w rdf:type ontology:military_operation . ?d rdf:type ontology:armed_conflict } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Norwegian_Campaign property:part_of ?o . ?o rdf:type ontology:military_operation } } . FILTER ( ?u = ?a ) }
[]
armed conflict military operation
Q529723 Q15095260 Q2156895
SYSTEM
Al-Anfal Campaign, Aleppo offensive, Borneo campaign
Q5027852 Q8026287 Q1073476 Q5027856 Q5027857 Q5027854 Q5027855 Q5027858 Q5027859 Q162333 Q7504451 Q15095260 Q150812 Q7737862 Q221519 Q2935387 Q8565149 Q19853280 Q2005867 Q5027844 Q3881012 Q5447509 Q25040984 Q5452953 Q2363019 Q5452951 Q5925168 Q5452957 Q5913151 Q5452954 Q22082201 Q5278273 Q6963786 Q6067801 Q702176 Q4348111 Q5227714 Q5227710 Q27245758 Q625798 Q5027867 Q7057252 Q7097093 Q7570059 Q5521722 Q659745 Q6711552 Q5375459 Q582613 Q5695525 Q1476280 Q7525789 Q841559 Q8071198 Q5375460 Q7637391 Q5027865 Q2156895 Q5375462 Q714211 Q6487716 Q5027863 Q4520117 Q6455351 Q2750804 Q7443272 Q4827177 Q2935352 Q2543603 Q6555199 Q708173 Q23701421 Q23701420 Q5027847 Q6819363 Q8044548 Q7443267 Q7443269 Q7443268 Q17144192 Q2457677 Q682452 Q5452952 Q5027871 Q5476068 Q5745651 Q6554207 Q8039045 Q7988371 Q23899364 Q621676 Q5027767 Q3533492 Q5647237 Q529723 Q7195774 Q8053018 Q5027768 Q2522212 Q5960763 Q23540783 Q5084679 Q820617 Q1964451 Q1926157 Q4467971 Q7968089 Q5027870 Q2457686 Q5027873 Q7038737 Q3915497 Q4272689 Q5447513 Q5027771 Q671760 Q6553663 Q6553666 Q10945232 Q7784838 Q188055 Q7784830 Q7784831 Q7784832 Q8071089 Q5027868 Q5375461 Q5027866 Q5375463 Q5027864 Q6673867 Q5027862 Q5027861 Q5027860 Q6122219 Q372153 Q7676641 Q6202423 Q3655726 Q7980433 Q512700 Q20949098 Q700937 Q13311324 Q4497792 Q2502519
(c(Q645883),P361,c(Q350604))
action approx
action find_tuple_counts
relation P361
type Q645883
type Q350604
action count
action filter_type
action find
entity Q5084679
relation P361
type Q645883
[ANSWERS] are a portion of approximately the same number of armed conflicts as Norwegian Campaign
[{'concept': 'Q645883'}, 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?u ) WHERE { ?w property:P361 ?d . ?w rdf:type ontology:Q645883 . ?d rdf:type ontology:Q350604 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Q5084679 property:P361 ?o . ?o rdf:type ontology:Q645883 } } . FILTER ( ?u = ?a ) }
Campaign to Suppress Bandits in Central and Southern China Winter Offensive of 1947 in Northeast China Northern Expedition Campaign to Suppress Bandits in Liuwandashan Campaign to Suppress Bandits in Longquan Campaign to Suppress Bandits in Dabieshan Campaign to Suppress Bandits in Eastern China Campaign to Suppress Bandits in Northeast China Campaign to Suppress Bandits in Northern China Italian Campaign Shuangduiji Campaign Aleppo offensive Invasion of Poland The Great Naktong Offensive Burma Campaign Dongshan Island Campaign Fourth Encirclement Campaign against Jiangxi Soviet Campaign to the North of Baoding Nivelle Offensive Campaign of the North China Plain Pocket Samarrah Offensive Fifth Encirclement Campaign against Hubei-Henan-Anhui Soviet Black Sea Raid First Encirclement Campaign against Honghu Soviet Polish resistance movement in World War II First Encirclement Campaign against Hubei-Henan-Anhui Soviet Huaiyin–Huai'an Campaign First Encirclement Campaign against Jiangxi Soviet Houma Campaign First Encirclement Campaign against Shaanxi–Gansu Soviet Raid on Heath's Farm Dingtao Campaign Nanma–Linqu Campaign Iraq War in Anbar Province Battle of the Mediterranean Pingjin Campaign Datong–Jining Campaign Datong–Puzhou Campaign Quneitra offensive (September 2016) Western Desert Campaign Campaign to Suppress Bandits in northeastern Guizhou North West Europe Campaign Operation Green Hunt Southern Jiangsu Campaign Gaoyou–Shaobo Campaign Italian Front Lüliang Campaign Encirclement Campaign against Hunan-Western Hubei Soviet Livonian campaign of Stephen Báthory Hebei–Rehe–Chahar Campaign Domitian's Dacian War Siping Campaign Serbian Campaign of World War I Zhucheng Campaign Encirclement Campaign against Hunan–Hubei–Jiangxi Soviet Summer Offensive of 1947 in Northeast China Campaign to Suppress Bandits in Western Hunan Borneo campaign Encirclement Campaign against Hunan–Jiangxi Soviet Yelnya Offensive Lanzhou Campaign Campaign to Suppress Bandits in Southwestern China Shanghai Campaign Kōzuke-Musashi Campaign Operation Ambassador Second Encirclement Campaign against Jiangxi Soviet Autumn Offensive of 1947 in Northeast China Apure campaign Valley Campaigns of 1864 Linyi Campaign Dodecanese Campaign Manbij offensive Aleppo offensive Campaign to Defend Siping Meridian Ridge Campaign Xinghua Campaign Second Encirclement Campaign against Honghu Soviet Second Encirclement Campaign against Hubei–Henan–Shaanxi Soviet Second Encirclement Campaign against Hubei-Henan-Anhui Soviet 2014 Northern Iraq offensive Morava Offensive Siege of Malta First Encirclement Campaign against Hubei–Henan–Shaanxi Soviet Campaign to the North of Nanchuan County Fourth Encirclement Campaign against Hubei-Henan-Anhui Soviet Heshui Campaign Linjiang Campaign Wudi Campaign Western Tai'an Campaign Northwestern Europe Campaign Appomattox Campaign Campaign along the Southern Section of Datong–Puzhou Railway Namsos Campaign Handan Campaign Al-Anfal Campaign Pingdu Campaign Yetaishan Campaign Campaign at the Eastern Foothills of Funiu Mountain Franklin–Nashville Campaign Shangdang Campaign Mosul offensive Norwegian Campaign Battle of the Sierra Guadalupe Operation Archery Meuse-Argonne Offensive Tianjin Campaign Wanshan Archipelago Campaign Campaign to the North of Daqing River Ovče Pole Offensive Campaign to the South of Baoding Ningxia Campaign Final offensive of the Spanish Civil War Liaoshen Campaign Fifth Encirclement Campaign against Jiangxi Soviet Campaign at the China–Burma border Moro River Campaign Linfen Campaign Linfen–Fushan Campaign Menglianggu Campaign Third Encirclement Campaign against Jiangxi Soviet siege Third Encirclement Campaign against Honghu Soviet Third Encirclement Campaign against Hubei-Henan-Anhui Soviet Third Encirclement Campaign against Shaanxi–Gansu Soviet Zhoucun–Zhangdian Campaign Campaign to Suppress Bandits in the Border Region of Hunan–Hubei–Sichuan Encirclement Campaign against Hunan–Hubei–Sichuan–Guizhou Soviet Campaign to Suppress Bandits in Wuping Encirclement Campaign against Northeastern Jiangxi Soviet Campaign to Suppress Bandits in Western Guangxi Longhai Campaign Campaign to Suppress Bandits in Shiwandashan Campaign to Suppress Bandits in Northwestern China Campaign to Suppress Bandits in Northern Guangdong Taiyuan Campaign Huaihai Campaign Taixing Campaign Jingshan–Zhongxiang Campaign Vardar Offensive Weixian–Guangling–Nuanquan Campaign Togoland Campaign Bosnian Crusade Crimean Campaign May 2013 Iraq attacks Khingan-Mukden Offensive Operation Red River Campaign
Al-Anfal Campaign, Aleppo offensive and Borneo campaign are a portion of approximately the same number of armed conflicts as Norwegian Campaign
Al-Anfal Campaign Aleppo offensive Borneo campaign
action approx
action find_tuple_counts
relation part of
type military operation
type armed conflict
action count
action filter_type
action find
entity Norwegian Campaign
relation part of
type military operation
[{'concept': 'military operation'}, 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?u ) WHERE { ?w property:part_of ?d . ?w rdf:type ontology:military_operation . ?d rdf:type ontology:armed_conflict } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Norwegian_Campaign property:part_of ?o . ?o rdf:type ontology:military_operation } } . FILTER ( ?u = ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q700207
P361
Q350604 Q645883
USER
And also tell me about Suiyuan Campaign?
(c(Q645883),P361,c(Q350604))
action approx
action find_tuple_counts
relation P361
type Q645883
type Q350604
action count
action filter_type
action find
entity Q700207
relation P361
type Q645883
[{'concept': 'Q645883'}, 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?i ) WHERE { ?q property:P361 ?v . ?q rdf:type ontology:Q645883 . ?v rdf:type ontology:Q350604 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:Q700207 property:P361 ?l . ?l rdf:type ontology:Q645883 } } . FILTER ( ?i = ?f ) }
Suiyuan Campaign
action approx
action find_tuple_counts
relation part of
type military operation
type armed conflict
action count
action filter_type
action find
entity Suiyuan Campaign
relation part of
type military operation
[{'concept': 'military operation'}, 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?i ) WHERE { ?q property:part_of ?v . ?q rdf:type ontology:military_operation . ?v rdf:type ontology:armed_conflict } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:Suiyuan_Campaign property:part_of ?l . ?l rdf:type ontology:military_operation } } . FILTER ( ?i = ?f ) }
[]
armed conflict military operation
Q371573 Q2994973 Q323772
SYSTEM
Philippines campaign of 1944–45, Cambodian Campaign, Donbass Strategic Offensive (August 1943)
Q323772 Q3651707 Q2917367 Q20982133 Q2005365 Q3247581 Q2963048 Q7100590 Q705319 Q249708 Q481236 Q705222 Q696664 Q6148020 Q2994973 Q371573 Q700499 Q158287 Q569689 Q2632694 Q3651694 Q4127810 Q3513572 Q10265867 Q7100589 Q1627032 Q2883152 Q700207 Q5403538 Q16009400 Q705165 Q7122359 Q2583202 Q3651704 Q6554579 Q9068360 Q6556186
(c(Q645883),P361,c(Q350604))
action approx
action find_tuple_counts
relation P361
type Q645883
type Q350604
action count
action filter_type
action find
entity Q700207
relation P361
type Q645883
[ANSWERS]
[{'concept': 'Q645883'}, 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?i ) WHERE { ?q property:P361 ?v . ?q rdf:type ontology:Q645883 . ?v rdf:type ontology:Q350604 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:Q700207 property:P361 ?l . ?l rdf:type ontology:Q645883 } } . FILTER ( ?i = ?f ) }
Donbass Strategic Offensive (August 1943) Humaitá Campaign Salamaua–Lae campaign 1663 raid on the Perekop fortress Mato Grosso Campaign Campaigns of 1794 in the French Revolutionary Wars March to Reims Order of battle for Campaign of Northern and Eastern Honan 1938 1939–1940 Winter Offensive Aleutian Islands Campaign Carolean Death March Petsamo–Kirkenes Offensive Malayan Campaign Nankou Campaign Cambodian Campaign Philippines campaign of 1944–45 Zhejiang-Jiangxi campaign Case Blue Bombing of Singapore Flămânda Offensive Campaign of the Hills Second Guangxi Campaign Operation Orkan 91 Dezembrada Order of battle for Campaign of Northern and Eastern Henan 1938 Jiangqiao Campaign Pikysyry Campaign Suiyuan Campaign Ethiopian Christmas Offensive retreat from Russia Bombing of Chongqing Pacific Coast Campaign Pescadores Campaign Corrientes Campaign Linnan Campaign Laguna Retreat Operation Tiger (1992)
Philippines campaign of 1944–45 Cambodian Campaign Donbass Strategic Offensive (August 1943)
action approx
action find_tuple_counts
relation part of
type military operation
type armed conflict
action count
action filter_type
action find
entity Suiyuan Campaign
relation part of
type military operation
[{'concept': 'military operation'}, 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?i ) WHERE { ?q property:part_of ?v . ?q rdf:type ontology:military_operation . ?v rdf:type ontology:armed_conflict } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:Suiyuan_Campaign property:part_of ?l . ?l rdf:type ontology:military_operation } } . FILTER ( ?i = ?f ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P361
Q350604
USER
How many armed conflicts are that military operation a component of ?
(Q2994973,P361,c(Q350604))
['Q2994973', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2994973 property:P361 ?z . ?z rdf:type ontology:Q350604 }
['Cambodian Campaign', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Cambodian_Campaign property:part_of ?z . ?z rdf:type ontology:armed_conflict }
[]
armed conflict
Quantitative|Count|Single entity type|Clarification
Q2994973
SYSTEM
Did you mean Cambodian Campaign ?
(Q371573,P361,c(Q350604)) (Q2994973,P361,c(Q350604)) (Q323772,P361,c(Q350604))
[ANSWER]
['Q371573', 'P361', {'concept': 'Q350604'}] ['Q2994973', 'P361', {'concept': 'Q350604'}] ['Q323772', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2994973 property:P361 ?z . ?z rdf:type ontology:Q350604 }
Did you mean Cambodian Campaign ?
Cambodian Campaign
['Philippines campaign of 1944–45', 'part of', {'concept': 'armed conflict'}] ['Cambodian Campaign', 'part of', {'concept': 'armed conflict'}] ['Donbass Strategic Offensive (August 1943)', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Cambodian_Campaign property:part_of ?z . ?z rdf:type ontology:armed_conflict }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q2994973,P361,c(Q350604))
['Q2994973', 'P361', {'concept': 'Q350604'}]
['Cambodian Campaign', 'part of', {'concept': 'armed conflict'}]
[]
SYSTEM
1
Q8740
(Q2994973,P361,c(Q350604))
[ANSWER]
['Q2994973', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2994973 property:P361 ?z . ?z rdf:type ontology:Q350604 }
Vietnam War
1
['Cambodian Campaign', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Cambodian_Campaign property:part_of ?z . ?z rdf:type ontology:armed_conflict }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q51656
P361
Q1190554 Q645883
USER
How many events are more number of military operations a part of than Fourth Crusade ?
(c(Q645883),P361,c(Q1190554))
action count
action greater
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q645883
action count
action filter_type
action find
entity Q51656
relation P361
type Q1190554
[{'concept': 'Q645883'}, 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P361 ?s . ?s rdf:type ontology:Q1190554 . ?v rdf:type ontology:Q645883 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Q51656 property:P361 ?l . ?l rdf:type ontology:Q1190554 } } . FILTER ( ?z > ?a ) }
Fourth Crusade
action count
action greater
action find_reverse_tuple_counts
relation part of
type event
type military operation
action count
action filter_type
action find
entity Fourth Crusade
relation part of
type event
[{'concept': 'military operation'}, 'part of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:part_of ?s . ?s rdf:type ontology:event . ?v rdf:type ontology:military_operation } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Fourth_Crusade property:part_of ?l . ?l rdf:type ontology:event } } . FILTER ( ?z > ?a ) }
[]
event military operation
SYSTEM
10
Q1842866 Q246863 Q216184 Q789406 Q218678 Q27653685 Q6068230 Q6165880 Q162357 Q482979
(c(Q645883),P361,c(Q1190554))
action count
action greater
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q645883
action count
action filter_type
action find
entity Q51656
relation P361
type Q1190554
[ANSWER]
[{'concept': 'Q645883'}, 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P361 ?s . ?s rdf:type ontology:Q1190554 . ?v rdf:type ontology:Q645883 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Q51656 property:P361 ?l . ?l rdf:type ontology:Q1190554 } } . FILTER ( ?z > ?a ) }
Battle of Aleppo Livonian War Western Front (World War II) Balkans Campaign North African Campaign War in the Black Sea Iraqi–Kurdish conflict Soviet invasion of Manchuria Battle of Smolensk Battle of Pusan Perimeter
10
action count
action greater
action find_reverse_tuple_counts
relation part of
type event
type military operation
action count
action filter_type
action find
entity Fourth Crusade
relation part of
type event
[{'concept': 'military operation'}, 'part of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:part_of ?s . ?s rdf:type ontology:event . ?v rdf:type ontology:military_operation } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { resource:Fourth_Crusade property:part_of ?l . ?l rdf:type ontology:event } } . FILTER ( ?z > ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q869045
P361
Q1190554 Q645883
USER
And how about Queen Anne's War?
(c(Q645883),P361,c(Q1190554))
action count
action greater
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q645883
action count
action filter_type
action find
entity Q869045
relation P361
type Q1190554
[{'concept': 'Q645883'}, 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:P361 ?c . ?c rdf:type ontology:Q1190554 . ?b rdf:type ontology:Q645883 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q869045 property:P361 ?i . ?i rdf:type ontology:Q1190554 } } . FILTER ( ?f > ?j ) }
Queen Anne's War
action count
action greater
action find_reverse_tuple_counts
relation part of
type event
type military operation
action count
action filter_type
action find
entity Queen Anne's War
relation part of
type event
[{'concept': 'military operation'}, 'part of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:part_of ?c . ?c rdf:type ontology:event . ?b rdf:type ontology:military_operation } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Queen_Anne's_War property:part_of ?i . ?i rdf:type ontology:event } } . FILTER ( ?f > ?j ) }
[]
event military operation
SYSTEM
10
Q1842866 Q246863 Q216184 Q789406 Q218678 Q27653685 Q6068230 Q6165880 Q162357 Q482979
(c(Q645883),P361,c(Q1190554))
action count
action greater
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q645883
action count
action filter_type
action find
entity Q869045
relation P361
type Q1190554
[ANSWER]
[{'concept': 'Q645883'}, 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:P361 ?c . ?c rdf:type ontology:Q1190554 . ?b rdf:type ontology:Q645883 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q869045 property:P361 ?i . ?i rdf:type ontology:Q1190554 } } . FILTER ( ?f > ?j ) }
Battle of Aleppo Livonian War Western Front (World War II) Balkans Campaign North African Campaign War in the Black Sea Iraqi–Kurdish conflict Soviet invasion of Manchuria Battle of Smolensk Battle of Pusan Perimeter
10
action count
action greater
action find_reverse_tuple_counts
relation part of
type event
type military operation
action count
action filter_type
action find
entity Queen Anne's War
relation part of
type event
[{'concept': 'military operation'}, 'part of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:part_of ?c . ?c rdf:type ontology:event . ?b rdf:type ontology:military_operation } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Queen_Anne's_War property:part_of ?i . ?i rdf:type ontology:event } } . FILTER ( ?f > ?j ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5037004 Q2994973
P361
Q350604
USER
Which armed conflicts are Cambodian Campaign or Capture of Demerara and Essequibo a part of ?
OR((Q2994973,P361,c(Q350604)), (Q5037004,P361,c(Q350604)))
action filter_type
action union
action find
entity Q2994973
relation P361
action find
entity Q5037004
relation P361
type Q350604
{'OR': [['Q2994973', 'P361', {'concept': 'Q350604'}], ['Q5037004', 'P361', {'concept': 'Q350604'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q2994973 property:P361 ?z } UNION { resource:Q5037004 property:P361 ?z } } . ?z rdf:type ontology:Q350604 }
Capture of Demerara and Essequibo Cambodian Campaign
action filter_type
action union
action find
entity Cambodian Campaign
relation part of
action find
entity Capture of Demerara and Essequibo
relation part of
type armed conflict
{'OR': [['Cambodian Campaign', 'part of', {'concept': 'armed conflict'}], ['Capture of Demerara and Essequibo', 'part of', {'concept': 'armed conflict'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Cambodian_Campaign property:part_of ?z } UNION { resource:Capture_of_Demerara_and_Essequibo property:part_of ?z } } . ?z rdf:type ontology:armed_conflict }
[]
armed conflict
Q3651696 Q8740
SYSTEM
Anglo-French War, Vietnam War
Q3651696 Q8740
OR((Q2994973,P361,c(Q350604)), (Q5037004,P361,c(Q350604)))
action filter_type
action union
action find
entity Q2994973
relation P361
action find
entity Q5037004
relation P361
type Q350604
The [ANSWERS] are Cambodian Campaign or Capture of Demerara and Essequibo a part of
{'OR': [['Q2994973', 'P361', {'concept': 'Q350604'}], ['Q5037004', 'P361', {'concept': 'Q350604'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q2994973 property:P361 ?z } UNION { resource:Q5037004 property:P361 ?z } } . ?z rdf:type ontology:Q350604 }
Anglo-French War Vietnam War
The Anglo-French War and Vietnam War are Cambodian Campaign or Capture of Demerara and Essequibo a part of
Anglo-French War Vietnam War
action filter_type
action union
action find
entity Cambodian Campaign
relation part of
action find
entity Capture of Demerara and Essequibo
relation part of
type armed conflict
{'OR': [['Cambodian Campaign', 'part of', {'concept': 'armed conflict'}], ['Capture of Demerara and Essequibo', 'part of', {'concept': 'armed conflict'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Cambodian_Campaign property:part_of ?z } UNION { resource:Capture_of_Demerara_and_Essequibo property:part_of ?z } } . ?z rdf:type ontology:armed_conflict }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q546300
P19 P21
Q502895
USER
Which people have place of birth as Hetlingen and have male as the sex ?
AND((c(Q502895),P19,Q546300), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q546300
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q546300'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P21 resource:Q6581097 . ?n property:P19 resource:Q546300 . ?n rdf:type ontology:Q502895 }
male Hetlingen
action filter_type
action intersection
action find_reverse
entity Hetlingen
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Hetlingen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:gender resource:male . ?n property:place_of_birth resource:Hetlingen . ?n rdf:type ontology:common_name }
[]
common name
Q1604004 Q1782886
SYSTEM
Helmut Plüschau, Nisse Lüneburg
Q1604004 Q1782886
AND((c(Q502895),P19,Q546300), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q546300
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have place of birth as Hetlingen and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q546300'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P21 resource:Q6581097 . ?n property:P19 resource:Q546300 . ?n rdf:type ontology:Q502895 }
Helmut Plüschau Nisse Lüneburg
Helmut Plüschau and Nisse Lüneburg have place of birth as Hetlingen and have male as the sex
Helmut Plüschau Nisse Lüneburg
action filter_type
action intersection
action find_reverse
entity Hetlingen
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Hetlingen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:gender resource:male . ?n property:place_of_birth resource:Hetlingen . ?n rdf:type ontology:common_name }
[]