Simple Question (Direct)
Simple Question
Q264193
P1066
Q502895
USER
Which person was the supervisor of Émile Bernard ?
(Q264193,P1066,c(Q502895))
action filter_type
action find
entity Q264193
relation P1066
type Q502895
['Q264193', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q264193 property:P1066 ?i }
Émile Bernard
action filter_type
action find
entity Émile Bernard
relation student of
type common name
['Émile Bernard', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Émile_Bernard property:student_of ?i }
[]
common name
Q457098
SYSTEM
Fernand Cormon
Q457098
(Q264193,P1066,c(Q502895))
action filter_type
action find
entity Q264193
relation P1066
type Q502895
[ANSWER] was the supervisor of Émile Bernard
['Q264193', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q264193 property:P1066 ?i }
Fernand Cormon
Fernand Cormon was the supervisor of Émile Bernard
Fernand Cormon
action filter_type
action find
entity Émile Bernard
relation student of
type common name
['Émile Bernard', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Émile_Bernard property:student_of ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q457098
P802
Q502895
USER
Who were the teachers of that one ?
(Q457098,P802,c(Q502895))
action filter_type
action find
entity Q457098
relation P802
type Q502895
['Q457098', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q457098 property:P802 ?g . ?g rdf:type ontology:Q502895 }
Fernand Cormon
action filter_type
action find
entity Fernand Cormon
relation student
type common name
['Fernand Cormon', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Fernand_Cormon property:student ?g . ?g rdf:type ontology:common_name }
[]
common name
Q264193 Q3382989 Q3340828
SYSTEM
Émile Bernard, Pierre-Eugène Clairin, Nicolas Untersteller
Q264193 Q3382989 Q3340828
(Q457098,P802,c(Q502895))
action filter_type
action find
entity Q457098
relation P802
type Q502895
The teachers of that one were [ANSWERS]
['Q457098', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q457098 property:P802 ?g . ?g rdf:type ontology:Q502895 }
Émile Bernard Pierre-Eugène Clairin Nicolas Untersteller
The teachers of that one were Émile Bernard, Pierre-Eugène Clairin and Nicolas Untersteller
Émile Bernard Pierre-Eugène Clairin Nicolas Untersteller
action filter_type
action find
entity Fernand Cormon
relation student
type common name
['Fernand Cormon', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Fernand_Cormon property:student ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q457098
P1196
Q1190554
USER
Which event best describes with type of death of Fernand Cormon ?
(Q457098,P1196,c(Q1190554))
action filter_type
action find
entity Q457098
relation P1196
type Q1190554
['Q457098', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?r WHERE { resource:Q457098 property:P1196 ?r . ?r rdf:type ontology:Q1190554 }
Fernand Cormon
action filter_type
action find
entity Fernand Cormon
relation manner of death
type event
['Fernand Cormon', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?r WHERE { resource:Fernand_Cormon property:manner_of_death ?r . ?r rdf:type ontology:event }
[]
event
Q171558
SYSTEM
accident
Q171558
(Q457098,P1196,c(Q1190554))
action filter_type
action find
entity Q457098
relation P1196
type Q1190554
The [ANSWER] best describes with type of death of Fernand Cormon
['Q457098', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?r WHERE { resource:Q457098 property:P1196 ?r . ?r rdf:type ontology:Q1190554 }
accident
The accident best describes with type of death of Fernand Cormon
accident
action filter_type
action find
entity Fernand Cormon
relation manner of death
type event
['Fernand Cormon', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?r WHERE { resource:Fernand_Cormon property:manner_of_death ?r . ?r rdf:type ontology:event }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q27019888
Q1190554
USER
And what about Dejan Marić?
(Q27019888,P1196,c(Q1190554))
action filter_type
action find
entity Q27019888
relation P1196
type Q1190554
['Q27019888', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1190554 . resource:Q27019888 property:P1196 ?i }
Dejan Marić
action filter_type
action find
entity Dejan Marić
relation manner of death
type event
['Dejan Marić', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:event . resource:Dejan_Marić property:manner_of_death ?i }
[]
event
Q171558
SYSTEM
accident
Q171558
(Q27019888,P1196,c(Q1190554))
action filter_type
action find
entity Q27019888
relation P1196
type Q1190554
[ANSWER]
['Q27019888', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1190554 . resource:Q27019888 property:P1196 ?i }
accident
accident
action filter_type
action find
entity Dejan Marić
relation manner of death
type event
['Dejan Marić', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:event . resource:Dejan_Marić property:manner_of_death ?i }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q502895 Q11424 Q95074
USER
Which people are atleast 1 films or fictional characters a fork of ?
(c(Q11424)|c(Q95074),P144,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q11424
action find_reverse_tuple_counts
relation P144
type Q502895
type Q95074
value 1
[[{'concept': 'Q11424'}, {'concept': 'Q95074'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?w ) WHERE { { ?k property:P144 ?c . ?c rdf:type ontology:Q502895 . ?k rdf:type ontology:Q11424 } UNION { ?k property:P144 ?c . ?c rdf:type ontology:Q502895 . ?k rdf:type ontology:Q95074 } } GROUP BY ?c } . FILTER ( ?w >= 1 ) }
action atleast
action union
action find_reverse_tuple_counts
relation based on
type common name
type film
action find_reverse_tuple_counts
relation based on
type common name
type fictional character
value 1
[[{'concept': 'film'}, {'concept': 'fictional character'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?w ) WHERE { { ?k property:based_on ?c . ?c rdf:type ontology:common_name . ?k rdf:type ontology:film } UNION { ?k property:based_on ?c . ?c rdf:type ontology:common_name . ?k rdf:type ontology:fictional_character } } GROUP BY ?c } . FILTER ( ?w >= 1 ) }
[]
common name film fictional character
Q76 Q207 Q9640
SYSTEM
Barack Obama, George W. Bush, Lyndon B. Johnson
Q1093885 Q93839 Q744183 Q207 Q6748293 Q357498 Q724506 Q434317 Q76 Q47216 Q1385693 Q14544902 Q192218 Q3839050 Q6184230 Q9640 Q182788 Q3079968 Q309643 Q36268 Q152779 Q8011009 Q150471 Q549242 Q521095
(c(Q11424)|c(Q95074),P144,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q11424
action find_reverse_tuple_counts
relation P144
type Q502895
type Q95074
value 1
[ANSWERS] are atleast 1 films or fictional characters a fork of
[[{'concept': 'Q11424'}, {'concept': 'Q95074'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?w ) WHERE { { ?k property:P144 ?c . ?c rdf:type ontology:Q502895 . ?k rdf:type ontology:Q11424 } UNION { ?k property:P144 ?c . ?c rdf:type ontology:Q502895 . ?k rdf:type ontology:Q95074 } } GROUP BY ?c } . FILTER ( ?w >= 1 ) }
Hathi Gary M. Heidnik Charles de Batz-Castelmore d'Artagnan George W. Bush Mandy Grunwald Gary Ridgway John E. Douglas Dee Dee Myers Barack Obama Condoleezza Rice Jerry Brudos Henri d'Aramitz Ted Bundy Lucy Hay, Countess of Carlisle Jerry Parr Lyndon B. Johnson Newt Gingrich Ted Key Ed Gein Brigitte Bardot Louise Brooks William Hatfield E. T. A. Hoffmann Edmund Kemper Robert M. Morgenthau
Barack Obama, George W. Bush and Lyndon B. Johnson are atleast 1 films or fictional characters a fork of
Barack Obama George W. Bush Lyndon B. Johnson
action atleast
action union
action find_reverse_tuple_counts
relation based on
type common name
type film
action find_reverse_tuple_counts
relation based on
type common name
type fictional character
value 1
[[{'concept': 'film'}, {'concept': 'fictional character'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?w ) WHERE { { ?k property:based_on ?c . ?c rdf:type ontology:common_name . ?k rdf:type ontology:film } UNION { ?k property:based_on ?c . ?c rdf:type ontology:common_name . ?k rdf:type ontology:fictional_character } } GROUP BY ?c } . FILTER ( ?w >= 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q9640
P69
Q3918
USER
Which university was that person educated at ?
(Q9640,P69,c(Q3918))
action filter_type
action find
entity Q9640
relation P69
type Q3918
['Q9640', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q3918 . resource:Q9640 property:P69 ?a }
Lyndon B. Johnson
action filter_type
action find
entity Lyndon B. Johnson
relation educated at
type university
['Lyndon B. Johnson', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:university . resource:Lyndon_B._Johnson property:educated_at ?a }
[]
university
Clarification for simple ques.
Q76
SYSTEM
Did you mean Barack Obama ?
Q76 Q207 Q9640
(Q76,P69,c(Q3918)) (Q207,P69,c(Q3918)) (Q9640,P69,c(Q3918))
[ANSWER]
['Q76', 'P69', {'concept': 'Q3918'}] ['Q207', 'P69', {'concept': 'Q3918'}] ['Q9640', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q3918 . resource:Q9640 property:P69 ?a }
Barack Obama George W. Bush Lyndon B. Johnson
Did you mean Barack Obama ?
Barack Obama
['Barack Obama', 'educated at', {'concept': 'university'}] ['George W. Bush', 'educated at', {'concept': 'university'}] ['Lyndon B. Johnson', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:university . resource:Lyndon_B._Johnson property:educated_at ?a }
[]
Simple Question (Coreferenced)
USER
No, I meant Lyndon B. Johnson. Could you tell me the answer for that?
(Q9640,P69,c(Q3918))
Q9640
['Q9640', 'P69', {'concept': 'Q3918'}]
['Lyndon B. Johnson', 'educated at', {'concept': 'university'}]
[]
Q1495387
SYSTEM
Texas State University
Q1495387
(Q9640,P69,c(Q3918))
action filter_type
action find
entity Q9640
relation P69
type Q3918
That person was educated by [ANSWER]
['Q9640', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q3918 . resource:Q9640 property:P69 ?a }
Texas State University
That person was educated by Texas State University
Texas State University
action filter_type
action find
entity Lyndon B. Johnson
relation educated at
type university
['Lyndon B. Johnson', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:university . resource:Lyndon_B._Johnson property:educated_at ?a }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q264193
P21 P802
Q502895
USER
Which people were pupils of Émile Bernard and are a male ?
AND((c(Q502895),P802,Q264193), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q264193
relation P802
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P802', 'Q264193'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?g WHERE { ?g property:P802 resource:Q264193 . ?g property:P21 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
male Émile Bernard
action filter_type
action intersection
action find_reverse
entity Émile Bernard
relation student
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'student', 'Émile Bernard'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?g WHERE { ?g property:student resource:Émile_Bernard . ?g property:gender resource:male . ?g rdf:type ontology:common_name }
[]
common name
Q457098
SYSTEM
Fernand Cormon
Q457098
AND((c(Q502895),P802,Q264193), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q264193
relation P802
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] was pupils of Émile Bernard and are a male
{'AND': [[{'concept': 'Q502895'}, 'P802', 'Q264193'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?g WHERE { ?g property:P802 resource:Q264193 . ?g property:P21 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
Fernand Cormon
Fernand Cormon was pupils of Émile Bernard and are a male
Fernand Cormon
action filter_type
action intersection
action find_reverse
entity Émile Bernard
relation student
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'student', 'Émile Bernard'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?g WHERE { ?g property:student resource:Émile_Bernard . ?g property:gender resource:male . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q9640
P921
Q2342494 Q15416
USER
How many collectables or television programs were mainly based on Lyndon B. Johnson ?
(c(Q2342494),P921,Q9640) (c(Q15416),P921,Q9640)
action count
action union
action filter_type
action find_reverse
entity Q9640
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q9640
relation P921
type Q15416
[{'concept': 'Q2342494'}, 'P921', 'Q9640'] [{'concept': 'Q15416'}, 'P921', 'Q9640']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { VALUES ( ?x ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?s rdf:type ?x }
Lyndon B. Johnson
action count
action union
action filter_type
action find_reverse
entity Lyndon B. Johnson
relation main subject
type collectable
action filter_type
action find_reverse
entity Lyndon B. Johnson
relation main subject
type television program
[{'concept': 'collectable'}, 'main subject', 'Lyndon B. Johnson'] [{'concept': 'television program'}, 'main subject', 'Lyndon B. Johnson']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { VALUES ( ?x ) { ( ontology:collectable ) ( ontology:television_program ) } . ?s rdf:type ?x }
[]
collectable television program
SYSTEM
3
Q6457298 Q7776629 Q5018879
(c(Q2342494),P921,Q9640) (c(Q15416),P921,Q9640)
action count
action union
action filter_type
action find_reverse
entity Q9640
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q9640
relation P921
type Q15416
[ANSWER]
[{'concept': 'Q2342494'}, 'P921', 'Q9640'] [{'concept': 'Q15416'}, 'P921', 'Q9640']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { VALUES ( ?x ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?s rdf:type ?x }
LBJ: The Early Years The Years of Lyndon Johnson Calculating Visions: Kennedy, Johnson, and Civil Rights
3
action count
action union
action filter_type
action find_reverse
entity Lyndon B. Johnson
relation main subject
type collectable
action filter_type
action find_reverse
entity Lyndon B. Johnson
relation main subject
type television program
[{'concept': 'collectable'}, 'main subject', 'Lyndon B. Johnson'] [{'concept': 'television program'}, 'main subject', 'Lyndon B. Johnson']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { VALUES ( ?x ) { ( ontology:collectable ) ( ontology:television_program ) } . ?s rdf:type ?x }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21174791 Q9640
P1050 P780
Q2057971
USER
Which health problems do Lyndon B. Johnson suffer from or are symptoms of isopropylamine exposure ?
OR((Q9640,P1050,c(Q2057971)), (Q21174791,P780,c(Q2057971)))
action filter_type
action union
action find
entity Q9640
relation P1050
action find
entity Q21174791
relation P780
type Q2057971
{'OR': [['Q9640', 'P1050', {'concept': 'Q2057971'}], ['Q21174791', 'P780', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2057971 . { { resource:Q9640 property:P1050 ?o } UNION { resource:Q21174791 property:P780 ?o } } }
isopropylamine exposure Lyndon B. Johnson
action filter_type
action union
action find
entity Lyndon B. Johnson
relation medical condition
action find
entity isopropylamine exposure
relation symptoms
type health problem
{'OR': [['Lyndon B. Johnson', 'medical condition', {'concept': 'health problem'}], ['isopropylamine exposure', 'symptoms', {'concept': 'health problem'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:health_problem . { { resource:Lyndon_B._Johnson property:medical_condition ?o } UNION { resource:isopropylamine_exposure property:symptoms ?o } } }
[]
health problem
Q170518 Q857667 Q229256 Q844935
SYSTEM
burn, pulmonary edema, dermatitis, coronary artery disease
Q170518 Q857667 Q229256 Q844935
OR((Q9640,P1050,c(Q2057971)), (Q21174791,P780,c(Q2057971)))
action filter_type
action union
action find
entity Q9640
relation P1050
action find
entity Q21174791
relation P780
type Q2057971
Lyndon B . Johnson suffer from [ANSWERS] or are symptoms of isopropylamine exposure from
{'OR': [['Q9640', 'P1050', {'concept': 'Q2057971'}], ['Q21174791', 'P780', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2057971 . { { resource:Q9640 property:P1050 ?o } UNION { resource:Q21174791 property:P780 ?o } } }
burn pulmonary edema dermatitis coronary artery disease
Lyndon B . Johnson suffer from burn, pulmonary edema, dermatitis and coronary artery disease or are symptoms of isopropylamine exposure from
burn pulmonary edema dermatitis coronary artery disease
action filter_type
action union
action find
entity Lyndon B. Johnson
relation medical condition
action find
entity isopropylamine exposure
relation symptoms
type health problem
{'OR': [['Lyndon B. Johnson', 'medical condition', {'concept': 'health problem'}], ['isopropylamine exposure', 'symptoms', {'concept': 'health problem'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:health_problem . { { resource:Lyndon_B._Johnson property:medical_condition ?o } UNION { resource:isopropylamine_exposure property:symptoms ?o } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q170518 Q857667 Q229256 Q844935
P2176
Q8386
USER
Which drugs are used as an antidote for burn, pulmonary edema, dermatitis and coronary artery disease ?
(Q170518,P2176,c(Q8386)) (Q857667,P2176,c(Q8386)) (Q229256,P2176,c(Q8386)) (Q844935,P2176,c(Q8386))
action union
action filter_type
action find
entity Q170518
relation P2176
type Q8386
action filter_type
action find
entity Q857667
relation P2176
type Q8386
action filter_type
action find
entity Q229256
relation P2176
type Q8386
action filter_type
action find
entity Q844935
relation P2176
type Q8386
['Q170518', 'P2176', {'concept': 'Q8386'}] ['Q857667', 'P2176', {'concept': 'Q8386'}] ['Q229256', 'P2176', {'concept': 'Q8386'}] ['Q844935', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?g WHERE { { resource:Q170518 property:P2176 ?g . ?g rdf:type ontology:Q8386 } UNION { resource:Q857667 property:P2176 ?g . ?g rdf:type ontology:Q8386 } }
burn pulmonary edema dermatitis coronary artery disease
action union
action filter_type
action find
entity burn
relation drug used for treatment
type drug
action filter_type
action find
entity pulmonary edema
relation drug used for treatment
type drug
action filter_type
action find
entity dermatitis
relation drug used for treatment
type drug
action filter_type
action find
entity coronary artery disease
relation drug used for treatment
type drug
['burn', 'drug used for treatment', {'concept': 'drug'}] ['pulmonary edema', 'drug used for treatment', {'concept': 'drug'}] ['dermatitis', 'drug used for treatment', {'concept': 'drug'}] ['coronary artery disease', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?g WHERE { { resource:burn property:drug_used_for_treatment ?g . ?g rdf:type ontology:drug } UNION { resource:pulmonary_edema property:drug_used_for_treatment ?g . ?g rdf:type ontology:drug } }
[]
drug
Q670131 Q10354103 Q18216
SYSTEM
simvastatin, probucol, acetylsalicylic acid
Q216935 Q422745 Q420984 Q418571 Q275926 Q388801 Q4742041 Q4713192 Q416132 Q2295855 Q18216 Q418006 Q10354103 Q5268499 Q907104 Q7307897 Q2701912 Q4919218 Q190012 Q3790542 Q4726914 Q417997 Q411347 Q670131 Q899036 Q1318776 Q418666 Q419724 Q417942 Q668093 Q384295 Q417740 Q3294635 Q415366 Q258591 Q15623825 Q410237 Q60235 Q1240093 Q420542 Q423439
(Q170518,P2176,c(Q8386)) (Q857667,P2176,c(Q8386)) (Q229256,P2176,c(Q8386)) (Q844935,P2176,c(Q8386))
action union
action filter_type
action find
entity Q170518
relation P2176
type Q8386
action filter_type
action find
entity Q857667
relation P2176
type Q8386
action filter_type
action find
entity Q229256
relation P2176
type Q8386
action filter_type
action find
entity Q844935
relation P2176
type Q8386
[ANSWERS] are used as an antidote for burn, pulmonary edema, dermatitis and coronary artery disease
['Q170518', 'P2176', {'concept': 'Q8386'}] ['Q857667', 'P2176', {'concept': 'Q8386'}] ['Q229256', 'P2176', {'concept': 'Q8386'}] ['Q844935', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?g WHERE { { resource:Q170518 property:P2176 ?g . ?g rdf:type ontology:Q8386 } UNION { resource:Q857667 property:P2176 ?g . ?g rdf:type ontology:Q8386 } }
lidocaine Benzocaine Silver sulfadiazine ethacrynic acid bumetanide furosemide amcinonide Alclometasone betamethasone eptifibatide acetylsalicylic acid Colestyramine probucol dextrothyroxine ranolazine regadenoson clofibrate Bivalirudin adenosine sufinpyrazone Alirocumab ezetimibe amlodipine simvastatin Colesevelam testosterone tranexamic acid fenofibrate Fluvastatin Atorvastatin gemfibrozil lovastatin Colestipol tirofiban cilostazol Evolocumab clopidogrel caffeine Pravastatin ticagrelor cerivastatin
Simvastatin, probucol and acetylsalicylic acid are used as an antidote for burn, pulmonary edema, dermatitis and coronary artery disease
simvastatin probucol acetylsalicylic acid
action union
action filter_type
action find
entity burn
relation drug used for treatment
type drug
action filter_type
action find
entity pulmonary edema
relation drug used for treatment
type drug
action filter_type
action find
entity dermatitis
relation drug used for treatment
type drug
action filter_type
action find
entity coronary artery disease
relation drug used for treatment
type drug
['burn', 'drug used for treatment', {'concept': 'drug'}] ['pulmonary edema', 'drug used for treatment', {'concept': 'drug'}] ['dermatitis', 'drug used for treatment', {'concept': 'drug'}] ['coronary artery disease', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?g WHERE { { resource:burn property:drug_used_for_treatment ?g . ?g rdf:type ontology:drug } UNION { resource:pulmonary_edema property:drug_used_for_treatment ?g . ?g rdf:type ontology:drug } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q170518
P1995
Q1047113
USER
Which special field is the medical specality concerned with that health problem ?
(Q170518,P1995,c(Q1047113))
action filter_type
action find
entity Q170518
relation P1995
type Q1047113
['Q170518', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?f WHERE { resource:Q170518 property:P1995 ?f . ?f rdf:type ontology:Q1047113 }
burn
action filter_type
action find
entity burn
relation medical specialty
type special field
['burn', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?f WHERE { resource:burn property:medical_specialty ?f . ?f rdf:type ontology:special_field }
[]
special field
Clarification for simple ques.
Q170518
SYSTEM
Did you mean burn ?
Q670131 Q10354103 Q18216
(Q670131,P1995,c(Q1047113)) (Q10354103,P1995,c(Q1047113)) (Q18216,P1995,c(Q1047113))
[ANSWER]
['Q670131', 'P1995', {'concept': 'Q1047113'}] ['Q10354103', 'P1995', {'concept': 'Q1047113'}] ['Q18216', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?f WHERE { resource:Q170518 property:P1995 ?f . ?f rdf:type ontology:Q1047113 }
simvastatin probucol acetylsalicylic acid
Did you mean burn ?
burn
['simvastatin', 'medical specialty', {'concept': 'special field'}] ['probucol', 'medical specialty', {'concept': 'special field'}] ['acetylsalicylic acid', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?f WHERE { resource:burn property:medical_specialty ?f . ?f rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
USER
Yes
(Q170518,P1995,c(Q1047113))
['Q170518', 'P1995', {'concept': 'Q1047113'}]
['burn', 'medical specialty', {'concept': 'special field'}]
[]
Q2861470
SYSTEM
emergency medicine
Q2861470
(Q170518,P1995,c(Q1047113))
action filter_type
action find
entity Q170518
relation P1995
type Q1047113
[ANSWER] is the medical specality concerned with that health problem
['Q170518', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?f WHERE { resource:Q170518 property:P1995 ?f . ?f rdf:type ontology:Q1047113 }
emergency medicine
Emergency medicine is the medical specality concerned with that health problem
emergency medicine
action filter_type
action find
entity burn
relation medical specialty
type special field
['burn', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?f WHERE { resource:burn property:medical_specialty ?f . ?f rdf:type ontology:special_field }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2861470 Q18966531
P1995
Q12136
USER
Is diabetes mellitus,insulin dependent type with hyperosmolarity known for that special field as the associated medical speciality ?
(Q18966531,P1995,Q2861470)
action is_in
entity Q18966531
action find
entity Q2861470
relation P1995
['Q18966531', 'P1995', 'Q2861470']
ASK WHERE { resource:Q2861470 property:P1995 resource:Q18966531 }
emergency medicine diabetes mellitus,insulin dependent type with hyperosmolarity
action is_in
entity diabetes mellitus,insulin dependent type with hyperosmolarity
action find
entity emergency medicine
relation medical specialty
['diabetes mellitus,insulin dependent type with hyperosmolarity', 'medical specialty', 'emergency medicine']
ASK WHERE { resource:emergency_medicine property:medical_specialty resource:diabetes_mellitus,insulin_dependent_type_with_hyperosmolarity }
[]
disease
SYSTEM
NO
(Q18966531,P1995,Q2861470)
action is_in
entity Q18966531
action find
entity Q2861470
relation P1995
[ANSWER]
['Q18966531', 'P1995', 'Q2861470']
ASK WHERE { resource:Q2861470 property:P1995 resource:Q18966531 }
No
action is_in
entity diabetes mellitus,insulin dependent type with hyperosmolarity
action find
entity emergency medicine
relation medical specialty
['diabetes mellitus,insulin dependent type with hyperosmolarity', 'medical specialty', 'emergency medicine']
ASK WHERE { resource:emergency_medicine property:medical_specialty resource:diabetes_mellitus,insulin_dependent_type_with_hyperosmolarity }
[]