Simple Question (Direct)
Simple Question
Q164526
P1196
Q1931388
USER
What manner did Ajita Wilson die ?
(Q164526,P1196,c(Q1931388))
action filter_type
action find
entity Q164526
relation P1196
type Q1931388
['Q164526', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q164526 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
Ajita Wilson
action filter_type
action find
entity Ajita Wilson
relation manner of death
type cause of death
['Ajita Wilson', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Ajita_Wilson property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q164526,P1196,c(Q1931388))
action filter_type
action find
entity Q164526
relation P1196
type Q1931388
Ajita Wilson died of [ANSWER]
['Q164526', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q164526 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
natural causes
Ajita Wilson died of natural causes
natural causes
action filter_type
action find
entity Ajita Wilson
relation manner of death
type cause of death
['Ajita Wilson', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Ajita_Wilson property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q164526
P509
Q12136
USER
Which disease was the cause of death of Ajita Wilson ?
(Q164526,P509,c(Q12136))
action filter_type
action find
entity Q164526
relation P509
type Q12136
['Q164526', 'P509', {'concept': 'Q12136'}]
SELECT DISTINCT ?x WHERE { resource:Q164526 property:P509 ?x . ?x rdf:type ontology:Q12136 }
Ajita Wilson
action filter_type
action find
entity Ajita Wilson
relation cause of death
type disease
['Ajita Wilson', 'cause of death', {'concept': 'disease'}]
SELECT DISTINCT ?x WHERE { resource:Ajita_Wilson property:cause_of_death ?x . ?x rdf:type ontology:disease }
[]
disease
Q1368943
SYSTEM
cerebral hemorrhage
Q1368943
(Q164526,P509,c(Q12136))
action filter_type
action find
entity Q164526
relation P509
type Q12136
The [ANSWER] was the cause of death of Ajita Wilson
['Q164526', 'P509', {'concept': 'Q12136'}]
SELECT DISTINCT ?x WHERE { resource:Q164526 property:P509 ?x . ?x rdf:type ontology:Q12136 }
cerebral hemorrhage
The cerebral hemorrhage was the cause of death of Ajita Wilson
cerebral hemorrhage
action filter_type
action find
entity Ajita Wilson
relation cause of death
type disease
['Ajita Wilson', 'cause of death', {'concept': 'disease'}]
SELECT DISTINCT ?x WHERE { resource:Ajita_Wilson property:cause_of_death ?x . ?x rdf:type ontology:disease }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q10288805
Q12136
USER
And how about Geny Prado?
(Q10288805,P509,c(Q12136))
action filter_type
action find
entity Q10288805
relation P509
type Q12136
['Q10288805', 'P509', {'concept': 'Q12136'}]
SELECT DISTINCT ?j WHERE { resource:Q10288805 property:P509 ?j . ?j rdf:type ontology:Q12136 }
Geny Prado
action filter_type
action find
entity Geny Prado
relation cause of death
type disease
['Geny Prado', 'cause of death', {'concept': 'disease'}]
SELECT DISTINCT ?j WHERE { resource:Geny_Prado property:cause_of_death ?j . ?j rdf:type ontology:disease }
[]
disease
Q12078
SYSTEM
cancer
Q12078
(Q10288805,P509,c(Q12136))
action filter_type
action find
entity Q10288805
relation P509
type Q12136
[ANSWER]
['Q10288805', 'P509', {'concept': 'Q12136'}]
SELECT DISTINCT ?j WHERE { resource:Q10288805 property:P509 ?j . ?j rdf:type ontology:Q12136 }
cancer
cancer
action filter_type
action find
entity Geny Prado
relation cause of death
type disease
['Geny Prado', 'cause of death', {'concept': 'disease'}]
SELECT DISTINCT ?j WHERE { resource:Geny_Prado property:cause_of_death ?j . ?j rdf:type ontology:disease }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q164526
P734
Q82799
USER
Who has the surname Ajita Wilson ?
(Q164526,P734,c(Q82799))
action filter_type
action find
entity Q164526
relation P734
type Q82799
['Q164526', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q164526 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Ajita Wilson
action filter_type
action find
entity Ajita Wilson
relation family name
type name
['Ajita Wilson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Ajita_Wilson property:family_name ?o . ?o rdf:type ontology:name }
[]
name
Q1645480
SYSTEM
Wilson
Q1645480
(Q164526,P734,c(Q82799))
action filter_type
action find
entity Q164526
relation P734
type Q82799
[ANSWER] has the surname Ajita [ANSWER]
['Q164526', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q164526 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Wilson
Wilson has the surname Ajita Wilson
Wilson
action filter_type
action find
entity Ajita Wilson
relation family name
type name
['Ajita Wilson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Ajita_Wilson property:family_name ?o . ?o rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q164526
P106
Q12737077
USER
What are the job of Ajita Wilson ?
(Q164526,P106,c(Q12737077))
action filter_type
action find
entity Q164526
relation P106
type Q12737077
['Q164526', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q164526 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Ajita Wilson
action filter_type
action find
entity Ajita Wilson
relation occupation
type occupation
['Ajita Wilson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Ajita_Wilson property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q488111 Q33999
SYSTEM
pornographic actor, actor
Q488111 Q33999
(Q164526,P106,c(Q12737077))
action filter_type
action find
entity Q164526
relation P106
type Q12737077
The job of Ajita Wilson are a [ANSWERS]
['Q164526', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q164526 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
pornographic actor actor
The job of Ajita Wilson are a pornographic actor and actor
pornographic actor actor
action filter_type
action find
entity Ajita Wilson
relation occupation
type occupation
['Ajita Wilson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Ajita_Wilson property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q164526
P21
Q290
USER
Which sex does Ajita Wilson possess ?
(Q164526,P21,c(Q290))
action filter_type
action find
entity Q164526
relation P21
type Q290
['Q164526', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q164526 property:P21 ?b . ?b rdf:type ontology:Q290 }
Ajita Wilson
action filter_type
action find
entity Ajita Wilson
relation gender
type sex
['Ajita Wilson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Ajita_Wilson property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q164526,P21,c(Q290))
action filter_type
action find
entity Q164526
relation P21
type Q290
Ajita Wilson possesses a [ANSWER]
['Q164526', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q164526 property:P21 ?b . ?b rdf:type ontology:Q290 }
female
Ajita Wilson possesses a female
female
action filter_type
action find
entity Ajita Wilson
relation gender
type sex
['Ajita Wilson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Ajita_Wilson property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3380972
Q290
USER
And also tell me about F. Gordon A. Stone?
(Q3380972,P21,c(Q290))
action filter_type
action find
entity Q3380972
relation P21
type Q290
['Q3380972', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q3380972 property:P21 ?y . ?y rdf:type ontology:Q290 }
F. Gordon A. Stone
action filter_type
action find
entity F. Gordon A. Stone
relation gender
type sex
['F. Gordon A. Stone', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:F._Gordon_A._Stone property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3380972,P21,c(Q290))
action filter_type
action find
entity Q3380972
relation P21
type Q290
[ANSWER]
['Q3380972', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q3380972 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity F. Gordon A. Stone
relation gender
type sex
['F. Gordon A. Stone', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:F._Gordon_A._Stone property:gender ?y . ?y rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P138
Q7946 Q79529
USER
How many minerals and chemical substances are named after that sex ?
(c(Q7946),P138,Q6581097) (c(Q79529),P138,Q6581097) (c(Q7946),P138,Q6581097) (c(Q79529),P138,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q7946
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q79529
[{'concept': 'Q7946'}, 'P138', 'Q6581097'] [{'concept': 'Q79529'}, 'P138', 'Q6581097'] [{'concept': 'Q7946'}, 'P138', 'Q6581097'] [{'concept': 'Q79529'}, 'P138', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:Q7946 ) ( ontology:Q79529 ) } }
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type mineral
action filter_type
action find_reverse
entity male
relation named after
type chemical substance
[{'concept': 'mineral'}, 'named after', 'male'] [{'concept': 'chemical substance'}, 'named after', 'male'] [{'concept': 'mineral'}, 'named after', 'male'] [{'concept': 'chemical substance'}, 'named after', 'male']
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:mineral ) ( ontology:chemical_substance ) } }
[]
mineral chemical substance
SYSTEM
7 minerals and 1 chemical substances
Q19861020 Q19833612 Q18375263 Q4006570 Q3565842 Q19862060 Q19861231 Q19833301
(c(Q7946),P138,Q6581097) (c(Q79529),P138,Q6581097) (c(Q7946),P138,Q6581097) (c(Q79529),P138,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q7946
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q79529
[ANSWER]
[{'concept': 'Q7946'}, 'P138', 'Q6581097'] [{'concept': 'Q79529'}, 'P138', 'Q6581097'] [{'concept': 'Q7946'}, 'P138', 'Q6581097'] [{'concept': 'Q79529'}, 'P138', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:Q7946 ) ( ontology:Q79529 ) } }
mendeleevite-(Ce) fabrièsite billwiseite urusovite zirkelite witzkeite reynoldsite carlosbarbosaite
7 minerals and 1 chemical substances
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type mineral
action filter_type
action find_reverse
entity male
relation named after
type chemical substance
[{'concept': 'mineral'}, 'named after', 'male'] [{'concept': 'chemical substance'}, 'named after', 'male'] [{'concept': 'mineral'}, 'named after', 'male'] [{'concept': 'chemical substance'}, 'named after', 'male']
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:mineral ) ( ontology:chemical_substance ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1368943
P1995
Q1047113
USER
Which special field is the medical expertise concerned with cerebral hemorrhage ?
(Q1368943,P1995,c(Q1047113))
action filter_type
action find
entity Q1368943
relation P1995
type Q1047113
['Q1368943', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?x WHERE { resource:Q1368943 property:P1995 ?x . ?x rdf:type ontology:Q1047113 }
cerebral hemorrhage
action filter_type
action find
entity cerebral hemorrhage
relation medical specialty
type special field
['cerebral hemorrhage', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?x WHERE { resource:cerebral_hemorrhage property:medical_specialty ?x . ?x rdf:type ontology:special_field }
[]
special field
Q188449
SYSTEM
neurosurgery
Q188449
(Q1368943,P1995,c(Q1047113))
action filter_type
action find
entity Q1368943
relation P1995
type Q1047113
And [ANSWER] is the medical expertise concerned with cerebral hemorrhage
['Q1368943', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?x WHERE { resource:Q1368943 property:P1995 ?x . ?x rdf:type ontology:Q1047113 }
neurosurgery
And neurosurgery is the medical expertise concerned with cerebral hemorrhage
neurosurgery
action filter_type
action find
entity cerebral hemorrhage
relation medical specialty
type special field
['cerebral hemorrhage', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?x WHERE { resource:cerebral_hemorrhage property:medical_specialty ?x . ?x rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1368943
P2176
Q8386
USER
Which drugs are used for treating that disease ?
(Q188449,P2176,c(Q8386))
action filter_type
action find
entity Q1368943
relation P2176
type Q8386
['Q188449', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?d WHERE { resource:Q1368943 property:P2176 ?d . ?d rdf:type ontology:Q8386 }
cerebral hemorrhage
action filter_type
action find
entity cerebral hemorrhage
relation drug used for treatment
type drug
['neurosurgery', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?d WHERE { resource:cerebral_hemorrhage property:drug_used_for_treatment ?d . ?d rdf:type ontology:drug }
[]
drug
Q19606349 Q670131
SYSTEM
Alteplase, simvastatin
Q19606349 Q670131
(Q188449,P2176,c(Q8386))
action filter_type
action find
entity Q1368943
relation P2176
type Q8386
[ANSWERS] are used for treating that disease
['Q188449', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?d WHERE { resource:Q1368943 property:P2176 ?d . ?d rdf:type ontology:Q8386 }
Alteplase simvastatin
Alteplase and simvastatin are used for treating that disease
Alteplase simvastatin
action filter_type
action find
entity cerebral hemorrhage
relation drug used for treatment
type drug
['neurosurgery', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?d WHERE { resource:cerebral_hemorrhage property:drug_used_for_treatment ?d . ?d rdf:type ontology:drug }
[]