Simple Question (Direct)
Simple Question
Q3388993
P20
Q56061
USER
Where did Piotr Ziouzine expire ?
(Q3388993,P20,c(Q56061))
action filter_type
action find
entity Q3388993
relation P20
type Q56061
['Q3388993', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q3388993 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Piotr Ziouzine
action filter_type
action find
entity Piotr Ziouzine
relation place of death
type administrative territorial entity
['Piotr Ziouzine', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Piotr_Ziouzine property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q3388993,P20,c(Q56061))
action filter_type
action find
entity Q3388993
relation P20
type Q56061
Piotr Ziouzine expired in [ANSWER]
['Q3388993', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q3388993 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Moscow
Piotr Ziouzine expired in Moscow
Moscow
action filter_type
action find
entity Piotr Ziouzine
relation place of death
type administrative territorial entity
['Piotr Ziouzine', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Piotr_Ziouzine property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3388993
P607
Q350604
USER
Which battle did Piotr Ziouzine take part in ?
(Q3388993,P607,c(Q350604))
action filter_type
action find
entity Q3388993
relation P607
type Q350604
['Q3388993', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q350604 . resource:Q3388993 property:P607 ?h }
Piotr Ziouzine
action filter_type
action find
entity Piotr Ziouzine
relation conflict
type armed conflict
['Piotr Ziouzine', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:armed_conflict . resource:Piotr_Ziouzine property:conflict ?h }
[]
armed conflict
Q189266
SYSTEM
Eastern Front
Q189266
(Q3388993,P607,c(Q350604))
action filter_type
action find
entity Q3388993
relation P607
type Q350604
Part Piotr Ziouzine took the [ANSWER]
['Q3388993', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q350604 . resource:Q3388993 property:P607 ?h }
Eastern Front
Part Piotr Ziouzine took the Eastern Front
Eastern Front
action filter_type
action find
entity Piotr Ziouzine
relation conflict
type armed conflict
['Piotr Ziouzine', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:armed_conflict . resource:Piotr_Ziouzine property:conflict ?h }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1842866
P361
Q1190554 Q350604
USER
How many events are more number of armed conflicts a component of than Battle of Aleppo ?
(c(Q350604),P361,c(Q1190554))
action count
action greater
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q350604
action count
action filter_type
action find
entity Q1842866
relation P361
type Q1190554
[{'concept': 'Q350604'}, 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Q1842866 property:P361 ?h . ?h rdf:type ontology:Q1190554 } } . FILTER ( ?l > ?q ) . { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:P361 ?j . ?j rdf:type ontology:Q1190554 . ?k rdf:type ontology:Q350604 } GROUP BY ?j } }
Battle of Aleppo
action count
action greater
action find_reverse_tuple_counts
relation part of
type event
type armed conflict
action count
action filter_type
action find
entity Battle of Aleppo
relation part of
type event
[{'concept': 'armed conflict'}, 'part of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Battle_of_Aleppo property:part_of ?h . ?h rdf:type ontology:event } } . FILTER ( ?l > ?q ) . { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:part_of ?j . ?j rdf:type ontology:event . ?k rdf:type ontology:armed_conflict } GROUP BY ?j } }
[]
event armed conflict
SYSTEM
15
Q19870743 Q19362030 Q654006 Q2067876 Q78994 Q1514908 Q8669 Q51662 Q18817 Q789406 Q673175 Q1758572 Q1413732 Q165725 Q16918333
(c(Q350604),P361,c(Q1190554))
action count
action greater
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q350604
action count
action filter_type
action find
entity Q1842866
relation P361
type Q1190554
[ANSWER]
[{'concept': 'Q350604'}, 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Q1842866 property:P361 ?h . ?h rdf:type ontology:Q1190554 } } . FILTER ( ?l > ?q ) . { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:P361 ?j . ?j rdf:type ontology:Q1190554 . ?k rdf:type ontology:Q350604 } GROUP BY ?j } }
Anglo-French war of 1202–14 aftermath of the 2014–15 Yemeni coup d'état Second Northern War Polish–Swedish War (1600-29) Napoleonic Wars Cuban War of Independence Arab–Israeli conflict Northern Crusades War of the First Coalition Balkans Campaign French Wars of Religion Hook and Cod wars Kashmir conflict Balkan Wars Ukrainian crisis
15
action count
action greater
action find_reverse_tuple_counts
relation part of
type event
type armed conflict
action count
action filter_type
action find
entity Battle of Aleppo
relation part of
type event
[{'concept': 'armed conflict'}, 'part of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Battle_of_Aleppo property:part_of ?h . ?h rdf:type ontology:event } } . FILTER ( ?l > ?q ) . { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:part_of ?j . ?j rdf:type ontology:event . ?k rdf:type ontology:armed_conflict } GROUP BY ?j } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q604897
P361
Q1190554 Q350604
USER
And what about Battle of Dien Bien Phu?
(c(Q350604),P361,c(Q1190554))
action count
action greater
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q350604
action count
action filter_type
action find
entity Q604897
relation P361
type Q1190554
[{'concept': 'Q350604'}, 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { FILTER ( ?w > ?d ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Q604897 property:P361 ?l . ?l rdf:type ontology:Q1190554 } } . { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:P361 ?z . ?z rdf:type ontology:Q1190554 . ?o rdf:type ontology:Q350604 } GROUP BY ?z } }
Battle of Dien Bien Phu
action count
action greater
action find_reverse_tuple_counts
relation part of
type event
type armed conflict
action count
action filter_type
action find
entity Battle of Dien Bien Phu
relation part of
type event
[{'concept': 'armed conflict'}, 'part of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { FILTER ( ?w > ?d ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Battle_of_Dien_Bien_Phu property:part_of ?l . ?l rdf:type ontology:event } } . { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:part_of ?z . ?z rdf:type ontology:event . ?o rdf:type ontology:armed_conflict } GROUP BY ?z } }
[]
event armed conflict
SYSTEM
15
Q19870743 Q19362030 Q654006 Q2067876 Q78994 Q1514908 Q8669 Q51662 Q18817 Q789406 Q673175 Q1758572 Q1413732 Q165725 Q16918333
(c(Q350604),P361,c(Q1190554))
action count
action greater
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q350604
action count
action filter_type
action find
entity Q604897
relation P361
type Q1190554
[ANSWER]
[{'concept': 'Q350604'}, 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { FILTER ( ?w > ?d ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Q604897 property:P361 ?l . ?l rdf:type ontology:Q1190554 } } . { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:P361 ?z . ?z rdf:type ontology:Q1190554 . ?o rdf:type ontology:Q350604 } GROUP BY ?z } }
Anglo-French war of 1202–14 aftermath of the 2014–15 Yemeni coup d'état Second Northern War Polish–Swedish War (1600-29) Napoleonic Wars Cuban War of Independence Arab–Israeli conflict Northern Crusades War of the First Coalition Balkans Campaign French Wars of Religion Hook and Cod wars Kashmir conflict Balkan Wars Ukrainian crisis
15
action count
action greater
action find_reverse_tuple_counts
relation part of
type event
type armed conflict
action count
action filter_type
action find
entity Battle of Dien Bien Phu
relation part of
type event
[{'concept': 'armed conflict'}, 'part of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { FILTER ( ?w > ?d ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Battle_of_Dien_Bien_Phu property:part_of ?l . ?l rdf:type ontology:event } } . { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:part_of ?z . ?z rdf:type ontology:event . ?o rdf:type ontology:armed_conflict } GROUP BY ?z } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q483039 Q604897
P361
Q350604
USER
Which armed conflicts are Battle of Dien Bien Phu or Battle of Inchon a portion of ?
OR((Q604897,P361,c(Q350604)), (Q483039,P361,c(Q350604)))
action filter_type
action union
action find
entity Q604897
relation P361
action find
entity Q483039
relation P361
type Q350604
{'OR': [['Q604897', 'P361', {'concept': 'Q350604'}], ['Q483039', 'P361', {'concept': 'Q350604'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?a ) { ( resource:Q604897 ) ( resource:Q483039 ) } . ?a property:P361 ?u } . ?u rdf:type ontology:Q350604 }
Battle of Inchon Battle of Dien Bien Phu
action filter_type
action union
action find
entity Battle of Dien Bien Phu
relation part of
action find
entity Battle of Inchon
relation part of
type armed conflict
{'OR': [['Battle of Dien Bien Phu', 'part of', {'concept': 'armed conflict'}], ['Battle of Inchon', 'part of', {'concept': 'armed conflict'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?a ) { ( resource:Battle_of_Dien_Bien_Phu ) ( resource:Battle_of_Inchon ) } . ?a property:part_of ?u } . ?u rdf:type ontology:armed_conflict }
[]
armed conflict
Q748780 Q8663
SYSTEM
First Indochina War, Korean War
Q748780 Q8663
OR((Q604897,P361,c(Q350604)), (Q483039,P361,c(Q350604)))
action filter_type
action union
action find
entity Q604897
relation P361
action find
entity Q483039
relation P361
type Q350604
The [ANSWERS] are Battle of Dien Bien Phu or Battle of Inchon a portion of
{'OR': [['Q604897', 'P361', {'concept': 'Q350604'}], ['Q483039', 'P361', {'concept': 'Q350604'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?a ) { ( resource:Q604897 ) ( resource:Q483039 ) } . ?a property:P361 ?u } . ?u rdf:type ontology:Q350604 }
First Indochina War Korean War
The First Indochina War and Korean War are Battle of Dien Bien Phu or Battle of Inchon a portion of
First Indochina War Korean War
action filter_type
action union
action find
entity Battle of Dien Bien Phu
relation part of
action find
entity Battle of Inchon
relation part of
type armed conflict
{'OR': [['Battle of Dien Bien Phu', 'part of', {'concept': 'armed conflict'}], ['Battle of Inchon', 'part of', {'concept': 'armed conflict'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?a ) { ( resource:Battle_of_Dien_Bien_Phu ) ( resource:Battle_of_Inchon ) } . ?a property:part_of ?u } . ?u rdf:type ontology:armed_conflict }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2354629 Q483039
P607
Q502895
USER
Which people did Battle of Inchon or Malayan Emergency take part in ?
OR((c(Q502895),P607,Q483039), (c(Q502895),P607,Q2354629))
action filter_type
action union
action find_reverse
entity Q483039
relation P607
action find_reverse
entity Q2354629
relation P607
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P607', 'Q483039'], [{'concept': 'Q502895'}, 'P607', 'Q2354629']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . { { ?z property:P607 resource:Q483039 } UNION { ?z property:P607 resource:Q2354629 } } }
Malayan Emergency Battle of Inchon
action filter_type
action union
action find_reverse
entity Battle of Inchon
relation conflict
action find_reverse
entity Malayan Emergency
relation conflict
type common name
{'OR': [[{'concept': 'common name'}, 'conflict', 'Battle of Inchon'], [{'concept': 'common name'}, 'conflict', 'Malayan Emergency']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . { { ?z property:conflict resource:Battle_of_Inchon } UNION { ?z property:conflict resource:Malayan_Emergency } } }
[]
common name
Q6134695 Q15432136 Q2442644 Q4893330 Q5980825 Q7173761 Q15966998 Q6257915 Q12407877 Q7925900
SYSTEM
Some of them are James Glover, John Ure, Tony Jeapes, Bernard Knight, Ian Baker, Peter Duffell, John Archer, John Simpson, Hugh Stockwell, Victor FitzGeorge-Balfour
Q6074602 Q5534699 Q6964905 Q12407877 Q6830739 Q5239578 Q3876718 Q5662125 Q5667205 Q7173761 Q7925900 Q7325901 Q15070970 Q2984167 Q977028 Q15967772 Q6307044 Q2531866 Q7176526 Q3313250 Q5534469 Q5240133 Q5241366 Q7325144 Q7518517 Q6666744 Q6134695 Q3703184 Q6262625 Q2506905 Q5233260 Q5544945 Q5077907 Q15966998 Q15437905 Q336629 Q27276730 Q5407009 Q6235894 Q2442644 Q5482027 Q6133116 Q5346478 Q8018222 Q2088004 Q4910955 Q5257449 Q7287171 Q6264814 Q6257915 Q5524160 Q5040450 Q459415 Q711594 Q4893330 Q4799925 Q3403159 Q3082678 Q7411844 Q1989572 Q7123430 Q6197786 Q1926783 Q15967196 Q7175624 Q6218114 Q5294185 Q4772386 Q5931525 Q7174771 Q12983106 Q6140339 Q968340 Q1655520 Q6249069 Q7330094 Q7308851 Q7982114 Q15432136 Q5980825
OR((c(Q502895),P607,Q483039), (c(Q502895),P607,Q2354629))
action filter_type
action union
action find_reverse
entity Q483039
relation P607
action find_reverse
entity Q2354629
relation P607
type Q502895
[ANSWERS] Battle of Inchon or Malayan Emergency took in part
{'OR': [[{'concept': 'Q502895'}, 'P607', 'Q483039'], [{'concept': 'Q502895'}, 'P607', 'Q2354629']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . { { ?z property:P607 resource:Q483039 } UNION { ?z property:P607 resource:Q2354629 } } }
Harry Roberts Geoffrey Inkin Napier Crookenden Hugh Stockwell Michael Gray David Scott-Barrett Nigel Bagnall Harold Rawdon Briggs Harry Baxter Peter Duffell Victor FitzGeorge-Balfour Richard Geoffrey Pine-Coffin Barrie Dobson Michael Davies John Chapple Sir Gregor MacGregor, 6th Baronet Julian Cayo-Evans Gerald Templer Peter Randall Mike Calvert Geoffrey Bourne, Baron Bourne David Strangeways David Young Richard De Wert Simon Cooper Lofty Large James Glover David Fraser John Waddy James Cassels David Edelsten George Styles Charles G. Abrell John Archer Patrick Man James Carnegie, 3rd Duke of Fife Eric Smith Eugene A. Obregon John Gouriet Tony Jeapes Francis Newall, 2nd Baron Newall James E. Johnson Edwin H. Simmons William Scotter Phillip Bennett Bill Speakman Denis Ormerod Ralph Anstruther John Woodhouse John Simpson Garry Johnson Carl L. Sitter Walter Walker Roy Urquhart Bernard Knight Arthur Patterson Leslie Thomas Frank Kitson Samuel Jaskilka Nigel Napier, 14th Lord Napier Paddy Condon Jim Robertson Michael Allenby, 3rd Viscount Allenby Terence Beckett Peter Mallett John Acland Donald Conroy Anthony Deane-Drummond Kurt Chew-Een Lee Peter Hudson Ted Dexter James Newton Rodney Moore Peter de la Billière Ian Gow John Mogg Richard Worsley Reginald R. Myers Welton Ralph Abell John Ure Ian Baker
James Glover, John Ure, Tony Jeapes, Bernard Knight, Ian Baker, Peter Duffell, John Archer, John Simpson, Hugh Stockwell and Victor FitzGeorge-Balfour Battle of Inchon or Malayan Emergency took in part
James Glover John Ure Tony Jeapes Bernard Knight Ian Baker Peter Duffell John Archer John Simpson Hugh Stockwell Victor FitzGeorge-Balfour
action filter_type
action union
action find_reverse
entity Battle of Inchon
relation conflict
action find_reverse
entity Malayan Emergency
relation conflict
type common name
{'OR': [[{'concept': 'common name'}, 'conflict', 'Battle of Inchon'], [{'concept': 'common name'}, 'conflict', 'Malayan Emergency']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . { { ?z property:conflict resource:Battle_of_Inchon } UNION { ?z property:conflict resource:Malayan_Emergency } } }
[]