Simple Question (Direct)
Simple Question
Q13563000
P509
Q2057971
USER
How did Sunanda Gandhi die ?
(Q13563000,P509,c(Q2057971))
action filter_type
action find
entity Q13563000
relation P509
type Q2057971
['Q13563000', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?a WHERE { resource:Q13563000 property:P509 ?a . ?a rdf:type ontology:Q2057971 }
Sunanda Gandhi
action filter_type
action find
entity Sunanda Gandhi
relation cause of death
type health problem
['Sunanda Gandhi', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?a WHERE { resource:Sunanda_Gandhi property:cause_of_death ?a . ?a rdf:type ontology:health_problem }
[]
health problem
Q202837
SYSTEM
cardiac arrest
Q202837
(Q13563000,P509,c(Q2057971))
action filter_type
action find
entity Q13563000
relation P509
type Q2057971
Sunanda Gandhi died on [ANSWER]
['Q13563000', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?a WHERE { resource:Q13563000 property:P509 ?a . ?a rdf:type ontology:Q2057971 }
cardiac arrest
Sunanda Gandhi died on cardiac arrest
cardiac arrest
action filter_type
action find
entity Sunanda Gandhi
relation cause of death
type health problem
['Sunanda Gandhi', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?a WHERE { resource:Sunanda_Gandhi property:cause_of_death ?a . ?a rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13563000
P26
Q502895
USER
Which person is married to Sunanda Gandhi ?
(c(Q502895),P26,Q13563000)
action filter_type
action find
entity Q13563000
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q13563000']
SELECT DISTINCT ?g WHERE { resource:Q13563000 property:P26 ?g . ?g rdf:type ontology:Q502895 }
Sunanda Gandhi
action filter_type
action find
entity Sunanda Gandhi
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Sunanda Gandhi']
SELECT DISTINCT ?g WHERE { resource:Sunanda_Gandhi property:spouse ?g . ?g rdf:type ontology:common_name }
[]
common name
Q3426281
SYSTEM
Arun Manilal Gandhi
Q3426281
(c(Q502895),P26,Q13563000)
action filter_type
action find
entity Q13563000
relation P26
type Q502895
[ANSWER] is married to Sunanda Gandhi
[{'concept': 'Q502895'}, 'P26', 'Q13563000']
SELECT DISTINCT ?g WHERE { resource:Q13563000 property:P26 ?g . ?g rdf:type ontology:Q502895 }
Arun Manilal Gandhi
Arun Manilal Gandhi is married to Sunanda Gandhi
Arun Manilal Gandhi
action filter_type
action find
entity Sunanda Gandhi
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Sunanda Gandhi']
SELECT DISTINCT ?g WHERE { resource:Sunanda_Gandhi property:spouse ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3426281
P22
Q502895
USER
Which person has that one as father ?
(c(Q502895),P22,Q3426281)
action filter_type
action find_reverse
entity Q3426281
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q3426281']
SELECT DISTINCT ?r WHERE { ?r property:P22 resource:Q3426281 . ?r rdf:type ontology:Q502895 }
Arun Manilal Gandhi
action filter_type
action find_reverse
entity Arun Manilal Gandhi
relation father
type common name
[{'concept': 'common name'}, 'father', 'Arun Manilal Gandhi']
SELECT DISTINCT ?r WHERE { ?r property:father resource:Arun_Manilal_Gandhi . ?r rdf:type ontology:common_name }
[]
common name
Q5625256
SYSTEM
Tushar Gandhi
Q5625256
(c(Q502895),P22,Q3426281)
action filter_type
action find_reverse
entity Q3426281
relation P22
type Q502895
[ANSWER] has that one as father
[{'concept': 'Q502895'}, 'P22', 'Q3426281']
SELECT DISTINCT ?r WHERE { ?r property:P22 resource:Q3426281 . ?r rdf:type ontology:Q502895 }
Tushar Gandhi
Tushar Gandhi has that one as father
Tushar Gandhi
action filter_type
action find_reverse
entity Arun Manilal Gandhi
relation father
type common name
[{'concept': 'common name'}, 'father', 'Arun Manilal Gandhi']
SELECT DISTINCT ?r WHERE { ?r property:father resource:Arun_Manilal_Gandhi . ?r rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q13563000
P27
Q15617994
USER
How many administrative territories are Sunanda Gandhi an inhabitant of ?
(Q13563000,P27,c(Q15617994))
action count
action filter_type
action find
entity Q13563000
relation P27
type Q15617994
['Q13563000', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Q13563000 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Sunanda Gandhi
action count
action filter_type
action find
entity Sunanda Gandhi
relation country of citizenship
type designation for an administrative territorial entity
['Sunanda Gandhi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Sunanda_Gandhi property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q13563000,P27,c(Q15617994))
action count
action filter_type
action find
entity Q13563000
relation P27
type Q15617994
[ANSWER]
['Q13563000', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Q13563000 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Sunanda Gandhi
relation country of citizenship
type designation for an administrative territorial entity
['Sunanda Gandhi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Sunanda_Gandhi property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1801664
P19
Q15617994
USER
Which administrative territory was Reinhard Gruber born at ?
(Q1801664,P19,c(Q15617994))
action filter_type
action find
entity Q1801664
relation P19
type Q15617994
['Q1801664', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q1801664 property:P19 ?j }
Reinhard Gruber
action filter_type
action find
entity Reinhard Gruber
relation place of birth
type designation for an administrative territorial entity
['Reinhard Gruber', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Reinhard_Gruber property:place_of_birth ?j }
[]
designation for an administrative territorial entity
Q185541
SYSTEM
Brixen
Q185541
(Q1801664,P19,c(Q15617994))
action filter_type
action find
entity Q1801664
relation P19
type Q15617994
Reinhard Gruber was born in [ANSWER]
['Q1801664', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q1801664 property:P19 ?j }
Brixen
Reinhard Gruber was born in Brixen
Brixen
action filter_type
action find
entity Reinhard Gruber
relation place of birth
type designation for an administrative territorial entity
['Reinhard Gruber', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Reinhard_Gruber property:place_of_birth ?j }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q13563000 Q2736992
P25
Q502895
USER
How many people have Sunanda Gandhi or Sumayyah bint Khayyat as mother ?
(c(Q502895),P25,Q13563000) (c(Q502895),P25,Q2736992)
action count
action union
action filter_type
action find_reverse
entity Q13563000
relation P25
type Q502895
action filter_type
action find_reverse
entity Q2736992
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q13563000'] [{'concept': 'Q502895'}, 'P25', 'Q2736992']
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P25 ?a . VALUES ( ?a ) { ( resource:Q2736992 ) ( resource:Q13563000 ) } }
Sunanda Gandhi Sumayyah bint Khayyat
action count
action union
action filter_type
action find_reverse
entity Sunanda Gandhi
relation mother
type common name
action filter_type
action find_reverse
entity Sumayyah bint Khayyat
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Sunanda Gandhi'] [{'concept': 'common name'}, 'mother', 'Sumayyah bint Khayyat']
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:mother ?a . VALUES ( ?a ) { ( resource:Sumayyah_bint_Khayyat ) ( resource:Sunanda_Gandhi ) } }
[]
common name
SYSTEM
2
Q1110653 Q5625256
(c(Q502895),P25,Q13563000) (c(Q502895),P25,Q2736992)
action count
action union
action filter_type
action find_reverse
entity Q13563000
relation P25
type Q502895
action filter_type
action find_reverse
entity Q2736992
relation P25
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P25', 'Q13563000'] [{'concept': 'Q502895'}, 'P25', 'Q2736992']
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P25 ?a . VALUES ( ?a ) { ( resource:Q2736992 ) ( resource:Q13563000 ) } }
Ammar ibn Yasir Tushar Gandhi
2
action count
action union
action filter_type
action find_reverse
entity Sunanda Gandhi
relation mother
type common name
action filter_type
action find_reverse
entity Sumayyah bint Khayyat
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Sunanda Gandhi'] [{'concept': 'common name'}, 'mother', 'Sumayyah bint Khayyat']
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:mother ?a . VALUES ( ?a ) { ( resource:Sumayyah_bint_Khayyat ) ( resource:Sunanda_Gandhi ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5625256
P40
Q502895
USER
Which people have Tushar Gandhi as a child ?
(c(Q502895),P40,Q5625256)
action filter_type
action find_reverse
entity Q5625256
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q5625256']
SELECT DISTINCT ?j WHERE { ?j property:P40 resource:Q5625256 . ?j rdf:type ontology:Q502895 }
Tushar Gandhi
action filter_type
action find_reverse
entity Tushar Gandhi
relation child
type common name
[{'concept': 'common name'}, 'child', 'Tushar Gandhi']
SELECT DISTINCT ?j WHERE { ?j property:child resource:Tushar_Gandhi . ?j rdf:type ontology:common_name }
[]
common name
Q13563000 Q3426281
SYSTEM
Sunanda Gandhi, Arun Manilal Gandhi
Q13563000 Q3426281
(c(Q502895),P40,Q5625256)
action filter_type
action find_reverse
entity Q5625256
relation P40
type Q502895
[ANSWERS] have Tushar Gandhi as a child
[{'concept': 'Q502895'}, 'P40', 'Q5625256']
SELECT DISTINCT ?j WHERE { ?j property:P40 resource:Q5625256 . ?j rdf:type ontology:Q502895 }
Sunanda Gandhi Arun Manilal Gandhi
Sunanda Gandhi and Arun Manilal Gandhi have Tushar Gandhi as a child
Sunanda Gandhi Arun Manilal Gandhi
action filter_type
action find_reverse
entity Tushar Gandhi
relation child
type common name
[{'concept': 'common name'}, 'child', 'Tushar Gandhi']
SELECT DISTINCT ?j WHERE { ?j property:child resource:Tushar_Gandhi . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5625256
P21
Q290
USER
What is the sex of Tushar Gandhi ?
(Q5625256,P21,c(Q290))
action filter_type
action find
entity Q5625256
relation P21
type Q290
['Q5625256', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q5625256 property:P21 ?l . ?l rdf:type ontology:Q290 }
Tushar Gandhi
action filter_type
action find
entity Tushar Gandhi
relation gender
type sex
['Tushar Gandhi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Tushar_Gandhi property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5625256,P21,c(Q290))
action filter_type
action find
entity Q5625256
relation P21
type Q290
The sex of Tushar Gandhi is the [ANSWER]
['Q5625256', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q5625256 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
The sex of Tushar Gandhi is the male
male
action filter_type
action find
entity Tushar Gandhi
relation gender
type sex
['Tushar Gandhi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Tushar_Gandhi property:gender ?l . ?l rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3168604 Q5625256
P21
Q290
USER
Or Jean-Paul Matte?
OR((Q5625256,P21,c(Q290)), (Q3168604,P21,c(Q290)))
action filter_type
action union
action find
entity Q5625256
relation P21
action find
entity Q3168604
relation P21
type Q290
{'OR': [['Q5625256', 'P21', {'concept': 'Q290'}], ['Q3168604', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?d ) { ( resource:Q5625256 ) ( resource:Q3168604 ) } . ?d property:P21 ?j } . ?j rdf:type ontology:Q290 }
Jean-Paul Matte Tushar Gandhi
action filter_type
action union
action find
entity Tushar Gandhi
relation gender
action find
entity Jean-Paul Matte
relation gender
type sex
{'OR': [['Tushar Gandhi', 'gender', {'concept': 'sex'}], ['Jean-Paul Matte', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?d ) { ( resource:Tushar_Gandhi ) ( resource:Jean-Paul_Matte ) } . ?d property:gender ?j } . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q5625256,P21,c(Q290)), (Q3168604,P21,c(Q290)))
action filter_type
action union
action find
entity Q5625256
relation P21
action find
entity Q3168604
relation P21
type Q290
[ANSWER]
{'OR': [['Q5625256', 'P21', {'concept': 'Q290'}], ['Q3168604', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?d ) { ( resource:Q5625256 ) ( resource:Q3168604 ) } . ?d property:P21 ?j } . ?j rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Tushar Gandhi
relation gender
action find
entity Jean-Paul Matte
relation gender
type sex
{'OR': [['Tushar Gandhi', 'gender', {'concept': 'sex'}], ['Jean-Paul Matte', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?d ) { ( resource:Tushar_Gandhi ) ( resource:Jean-Paul_Matte ) } . ?d property:gender ?j } . ?j rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q1447844
P21
Q502895
USER
Does Franz Kobell have that sex as the sex ?
(Q1447844,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q1447844
relation P21
['Q1447844', 'P21', 'Q6581097']
ASK WHERE { resource:Q1447844 property:P21 resource:Q6581097 }
male Franz Kobell
action is_in
entity male
action find
entity Franz Kobell
relation gender
['Franz Kobell', 'gender', 'male']
ASK WHERE { resource:Franz_Kobell property:gender resource:male }
[]
common name
SYSTEM
YES
(Q1447844,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q1447844
relation P21
[ANSWER]
['Q1447844', 'P21', 'Q6581097']
ASK WHERE { resource:Q1447844 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Franz Kobell
relation gender
['Franz Kobell', 'gender', 'male']
ASK WHERE { resource:Franz_Kobell property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q202837 Q26272
P2176
Q8386
USER
Is Atropine used as an antidote for cardiac arrest ?
(Q202837,P2176,Q26272)
action is_in
entity Q26272
action find
entity Q202837
relation P2176
['Q202837', 'P2176', 'Q26272']
ASK WHERE { resource:Q202837 property:P2176 resource:Q26272 }
cardiac arrest Atropine
action is_in
entity Atropine
action find
entity cardiac arrest
relation drug used for treatment
['cardiac arrest', 'drug used for treatment', 'Atropine']
ASK WHERE { resource:cardiac_arrest property:drug_used_for_treatment resource:Atropine }
[]
drug
SYSTEM
YES
(Q202837,P2176,Q26272)
action is_in
entity Q26272
action find
entity Q202837
relation P2176
[ANSWER]
['Q202837', 'P2176', 'Q26272']
ASK WHERE { resource:Q202837 property:P2176 resource:Q26272 }
Yes
action is_in
entity Atropine
action find
entity cardiac arrest
relation drug used for treatment
['cardiac arrest', 'drug used for treatment', 'Atropine']
ASK WHERE { resource:cardiac_arrest property:drug_used_for_treatment resource:Atropine }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5625256 Q13563000
P25
Q502895
USER
Was Sunanda Gandhi the mom of Tushar Gandhi ?
(Q5625256,P25,Q13563000)
action is_in
entity Q13563000
action find
entity Q5625256
relation P25
['Q5625256', 'P25', 'Q13563000']
ASK WHERE { resource:Q5625256 property:P25 resource:Q13563000 }
Tushar Gandhi Sunanda Gandhi
action is_in
entity Sunanda Gandhi
action find
entity Tushar Gandhi
relation mother
['Tushar Gandhi', 'mother', 'Sunanda Gandhi']
ASK WHERE { resource:Tushar_Gandhi property:mother resource:Sunanda_Gandhi }
[]
common name
SYSTEM
YES
(Q5625256,P25,Q13563000)
action is_in
entity Q13563000
action find
entity Q5625256
relation P25
[ANSWER]
['Q5625256', 'P25', 'Q13563000']
ASK WHERE { resource:Q5625256 property:P25 resource:Q13563000 }
Yes
action is_in
entity Sunanda Gandhi
action find
entity Tushar Gandhi
relation mother
['Tushar Gandhi', 'mother', 'Sunanda Gandhi']
ASK WHERE { resource:Tushar_Gandhi property:mother resource:Sunanda_Gandhi }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q185541
P47
Q56061
USER
Which administrative territories share border with Brixen ?
(Q185541,P47,c(Q56061))
action filter_type
action find
entity Q185541
relation P47
type Q56061
['Q185541', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q185541 property:P47 ?e . ?e rdf:type ontology:Q56061 }
Brixen
action filter_type
action find
entity Brixen
relation shares border with
type administrative territorial entity
['Brixen', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Brixen property:shares_border_with ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q494793 Q261187 Q259455
SYSTEM
San Martin de Tor, Villnöß, Natz-Schabs
Q259455 Q261187 Q420503 Q494793 Q504684 Q499695
(Q185541,P47,c(Q56061))
action filter_type
action find
entity Q185541
relation P47
type Q56061
[ANSWERS] share border with Brixen
['Q185541', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q185541 property:P47 ?e . ?e rdf:type ontology:Q56061 }
Natz-Schabs Villnöß Lüsen San Martin de Tor Vahrn Feldthurns
San Martin de Tor, Villnöß and Natz-Schabs share border with Brixen
San Martin de Tor Villnöß Natz-Schabs
action filter_type
action find
entity Brixen
relation shares border with
type administrative territorial entity
['Brixen', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Brixen property:shares_border_with ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]