Simple Question (Direct)
Simple Question
Q3143189
P607
Q198
USER
Which war did Humbert Ricolfi take part in ?
(Q3143189,P607,c(Q198))
action filter_type
action find
entity Q3143189
relation P607
type Q198
['Q3143189', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?j WHERE { resource:Q3143189 property:P607 ?j . ?j rdf:type ontology:Q198 }
Humbert Ricolfi
action filter_type
action find
entity Humbert Ricolfi
relation conflict
type war
['Humbert Ricolfi', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?j WHERE { resource:Humbert_Ricolfi property:conflict ?j . ?j rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q3143189,P607,c(Q198))
action filter_type
action find
entity Q3143189
relation P607
type Q198
[ANSWER]
['Q3143189', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?j WHERE { resource:Q3143189 property:P607 ?j . ?j rdf:type ontology:Q198 }
World War I
World War I
action filter_type
action find
entity Humbert Ricolfi
relation conflict
type war
['Humbert Ricolfi', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?j WHERE { resource:Humbert_Ricolfi property:conflict ?j . ?j rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3143189
P21
Q290
USER
Which sex does Humbert Ricolfi belong to ?
(Q3143189,P21,c(Q290))
action filter_type
action find
entity Q3143189
relation P21
type Q290
['Q3143189', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . resource:Q3143189 property:P21 ?t }
Humbert Ricolfi
action filter_type
action find
entity Humbert Ricolfi
relation gender
type sex
['Humbert Ricolfi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . resource:Humbert_Ricolfi property:gender ?t }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3143189,P21,c(Q290))
action filter_type
action find
entity Q3143189
relation P21
type Q290
[ANSWER]
['Q3143189', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . resource:Q3143189 property:P21 ?t }
male
male
action filter_type
action find
entity Humbert Ricolfi
relation gender
type sex
['Humbert Ricolfi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . resource:Humbert_Ricolfi property:gender ?t }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11875132
Q290
USER
And what about Lauri Stark?
(Q11875132,P21,c(Q290))
action filter_type
action find
entity Q11875132
relation P21
type Q290
['Q11875132', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . resource:Q11875132 property:P21 ?n }
Lauri Stark
action filter_type
action find
entity Lauri Stark
relation gender
type sex
['Lauri Stark', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . resource:Lauri_Stark property:gender ?n }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11875132,P21,c(Q290))
action filter_type
action find
entity Q11875132
relation P21
type Q290
[ANSWER]
['Q11875132', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . resource:Q11875132 property:P21 ?n }
male
male
action filter_type
action find
entity Lauri Stark
relation gender
type sex
['Lauri Stark', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . resource:Lauri_Stark property:gender ?n }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q4777288
P21
Q502895
USER
Does Antonín Šváb, Jr. have the gender as that sex ?
(Q4777288,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q4777288
relation P21
['Q4777288', 'P21', 'Q6581097']
ASK WHERE { resource:Q4777288 property:P21 resource:Q6581097 }
male Antonín Šváb, Jr.
action is_in
entity male
action find
entity Antonín Šváb, Jr.
relation gender
['Antonín Šváb, Jr.', 'gender', 'male']
ASK WHERE { resource:Antonín_Šváb,_Jr. property:gender resource:male }
[]
common name
SYSTEM
YES
(Q4777288,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q4777288
relation P21
[ANSWER]
['Q4777288', 'P21', 'Q6581097']
ASK WHERE { resource:Q4777288 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Antonín Šváb, Jr.
relation gender
['Antonín Šváb, Jr.', 'gender', 'male']
ASK WHERE { resource:Antonín_Šváb,_Jr. property:gender resource:male }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P69
Q502895
USER
Who was educated at that sex ?
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P69 resource:Q6581097 }
male
action filter_type
action find_reverse
entity male
relation educated at
type common name
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:educated_at resource:male }
[]
common name
Q4662307
SYSTEM
Aaron Parchem
Q4662307
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[ANSWER]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P69 resource:Q6581097 }
Aaron Parchem
Aaron Parchem
action filter_type
action find_reverse
entity male
relation educated at
type common name
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:educated_at resource:male }
[]