Simple Question (Direct)
Simple Question
Q6195738
P166
Q618779
USER
What was awarded to Jim Horne ?
(Q6195738,P166,c(Q618779))
action filter_type
action find
entity Q6195738
relation P166
type Q618779
['Q6195738', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { resource:Q6195738 property:P166 ?g . ?g rdf:type ontology:Q618779 }
Jim Horne
action filter_type
action find
entity Jim Horne
relation award received
type award
['Jim Horne', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { resource:Jim_Horne property:award_received ?g . ?g rdf:type ontology:award }
[]
award
Q928314
SYSTEM
Bronze Star Medal
Q928314
(Q6195738,P166,c(Q618779))
action filter_type
action find
entity Q6195738
relation P166
type Q618779
Medal [ANSWER] was awarded to Jim Horne
['Q6195738', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { resource:Q6195738 property:P166 ?g . ?g rdf:type ontology:Q618779 }
Bronze Star Medal
Medal Bronze Star Medal was awarded to Jim Horne
Bronze Star Medal
action filter_type
action find
entity Jim Horne
relation award received
type award
['Jim Horne', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { resource:Jim_Horne property:award_received ?g . ?g rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6195738
P607
Q198
USER
Which war did Jim Horne take part in ?
(Q6195738,P607,c(Q198))
action filter_type
action find
entity Q6195738
relation P607
type Q198
['Q6195738', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q198 . resource:Q6195738 property:P607 ?z }
Jim Horne
action filter_type
action find
entity Jim Horne
relation conflict
type war
['Jim Horne', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:war . resource:Jim_Horne property:conflict ?z }
[]
war
Q362
SYSTEM
World War II
Q362
(Q6195738,P607,c(Q198))
action filter_type
action find
entity Q6195738
relation P607
type Q198
Jim Horne took part in [ANSWER]
['Q6195738', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q198 . resource:Q6195738 property:P607 ?z }
World War II
Jim Horne took part in World War II
World War II
action filter_type
action find
entity Jim Horne
relation conflict
type war
['Jim Horne', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:war . resource:Jim_Horne property:conflict ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6195738
P509
Q2057971
USER
What was the cause of death of Jim Horne ?
(Q6195738,P509,c(Q2057971))
action filter_type
action find
entity Q6195738
relation P509
type Q2057971
['Q6195738', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?k WHERE { resource:Q6195738 property:P509 ?k . ?k rdf:type ontology:Q2057971 }
Jim Horne
action filter_type
action find
entity Jim Horne
relation cause of death
type health problem
['Jim Horne', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?k WHERE { resource:Jim_Horne property:cause_of_death ?k . ?k rdf:type ontology:health_problem }
[]
health problem
Q181754
SYSTEM
heart failure
Q181754
(Q6195738,P509,c(Q2057971))
action filter_type
action find
entity Q6195738
relation P509
type Q2057971
The cause of death of Jim Horne was a [ANSWER]
['Q6195738', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?k WHERE { resource:Q6195738 property:P509 ?k . ?k rdf:type ontology:Q2057971 }
heart failure
The cause of death of Jim Horne was a heart failure
heart failure
action filter_type
action find
entity Jim Horne
relation cause of death
type health problem
['Jim Horne', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?k WHERE { resource:Jim_Horne property:cause_of_death ?k . ?k rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1542
Q1441305 Q12136 Q2057971
USER
How many health problems result in around 3 medical signs and diseases ?
(c(Q2057971),P1542,c(Q1441305)|c(Q12136))
action count
action approx
action union
action find_tuple_counts
relation P1542
type Q2057971
type Q1441305
action find_tuple_counts
relation P1542
type Q2057971
type Q12136
value 3
[{'concept': 'Q2057971'}, 'P1542', [{'concept': 'Q1441305'}, {'concept': 'Q12136'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?z ) WHERE { VALUES ( ?j ) { ( ontology:Q1441305 ) ( ontology:Q12136 ) } . ?r rdf:type ?j } GROUP BY ?e } . FILTER ( ?z = 3 ) }
action count
action approx
action union
action find_tuple_counts
relation cause of
type health problem
type medical sign
action find_tuple_counts
relation cause of
type health problem
type disease
value 3
[{'concept': 'health problem'}, 'cause of', [{'concept': 'medical sign'}, {'concept': 'disease'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?z ) WHERE { VALUES ( ?j ) { ( ontology:medical_sign ) ( ontology:disease ) } . ?r rdf:type ?j } GROUP BY ?e } . FILTER ( ?z = 3 ) }
[]
medical sign disease health problem
SYSTEM
1
Q12125
(c(Q2057971),P1542,c(Q1441305)|c(Q12136))
action count
action approx
action union
action find_tuple_counts
relation P1542
type Q2057971
type Q1441305
action find_tuple_counts
relation P1542
type Q2057971
type Q12136
value 3
[ANSWER]
[{'concept': 'Q2057971'}, 'P1542', [{'concept': 'Q1441305'}, {'concept': 'Q12136'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?z ) WHERE { VALUES ( ?j ) { ( ontology:Q1441305 ) ( ontology:Q12136 ) } . ?r rdf:type ?j } GROUP BY ?e } . FILTER ( ?z = 3 ) }
common cold
1
action count
action approx
action union
action find_tuple_counts
relation cause of
type health problem
type medical sign
action find_tuple_counts
relation cause of
type health problem
type disease
value 3
[{'concept': 'health problem'}, 'cause of', [{'concept': 'medical sign'}, {'concept': 'disease'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?z ) WHERE { VALUES ( ?j ) { ( ontology:medical_sign ) ( ontology:disease ) } . ?r rdf:type ?j } GROUP BY ?e } . FILTER ( ?z = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6195738
P1196
Q1931388
USER
What situation did Jim Horne die in ?
(Q6195738,P1196,c(Q1931388))
action filter_type
action find
entity Q6195738
relation P1196
type Q1931388
['Q6195738', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?w WHERE { resource:Q6195738 property:P1196 ?w . ?w rdf:type ontology:Q1931388 }
Jim Horne
action filter_type
action find
entity Jim Horne
relation manner of death
type cause of death
['Jim Horne', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?w WHERE { resource:Jim_Horne property:manner_of_death ?w . ?w rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q6195738,P1196,c(Q1931388))
action filter_type
action find
entity Q6195738
relation P1196
type Q1931388
Jim Horne died of [ANSWER]
['Q6195738', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?w WHERE { resource:Q6195738 property:P1196 ?w . ?w rdf:type ontology:Q1931388 }
natural causes
Jim Horne died of natural causes
natural causes
action filter_type
action find
entity Jim Horne
relation manner of death
type cause of death
['Jim Horne', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?w WHERE { resource:Jim_Horne property:manner_of_death ?w . ?w rdf:type ontology:cause_of_death }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P828
Q12136 Q2057971
USER
Which diseases causes atmost 1 health problem ?
(c(Q2057971),P828,c(Q12136))
action atmost
action find_reverse_tuple_counts
relation P828
type Q12136
type Q2057971
value 1
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q12136'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:P828 ?q . ?q rdf:type ontology:Q12136 . ?u rdf:type ontology:Q2057971 } GROUP BY ?q } . FILTER ( ?m <= 1 ) }
action atmost
action find_reverse_tuple_counts
relation has cause
type disease
type health problem
value 1
[{'concept': 'health problem'}, 'has cause', {'concept': 'disease'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:has_cause ?q . ?q rdf:type ontology:disease . ?u rdf:type ontology:health_problem } GROUP BY ?q } . FILTER ( ?m <= 1 ) }
[]
disease health problem
Q110315 Q125367 Q189331
SYSTEM
lead poisoning, carbon monoxide poisoning, cardiac dysrhythmia
Q945238 Q18377123 Q1266401 Q4778771 Q189331 Q1778287 Q33487 Q110315 Q2655893 Q18924571 Q15326 Q1431933 Q41392 Q1942814 Q523893 Q460591 Q2866610 Q125367 Q205972
(c(Q2057971),P828,c(Q12136))
action atmost
action find_reverse_tuple_counts
relation P828
type Q12136
type Q2057971
value 1
[ANSWERS] cause atmost 1 health problem
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q12136'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:P828 ?q . ?q rdf:type ontology:Q12136 . ?u rdf:type ontology:Q2057971 } GROUP BY ?q } . FILTER ( ?m <= 1 ) }
peripheral neuropathy iodine deficiency Duodenal atresia Aortocaval compression syndrome cardiac dysrhythmia Waldenström's macroglobulinemia homophobia lead poisoning Vitamin A deficiency niacin deficiency alcoholism Aortoiliac occlusive disease Stress fracture Foot drop Ichthyosis decompression sickness hyposalivation carbon monoxide poisoning drunkenness
Lead poisoning, carbon monoxide poisoning and cardiac dysrhythmia cause atmost 1 health problem
lead poisoning carbon monoxide poisoning cardiac dysrhythmia
action atmost
action find_reverse_tuple_counts
relation has cause
type disease
type health problem
value 1
[{'concept': 'health problem'}, 'has cause', {'concept': 'disease'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:has_cause ?q . ?q rdf:type ontology:disease . ?u rdf:type ontology:health_problem } GROUP BY ?q } . FILTER ( ?m <= 1 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P780
Q1441305 Q169872
USER
How many medical signs and symptoms are symptoms of that disease ?
(Q125367,P780,c(Q1441305)) (Q125367,P780,c(Q169872)) (Q110315,P780,c(Q1441305)) (Q110315,P780,c(Q169872)) (Q125367,P780,c(Q1441305)) (Q125367,P780,c(Q169872)) (Q189331,P780,c(Q1441305)) (Q189331,P780,c(Q169872))
['Q125367', 'P780', {'concept': 'Q1441305'}] ['Q125367', 'P780', {'concept': 'Q169872'}] ['Q110315', 'P780', {'concept': 'Q1441305'}] ['Q110315', 'P780', {'concept': 'Q169872'}] ['Q125367', 'P780', {'concept': 'Q1441305'}] ['Q125367', 'P780', {'concept': 'Q169872'}] ['Q189331', 'P780', {'concept': 'Q1441305'}] ['Q189331', 'P780', {'concept': 'Q169872'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q125367 property:P780 ?z } UNION { resource:Q125367 property:P780 ?y } UNION { resource:Q110315 property:P780 ?z } UNION { resource:Q110315 property:P780 ?y } UNION { resource:Q125367 property:P780 ?z } UNION { resource:Q125367 property:P780 ?y } UNION { resource:Q189331 property:P780 ?z } UNION { resource:Q189331 property:P780 ?y } } . ?z rdf:type ontology:Q1441305 . ?y rdf:type ontology:Q169872 }
['carbon monoxide poisoning', 'symptoms', {'concept': 'medical sign'}] ['carbon monoxide poisoning', 'symptoms', {'concept': 'symptom'}] ['lead poisoning', 'symptoms', {'concept': 'medical sign'}] ['lead poisoning', 'symptoms', {'concept': 'symptom'}] ['carbon monoxide poisoning', 'symptoms', {'concept': 'medical sign'}] ['carbon monoxide poisoning', 'symptoms', {'concept': 'symptom'}] ['cardiac dysrhythmia', 'symptoms', {'concept': 'medical sign'}] ['cardiac dysrhythmia', 'symptoms', {'concept': 'symptom'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:carbon_monoxide_poisoning property:symptoms ?z } UNION { resource:carbon_monoxide_poisoning property:symptoms ?y } UNION { resource:lead_poisoning property:symptoms ?z } UNION { resource:lead_poisoning property:symptoms ?y } UNION { resource:carbon_monoxide_poisoning property:symptoms ?z } UNION { resource:carbon_monoxide_poisoning property:symptoms ?y } UNION { resource:cardiac_dysrhythmia property:symptoms ?z } UNION { resource:cardiac_dysrhythmia property:symptoms ?y } } . ?z rdf:type ontology:medical_sign . ?y rdf:type ontology:symptom }
[]
medical sign symptom
Quantitative|Count|Mult. entity type|Clarification
Q110315
SYSTEM
Did you mean lead poisoning ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q125367 property:P780 ?z } UNION { resource:Q125367 property:P780 ?y } UNION { resource:Q110315 property:P780 ?z } UNION { resource:Q110315 property:P780 ?y } UNION { resource:Q125367 property:P780 ?z } UNION { resource:Q125367 property:P780 ?y } UNION { resource:Q189331 property:P780 ?z } UNION { resource:Q189331 property:P780 ?y } } . ?z rdf:type ontology:Q1441305 . ?y rdf:type ontology:Q169872 }
Did you mean lead poisoning ?
lead poisoning
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:carbon_monoxide_poisoning property:symptoms ?z } UNION { resource:carbon_monoxide_poisoning property:symptoms ?y } UNION { resource:lead_poisoning property:symptoms ?z } UNION { resource:lead_poisoning property:symptoms ?y } UNION { resource:carbon_monoxide_poisoning property:symptoms ?z } UNION { resource:carbon_monoxide_poisoning property:symptoms ?y } UNION { resource:cardiac_dysrhythmia property:symptoms ?z } UNION { resource:cardiac_dysrhythmia property:symptoms ?y } } . ?z rdf:type ontology:medical_sign . ?y rdf:type ontology:symptom }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant carbon monoxide poisoning. Could you tell me the answer for that?
(Q125367,P780,c(Q1441305)) (Q125367,P780,c(Q169872)) (Q110315,P780,c(Q1441305)) (Q110315,P780,c(Q169872)) (Q125367,P780,c(Q1441305)) (Q125367,P780,c(Q169872)) (Q189331,P780,c(Q1441305)) (Q189331,P780,c(Q169872))
Q125367
['Q125367', 'P780', {'concept': 'Q1441305'}] ['Q125367', 'P780', {'concept': 'Q169872'}] ['Q110315', 'P780', {'concept': 'Q1441305'}] ['Q110315', 'P780', {'concept': 'Q169872'}] ['Q125367', 'P780', {'concept': 'Q1441305'}] ['Q125367', 'P780', {'concept': 'Q169872'}] ['Q189331', 'P780', {'concept': 'Q1441305'}] ['Q189331', 'P780', {'concept': 'Q169872'}]
['carbon monoxide poisoning', 'symptoms', {'concept': 'medical sign'}] ['carbon monoxide poisoning', 'symptoms', {'concept': 'symptom'}] ['lead poisoning', 'symptoms', {'concept': 'medical sign'}] ['lead poisoning', 'symptoms', {'concept': 'symptom'}] ['carbon monoxide poisoning', 'symptoms', {'concept': 'medical sign'}] ['carbon monoxide poisoning', 'symptoms', {'concept': 'symptom'}] ['cardiac dysrhythmia', 'symptoms', {'concept': 'medical sign'}] ['cardiac dysrhythmia', 'symptoms', {'concept': 'symptom'}]
[]
SYSTEM
3 medical signs and 1 symptoms
Q186889 Q10916362 Q570920 Q180007
(Q125367,P780,c(Q1441305)) (Q125367,P780,c(Q169872)) (Q110315,P780,c(Q1441305)) (Q110315,P780,c(Q169872)) (Q125367,P780,c(Q1441305)) (Q125367,P780,c(Q169872)) (Q189331,P780,c(Q1441305)) (Q189331,P780,c(Q169872))
[ANSWER]
['Q125367', 'P780', {'concept': 'Q1441305'}] ['Q125367', 'P780', {'concept': 'Q169872'}] ['Q110315', 'P780', {'concept': 'Q1441305'}] ['Q110315', 'P780', {'concept': 'Q169872'}] ['Q125367', 'P780', {'concept': 'Q1441305'}] ['Q125367', 'P780', {'concept': 'Q169872'}] ['Q189331', 'P780', {'concept': 'Q1441305'}] ['Q189331', 'P780', {'concept': 'Q169872'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q125367 property:P780 ?z } UNION { resource:Q125367 property:P780 ?y } UNION { resource:Q110315 property:P780 ?z } UNION { resource:Q110315 property:P780 ?y } UNION { resource:Q125367 property:P780 ?z } UNION { resource:Q125367 property:P780 ?y } UNION { resource:Q189331 property:P780 ?z } UNION { resource:Q189331 property:P780 ?y } } . ?z rdf:type ontology:Q1441305 . ?y rdf:type ontology:Q169872 }
nausea dizziness Tachypnea fainting
3 medical signs and 1 symptoms
['carbon monoxide poisoning', 'symptoms', {'concept': 'medical sign'}] ['carbon monoxide poisoning', 'symptoms', {'concept': 'symptom'}] ['lead poisoning', 'symptoms', {'concept': 'medical sign'}] ['lead poisoning', 'symptoms', {'concept': 'symptom'}] ['carbon monoxide poisoning', 'symptoms', {'concept': 'medical sign'}] ['carbon monoxide poisoning', 'symptoms', {'concept': 'symptom'}] ['cardiac dysrhythmia', 'symptoms', {'concept': 'medical sign'}] ['cardiac dysrhythmia', 'symptoms', {'concept': 'symptom'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:carbon_monoxide_poisoning property:symptoms ?z } UNION { resource:carbon_monoxide_poisoning property:symptoms ?y } UNION { resource:lead_poisoning property:symptoms ?z } UNION { resource:lead_poisoning property:symptoms ?y } UNION { resource:carbon_monoxide_poisoning property:symptoms ?z } UNION { resource:carbon_monoxide_poisoning property:symptoms ?y } UNION { resource:cardiac_dysrhythmia property:symptoms ?z } UNION { resource:cardiac_dysrhythmia property:symptoms ?y } } . ?z rdf:type ontology:medical_sign . ?y rdf:type ontology:symptom }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q189331
P1995
Q1047113
USER
What is the medical speciality of cardiac dysrhythmia ?
(Q189331,P1995,c(Q1047113))
action filter_type
action find
entity Q189331
relation P1995
type Q1047113
['Q189331', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1047113 . resource:Q189331 property:P1995 ?g }
cardiac dysrhythmia
action filter_type
action find
entity cardiac dysrhythmia
relation medical specialty
type special field
['cardiac dysrhythmia', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:special_field . resource:cardiac_dysrhythmia property:medical_specialty ?g }
[]
special field
Q10379
SYSTEM
cardiology
Q10379
(Q189331,P1995,c(Q1047113))
action filter_type
action find
entity Q189331
relation P1995
type Q1047113
The medical speciality of cardiac dysrhythmia is medical [ANSWER]
['Q189331', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1047113 . resource:Q189331 property:P1995 ?g }
cardiology
The medical speciality of cardiac dysrhythmia is medical cardiology
cardiology
action filter_type
action find
entity cardiac dysrhythmia
relation medical specialty
type special field
['cardiac dysrhythmia', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:special_field . resource:cardiac_dysrhythmia property:medical_specialty ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q110315
P2175
Q8386
USER
Which drugs are used as a medication for lead poisoning ?
(c(Q8386),P2175,Q110315)
action filter_type
action find_reverse
entity Q110315
relation P2175
type Q8386
[{'concept': 'Q8386'}, 'P2175', 'Q110315']
SELECT DISTINCT ?c WHERE { ?c property:P2175 resource:Q110315 . ?c rdf:type ontology:Q8386 }
lead poisoning
action filter_type
action find_reverse
entity lead poisoning
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'lead poisoning']
SELECT DISTINCT ?c WHERE { ?c property:medical_condition_treated resource:lead_poisoning . ?c rdf:type ontology:drug }
[]
drug
Q413968 Q421239 Q423814
SYSTEM
Dimercaprol, D-penicillamine, dimercaptosuccinic acid
Q413968 Q421239 Q423814
(c(Q8386),P2175,Q110315)
action filter_type
action find_reverse
entity Q110315
relation P2175
type Q8386
[ANSWERS] are used as a medication for lead poisoning
[{'concept': 'Q8386'}, 'P2175', 'Q110315']
SELECT DISTINCT ?c WHERE { ?c property:P2175 resource:Q110315 . ?c rdf:type ontology:Q8386 }
Dimercaprol D-penicillamine dimercaptosuccinic acid
Dimercaprol, D-penicillamine and dimercaptosuccinic acid are used as a medication for lead poisoning
Dimercaprol D-penicillamine dimercaptosuccinic acid
action filter_type
action find_reverse
entity lead poisoning
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'lead poisoning']
SELECT DISTINCT ?c WHERE { ?c property:medical_condition_treated resource:lead_poisoning . ?c rdf:type ontology:drug }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q110315
P1050
Q502895
USER
Who has the disease that disease ?
(c(Q502895),P1050,Q413968) (c(Q502895),P1050,Q421239) (c(Q502895),P1050,Q423814)
action filter_type
action find_reverse
entity Q110315
relation P1050
type Q502895
[{'concept': 'Q502895'}, 'P1050', 'Q413968'] [{'concept': 'Q502895'}, 'P1050', 'Q421239'] [{'concept': 'Q502895'}, 'P1050', 'Q423814']
SELECT DISTINCT ?b WHERE { ?b property:P1050 resource:Q110315 . ?b rdf:type ontology:Q502895 }
lead poisoning
action filter_type
action find_reverse
entity lead poisoning
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'Dimercaprol'] [{'concept': 'common name'}, 'medical condition', 'D-penicillamine'] [{'concept': 'common name'}, 'medical condition', 'dimercaptosuccinic acid']
SELECT DISTINCT ?b WHERE { ?b property:medical_condition resource:lead_poisoning . ?b rdf:type ontology:common_name }
[]
common name
Q255
SYSTEM
Ludwig van Beethoven
Q255
(c(Q502895),P1050,Q413968) (c(Q502895),P1050,Q421239) (c(Q502895),P1050,Q423814)
action filter_type
action find_reverse
entity Q110315
relation P1050
type Q502895
The [ANSWER] has the disease that disease
[{'concept': 'Q502895'}, 'P1050', 'Q413968'] [{'concept': 'Q502895'}, 'P1050', 'Q421239'] [{'concept': 'Q502895'}, 'P1050', 'Q423814']
SELECT DISTINCT ?b WHERE { ?b property:P1050 resource:Q110315 . ?b rdf:type ontology:Q502895 }
Ludwig van Beethoven
The Ludwig van Beethoven has the disease that disease
Ludwig van Beethoven
action filter_type
action find_reverse
entity lead poisoning
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'Dimercaprol'] [{'concept': 'common name'}, 'medical condition', 'D-penicillamine'] [{'concept': 'common name'}, 'medical condition', 'dimercaptosuccinic acid']
SELECT DISTINCT ?b WHERE { ?b property:medical_condition resource:lead_poisoning . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q255
P1303
Q34379
USER
Which musical instrument can that person perform with ?
(Q255,P1303,c(Q34379))
action filter_type
action find
entity Q255
relation P1303
type Q34379
['Q255', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { resource:Q255 property:P1303 ?s . ?s rdf:type ontology:Q34379 }
Ludwig van Beethoven
action filter_type
action find
entity Ludwig van Beethoven
relation instrument
type musical instrument
['Ludwig van Beethoven', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { resource:Ludwig_van_Beethoven property:instrument ?s . ?s rdf:type ontology:musical_instrument }
[]
musical instrument
Q5994
SYSTEM
piano
Q5994
(Q255,P1303,c(Q34379))
action filter_type
action find
entity Q255
relation P1303
type Q34379
That person can perform a [ANSWER]
['Q255', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { resource:Q255 property:P1303 ?s . ?s rdf:type ontology:Q34379 }
piano
That person can perform a piano
piano
action filter_type
action find
entity Ludwig van Beethoven
relation instrument
type musical instrument
['Ludwig van Beethoven', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { resource:Ludwig_van_Beethoven property:instrument ?s . ?s rdf:type ontology:musical_instrument }
[]