Simple Question (Direct)
Simple Question
Q6225720
P106
Q12737077
USER
What does John Charles do for a living ?
(Q6225720,P106,c(Q12737077))
action filter_type
action find
entity Q6225720
relation P106
type Q12737077
['Q6225720', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q6225720 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
John Charles
action filter_type
action find
entity John Charles
relation occupation
type occupation
['John Charles', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:John_Charles property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6225720,P106,c(Q12737077))
action filter_type
action find
entity Q6225720
relation P106
type Q12737077
John Charles does an [ANSWER] for a living
['Q6225720', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q6225720 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
association football player
John Charles does an association football player for a living
association football player
action filter_type
action find
entity John Charles
relation occupation
type occupation
['John Charles', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:John_Charles property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6225720
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q6225720
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q6225720 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
John Charles
action filter_type
action find
entity John Charles
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:John_Charles property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q6225720
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q6225720 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
United Kingdom
That person belongs to the United Kingdom
United Kingdom
action filter_type
action find
entity John Charles
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:John_Charles property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q15981460 Q6225720
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of John Charles or are Khlong Khwai a part of ?
OR((Q6225720,P27,c(Q15617994)), (Q15981460,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6225720
relation P27
action find
entity Q15981460
relation P17
type Q15617994
{'OR': [['Q6225720', 'P27', {'concept': 'Q15617994'}], ['Q15981460', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q6225720 property:P27 ?b } UNION { resource:Q15981460 property:P17 ?b } } . ?b rdf:type ontology:Q15617994 }
Khlong Khwai John Charles
action filter_type
action union
action find
entity John Charles
relation country of citizenship
action find
entity Khlong Khwai
relation country
type designation for an administrative territorial entity
{'OR': [['John Charles', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Khlong Khwai', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:John_Charles property:country_of_citizenship ?b } UNION { resource:Khlong_Khwai property:country ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q869 Q145
SYSTEM
Thailand, United Kingdom
Q869 Q145
OR((Q6225720,P27,c(Q15617994)), (Q15981460,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6225720
relation P27
action find
entity Q15981460
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of John Charles or are Khlong Khwai a part of
{'OR': [['Q6225720', 'P27', {'concept': 'Q15617994'}], ['Q15981460', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q6225720 property:P27 ?b } UNION { resource:Q15981460 property:P17 ?b } } . ?b rdf:type ontology:Q15617994 }
Thailand United Kingdom
Thailand and United Kingdom are the countries of citizenship of John Charles or are Khlong Khwai a part of
Thailand United Kingdom
action filter_type
action union
action find
entity John Charles
relation country of citizenship
action find
entity Khlong Khwai
relation country
type designation for an administrative territorial entity
{'OR': [['John Charles', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Khlong Khwai', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:John_Charles property:country_of_citizenship ?b } UNION { resource:Khlong_Khwai property:country ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q869 Q145
P710
Q350604
USER
Which armed conflicts were those administrative territories a participant of ?
(c(Q350604),P710,Q869) (c(Q350604),P710,Q145)
action filter_type
action find_reverse
entity prev_answer
relation P710
type Q350604
[{'concept': 'Q350604'}, 'P710', 'Q869'] [{'concept': 'Q350604'}, 'P710', 'Q145']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q350604 . VALUES ( ?e ) { ( resource:Q869 ) ( resource:Q145 ) } . ?o property:P710 ?e }
Thailand United Kingdom
action filter_type
action find_reverse
entity prev_answer
relation participant
type armed conflict
[{'concept': 'armed conflict'}, 'participant', 'Thailand'] [{'concept': 'armed conflict'}, 'participant', 'United Kingdom']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:armed_conflict . VALUES ( ?e ) { ( resource:Thailand ) ( resource:United_Kingdom ) } . ?o property:participant ?e }
[]
armed conflict
Q877450 Q940618 Q329203
SYSTEM
Laotian Civil War, Cod Wars, First Boer War
Q877450 Q940618 Q329203
(c(Q350604),P710,Q869) (c(Q350604),P710,Q145)
action filter_type
action find_reverse
entity prev_answer
relation P710
type Q350604
[ANSWERS] were those administrative territories a participant of
[{'concept': 'Q350604'}, 'P710', 'Q869'] [{'concept': 'Q350604'}, 'P710', 'Q145']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q350604 . VALUES ( ?e ) { ( resource:Q869 ) ( resource:Q145 ) } . ?o property:P710 ?e }
Laotian Civil War Cod Wars First Boer War
Laotian Civil War, Cod Wars and First Boer War were those administrative territories a participant of
Laotian Civil War Cod Wars First Boer War
action filter_type
action find_reverse
entity prev_answer
relation participant
type armed conflict
[{'concept': 'armed conflict'}, 'participant', 'Thailand'] [{'concept': 'armed conflict'}, 'participant', 'United Kingdom']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:armed_conflict . VALUES ( ?e ) { ( resource:Thailand ) ( resource:United_Kingdom ) } . ?o property:participant ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q869
P551
Q502895
USER
Who reside at Thailand ?
(c(Q502895),P551,Q869)
action filter_type
action find_reverse
entity Q869
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q869']
SELECT DISTINCT ?y WHERE { ?y property:P551 resource:Q869 . ?y rdf:type ontology:Q502895 }
Thailand
action filter_type
action find_reverse
entity Thailand
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Thailand']
SELECT DISTINCT ?y WHERE { ?y property:residence resource:Thailand . ?y rdf:type ontology:common_name }
[]
common name
Q18325835 Q530413 Q6583776
SYSTEM
Gambhiro Bhikkhu, Palmy, Montinee Tangphong
Q7608130 Q18325835 Q530413 Q6583776
(c(Q502895),P551,Q869)
action filter_type
action find_reverse
entity Q869
relation P551
type Q502895
[ANSWERS] reside at Thailand
[{'concept': 'Q502895'}, 'P551', 'Q869']
SELECT DISTINCT ?y WHERE { ?y property:P551 resource:Q869 . ?y rdf:type ontology:Q502895 }
Stephan Fox Gambhiro Bhikkhu Palmy Montinee Tangphong
Gambhiro Bhikkhu, Palmy and Montinee Tangphong reside at Thailand
Gambhiro Bhikkhu Palmy Montinee Tangphong
action filter_type
action find_reverse
entity Thailand
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Thailand']
SELECT DISTINCT ?y WHERE { ?y property:residence resource:Thailand . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q18325835 Q530413 Q6583776
P21
Q290
USER
Which sexes do Gambhiro Bhikkhu, Palmy and Montinee Tangphong have ?
(Q18325835,P21,c(Q290)) (Q530413,P21,c(Q290)) (Q6583776,P21,c(Q290))
action union
action filter_type
action find
entity Q18325835
relation P21
type Q290
action filter_type
action find
entity Q530413
relation P21
type Q290
action filter_type
action find
entity Q6583776
relation P21
type Q290
['Q18325835', 'P21', {'concept': 'Q290'}] ['Q530413', 'P21', {'concept': 'Q290'}] ['Q6583776', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { { resource:Q18325835 property:P21 ?w . ?w rdf:type ontology:Q290 } UNION { ?w rdf:type ontology:Q290 . resource:Q530413 property:P21 ?w } }
Gambhiro Bhikkhu Palmy Montinee Tangphong
action union
action filter_type
action find
entity Gambhiro Bhikkhu
relation gender
type sex
action filter_type
action find
entity Palmy
relation gender
type sex
action filter_type
action find
entity Montinee Tangphong
relation gender
type sex
['Gambhiro Bhikkhu', 'gender', {'concept': 'sex'}] ['Palmy', 'gender', {'concept': 'sex'}] ['Montinee Tangphong', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { { resource:Gambhiro_Bhikkhu property:gender ?w . ?w rdf:type ontology:sex } UNION { ?w rdf:type ontology:sex . resource:Palmy property:gender ?w } }
[]
sex
Q6581097 Q6581072 Q6581072
SYSTEM
male for 1st, female for 2nd, 3rd
Q6581097 Q6581072 Q6581072
(Q18325835,P21,c(Q290)) (Q530413,P21,c(Q290)) (Q6583776,P21,c(Q290))
action union
action filter_type
action find
entity Q18325835
relation P21
type Q290
action filter_type
action find
entity Q530413
relation P21
type Q290
action filter_type
action find
entity Q6583776
relation P21
type Q290
[ANSWERS]
['Q18325835', 'P21', {'concept': 'Q290'}] ['Q530413', 'P21', {'concept': 'Q290'}] ['Q6583776', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { { resource:Q18325835 property:P21 ?w . ?w rdf:type ontology:Q290 } UNION { ?w rdf:type ontology:Q290 . resource:Q530413 property:P21 ?w } }
male female female
Gambhiro Bhikkhu , Palmy and Montinee Tangphong have been male, female and female
male female female
action union
action filter_type
action find
entity Gambhiro Bhikkhu
relation gender
type sex
action filter_type
action find
entity Palmy
relation gender
type sex
action filter_type
action find
entity Montinee Tangphong
relation gender
type sex
['Gambhiro Bhikkhu', 'gender', {'concept': 'sex'}] ['Palmy', 'gender', {'concept': 'sex'}] ['Montinee Tangphong', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { { resource:Gambhiro_Bhikkhu property:gender ?w . ?w rdf:type ontology:sex } UNION { ?w rdf:type ontology:sex . resource:Palmy property:gender ?w } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q877450
P607
Q502895
USER
Which people did Laotian Civil War take part in ?
(c(Q502895),P607,Q877450)
action filter_type
action find_reverse
entity Q877450
relation P607
type Q502895
[{'concept': 'Q502895'}, 'P607', 'Q877450']
SELECT DISTINCT ?i WHERE { ?i property:P607 resource:Q877450 . ?i rdf:type ontology:Q502895 }
Laotian Civil War
action filter_type
action find_reverse
entity Laotian Civil War
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Laotian Civil War']
SELECT DISTINCT ?i WHERE { ?i property:conflict resource:Laotian_Civil_War . ?i rdf:type ontology:common_name }
[]
common name
Q772637 Q7914747 Q5407168
SYSTEM
Vang Pao, Vang Sue, Eugene DeBruin
Q5407168 Q772637 Q7914747 Q4260702
(c(Q502895),P607,Q877450)
action filter_type
action find_reverse
entity Q877450
relation P607
type Q502895
Part Laotian Civil War took place [ANSWERS]
[{'concept': 'Q502895'}, 'P607', 'Q877450']
SELECT DISTINCT ?i WHERE { ?i property:P607 resource:Q877450 . ?i rdf:type ontology:Q502895 }
Eugene DeBruin Vang Pao Vang Sue Lee Lue
Part Laotian Civil War took place Vang Pao, Vang Sue and Eugene DeBruin
Vang Pao Vang Sue Eugene DeBruin
action filter_type
action find_reverse
entity Laotian Civil War
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Laotian Civil War']
SELECT DISTINCT ?i WHERE { ?i property:conflict resource:Laotian_Civil_War . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q530413
P136
Q151885
USER
Which concept can be considered as genre of Palmy ?
(Q530413,P136,c(Q151885))
action filter_type
action find
entity Q530413
relation P136
type Q151885
['Q530413', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?v WHERE { resource:Q530413 property:P136 ?v . ?v rdf:type ontology:Q151885 }
Palmy
action filter_type
action find
entity Palmy
relation genre
type concept
['Palmy', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?v WHERE { resource:Palmy property:genre ?v . ?v rdf:type ontology:concept }
[]
concept
Q37073
SYSTEM
pop music
Q37073
(Q530413,P136,c(Q151885))
action filter_type
action find
entity Q530413
relation P136
type Q151885
[ANSWER] can be considered as genre of Palmy
['Q530413', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?v WHERE { resource:Q530413 property:P136 ?v . ?v rdf:type ontology:Q151885 }
pop music
Pop music can be considered as genre of Palmy
pop music
action filter_type
action find
entity Palmy
relation genre
type concept
['Palmy', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?v WHERE { resource:Palmy property:genre ?v . ?v rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q530413
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q37073,P19,c(Q56061))
action filter_type
action find
entity Q530413
relation P19
type Q56061
['Q37073', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q530413 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Palmy
action filter_type
action find
entity Palmy
relation place of birth
type administrative territorial entity
['pop music', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Palmy property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1861
SYSTEM
Bangkok
Q1861
(Q37073,P19,c(Q56061))
action filter_type
action find
entity Q530413
relation P19
type Q56061
That person was born in [ANSWER]
['Q37073', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q530413 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Bangkok
That person was born in Bangkok
Bangkok
action filter_type
action find
entity Palmy
relation place of birth
type administrative territorial entity
['pop music', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Palmy property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1861 Q1781
P190
Q56061
USER
Is Budapest sister town of that one ?
(Q1861,P190,Q1781)
action is_in
entity Q1781
action find
entity Q1861
relation P190
['Q1861', 'P190', 'Q1781']
ASK WHERE { resource:Q1861 property:P190 resource:Q1781 }
Bangkok Budapest
action is_in
entity Budapest
action find
entity Bangkok
relation sister city
['Bangkok', 'sister city', 'Budapest']
ASK WHERE { resource:Bangkok property:sister_city resource:Budapest }
[]
administrative territorial entity
SYSTEM
YES
(Q1861,P190,Q1781)
action is_in
entity Q1781
action find
entity Q1861
relation P190
[ANSWER]
['Q1861', 'P190', 'Q1781']
ASK WHERE { resource:Q1861 property:P190 resource:Q1781 }
Yes
action is_in
entity Budapest
action find
entity Bangkok
relation sister city
['Bangkok', 'sister city', 'Budapest']
ASK WHERE { resource:Bangkok property:sister_city resource:Budapest }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q772637
P1196
Q1931388
USER
What manner did Vang Pao die ?
(Q772637,P1196,c(Q1931388))
action filter_type
action find
entity Q772637
relation P1196
type Q1931388
['Q772637', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q772637 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
Vang Pao
action filter_type
action find
entity Vang Pao
relation manner of death
type cause of death
['Vang Pao', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Vang_Pao property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q772637,P1196,c(Q1931388))
action filter_type
action find
entity Q772637
relation P1196
type Q1931388
Vang Pao died of [ANSWER]
['Q772637', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q772637 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
natural causes
Vang Pao died of natural causes
natural causes
action filter_type
action find
entity Vang Pao
relation manner of death
type cause of death
['Vang Pao', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Vang_Pao property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q357444
Q1931388
USER
And how about Lou Gehrig?
(Q357444,P1196,c(Q1931388))
action filter_type
action find
entity Q357444
relation P1196
type Q1931388
['Q357444', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?y WHERE { resource:Q357444 property:P1196 ?y . ?y rdf:type ontology:Q1931388 }
Lou Gehrig
action filter_type
action find
entity Lou Gehrig
relation manner of death
type cause of death
['Lou Gehrig', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?y WHERE { resource:Lou_Gehrig property:manner_of_death ?y . ?y rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q357444,P1196,c(Q1931388))
action filter_type
action find
entity Q357444
relation P1196
type Q1931388
[ANSWER]
['Q357444', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?y WHERE { resource:Q357444 property:P1196 ?y . ?y rdf:type ontology:Q1931388 }
natural causes
natural causes
action filter_type
action find
entity Lou Gehrig
relation manner of death
type cause of death
['Lou Gehrig', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?y WHERE { resource:Lou_Gehrig property:manner_of_death ?y . ?y rdf:type ontology:cause_of_death }
[]