Simple Question (Direct)
Simple Question
Q5980952
P241
Q781132
USER
Which military branch did Ian Bonham-Carter belong to ?
(Q5980952,P241,c(Q781132))
action filter_type
action find
entity Q5980952
relation P241
type Q781132
['Q5980952', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?i WHERE { resource:Q5980952 property:P241 ?i . ?i rdf:type ontology:Q781132 }
Ian Bonham-Carter
action filter_type
action find
entity Ian Bonham-Carter
relation military branch
type military branch
['Ian Bonham-Carter', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?i WHERE { resource:Ian_Bonham-Carter property:military_branch ?i . ?i rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q5980952,P241,c(Q781132))
action filter_type
action find
entity Q5980952
relation P241
type Q781132
Ian Bonham-Carter belonged to [ANSWER]
['Q5980952', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?i WHERE { resource:Q5980952 property:P241 ?i . ?i rdf:type ontology:Q781132 }
British Army
Ian Bonham-Carter belonged to British Army
British Army
action filter_type
action find
entity Ian Bonham-Carter
relation military branch
type military branch
['Ian Bonham-Carter', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?i WHERE { resource:Ian_Bonham-Carter property:military_branch ?i . ?i rdf:type ontology:military_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5980952
P166
Q768855
USER
What was won by Ian Bonham-Carter ?
(Q5980952,P166,c(Q768855))
action filter_type
action find
entity Q5980952
relation P166
type Q768855
['Q5980952', 'P166', {'concept': 'Q768855'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q768855 . resource:Q5980952 property:P166 ?y }
Ian Bonham-Carter
action filter_type
action find
entity Ian Bonham-Carter
relation award received
type Orders, decorations, and medals of the United Kingdom
['Ian Bonham-Carter', 'award received', {'concept': 'Orders, decorations, and medals of the United Kingdom'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Orders,_decorations,_and_medals_of_the_United_Kingdom . resource:Ian_Bonham-Carter property:award_received ?y }
[]
Orders, decorations, and medals of the United Kingdom
Q12177472
SYSTEM
Companion of the Order of the Bath
Q12177472
(Q5980952,P166,c(Q768855))
action filter_type
action find
entity Q5980952
relation P166
type Q768855
The [ANSWER] was won by Ian Bonham-Carter
['Q5980952', 'P166', {'concept': 'Q768855'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q768855 . resource:Q5980952 property:P166 ?y }
Companion of the Order of the Bath
The Companion of the Order of the Bath was won by Ian Bonham-Carter
Companion of the Order of the Bath
action filter_type
action find
entity Ian Bonham-Carter
relation award received
type Orders, decorations, and medals of the United Kingdom
['Ian Bonham-Carter', 'award received', {'concept': 'Orders, decorations, and medals of the United Kingdom'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Orders,_decorations,_and_medals_of_the_United_Kingdom . resource:Ian_Bonham-Carter property:award_received ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5980952
P21
Q290
USER
What is the sex of Ian Bonham-Carter ?
(Q5980952,P21,c(Q290))
action filter_type
action find
entity Q5980952
relation P21
type Q290
['Q5980952', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q5980952 property:P21 ?o }
Ian Bonham-Carter
action filter_type
action find
entity Ian Bonham-Carter
relation gender
type sex
['Ian Bonham-Carter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Ian_Bonham-Carter property:gender ?o }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5980952,P21,c(Q290))
action filter_type
action find
entity Q5980952
relation P21
type Q290
The sex of Ian Bonham-Carter is the [ANSWER]
['Q5980952', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q5980952 property:P21 ?o }
male
The sex of Ian Bonham-Carter is the male
male
action filter_type
action find
entity Ian Bonham-Carter
relation gender
type sex
['Ian Bonham-Carter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Ian_Bonham-Carter property:gender ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5980952
P410
Q4189293
USER
Which title has that person achieved ?
(Q6581097,P410,c(Q4189293))
action filter_type
action find
entity Q5980952
relation P410
type Q4189293
['Q6581097', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?z WHERE { resource:Q5980952 property:P410 ?z . ?z rdf:type ontology:Q4189293 }
Ian Bonham-Carter
action filter_type
action find
entity Ian Bonham-Carter
relation military rank
type title
['male', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?z WHERE { resource:Ian_Bonham-Carter property:military_rank ?z . ?z rdf:type ontology:title }
[]
title
Q407033
SYSTEM
air commodore
Q407033
(Q6581097,P410,c(Q4189293))
action filter_type
action find
entity Q5980952
relation P410
type Q4189293
That person has achieved the [ANSWER]
['Q6581097', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?z WHERE { resource:Q5980952 property:P410 ?z . ?z rdf:type ontology:Q4189293 }
air commodore
That person has achieved the air commodore
air commodore
action filter_type
action find
entity Ian Bonham-Carter
relation military rank
type title
['male', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?z WHERE { resource:Ian_Bonham-Carter property:military_rank ?z . ?z rdf:type ontology:title }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q897614
P361
Q781132 Q781132
USER
How many military branches are around the same number of military branches a portion of as Iraqi Army ?
(c(Q781132),P361,c(Q781132))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q781132
type Q781132
action count
action filter_type
action find
entity Q897614
relation P361
type Q781132
[{'concept': 'Q781132'}, 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?i ) WHERE { ?e property:P361 ?a . ?e rdf:type ontology:Q781132 . ?a rdf:type ontology:Q781132 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w rdf:type ontology:Q781132 . resource:Q897614 property:P361 ?w } } . FILTER ( ?i = ?s ) }
Iraqi Army
action count
action approx
action find_reverse_tuple_counts
relation part of
type military branch
type military branch
action count
action filter_type
action find
entity Iraqi Army
relation part of
type military branch
[{'concept': 'military branch'}, 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?i ) WHERE { ?e property:part_of ?a . ?e rdf:type ontology:military_branch . ?a rdf:type ontology:military_branch } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w rdf:type ontology:military_branch . resource:Iraqi_Army property:part_of ?w } } . FILTER ( ?i = ?s ) }
[]
military branch military branch
SYSTEM
71
Q16056518 Q23905126 Q222595 Q56015 Q210606 Q1799545 Q2328515 Q483268 Q1114493 Q1815399 Q3068744 Q11220 Q1046947 Q172771 Q701923 Q1078222 Q2078095 Q5555333 Q9160892 Q2558747 Q19344622 Q311689 Q248989 Q642932 Q1038047 Q833040 Q4117226 Q217406 Q2575188 Q156649 Q1546449 Q889751 Q781360 Q2492012 Q2749588 Q4447359 Q1652708 Q19247539 Q1951484 Q276535 Q276538 Q272110 Q796411 Q56012 Q7275540 Q25387 Q1076619 Q897614 Q6479134 Q741691 Q11322507 Q151701 Q11218 Q167682 Q2383264 Q465283 Q2384177 Q1124986 Q25436 Q1358152 Q4447363 Q9212 Q18129370 Q1753805 Q731647 Q706042 Q2630039 Q219712 Q706996 Q1674702 Q1370395
(c(Q781132),P361,c(Q781132))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q781132
type Q781132
action count
action filter_type
action find
entity Q897614
relation P361
type Q781132
[ANSWER]
[{'concept': 'Q781132'}, 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?i ) WHERE { ?e property:P361 ?a . ?e rdf:type ontology:Q781132 . ?a rdf:type ontology:Q781132 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w rdf:type ontology:Q781132 . resource:Q897614 property:P361 ?w } } . FILTER ( ?i = ?s ) }
Nepalese Army Slovak Army British Army German Navy 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 Royal Navy German Army Imperial Russian Army Pakistan Army Ghana 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 Imperial German Navy Hellenic Army Japan Ground Self-Defense Force Australian Army Swedish Army Royal Thai Army Austrian Land Forces South African Navy Ottoman Army Georgian Land Forces Imperial Japanese Army Eurocorps Yugoslav People's Army Italian Army German Army RAF Regiment Royal Canadian Navy French Army Iraqi Army Egyptian Army Royal Australian Navy German Army Kriegsmarine United States Marine Corps rocket artillery Finnish Army Russian Navy Norwegian Army Confederate States Navy Canadian Army Korean People's Army Ground Force Lebanese Ground Forces United States 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
71
action count
action approx
action find_reverse_tuple_counts
relation part of
type military branch
type military branch
action count
action filter_type
action find
entity Iraqi Army
relation part of
type military branch
[{'concept': 'military branch'}, 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?i ) WHERE { ?e property:part_of ?a . ?e rdf:type ontology:military_branch . ?a rdf:type ontology:military_branch } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w rdf:type ontology:military_branch . resource:Iraqi_Army property:part_of ?w } } . FILTER ( ?i = ?s ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12522574 Q12177472
P17
Q15617994
USER
Which administrative territories are Companion of the Order of the Bath or Tulungrejo a part of ?
OR((Q12177472,P17,c(Q15617994)), (Q12522574,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q12177472
relation P17
action find
entity Q12522574
relation P17
type Q15617994
{'OR': [['Q12177472', 'P17', {'concept': 'Q15617994'}], ['Q12522574', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . { { resource:Q12177472 property:P17 ?x } UNION { resource:Q12522574 property:P17 ?x } } }
Tulungrejo Companion of the Order of the Bath
action filter_type
action union
action find
entity Companion of the Order of the Bath
relation country
action find
entity Tulungrejo
relation country
type designation for an administrative territorial entity
{'OR': [['Companion of the Order of the Bath', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Tulungrejo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Companion_of_the_Order_of_the_Bath property:country ?x } UNION { resource:Tulungrejo property:country ?x } } }
[]
designation for an administrative territorial entity
Q252 Q145
SYSTEM
Indonesia, United Kingdom
Q252 Q145
OR((Q12177472,P17,c(Q15617994)), (Q12522574,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q12177472
relation P17
action find
entity Q12522574
relation P17
type Q15617994
[ANSWERS] are Companion of the Order of the Bath or Tulungrejo a part of
{'OR': [['Q12177472', 'P17', {'concept': 'Q15617994'}], ['Q12522574', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . { { resource:Q12177472 property:P17 ?x } UNION { resource:Q12522574 property:P17 ?x } } }
Indonesia United Kingdom
Indonesia and United Kingdom are Companion of the Order of the Bath or Tulungrejo a part of
Indonesia United Kingdom
action filter_type
action union
action find
entity Companion of the Order of the Bath
relation country
action find
entity Tulungrejo
relation country
type designation for an administrative territorial entity
{'OR': [['Companion of the Order of the Bath', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Tulungrejo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Companion_of_the_Order_of_the_Bath property:country ?x } UNION { resource:Tulungrejo property:country ?x } } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2546402 Q5980952
P607
Q198
USER
Which wars did Ian Bonham-Carter and Walter Steinecke take part in ?
AND((Q5980952,P607,c(Q198)), (Q2546402,P607,c(Q198)))
action filter_type
action intersection
action find
entity Q5980952
relation P607
action find
entity Q2546402
relation P607
type Q198
{'AND': [['Q5980952', 'P607', {'concept': 'Q198'}], ['Q2546402', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q198 . resource:Q5980952 property:P607 ?z . resource:Q2546402 property:P607 ?z }
Walter Steinecke Ian Bonham-Carter
action filter_type
action intersection
action find
entity Ian Bonham-Carter
relation conflict
action find
entity Walter Steinecke
relation conflict
type war
{'AND': [['Ian Bonham-Carter', 'conflict', {'concept': 'war'}], ['Walter Steinecke', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:war . resource:Ian_Bonham-Carter property:conflict ?z . resource:Walter_Steinecke property:conflict ?z }
[]
war
Q361
SYSTEM
World War I
Q361
AND((Q5980952,P607,c(Q198)), (Q2546402,P607,c(Q198)))
action filter_type
action intersection
action find
entity Q5980952
relation P607
action find
entity Q2546402
relation P607
type Q198
Ian Bonham-Carter and Walter Steinecke took in part in [ANSWER]
{'AND': [['Q5980952', 'P607', {'concept': 'Q198'}], ['Q2546402', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q198 . resource:Q5980952 property:P607 ?z . resource:Q2546402 property:P607 ?z }
World War I
Ian Bonham-Carter and Walter Steinecke took in part in World War I
World War I
action filter_type
action intersection
action find
entity Ian Bonham-Carter
relation conflict
action find
entity Walter Steinecke
relation conflict
type war
{'AND': [['Ian Bonham-Carter', 'conflict', {'concept': 'war'}], ['Walter Steinecke', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:war . resource:Ian_Bonham-Carter property:conflict ?z . resource:Walter_Steinecke property:conflict ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q361
P509
Q502895
USER
Which person died from that war ?
(c(Q502895),P509,Q361)
action filter_type
action find_reverse
entity Q361
relation P509
type Q502895
[{'concept': 'Q502895'}, 'P509', 'Q361']
SELECT DISTINCT ?t WHERE { ?t property:P509 resource:Q361 . ?t rdf:type ontology:Q502895 }
World War I
action filter_type
action find_reverse
entity World War I
relation cause of death
type common name
[{'concept': 'common name'}, 'cause of death', 'World War I']
SELECT DISTINCT ?t WHERE { ?t property:cause_of_death resource:World_War_I . ?t rdf:type ontology:common_name }
[]
common name
Q1179724
SYSTEM
István Mudin
Q1179724
(c(Q502895),P509,Q361)
action filter_type
action find_reverse
entity Q361
relation P509
type Q502895
[ANSWER] died from that war
[{'concept': 'Q502895'}, 'P509', 'Q361']
SELECT DISTINCT ?t WHERE { ?t property:P509 resource:Q361 . ?t rdf:type ontology:Q502895 }
István Mudin
István Mudin died from that war
István Mudin
action filter_type
action find_reverse
entity World War I
relation cause of death
type common name
[{'concept': 'common name'}, 'cause of death', 'World War I']
SELECT DISTINCT ?t WHERE { ?t property:cause_of_death resource:World_War_I . ?t rdf:type ontology:common_name }
[]