Simple Question (Direct)
Simple Question
Q11685247
P166
Q618779
USER
What was awarded to Aleksy Kowalik ?
(Q11685247,P166,c(Q618779))
action filter_type
action find
entity Q11685247
relation P166
type Q618779
['Q11685247', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q11685247 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Aleksy Kowalik
action filter_type
action find
entity Aleksy Kowalik
relation award received
type award
['Aleksy Kowalik', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Aleksy_Kowalik property:award_received ?z . ?z rdf:type ontology:award }
[]
award
Q15715250
SYSTEM
Knight of the Order of Polonia Restituta
Q15715250
(Q11685247,P166,c(Q618779))
action filter_type
action find
entity Q11685247
relation P166
type Q618779
The [ANSWER] was awarded to Aleksy Kowalik
['Q11685247', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q11685247 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Knight of the Order of Polonia Restituta
The Knight of the Order of Polonia Restituta was awarded to Aleksy Kowalik
Knight of the Order of Polonia Restituta
action filter_type
action find
entity Aleksy Kowalik
relation award received
type award
['Aleksy Kowalik', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Aleksy_Kowalik property:award_received ?z . ?z rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11685247
P410
Q4189293
USER
Which title was the military rank conferred upon Aleksy Kowalik ?
(Q11685247,P410,c(Q4189293))
action filter_type
action find
entity Q11685247
relation P410
type Q4189293
['Q11685247', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?g WHERE { resource:Q11685247 property:P410 ?g . ?g rdf:type ontology:Q4189293 }
Aleksy Kowalik
action filter_type
action find
entity Aleksy Kowalik
relation military rank
type title
['Aleksy Kowalik', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?g WHERE { resource:Aleksy_Kowalik property:military_rank ?g . ?g rdf:type ontology:title }
[]
title
Q2352637
SYSTEM
Starszy szeregowy
Q2352637
(Q11685247,P410,c(Q4189293))
action filter_type
action find
entity Q11685247
relation P410
type Q4189293
[ANSWER] was the military rank conferred upon Aleksy Kowalik
['Q11685247', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?g WHERE { resource:Q11685247 property:P410 ?g . ?g rdf:type ontology:Q4189293 }
Starszy szeregowy
Starszy szeregowy was the military rank conferred upon Aleksy Kowalik
Starszy szeregowy
action filter_type
action find
entity Aleksy Kowalik
relation military rank
type title
['Aleksy Kowalik', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?g WHERE { resource:Aleksy_Kowalik property:military_rank ?g . ?g rdf:type ontology:title }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7358152
Q4189293
USER
And what about Roger Elliott?
(Q7358152,P410,c(Q4189293))
action filter_type
action find
entity Q7358152
relation P410
type Q4189293
['Q7358152', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?c WHERE { resource:Q7358152 property:P410 ?c . ?c rdf:type ontology:Q4189293 }
Roger Elliott
action filter_type
action find
entity Roger Elliott
relation military rank
type title
['Roger Elliott', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?c WHERE { resource:Roger_Elliott property:military_rank ?c . ?c rdf:type ontology:title }
[]
title
Q157148
SYSTEM
major general
Q157148
(Q7358152,P410,c(Q4189293))
action filter_type
action find
entity Q7358152
relation P410
type Q4189293
[ANSWER]
['Q7358152', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?c WHERE { resource:Q7358152 property:P410 ?c . ?c rdf:type ontology:Q4189293 }
major general
major general
action filter_type
action find
entity Roger Elliott
relation military rank
type title
['Roger Elliott', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?c WHERE { resource:Roger_Elliott property:military_rank ?c . ?c rdf:type ontology:title }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11685247
P607
Q1190554
USER
What was the event that Aleksy Kowalik took part in
(Q11685247,P607,c(Q1190554))
action filter_type
action find
entity Q11685247
relation P607
type Q1190554
['Q11685247', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?n WHERE { resource:Q11685247 property:P607 ?n . ?n rdf:type ontology:Q1190554 }
Aleksy Kowalik
action filter_type
action find
entity Aleksy Kowalik
relation conflict
type event
['Aleksy Kowalik', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?n WHERE { resource:Aleksy_Kowalik property:conflict ?n . ?n rdf:type ontology:event }
[]
event
Q533034
SYSTEM
Battle of Westerplatte
Q533034
(Q11685247,P607,c(Q1190554))
action filter_type
action find
entity Q11685247
relation P607
type Q1190554
The event that Aleksy Kowalik took part in was the [ANSWER]
['Q11685247', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?n WHERE { resource:Q11685247 property:P607 ?n . ?n rdf:type ontology:Q1190554 }
Battle of Westerplatte
The event that Aleksy Kowalik took part in was the Battle of Westerplatte
Battle of Westerplatte
action filter_type
action find
entity Aleksy Kowalik
relation conflict
type event
['Aleksy Kowalik', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?n WHERE { resource:Aleksy_Kowalik property:conflict ?n . ?n rdf:type ontology:event }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6253057
Q1190554
USER
And also tell me about John Plumptre Carr Glyn?
(Q6253057,P607,c(Q1190554))
action filter_type
action find
entity Q6253057
relation P607
type Q1190554
['Q6253057', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?e WHERE { resource:Q6253057 property:P607 ?e . ?e rdf:type ontology:Q1190554 }
John Plumptre Carr Glyn
action filter_type
action find
entity John Plumptre Carr Glyn
relation conflict
type event
['John Plumptre Carr Glyn', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?e WHERE { resource:John_Plumptre_Carr_Glyn property:conflict ?e . ?e rdf:type ontology:event }
[]
event
Q254106
SYSTEM
Crimean War
Q254106
(Q6253057,P607,c(Q1190554))
action filter_type
action find
entity Q6253057
relation P607
type Q1190554
[ANSWER]
['Q6253057', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?e WHERE { resource:Q6253057 property:P607 ?e . ?e rdf:type ontology:Q1190554 }
Crimean War
Crimean War
action filter_type
action find
entity John Plumptre Carr Glyn
relation conflict
type event
['John Plumptre Carr Glyn', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?e WHERE { resource:John_Plumptre_Carr_Glyn property:conflict ?e . ?e rdf:type ontology:event }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q13034787 Q11685247
P27
Q15617994
USER
Which administrative territories are the native countriesof Aleksy Kowalik or Gerhard Steyn ?
OR((Q11685247,P27,c(Q15617994)), (Q13034787,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11685247
relation P27
action find
entity Q13034787
relation P27
type Q15617994
{'OR': [['Q11685247', 'P27', {'concept': 'Q15617994'}], ['Q13034787', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q11685247 property:P27 ?t } UNION { resource:Q13034787 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Gerhard Steyn Aleksy Kowalik
action filter_type
action union
action find
entity Aleksy Kowalik
relation country of citizenship
action find
entity Gerhard Steyn
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Aleksy Kowalik', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gerhard Steyn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Aleksy_Kowalik property:country_of_citizenship ?t } UNION { resource:Gerhard_Steyn property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36 Q258
SYSTEM
Poland, South Africa
Q36 Q258
OR((Q11685247,P27,c(Q15617994)), (Q13034787,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11685247
relation P27
action find
entity Q13034787
relation P27
type Q15617994
[ANSWERS] are the native countriesof Aleksy Kowalik or Gerhard Steyn
{'OR': [['Q11685247', 'P27', {'concept': 'Q15617994'}], ['Q13034787', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q11685247 property:P27 ?t } UNION { resource:Q13034787 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Poland South Africa
Poland and South Africa are the native countriesof Aleksy Kowalik or Gerhard Steyn
Poland South Africa
action filter_type
action union
action find
entity Aleksy Kowalik
relation country of citizenship
action find
entity Gerhard Steyn
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Aleksy Kowalik', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gerhard Steyn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Aleksy_Kowalik property:country_of_citizenship ?t } UNION { resource:Gerhard_Steyn property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q155
P530
Q15617994
USER
Do Brazil have diplomatic associations with those ones ?
(Q155,P530,Q36) (Q155,P530,Q258)
action is_in
entity prev_answer
action find
entity Q155
relation P530
['Q155', 'P530', 'Q36'] ['Q155', 'P530', 'Q258']
ASK WHERE { VALUES ( ?u ) { ( resource:Q36 ) ( resource:Q258 ) } . resource:Q155 property:P530 ?u }
Brazil
action is_in
entity prev_answer
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Poland'] ['Brazil', 'diplomatic relation', 'South Africa']
ASK WHERE { VALUES ( ?u ) { ( resource:Poland ) ( resource:South_Africa ) } . resource:Brazil property:diplomatic_relation ?u }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q155,P530,Q36) (Q155,P530,Q258)
action is_in
entity prev_answer
action find
entity Q155
relation P530
[ANSWER]
['Q155', 'P530', 'Q36'] ['Q155', 'P530', 'Q258']
ASK WHERE { VALUES ( ?u ) { ( resource:Q36 ) ( resource:Q258 ) } . resource:Q155 property:P530 ?u }
Yes
action is_in
entity prev_answer
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Poland'] ['Brazil', 'diplomatic relation', 'South Africa']
ASK WHERE { VALUES ( ?u ) { ( resource:Poland ) ( resource:South_Africa ) } . resource:Brazil property:diplomatic_relation ?u }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1352291 Q2352637
P361 P241
Q781132
USER
Which military branches are Starszy szeregowy a portion of or are Michael de la Pole, 2nd Earl of Suffolk affiliated to ?
OR((Q2352637,P361,c(Q781132)), (Q1352291,P241,c(Q781132)))
action filter_type
action union
action find
entity Q2352637
relation P361
action find
entity Q1352291
relation P241
type Q781132
{'OR': [['Q2352637', 'P361', {'concept': 'Q781132'}], ['Q1352291', 'P241', {'concept': 'Q781132'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q2352637 property:P361 ?q } UNION { resource:Q1352291 property:P241 ?q } } . ?q rdf:type ontology:Q781132 }
Michael de la Pole, 2nd Earl of Suffolk Starszy szeregowy
action filter_type
action union
action find
entity Starszy szeregowy
relation part of
action find
entity Michael de la Pole, 2nd Earl of Suffolk
relation military branch
type military branch
{'OR': [['Starszy szeregowy', 'part of', {'concept': 'military branch'}], ['Michael de la Pole, 2nd Earl of Suffolk', 'military branch', {'concept': 'military branch'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Starszy_szeregowy property:part_of ?q } UNION { resource:Michael_de_la_Pole,_2nd_Earl_of_Suffolk property:military_branch ?q } } . ?q rdf:type ontology:military_branch }
[]
military branch
Q9212 Q5378171 Q172771
SYSTEM
United States Army, English Army, Royal Navy
Q9212 Q5378171 Q172771
OR((Q2352637,P361,c(Q781132)), (Q1352291,P241,c(Q781132)))
action filter_type
action union
action find
entity Q2352637
relation P361
action find
entity Q1352291
relation P241
type Q781132
[ANSWERS] are Starszy szeregowy a portion of or are Michael de la Pole, 2nd Earl of Suffolk affiliated to
{'OR': [['Q2352637', 'P361', {'concept': 'Q781132'}], ['Q1352291', 'P241', {'concept': 'Q781132'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q2352637 property:P361 ?q } UNION { resource:Q1352291 property:P241 ?q } } . ?q rdf:type ontology:Q781132 }
United States Army English Army Royal Navy
United States Army, English Army and Royal Navy are Starszy szeregowy a portion of or are Michael de la Pole, 2nd Earl of Suffolk affiliated to
United States Army English Army Royal Navy
action filter_type
action union
action find
entity Starszy szeregowy
relation part of
action find
entity Michael de la Pole, 2nd Earl of Suffolk
relation military branch
type military branch
{'OR': [['Starszy szeregowy', 'part of', {'concept': 'military branch'}], ['Michael de la Pole, 2nd Earl of Suffolk', 'military branch', {'concept': 'military branch'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Starszy_szeregowy property:part_of ?q } UNION { resource:Michael_de_la_Pole,_2nd_Earl_of_Suffolk property:military_branch ?q } } . ?q rdf:type ontology:military_branch }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q781132 Q23905071 Q811979
USER
How many military branches are less number of military unit type-size classes and architectural structures a part of than that military branch ?
(c(Q23905071)|c(Q811979),P361,c(Q781132))
[[{'concept': 'Q23905071'}, {'concept': 'Q811979'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?j property:P361 ?y . VALUES ( ?j ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q23905071 . ?y rdf:type ontology:Q781132 . ?x rdf:type ontology:Q811979 }
[[{'concept': 'military unit type-size class'}, {'concept': 'architectural structure'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?j property:part_of ?y . VALUES ( ?j ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:military_unit_type-size_class . ?y rdf:type ontology:military_branch . ?x rdf:type ontology:architectural_structure }
[]
military branch military unit type-size class architectural structure
Comparative|Count over More/Less|Mult. entity type|Clarification
Q9212
SYSTEM
Did you mean United States Army ?
(c(Q23905071)|c(Q811979),P361,c(Q781132))
[ANSWER]
[[{'concept': 'Q23905071'}, {'concept': 'Q811979'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?j property:P361 ?y . VALUES ( ?j ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q23905071 . ?y rdf:type ontology:Q781132 . ?x rdf:type ontology:Q811979 }
Did you mean United States Army ?
United States Army
[[{'concept': 'military unit type-size class'}, {'concept': 'architectural structure'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?j property:part_of ?y . VALUES ( ?j ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:military_unit_type-size_class . ?y rdf:type ontology:military_branch . ?x rdf:type ontology:architectural_structure }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q23905071)|c(Q811979),P361,c(Q781132))
[[{'concept': 'Q23905071'}, {'concept': 'Q811979'}], 'P361', {'concept': 'Q781132'}]
[[{'concept': 'military unit type-size class'}, {'concept': 'architectural structure'}], 'part of', {'concept': 'military branch'}]
[]
SYSTEM
82
Q16056518 Q23905126 Q222595 Q56015 Q210606 Q1799545 Q2328515 Q483268 Q1114493 Q1815399 Q3068744 Q11220 Q1046947 Q172771 Q701923 Q1078222 Q2078095 Q676404 Q5555333 Q313422 Q9160892 Q2558747 Q19344622 Q311689 Q248989 Q642932 Q1038047 Q833040 Q4117226 Q217406 Q2575188 Q488756 Q156649 Q1546449 Q1067064 Q889751 Q781360 Q2492012 Q2862927 Q2749588 Q4447359 Q1652708 Q19247539 Q1951484 Q276535 Q1750688 Q276538 Q272110 Q796411 Q56012 Q7275540 Q25387 Q208711 Q1076619 Q897614 Q6479134 Q741691 Q11322507 Q2292358 Q151701 Q11218 Q2301347 Q167682 Q2383264 Q18643350 Q465283 Q2384177 Q1124986 Q25436 Q1358152 Q2258261 Q4447363 Q355771 Q18129370 Q1753805 Q731647 Q706042 Q2630039 Q219712 Q706996 Q1674702 Q1370395
(c(Q23905071)|c(Q811979),P361,c(Q781132))
[ANSWER]
[[{'concept': 'Q23905071'}, {'concept': 'Q811979'}], 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?x property:P361 ?y } } . ?z rdf:type ontology:Q23905071 . ?y rdf:type ontology:Q781132 . ?x rdf:type ontology:Q811979 }
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 Spanish Navy Ghana Army German Army fortress artillery Romanian Land Forces naval reserve force Royal Hungarian Army Polish Land Forces Indian Army Irish Army Italian Navy Royal Jordanian Land Force French Navy Royal Danish Army Republic of Korea Navy Imperial German Navy Hellenic Army United States Special Operations Command Japan Ground Self-Defense Force Australian Army Swedish Army Indonesian Army Royal Thai Army Austrian Land Forces South African Navy Ottoman Army Georgian Land Forces Imperial Japanese Army Brazilian Navy Eurocorps Yugoslav People's Army Italian Army German Army RAF Regiment Royal Canadian Navy Chilean Navy French Army Iraqi Army Egyptian Army Royal Australian Navy German Army Brazilian Army Kriegsmarine United States Marine Corps Argentine Army rocket artillery Finnish Army Islamic Republic of Iran Ground Force Russian Navy Norwegian Army Confederate States Navy Canadian Army Korean People's Army Ground Force Pakistan Navy Lebanese Ground Forces Indian Army Philippine Commonwealth Army Croatian Army Japan Maritime Self-Defense Force Prussian Army New Zealand Army Imperial Japanese Navy Southern Expeditionary Army Group GOC Army Headquarters Estonian Land Forces
82
[[{'concept': 'military unit type-size class'}, {'concept': 'architectural structure'}], 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?x property:part_of ?y } } . ?z rdf:type ontology:military_unit_type-size_class . ?y rdf:type ontology:military_branch . ?x rdf:type ontology:architectural_structure }
[]