Simple Question (Direct)
Simple Question
Q333688
P607
Q198
USER
What was the war that Charles Vere Ferrers Townshend took part in
(Q333688,P607,c(Q198))
action filter_type
action find
entity Q333688
relation P607
type Q198
['Q333688', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q198 . resource:Q333688 property:P607 ?s }
Charles Vere Ferrers Townshend
action filter_type
action find
entity Charles Vere Ferrers Townshend
relation conflict
type war
['Charles Vere Ferrers Townshend', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:war . resource:Charles_Vere_Ferrers_Townshend property:conflict ?s }
[]
war
Q361
SYSTEM
World War I
Q361
(Q333688,P607,c(Q198))
action filter_type
action find
entity Q333688
relation P607
type Q198
The war that Charles Vere Ferrers Townshend took part in was in [ANSWER]
['Q333688', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q198 . resource:Q333688 property:P607 ?s }
World War I
The war that Charles Vere Ferrers Townshend took part in was in World War I
World War I
action filter_type
action find
entity Charles Vere Ferrers Townshend
relation conflict
type war
['Charles Vere Ferrers Townshend', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:war . resource:Charles_Vere_Ferrers_Townshend property:conflict ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q333688
P241
Q781132
USER
Which military branches were Charles Vere Ferrers Townshend a part of ?
(Q333688,P241,c(Q781132))
action filter_type
action find
entity Q333688
relation P241
type Q781132
['Q333688', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?c WHERE { resource:Q333688 property:P241 ?c . ?c rdf:type ontology:Q781132 }
Charles Vere Ferrers Townshend
action filter_type
action find
entity Charles Vere Ferrers Townshend
relation military branch
type military branch
['Charles Vere Ferrers Townshend', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?c WHERE { resource:Charles_Vere_Ferrers_Townshend property:military_branch ?c . ?c rdf:type ontology:military_branch }
[]
military branch
Q222595 Q1046947
SYSTEM
British Army, Royal Marines
Q222595 Q1046947
(Q333688,P241,c(Q781132))
action filter_type
action find
entity Q333688
relation P241
type Q781132
The [ANSWERS] were Charles Vere Ferrers Townshend a part of
['Q333688', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?c WHERE { resource:Q333688 property:P241 ?c . ?c rdf:type ontology:Q781132 }
British Army Royal Marines
The British Army and Royal Marines were Charles Vere Ferrers Townshend a part of
British Army Royal Marines
action filter_type
action find
entity Charles Vere Ferrers Townshend
relation military branch
type military branch
['Charles Vere Ferrers Townshend', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?c WHERE { resource:Charles_Vere_Ferrers_Townshend property:military_branch ?c . ?c rdf:type ontology:military_branch }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1046947
P361
Q12737077
USER
What is a component of that military branch ?
(c(Q12737077),P361,Q1046947)
action filter_type
action find_reverse
entity Q1046947
relation P361
type Q12737077
[{'concept': 'Q12737077'}, 'P361', 'Q1046947']
SELECT DISTINCT ?r WHERE { ?r property:P361 resource:Q1046947 . ?r rdf:type ontology:Q12737077 }
Royal Marines
action filter_type
action find_reverse
entity Royal Marines
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Royal Marines']
SELECT DISTINCT ?r WHERE { ?r property:part_of resource:Royal_Marines . ?r rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q1046947
SYSTEM
Did you mean Royal Marines ?
Q222595 Q1046947
(c(Q12737077),P361,Q222595) (c(Q12737077),P361,Q1046947)
[ANSWER]
[{'concept': 'Q12737077'}, 'P361', 'Q222595'] [{'concept': 'Q12737077'}, 'P361', 'Q1046947']
SELECT DISTINCT ?r WHERE { ?r property:P361 resource:Q1046947 . ?r rdf:type ontology:Q12737077 }
British Army Royal Marines
Did you mean Royal Marines ?
Royal Marines
[{'concept': 'occupation'}, 'part of', 'British Army'] [{'concept': 'occupation'}, 'part of', 'Royal Marines']
SELECT DISTINCT ?r WHERE { ?r property:part_of resource:Royal_Marines . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q12737077),P361,Q1046947)
[{'concept': 'Q12737077'}, 'P361', 'Q1046947']
[{'concept': 'occupation'}, 'part of', 'Royal Marines']
[]
Q5152139
SYSTEM
Commandant General Royal Marines
Q5152139
(c(Q12737077),P361,Q1046947)
action filter_type
action find_reverse
entity Q1046947
relation P361
type Q12737077
A component of that military branch is the [ANSWER]
[{'concept': 'Q12737077'}, 'P361', 'Q1046947']
SELECT DISTINCT ?r WHERE { ?r property:P361 resource:Q1046947 . ?r rdf:type ontology:Q12737077 }
Commandant General Royal Marines
A component of that military branch is the Commandant General Royal Marines
Commandant General Royal Marines
action filter_type
action find_reverse
entity Royal Marines
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Royal Marines']
SELECT DISTINCT ?r WHERE { ?r property:part_of resource:Royal_Marines . ?r rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5152139 Q18640177
P361
Q781132
USER
Is Commandant General Royal Marines a component of Guinean Navy ?
(Q5152139,P361,Q18640177)
action is_in
entity Q18640177
action find
entity Q5152139
relation P361
['Q5152139', 'P361', 'Q18640177']
ASK WHERE { resource:Q5152139 property:P361 resource:Q18640177 }
Commandant General Royal Marines Guinean Navy
action is_in
entity Guinean Navy
action find
entity Commandant General Royal Marines
relation part of
['Commandant General Royal Marines', 'part of', 'Guinean Navy']
ASK WHERE { resource:Commandant_General_Royal_Marines property:part_of resource:Guinean_Navy }
[]
military branch
SYSTEM
NO
(Q5152139,P361,Q18640177)
action is_in
entity Q18640177
action find
entity Q5152139
relation P361
[ANSWER]
['Q5152139', 'P361', 'Q18640177']
ASK WHERE { resource:Q5152139 property:P361 resource:Q18640177 }
No
action is_in
entity Guinean Navy
action find
entity Commandant General Royal Marines
relation part of
['Commandant General Royal Marines', 'part of', 'Guinean Navy']
ASK WHERE { resource:Commandant_General_Royal_Marines property:part_of resource:Guinean_Navy }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q333688
P166
Q618779 Q2003221
USER
How many awards or chivalric orders were Charles Vere Ferrers Townshend awarded with ?
(Q333688,P166,c(Q618779)) (Q333688,P166,c(Q2003221))
action count
action union
action filter_type
action find
entity Q333688
relation P166
type Q618779
action filter_type
action find
entity Q333688
relation P166
type Q2003221
['Q333688', 'P166', {'concept': 'Q618779'}] ['Q333688', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { VALUES ( ?s ) { ( ontology:Q618779 ) ( ontology:Q2003221 ) } . ?p rdf:type ?s }
Charles Vere Ferrers Townshend
action count
action union
action filter_type
action find
entity Charles Vere Ferrers Townshend
relation award received
type award
action filter_type
action find
entity Charles Vere Ferrers Townshend
relation award received
type chivalric order
['Charles Vere Ferrers Townshend', 'award received', {'concept': 'award'}] ['Charles Vere Ferrers Townshend', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { VALUES ( ?s ) { ( ontology:award ) ( ontology:chivalric_order ) } . ?p rdf:type ?s }
[]
award chivalric order
SYSTEM
2
Q615838 Q12177470
(Q333688,P166,c(Q618779)) (Q333688,P166,c(Q2003221))
action count
action union
action filter_type
action find
entity Q333688
relation P166
type Q618779
action filter_type
action find
entity Q333688
relation P166
type Q2003221
[ANSWER]
['Q333688', 'P166', {'concept': 'Q618779'}] ['Q333688', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { VALUES ( ?s ) { ( ontology:Q618779 ) ( ontology:Q2003221 ) } . ?p rdf:type ?s }
Distinguished Service Order Knight Commander of the Order of the Bath
2
action count
action union
action filter_type
action find
entity Charles Vere Ferrers Townshend
relation award received
type award
action filter_type
action find
entity Charles Vere Ferrers Townshend
relation award received
type chivalric order
['Charles Vere Ferrers Townshend', 'award received', {'concept': 'award'}] ['Charles Vere Ferrers Townshend', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { VALUES ( ?s ) { ( ontology:award ) ( ontology:chivalric_order ) } . ?p rdf:type ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q333688
P39
Q12737077
USER
What was the position held by that person ?
action filter_type
action find
entity Q333688
relation P39
type Q12737077
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q333688 property:P39 ?p }
Charles Vere Ferrers Townshend
action filter_type
action find
entity Charles Vere Ferrers Townshend
relation position held
type occupation
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Charles_Vere_Ferrers_Townshend property:position_held ?p }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
action filter_type
action find
entity Q333688
relation P39
type Q12737077
The position held by that person was a [ANSWER]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q333688 property:P39 ?p }
Member of Parliament in the United Kingdom
The position held by that person was a Member of Parliament in the United Kingdom
Member of Parliament in the United Kingdom
action filter_type
action find
entity Charles Vere Ferrers Townshend
relation position held
type occupation
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Charles_Vere_Ferrers_Townshend property:position_held ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q333688
P21
Q290
USER
Which sex does Charles Vere Ferrers Townshend possess ?
(Q333688,P21,c(Q290))
action filter_type
action find
entity Q333688
relation P21
type Q290
['Q333688', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q333688 property:P21 ?z . ?z rdf:type ontology:Q290 }
Charles Vere Ferrers Townshend
action filter_type
action find
entity Charles Vere Ferrers Townshend
relation gender
type sex
['Charles Vere Ferrers Townshend', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Charles_Vere_Ferrers_Townshend property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q333688,P21,c(Q290))
action filter_type
action find
entity Q333688
relation P21
type Q290
Charles Vere Ferrers Townshend possesses un [ANSWER]
['Q333688', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q333688 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
Charles Vere Ferrers Townshend possesses un male
male
action filter_type
action find
entity Charles Vere Ferrers Townshend
relation gender
type sex
['Charles Vere Ferrers Townshend', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Charles_Vere_Ferrers_Townshend property:gender ?z . ?z rdf:type ontology:sex }
[]