Simple Question (Direct)
Simple Question
Q5733660
P607
Q198
USER
Which battle did Herbert Bowden take part in ?
(Q5733660,P607,c(Q198))
action filter_type
action find
entity Q5733660
relation P607
type Q198
['Q5733660', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?s WHERE { resource:Q5733660 property:P607 ?s . ?s rdf:type ontology:Q198 }
Herbert Bowden
action filter_type
action find
entity Herbert Bowden
relation conflict
type war
['Herbert Bowden', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?s WHERE { resource:Herbert_Bowden property:conflict ?s . ?s rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q5733660,P607,c(Q198))
action filter_type
action find
entity Q5733660
relation P607
type Q198
Herbert Bowden took part in [ANSWER]
['Q5733660', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?s WHERE { resource:Q5733660 property:P607 ?s . ?s rdf:type ontology:Q198 }
World War I
Herbert Bowden took part in World War I
World War I
action filter_type
action find
entity Herbert Bowden
relation conflict
type war
['Herbert Bowden', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?s WHERE { resource:Herbert_Bowden property:conflict ?s . ?s rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5733660
P19
Q15700808
USER
Which urban unit definition was Herbert Bowden born at ?
(Q5733660,P19,c(Q15700808))
action filter_type
action find
entity Q5733660
relation P19
type Q15700808
['Q5733660', 'P19', {'concept': 'Q15700808'}]
SELECT DISTINCT ?m WHERE { resource:Q5733660 property:P19 ?m . ?m rdf:type ontology:Q15700808 }
Herbert Bowden
action filter_type
action find
entity Herbert Bowden
relation place of birth
type urban unit definition
['Herbert Bowden', 'place of birth', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?m WHERE { resource:Herbert_Bowden property:place_of_birth ?m . ?m rdf:type ontology:urban_unit_definition }
[]
urban unit definition
Q1109698
SYSTEM
Collingwood
Q1109698
(Q5733660,P19,c(Q15700808))
action filter_type
action find
entity Q5733660
relation P19
type Q15700808
Herbert Bowden was born in [ANSWER]
['Q5733660', 'P19', {'concept': 'Q15700808'}]
SELECT DISTINCT ?m WHERE { resource:Q5733660 property:P19 ?m . ?m rdf:type ontology:Q15700808 }
Collingwood
Herbert Bowden was born in Collingwood
Collingwood
action filter_type
action find
entity Herbert Bowden
relation place of birth
type urban unit definition
['Herbert Bowden', 'place of birth', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?m WHERE { resource:Herbert_Bowden property:place_of_birth ?m . ?m rdf:type ontology:urban_unit_definition }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1109698
P138
Q502895
USER
Which person is the origin of that urban unit definition ?
(Q1109698,P138,c(Q502895))
action filter_type
action find
entity Q1109698
relation P138
type Q502895
['Q1109698', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1109698 property:P138 ?o . ?o rdf:type ontology:Q502895 }
Collingwood
action filter_type
action find
entity Collingwood
relation named after
type common name
['Collingwood', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Collingwood property:named_after ?o . ?o rdf:type ontology:common_name }
[]
common name
Q335267
SYSTEM
Cuthbert Collingwood, 1st Baron Collingwood
Q335267
(Q1109698,P138,c(Q502895))
action filter_type
action find
entity Q1109698
relation P138
type Q502895
[ANSWER] is the origin of that urban unit definition
['Q1109698', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1109698 property:P138 ?o . ?o rdf:type ontology:Q502895 }
Cuthbert Collingwood, 1st Baron Collingwood
Cuthbert Collingwood, 1st Baron Collingwood is the origin of that urban unit definition
Cuthbert Collingwood, 1st Baron Collingwood
action filter_type
action find
entity Collingwood
relation named after
type common name
['Collingwood', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Collingwood property:named_after ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q335267
P710
Q1190554
USER
What event was that person a participant of ?
(c(Q1190554),P710,Q335267)
action filter_type
action find_reverse
entity Q335267
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q335267']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1190554 . ?g property:P710 resource:Q335267 }
Cuthbert Collingwood, 1st Baron Collingwood
action filter_type
action find_reverse
entity Cuthbert Collingwood, 1st Baron Collingwood
relation participant
type event
[{'concept': 'event'}, 'participant', 'Cuthbert Collingwood, 1st Baron Collingwood']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:event . ?g property:participant resource:Cuthbert_Collingwood,_1st_Baron_Collingwood }
[]
event
Q171416
SYSTEM
Battle of Trafalgar
Q171416
(c(Q1190554),P710,Q335267)
action filter_type
action find_reverse
entity Q335267
relation P710
type Q1190554
What event was that person a participant of
[{'concept': 'Q1190554'}, 'P710', 'Q335267']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1190554 . ?g property:P710 resource:Q335267 }
Battle of Trafalgar
What event was that person a participant of
Battle of Trafalgar
action filter_type
action find_reverse
entity Cuthbert Collingwood, 1st Baron Collingwood
relation participant
type event
[{'concept': 'event'}, 'participant', 'Cuthbert Collingwood, 1st Baron Collingwood']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:event . ?g property:participant resource:Cuthbert_Collingwood,_1st_Baron_Collingwood }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q335267
P241
Q781132
USER
Which military branch contains Cuthbert Collingwood, 1st Baron Collingwood as its part ?
(Q335267,P241,c(Q781132))
action filter_type
action find
entity Q335267
relation P241
type Q781132
['Q335267', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?w WHERE { resource:Q335267 property:P241 ?w . ?w rdf:type ontology:Q781132 }
Cuthbert Collingwood, 1st Baron Collingwood
action filter_type
action find
entity Cuthbert Collingwood, 1st Baron Collingwood
relation military branch
type military branch
['Cuthbert Collingwood, 1st Baron Collingwood', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?w WHERE { resource:Cuthbert_Collingwood,_1st_Baron_Collingwood property:military_branch ?w . ?w rdf:type ontology:military_branch }
[]
military branch
Q172771
SYSTEM
Royal Navy
Q172771
(Q335267,P241,c(Q781132))
action filter_type
action find
entity Q335267
relation P241
type Q781132
[ANSWER] contains Cuthbert Collingwood, 1st Baron Collingwood as its part
['Q335267', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?w WHERE { resource:Q335267 property:P241 ?w . ?w rdf:type ontology:Q781132 }
Royal Navy
Royal Navy contains Cuthbert Collingwood, 1st Baron Collingwood as its part
Royal Navy
action filter_type
action find
entity Cuthbert Collingwood, 1st Baron Collingwood
relation military branch
type military branch
['Cuthbert Collingwood, 1st Baron Collingwood', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?w WHERE { resource:Cuthbert_Collingwood,_1st_Baron_Collingwood property:military_branch ?w . ?w rdf:type ontology:military_branch }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6769698
Q781132
USER
And what about Mark Shields?
(Q6769698,P241,c(Q781132))
action filter_type
action find
entity Q6769698
relation P241
type Q781132
['Q6769698', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?o WHERE { resource:Q6769698 property:P241 ?o . ?o rdf:type ontology:Q781132 }
Mark Shields
action filter_type
action find
entity Mark Shields
relation military branch
type military branch
['Mark Shields', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?o WHERE { resource:Mark_Shields property:military_branch ?o . ?o rdf:type ontology:military_branch }
[]
military branch
Q11218
SYSTEM
United States Marine Corps
Q11218
(Q6769698,P241,c(Q781132))
action filter_type
action find
entity Q6769698
relation P241
type Q781132
[ANSWER]
['Q6769698', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?o WHERE { resource:Q6769698 property:P241 ?o . ?o rdf:type ontology:Q781132 }
United States Marine Corps
United States Marine Corps
action filter_type
action find
entity Mark Shields
relation military branch
type military branch
['Mark Shields', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?o WHERE { resource:Mark_Shields property:military_branch ?o . ?o rdf:type ontology:military_branch }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P121
Q20027951 Q781132
USER
How many military branches manage less number of aircraft power classes than that military branch ?
(c(Q781132),P121,c(Q20027951))
action count
action less
action find_tuple_counts
relation P121
type Q20027951
type Q781132
action count
action filter_type
action find
entity Q11218
relation P121
type Q20027951
[{'concept': 'Q781132'}, 'P121', {'concept': 'Q20027951'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?p ) WHERE { ?g property:P121 ?i . ?i rdf:type ontology:Q781132 . ?g rdf:type ontology:Q20027951 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Q11218 property:P121 ?k . ?k rdf:type ontology:Q20027951 } } . FILTER ( ?p < ?m ) }
action count
action less
action find_tuple_counts
relation item operated
type aircraft power class
type military branch
action count
action filter_type
action find
entity United States Marine Corps
relation item operated
type aircraft power class
[{'concept': 'military branch'}, 'item operated', {'concept': 'aircraft power class'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?p ) WHERE { ?g property:item_operated ?i . ?i rdf:type ontology:military_branch . ?g rdf:type ontology:aircraft_power_class } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:United_States_Marine_Corps property:item_operated ?k . ?k rdf:type ontology:aircraft_power_class } } . FILTER ( ?p < ?m ) }
[]
aircraft power class military branch
SYSTEM
0
(c(Q781132),P121,c(Q20027951))
action count
action less
action find_tuple_counts
relation P121
type Q20027951
type Q781132
action count
action filter_type
action find
entity Q11218
relation P121
type Q20027951
[ANSWER]
[{'concept': 'Q781132'}, 'P121', {'concept': 'Q20027951'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?p ) WHERE { ?g property:P121 ?i . ?i rdf:type ontology:Q781132 . ?g rdf:type ontology:Q20027951 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Q11218 property:P121 ?k . ?k rdf:type ontology:Q20027951 } } . FILTER ( ?p < ?m ) }
0
action count
action less
action find_tuple_counts
relation item operated
type aircraft power class
type military branch
action count
action filter_type
action find
entity United States Marine Corps
relation item operated
type aircraft power class
[{'concept': 'military branch'}, 'item operated', {'concept': 'aircraft power class'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?p ) WHERE { ?g property:item_operated ?i . ?i rdf:type ontology:military_branch . ?g rdf:type ontology:aircraft_power_class } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:United_States_Marine_Corps property:item_operated ?k . ?k rdf:type ontology:aircraft_power_class } } . FILTER ( ?p < ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q355771
P361
Q781132 Q781132
USER
Which military branches are less number of military branches a part of than Indian Army ?
(c(Q781132),P361,c(Q781132))
action less
action find_reverse_tuple_counts
relation P361
type Q781132
type Q781132
action count
action filter_type
action find_reverse
entity Q355771
relation P361
type Q781132
[{'concept': 'Q781132'}, 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:P361 resource:Q355771 . ?p rdf:type ontology:Q781132 } } . FILTER ( ?m < ?b ) . { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?m ) WHERE { ?w rdf:type ontology:Q781132 . ?v rdf:type ontology:Q781132 . ?v property:P361 ?w } GROUP BY ?w } }
Indian Army
action less
action find_reverse_tuple_counts
relation part of
type military branch
type military branch
action count
action filter_type
action find_reverse
entity Indian Army
relation part of
type military branch
[{'concept': 'military branch'}, 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:part_of resource:Indian_Army . ?p rdf:type ontology:military_branch } } . FILTER ( ?m < ?b ) . { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?m ) WHERE { ?w rdf:type ontology:military_branch . ?v rdf:type ontology:military_branch . ?v property:part_of ?w } GROUP BY ?w } }
[]
military branch military branch
Q276538 Q706042 Q11220
SYSTEM
Eurocorps, Prussian Army, United States Navy
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 less
action find_reverse_tuple_counts
relation P361
type Q781132
type Q781132
action count
action filter_type
action find_reverse
entity Q355771
relation P361
type Q781132
[ANSWERS] are less number of military branches a part of than Indian Army
[{'concept': 'Q781132'}, 'P361', {'concept': 'Q781132'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:P361 resource:Q355771 . ?p rdf:type ontology:Q781132 } } . FILTER ( ?m < ?b ) . { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?m ) WHERE { ?w rdf:type ontology:Q781132 . ?v rdf:type ontology:Q781132 . ?v property:P361 ?w } GROUP BY ?w } }
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
Eurocorps, Prussian Army and United States Navy are less number of military branches a part of than Indian Army
Eurocorps Prussian Army United States Navy
action less
action find_reverse_tuple_counts
relation part of
type military branch
type military branch
action count
action filter_type
action find_reverse
entity Indian Army
relation part of
type military branch
[{'concept': 'military branch'}, 'part of', {'concept': 'military branch'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:part_of resource:Indian_Army . ?p rdf:type ontology:military_branch } } . FILTER ( ?m < ?b ) . { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?m ) WHERE { ?w rdf:type ontology:military_branch . ?v rdf:type ontology:military_branch . ?v property:part_of ?w } GROUP BY ?w } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11220
P166
Q4220917
USER
Which film award was received by that military branch ?
(Q11220,P166,c(Q4220917))
action filter_type
action find
entity Q11220
relation P166
type Q4220917
['Q11220', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?t WHERE { resource:Q11220 property:P166 ?t . ?t rdf:type ontology:Q4220917 }
United States Navy
action filter_type
action find
entity United States Navy
relation award received
type film award
['United States Navy', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?t WHERE { resource:United_States_Navy property:award_received ?t . ?t rdf:type ontology:film_award }
[]
film award
Clarification for simple ques.
Q706042
SYSTEM
Did you mean Prussian Army ?
Q276538 Q706042 Q11220
(Q276538,P166,c(Q4220917)) (Q706042,P166,c(Q4220917)) (Q11220,P166,c(Q4220917))
[ANSWER]
['Q276538', 'P166', {'concept': 'Q4220917'}] ['Q706042', 'P166', {'concept': 'Q4220917'}] ['Q11220', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?t WHERE { resource:Q11220 property:P166 ?t . ?t rdf:type ontology:Q4220917 }
Eurocorps Prussian Army United States Navy
Did you mean Prussian Army ?
Prussian Army
['Eurocorps', 'award received', {'concept': 'film award'}] ['Prussian Army', 'award received', {'concept': 'film award'}] ['United States Navy', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?t WHERE { resource:United_States_Navy property:award_received ?t . ?t rdf:type ontology:film_award }
[]
Simple Question (Coreferenced)
USER
No, I meant United States Navy. Could you tell me the answer for that?
(Q11220,P166,c(Q4220917))
Q11220
['Q11220', 'P166', {'concept': 'Q4220917'}]
['United States Navy', 'award received', {'concept': 'film award'}]
[]
Q111332
SYSTEM
Academy Award for Best Documentary Feature
Q111332
(Q11220,P166,c(Q4220917))
action filter_type
action find
entity Q11220
relation P166
type Q4220917
The [ANSWER] was received by that military branch
['Q11220', 'P166', {'concept': 'Q4220917'}]
SELECT DISTINCT ?t WHERE { resource:Q11220 property:P166 ?t . ?t rdf:type ontology:Q4220917 }
Academy Award for Best Documentary Feature
The Academy Award for Best Documentary Feature was received by that military branch
Academy Award for Best Documentary Feature
action filter_type
action find
entity United States Navy
relation award received
type film award
['United States Navy', 'award received', {'concept': 'film award'}]
SELECT DISTINCT ?t WHERE { resource:United_States_Navy property:award_received ?t . ?t rdf:type ontology:film_award }
[]