Simple Question (Direct)
Simple Question
Q21167123
P702
Q863908
USER
Which nucleic acid sequence encodes V-type ATP synthase subunit D    CT_306 ?
(Q21167123,P702,c(Q863908))
action filter_type
action find
entity Q21167123
relation P702
type Q863908
['Q21167123', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?a WHERE { resource:Q21167123 property:P702 ?a . ?a rdf:type ontology:Q863908 }
V-type ATP synthase subunit D    CT_306
action filter_type
action find
entity V-type ATP synthase subunit D    CT_306
relation encoded by
type nucleic acid sequence
['V-type ATP synthase subunit D    CT_306', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?a WHERE { resource:V-type_ATP_synthase_subunit_D____CT_306 property:encoded_by ?a . ?a rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q21094669
SYSTEM
V-type ATP synthase subunit D    CT_306
Q21094669
(Q21167123,P702,c(Q863908))
action filter_type
action find
entity Q21167123
relation P702
type Q863908
V-type ATP synthase subunit D CT 306 encodes V-type ATP synthase subunit D CT_306
['Q21167123', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?a WHERE { resource:Q21167123 property:P702 ?a . ?a rdf:type ontology:Q863908 }
V-type ATP synthase subunit D    CT_306
V-type ATP synthase subunit D CT 306 encodes V-type ATP synthase subunit D CT_306
V-type ATP synthase subunit D    CT_306
action filter_type
action find
entity V-type ATP synthase subunit D    CT_306
relation encoded by
type nucleic acid sequence
['V-type ATP synthase subunit D    CT_306', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?a WHERE { resource:V-type_ATP_synthase_subunit_D____CT_306 property:encoded_by ?a . ?a rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21167123
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q21094669)
action filter_type
action find_reverse
entity Q21167123
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21094669']
SELECT DISTINCT ?y WHERE { ?y property:P688 resource:Q21167123 . ?y rdf:type ontology:Q863908 }
V-type ATP synthase subunit D    CT_306
action filter_type
action find_reverse
entity V-type ATP synthase subunit D    CT_306
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'V-type ATP synthase subunit D    CT_306']
SELECT DISTINCT ?y WHERE { ?y property:encodes resource:V-type_ATP_synthase_subunit_D____CT_306 . ?y rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q21094669
SYSTEM
V-type ATP synthase subunit D    CT_306
Q21094669
(c(Q863908),P688,Q21094669)
action filter_type
action find_reverse
entity Q21167123
relation P688
type Q863908
The V-type ATP synthase subunit D CT 306 encodes that nutrient
[{'concept': 'Q863908'}, 'P688', 'Q21094669']
SELECT DISTINCT ?y WHERE { ?y property:P688 resource:Q21167123 . ?y rdf:type ontology:Q863908 }
V-type ATP synthase subunit D    CT_306
The V-type ATP synthase subunit D CT 306 encodes that nutrient
V-type ATP synthase subunit D    CT_306
action filter_type
action find_reverse
entity V-type ATP synthase subunit D    CT_306
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'V-type ATP synthase subunit D    CT_306']
SELECT DISTINCT ?y WHERE { ?y property:encodes resource:V-type_ATP_synthase_subunit_D____CT_306 . ?y rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21094669
P703
Q16521
USER
Which taxon is that nucleic acid sequence found in ?
(Q21094669,P703,c(Q16521))
action filter_type
action find
entity Q21094669
relation P703
type Q16521
['Q21094669', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?b WHERE { resource:Q21094669 property:P703 ?b . ?b rdf:type ontology:Q16521 }
V-type ATP synthase subunit D    CT_306
action filter_type
action find
entity V-type ATP synthase subunit D    CT_306
relation found in taxon
type taxon
['V-type ATP synthase subunit D    CT_306', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?b WHERE { resource:V-type_ATP_synthase_subunit_D____CT_306 property:found_in_taxon ?b . ?b rdf:type ontology:taxon }
[]
taxon
Q20800373
SYSTEM
Chlamydia trachomatis D/UW-3/CX
Q20800373
(Q21094669,P703,c(Q16521))
action filter_type
action find
entity Q21094669
relation P703
type Q16521
That nucleic acid sequence is found in [ANSWER]
['Q21094669', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?b WHERE { resource:Q21094669 property:P703 ?b . ?b rdf:type ontology:Q16521 }
Chlamydia trachomatis D/UW-3/CX
That nucleic acid sequence is found in Chlamydia trachomatis D/UW-3/CX
Chlamydia trachomatis D/UW-3/CX
action filter_type
action find
entity V-type ATP synthase subunit D    CT_306
relation found in taxon
type taxon
['V-type ATP synthase subunit D    CT_306', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?b WHERE { resource:V-type_ATP_synthase_subunit_D____CT_306 property:found_in_taxon ?b . ?b rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20800373
P1542
Q2057971
USER
Which health problem is the effect of that taxon ?
(Q20800373,P1542,c(Q2057971))
action filter_type
action find
entity Q20800373
relation P1542
type Q2057971
['Q20800373', 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?c WHERE { resource:Q20800373 property:P1542 ?c . ?c rdf:type ontology:Q2057971 }
Chlamydia trachomatis D/UW-3/CX
action filter_type
action find
entity Chlamydia trachomatis D/UW-3/CX
relation cause of
type health problem
['Chlamydia trachomatis D/UW-3/CX', 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?c WHERE { resource:Chlamydia_trachomatis_D/UW-3/CX property:cause_of ?c . ?c rdf:type ontology:health_problem }
[]
health problem
Q153356
SYSTEM
chlamydia
Q153356
(Q20800373,P1542,c(Q2057971))
action filter_type
action find
entity Q20800373
relation P1542
type Q2057971
Species [ANSWER] is the effect of that taxon
['Q20800373', 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?c WHERE { resource:Q20800373 property:P1542 ?c . ?c rdf:type ontology:Q2057971 }
chlamydia
Species chlamydia is the effect of that taxon
chlamydia
action filter_type
action find
entity Chlamydia trachomatis D/UW-3/CX
relation cause of
type health problem
['Chlamydia trachomatis D/UW-3/CX', 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?c WHERE { resource:Chlamydia_trachomatis_D/UW-3/CX property:cause_of ?c . ?c rdf:type ontology:health_problem }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21173555
Q2057971
USER
And how about Phenacyl chloride exposure?
(Q21173555,P1542,c(Q2057971))
action filter_type
action find
entity Q21173555
relation P1542
type Q2057971
['Q21173555', 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?l WHERE { resource:Q21173555 property:P1542 ?l . ?l rdf:type ontology:Q2057971 }
Phenacyl chloride exposure
action filter_type
action find
entity Phenacyl chloride exposure
relation cause of
type health problem
['Phenacyl chloride exposure', 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?l WHERE { resource:Phenacyl_chloride_exposure property:cause_of ?l . ?l rdf:type ontology:health_problem }
[]
health problem
Q35869 Q159701 Q127724
SYSTEM
asthma, glaucoma, cataract
Q783903 Q229256 Q127724 Q857667 Q3513968 Q2346396 Q35869 Q159701 Q10874
(Q21173555,P1542,c(Q2057971))
action filter_type
action find
entity Q21173555
relation P1542
type Q2057971
[ANSWERS]
['Q21173555', 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?l WHERE { resource:Q21173555 property:P1542 ?l . ?l rdf:type ontology:Q2057971 }
contact dermatitis dermatitis cataract pulmonary edema corneal opacity iritis asthma glaucoma blindness
asthma glaucoma cataract
action filter_type
action find
entity Phenacyl chloride exposure
relation cause of
type health problem
['Phenacyl chloride exposure', 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?l WHERE { resource:Phenacyl_chloride_exposure property:cause_of ?l . ?l rdf:type ontology:health_problem }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18554191 Q159701
P2176
Q8386
USER
Which drugs are used as a remedy for glaucoma or visual epilepsy ?
OR((Q159701,P2176,c(Q8386)), (Q18554191,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q159701
relation P2176
action find
entity Q18554191
relation P2176
type Q8386
{'OR': [['Q159701', 'P2176', {'concept': 'Q8386'}], ['Q18554191', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?x ) { ( resource:Q159701 ) ( resource:Q18554191 ) } . ?x property:P2176 ?j } . ?j rdf:type ontology:Q8386 }
visual epilepsy glaucoma
action filter_type
action union
action find
entity glaucoma
relation drug used for treatment
action find
entity visual epilepsy
relation drug used for treatment
type drug
{'OR': [['glaucoma', 'drug used for treatment', {'concept': 'drug'}], ['visual epilepsy', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?x ) { ( resource:glaucoma ) ( resource:visual_epilepsy ) } . ?x property:drug_used_for_treatment ?j } . ?j rdf:type ontology:drug }
[]
drug
Q240642 Q219957 Q3706987 Q413690 Q2393348 Q410400 Q415850 Q210402 Q176301 Q412174
SYSTEM
Some of them are valproic acid, zonisamide, diclofenamide, acetazolamide, bimatoprost, phenytoin, Amobarbital, diazepam, oxcarbazepine, pregabalin
Q408565 Q410400 Q2139543 Q219957 Q384993 Q367700 Q415401 Q424342 Q905952 Q416132 Q412221 Q411461 Q19856779 Q410346 Q422210 Q410595 Q419401 Q4533122 Q421301 Q5473363 Q210402 Q132621 Q634959 Q176301 Q868658 Q413690 Q423746 Q413299 Q2146170 Q3706987 Q412174 Q1149099 Q275926 Q420077 Q2393348 Q415850 Q411517 Q240642 Q2193376 Q414270
OR((Q159701,P2176,c(Q8386)), (Q18554191,P2176,c(Q8386)))
action filter_type
action union
action find
entity Q159701
relation P2176
action find
entity Q18554191
relation P2176
type Q8386
[ANSWERS] are used as a remedy for glaucoma or visual epilepsy
{'OR': [['Q159701', 'P2176', {'concept': 'Q8386'}], ['Q18554191', 'P2176', {'concept': 'Q8386'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?x ) { ( resource:Q159701 ) ( resource:Q18554191 ) } . ?x property:P2176 ?j } . ?j rdf:type ontology:Q8386 }
rufinamide phenytoin tafluprost zonisamide Isoflurophate Cyclosporine dorzolamide Paraldehyde dipivefrine betamethasone clonidine pilocarpine mitomycin C lamotrigine omeprazole physostigmine Carbachol ethotoin felbamate fosphenytoin diazepam (-)-adrenaline latanoprost (isopropyl ester) oxcarbazepine perampanel acetazolamide Pyridoxine Bevacizumab retigabine diclofenamide pregabalin methazolamide bumetanide lacosamide bimatoprost Amobarbital brinzolamide valproic acid travoprost Ranibizumab
Valproic acid, zonisamide, diclofenamide, acetazolamide, bimatoprost, phenytoin, Amobarbital, diazepam, oxcarbazepine and pregabalin are used as a remedy for glaucoma or visual epilepsy
valproic acid zonisamide diclofenamide acetazolamide bimatoprost phenytoin Amobarbital diazepam oxcarbazepine pregabalin
action filter_type
action union
action find
entity glaucoma
relation drug used for treatment
action find
entity visual epilepsy
relation drug used for treatment
type drug
{'OR': [['glaucoma', 'drug used for treatment', {'concept': 'drug'}], ['visual epilepsy', 'drug used for treatment', {'concept': 'drug'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?x ) { ( resource:glaucoma ) ( resource:visual_epilepsy ) } . ?x property:drug_used_for_treatment ?j } . ?j rdf:type ontology:drug }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q240642 Q219957 Q3706987 Q413690 Q2393348 Q410400 Q415850 Q210402 Q176301 Q412174
P2175
Q2057971
USER
Which health problems are cured by those drugs ?
(Q240642,P2175,c(Q2057971)) (Q219957,P2175,c(Q2057971)) (Q3706987,P2175,c(Q2057971)) (Q413690,P2175,c(Q2057971)) (Q2393348,P2175,c(Q2057971)) (Q410400,P2175,c(Q2057971)) (Q415850,P2175,c(Q2057971)) (Q210402,P2175,c(Q2057971)) (Q176301,P2175,c(Q2057971)) (Q412174,P2175,c(Q2057971))
action filter_type
action find
entity prev_answer
relation P2175
type Q2057971
['Q240642', 'P2175', {'concept': 'Q2057971'}] ['Q219957', 'P2175', {'concept': 'Q2057971'}] ['Q3706987', 'P2175', {'concept': 'Q2057971'}] ['Q413690', 'P2175', {'concept': 'Q2057971'}] ['Q2393348', 'P2175', {'concept': 'Q2057971'}] ['Q410400', 'P2175', {'concept': 'Q2057971'}] ['Q415850', 'P2175', {'concept': 'Q2057971'}] ['Q210402', 'P2175', {'concept': 'Q2057971'}] ['Q176301', 'P2175', {'concept': 'Q2057971'}] ['Q412174', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { ?e property:P2175 ?h . ?h rdf:type ontology:Q2057971 . VALUES ( ?e ) { ( resource:Q408565 ) ( resource:Q410400 ) ( resource:Q2139543 ) } }
valproic acid zonisamide diclofenamide acetazolamide bimatoprost phenytoin Amobarbital diazepam oxcarbazepine pregabalin
action filter_type
action find
entity prev_answer
relation medical condition treated
type health problem
['valproic acid', 'medical condition treated', {'concept': 'health problem'}] ['zonisamide', 'medical condition treated', {'concept': 'health problem'}] ['diclofenamide', 'medical condition treated', {'concept': 'health problem'}] ['acetazolamide', 'medical condition treated', {'concept': 'health problem'}] ['bimatoprost', 'medical condition treated', {'concept': 'health problem'}] ['phenytoin', 'medical condition treated', {'concept': 'health problem'}] ['Amobarbital', 'medical condition treated', {'concept': 'health problem'}] ['diazepam', 'medical condition treated', {'concept': 'health problem'}] ['oxcarbazepine', 'medical condition treated', {'concept': 'health problem'}] ['pregabalin', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { ?e property:medical_condition_treated ?h . ?h rdf:type ontology:health_problem . VALUES ( ?e ) { ( resource:rufinamide ) ( resource:phenytoin ) ( resource:tafluprost ) } }
[]
health problem
Q128581 Q41861 Q181257
SYSTEM
breast cancer, hypertension, prostate cancer
Q666980 Q41571 Q7331102 Q945930 Q18556697 Q16553613 Q212961 Q128581 Q18975788 Q131755 Q18556932 Q847057 Q181257 Q1088156 Q18554191 Q38404 Q2894827 Q373822 Q41571 Q11085 Q7331102 Q18553444 Q18971509 Q693519 Q18554191 Q159701 Q41571 Q1054718 Q159701 Q773118 Q41861 Q18554191 Q3108586 Q1641483 Q9294051 Q159701 Q18557714 Q923020 Q18554191 Q41571 Q616667 Q544006 Q18554191 Q980709 Q41571 Q544006 Q980709 Q18554191 Q741713 Q8277 Q18554191 Q41571 Q18971509 Q470427 Q697117 Q41571 Q916280 Q838966 Q18556979 Q18553444 Q18557714 Q18971509 Q68833 Q18554191 Q540571 Q7331102
(Q240642,P2175,c(Q2057971)) (Q219957,P2175,c(Q2057971)) (Q3706987,P2175,c(Q2057971)) (Q413690,P2175,c(Q2057971)) (Q2393348,P2175,c(Q2057971)) (Q410400,P2175,c(Q2057971)) (Q415850,P2175,c(Q2057971)) (Q210402,P2175,c(Q2057971)) (Q176301,P2175,c(Q2057971)) (Q412174,P2175,c(Q2057971))
action filter_type
action find
entity prev_answer
relation P2175
type Q2057971
And [ANSWERS] are cured by those drugs
['Q240642', 'P2175', {'concept': 'Q2057971'}] ['Q219957', 'P2175', {'concept': 'Q2057971'}] ['Q3706987', 'P2175', {'concept': 'Q2057971'}] ['Q413690', 'P2175', {'concept': 'Q2057971'}] ['Q2393348', 'P2175', {'concept': 'Q2057971'}] ['Q410400', 'P2175', {'concept': 'Q2057971'}] ['Q415850', 'P2175', {'concept': 'Q2057971'}] ['Q210402', 'P2175', {'concept': 'Q2057971'}] ['Q176301', 'P2175', {'concept': 'Q2057971'}] ['Q412174', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { ?e property:P2175 ?h . ?h rdf:type ontology:Q2057971 . VALUES ( ?e ) { ( resource:Q408565 ) ( resource:Q410400 ) ( resource:Q2139543 ) } }
Rubinstein-Taybi syndrome epilepsy alcohol abuse progressive supranuclear palsy human immunodeficiency virus infectious disease complex partial epilepsy pancreatic cancer breast cancer spindle cell sarcoma bipolar disorder large intestine cancer retinitis pigmentosa prostate cancer chronic lymphocytic leukemia visual epilepsy autism childhood absence epilepsy eating disorder epilepsy Parkinson's disease alcohol abuse nicotine dependence focal epilepsy essential tremor visual epilepsy glaucoma epilepsy kidney disease glaucoma Andersen-Tawil syndrome hypertension visual epilepsy open-angle glaucoma hypotrichosis ocular hypertension glaucoma epilepsy with generalized tonic-clonic seizures epidermolysis bullosa visual epilepsy epilepsy temporal lobe epilepsy anxiety disorder visual epilepsy status epilepticus epilepsy anxiety disorder status epilepticus visual epilepsy panic disorder multiple sclerosis visual epilepsy epilepsy focal epilepsy refractive error Spinal disc herniation epilepsy restless legs syndrome irritable bowel syndrome peripheral nervous system disease nicotine dependence epilepsy with generalized tonic-clonic seizures focal epilepsy bone fracture visual epilepsy fibromyalgia alcohol abuse
And breast cancer, hypertension and prostate cancer are cured by those drugs
breast cancer hypertension prostate cancer
action filter_type
action find
entity prev_answer
relation medical condition treated
type health problem
['valproic acid', 'medical condition treated', {'concept': 'health problem'}] ['zonisamide', 'medical condition treated', {'concept': 'health problem'}] ['diclofenamide', 'medical condition treated', {'concept': 'health problem'}] ['acetazolamide', 'medical condition treated', {'concept': 'health problem'}] ['bimatoprost', 'medical condition treated', {'concept': 'health problem'}] ['phenytoin', 'medical condition treated', {'concept': 'health problem'}] ['Amobarbital', 'medical condition treated', {'concept': 'health problem'}] ['diazepam', 'medical condition treated', {'concept': 'health problem'}] ['oxcarbazepine', 'medical condition treated', {'concept': 'health problem'}] ['pregabalin', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { ?e property:medical_condition_treated ?h . ?h rdf:type ontology:health_problem . VALUES ( ?e ) { ( resource:rufinamide ) ( resource:phenytoin ) ( resource:tafluprost ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q128581 Q41861 Q181257
P2176
Q8386
USER
Which drugs are prescribed for breast cancer, hypertension and prostate cancer ?
(Q128581,P2176,c(Q8386)) (Q41861,P2176,c(Q8386)) (Q181257,P2176,c(Q8386))
action union
action filter_type
action find
entity Q128581
relation P2176
type Q8386
action filter_type
action find
entity Q41861
relation P2176
type Q8386
action filter_type
action find
entity Q181257
relation P2176
type Q8386
['Q128581', 'P2176', {'concept': 'Q8386'}] ['Q41861', 'P2176', {'concept': 'Q8386'}] ['Q181257', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?i WHERE { { resource:Q41861 property:P2176 ?i . ?i rdf:type ontology:Q8386 } UNION { resource:Q128581 property:P2176 ?i . ?i rdf:type ontology:Q8386 } }
breast cancer hypertension prostate cancer
action union
action filter_type
action find
entity breast cancer
relation drug used for treatment
type drug
action filter_type
action find
entity hypertension
relation drug used for treatment
type drug
action filter_type
action find
entity prostate cancer
relation drug used for treatment
type drug
['breast cancer', 'drug used for treatment', {'concept': 'drug'}] ['hypertension', 'drug used for treatment', {'concept': 'drug'}] ['prostate cancer', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?i WHERE { { resource:hypertension property:drug_used_for_treatment ?i . ?i rdf:type ontology:drug } UNION { resource:breast_cancer property:drug_used_for_treatment ?i . ?i rdf:type ontology:drug } }
[]
drug
Q670131 Q421052 Q421052
SYSTEM
Everolimus for 2nd, 3rd, simvastatin for 1st
Q194974 Q412415 Q410663 Q419940 Q422416 Q412534 Q421862 Q905901 Q408801 Q524995 Q415939 Q3950557 Q422806 Q419143 Q425122 Q412197 Q11711607 Q216935 Q907160 Q412178 Q3985253 Q424049 Q420532 Q408283 Q409587 Q420207 Q422232 Q239426 Q412616 Q418192 Q418560 Q1988832 Q2298283 Q139347 Q422252 Q421052 Q238512 Q415588 Q7083106 Q670131 Q15269707 Q1592932 Q5462791 Q1996756 Q418817 Q418819 Q413299 Q241150 Q282629 Q423989 Q218507 Q1998021 Q18936 Q422222 Q1063862 Q139195 Q2178381 Q6808975 Q417740 Q5508491 Q417824 Q412963 Q421768 Q1215575 Q18216 Q3993743 Q180983 Q420436 Q240642 Q26963 Q423762 Q408524 Q417296 Q3342150 Q412515 Q415970 Q410074 Q421119 Q162867 Q388801 Q412621 Q947266 Q419939 Q413690 Q32089 Q6997373 Q7272222 Q2072745 Q412534 Q423364 Q410789 Q419987 Q424156 Q3791957 Q1078392 Q280786 Q2291605 Q423930 Q424952 Q412208 Q4890934 Q420360 Q418445 Q6824116 Q422740 Q422188 Q929420 Q5613542 Q39111 Q422185 Q5132338 Q6823919 Q5263885 Q418857 Q546434 Q944244 Q784717 Q412486 Q277785 Q275926 Q411325 Q418101 Q221520 Q958087 Q413994 Q596022 Q3332124 Q186969 Q5613557 Q420673 Q419824 Q412221 Q6827783 Q419995 Q421156 Q2697833 Q1169561 Q794162 Q733186 Q592802 Q1169164 Q410291 Q5199066 Q17811448 Q412666 Q418571 Q425289 Q2603363 Q729213 Q409468 Q18216 Q420009 Q7227099 Q5613599 Q423401 Q411347 Q425293 Q425296 Q155472 Q414873 Q418139 Q2889971 Q57055 Q424165 Q407841 Q422229 Q409978 Q420644 Q305555 Q11711607 Q419940 Q5103213 Q422416 Q3950557 Q412415 Q139347 Q1988832 Q907160 Q239426 Q412323 Q412939 Q212272 Q422252 Q421052 Q424760 Q417465 Q7083106 Q424972 Q241150 Q1318776 Q1996756 Q418669 Q418817 Q418819 Q7699074 Q424167 Q4830631 Q180983 Q423989 Q218507 Q2459042 Q422222 Q32089 Q422112 Q408801 Q417740 Q416451 Q412963 Q2823834 Q3877030 Q410352 Q7914515 Q240642 Q2070286 Q423762
(Q128581,P2176,c(Q8386)) (Q41861,P2176,c(Q8386)) (Q181257,P2176,c(Q8386))
action union
action filter_type
action find
entity Q128581
relation P2176
type Q8386
action filter_type
action find
entity Q41861
relation P2176
type Q8386
action filter_type
action find
entity Q181257
relation P2176
type Q8386
[ANSWERS]
['Q128581', 'P2176', {'concept': 'Q8386'}] ['Q41861', 'P2176', {'concept': 'Q8386'}] ['Q181257', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?i WHERE { { resource:Q41861 property:P2176 ?i . ?i rdf:type ontology:Q8386 } UNION { resource:Q128581 property:P2176 ?i . ?i rdf:type ontology:Q8386 } }
letrozole cisplatin fluoxymesterone dasatinib 17β-estradiol carvedilol ribavirin vorinostat celecoxib dexrazoxane chlorambucil Sargramostim bupivacaine anastrozole Epirubicin irinotecan Ixabepilone lidocaine leuprolide tamoxifen testolactone loratadine Vinorelbine Denosumab naltrexone capecitabine methotrexate mitoxantrone Trastuzumab bexarotene ifosfamide bicalutamide melphalan Cholecalciferol dexamethasone Everolimus 5-fluorouracil Carboplatin olaparib simvastatin palbociclib Pegfilgrastim fluocinonide enzalutamide etoposide exemestane Bevacizumab aminoglutethimide Vinblastine diethylstilbestrol zoledronic acid Pertuzumab doxorubicin Digoxin idarubicin Calcitriol Darbepoetin alfa megestrol acetate lovastatin Fulvestrant gefitinib cabazitaxel methyltestosterone naproxen acetylsalicylic acid toremifene cytarabine docetaxel valproic acid progesterone Paclitaxel cyclophosphamide febuxostat nisoldipine bisoprolol candesartan losartan captopril nitroglycerin furosemide Methyldopa Irbesartan doxazosin acetazolamide Sirolimus Nesiritide quinethazone trichlormethiazide carvedilol propranolol ambrisentan hydralazine tadalafil hydroflumethiazide indapamide terazosin moexipril hydrochlorothiazide nadolol lisinopril bepridil phentolamine etomidate alpha-methyltyrosine propofol spironolactone trandolapril guanabenz nifedipine enalapril clevidipine methyclothiazide deserpidine acebutolol carteolol penbutolol eprosartan allopurinol perindopril bumetanide atenolol pindolol triamterene labetalol Timolol quinapril mecamylamine ibuprofen guanadrel guanethidine phenoxybenzamine clonidine mibefradil amiloride Olmesartan Abatacept metolazone Betaxolol telmisartan benazepril bendroflumethiazide verapamil cyclothiazide sacubitril Ramipril ethacrynic acid chlorthalidone chlorothiazide nicardipine metoprolol acetylsalicylic acid diazoxide polythiazide guanfacine Isosorbide Mononitrate amlodipine Fosinopril prazosin Valsartan Isradipine Esmolol benzthiazide paracetamol minoxidil reserpine diltiazem rescinnamine felodipine abarelix Ixabepilone dasatinib chlorotrianisene 17β-estradiol Sargramostim cisplatin Cholecalciferol bicalutamide leuprolide mitoxantrone Rituximab estramustine hydroxyurea dexamethasone Everolimus dutasteride mitotane olaparib prednisone aminoglutethimide testosterone enzalutamide flutamide etoposide exemestane temsirolimus finasteride axitinib cytarabine diethylstilbestrol zoledronic acid Ipilimumab Digoxin Sirolimus methylphenidate celecoxib lovastatin azacitidine cabazitaxel Medroxyprogesterone acetate nilutamide gabapentin vandetanib valproic acid vismodegib Paclitaxel
Simvastatin, Everolimus and Everolimus are prescribed for breast cancer, hypertension and prostate cancer
simvastatin Everolimus Everolimus
action union
action filter_type
action find
entity breast cancer
relation drug used for treatment
type drug
action filter_type
action find
entity hypertension
relation drug used for treatment
type drug
action filter_type
action find
entity prostate cancer
relation drug used for treatment
type drug
['breast cancer', 'drug used for treatment', {'concept': 'drug'}] ['hypertension', 'drug used for treatment', {'concept': 'drug'}] ['prostate cancer', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?i WHERE { { resource:hypertension property:drug_used_for_treatment ?i . ?i rdf:type ontology:drug } UNION { resource:breast_cancer property:drug_used_for_treatment ?i . ?i rdf:type ontology:drug } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35869
P1995
Q1047113
USER
Which special field is the medical speciality of asthma ?
(Q35869,P1995,c(Q1047113))
action filter_type
action find
entity Q35869
relation P1995
type Q1047113
['Q35869', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?z WHERE { resource:Q35869 property:P1995 ?z . ?z rdf:type ontology:Q1047113 }
asthma
action filter_type
action find
entity asthma
relation medical specialty
type special field
['asthma', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?z WHERE { resource:asthma property:medical_specialty ?z . ?z rdf:type ontology:special_field }
[]
special field
Q203337
SYSTEM
pulmonology
Q203337
(Q35869,P1995,c(Q1047113))
action filter_type
action find
entity Q35869
relation P1995
type Q1047113
And [ANSWER] is the medical speciality of asthma
['Q35869', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?z WHERE { resource:Q35869 property:P1995 ?z . ?z rdf:type ontology:Q1047113 }
pulmonology
And pulmonology is the medical speciality of asthma
pulmonology
action filter_type
action find
entity asthma
relation medical specialty
type special field
['asthma', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?z WHERE { resource:asthma property:medical_specialty ?z . ?z rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q35869
P1050
Q502895
USER
Who suffer from that health problem ?
(c(Q502895),P1050,Q203337)
action filter_type
action find_reverse
entity Q35869
relation P1050
type Q502895
[{'concept': 'Q502895'}, 'P1050', 'Q203337']
SELECT DISTINCT ?g WHERE { ?g property:P1050 resource:Q35869 . ?g rdf:type ontology:Q502895 }
asthma
action filter_type
action find_reverse
entity asthma
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'pulmonology']
SELECT DISTINCT ?g WHERE { ?g property:medical_condition resource:asthma . ?g rdf:type ontology:common_name }
[]
common name
Q5809 Q332751 Q1923049
SYSTEM
Che Guevara, Ellen Wilkinson, Theo van Baaren
Q22994708 Q3179938 Q332751 Q5809 Q1923049
(c(Q502895),P1050,Q203337)
action filter_type
action find_reverse
entity Q35869
relation P1050
type Q502895
[ANSWERS] suffer from that health problem
[{'concept': 'Q502895'}, 'P1050', 'Q203337']
SELECT DISTINCT ?g WHERE { ?g property:P1050 resource:Q35869 . ?g rdf:type ontology:Q502895 }
Pendred Noyce Jodi Forrest Ellen Wilkinson Che Guevara Theo van Baaren
Che Guevara, Ellen Wilkinson and Theo van Baaren suffer from that health problem
Che Guevara Ellen Wilkinson Theo van Baaren
action filter_type
action find_reverse
entity asthma
relation medical condition
type common name
[{'concept': 'common name'}, 'medical condition', 'pulmonology']
SELECT DISTINCT ?g WHERE { ?g property:medical_condition resource:asthma . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5809 Q332751 Q1923049
P19
Q56061
USER
Which administrative territories were Che Guevara, Ellen Wilkinson and Theo van Baaren born in ?
(Q5809,P19,c(Q56061)) (Q332751,P19,c(Q56061)) (Q1923049,P19,c(Q56061))
action union
action filter_type
action find
entity Q5809
relation P19
type Q56061
action filter_type
action find
entity Q332751
relation P19
type Q56061
action filter_type
action find
entity Q1923049
relation P19
type Q56061
['Q5809', 'P19', {'concept': 'Q56061'}] ['Q332751', 'P19', {'concept': 'Q56061'}] ['Q1923049', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { { resource:Q5809 property:P19 ?e . ?e rdf:type ontology:Q56061 } UNION { ?e rdf:type ontology:Q56061 . resource:Q332751 property:P19 ?e } }
Che Guevara Ellen Wilkinson Theo van Baaren
action union
action filter_type
action find
entity Che Guevara
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Ellen Wilkinson
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Theo van Baaren
relation place of birth
type administrative territorial entity
['Che Guevara', 'place of birth', {'concept': 'administrative territorial entity'}] ['Ellen Wilkinson', 'place of birth', {'concept': 'administrative territorial entity'}] ['Theo van Baaren', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { resource:Che_Guevara property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity } UNION { ?e rdf:type ontology:administrative_territorial_entity . resource:Ellen_Wilkinson property:place_of_birth ?e } }
[]
administrative territorial entity
Q52535 Q2860767 Q803
SYSTEM
Rosario, Ardwick, Utrecht
Q52535 Q2860767 Q803
(Q5809,P19,c(Q56061)) (Q332751,P19,c(Q56061)) (Q1923049,P19,c(Q56061))
action union
action filter_type
action find
entity Q5809
relation P19
type Q56061
action filter_type
action find
entity Q332751
relation P19
type Q56061
action filter_type
action find
entity Q1923049
relation P19
type Q56061
[ANSWERS] were Che Guevara, Ellen Wilkinson and Theo van Baaren born in
['Q5809', 'P19', {'concept': 'Q56061'}] ['Q332751', 'P19', {'concept': 'Q56061'}] ['Q1923049', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { { resource:Q5809 property:P19 ?e . ?e rdf:type ontology:Q56061 } UNION { ?e rdf:type ontology:Q56061 . resource:Q332751 property:P19 ?e } }
Rosario Ardwick Utrecht
Rosario, Ardwick and Utrecht were Che Guevara, Ellen Wilkinson and Theo van Baaren born in
Rosario Ardwick Utrecht
action union
action filter_type
action find
entity Che Guevara
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Ellen Wilkinson
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Theo van Baaren
relation place of birth
type administrative territorial entity
['Che Guevara', 'place of birth', {'concept': 'administrative territorial entity'}] ['Ellen Wilkinson', 'place of birth', {'concept': 'administrative territorial entity'}] ['Theo van Baaren', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { resource:Che_Guevara property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity } UNION { ?e rdf:type ontology:administrative_territorial_entity . resource:Ellen_Wilkinson property:place_of_birth ?e } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2860767
P551
Q502895
USER
Who resides at that administrative territory ?
(c(Q502895),P551,Q2860767)
action filter_type
action find_reverse
entity Q2860767
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q2860767']
SELECT DISTINCT ?e WHERE { ?e property:P551 resource:Q2860767 . ?e rdf:type ontology:Q502895 }
Ardwick
action filter_type
action find_reverse
entity Ardwick
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Ardwick']
SELECT DISTINCT ?e WHERE { ?e property:residence resource:Ardwick . ?e rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q803
SYSTEM
Did you mean Utrecht ?
Q52535 Q2860767 Q803
(c(Q502895),P551,Q52535) (c(Q502895),P551,Q2860767) (c(Q502895),P551,Q803)
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q52535'] [{'concept': 'Q502895'}, 'P551', 'Q2860767'] [{'concept': 'Q502895'}, 'P551', 'Q803']
SELECT DISTINCT ?e WHERE { ?e property:P551 resource:Q2860767 . ?e rdf:type ontology:Q502895 }
Rosario Ardwick Utrecht
Did you mean Utrecht ?
Utrecht
[{'concept': 'common name'}, 'residence', 'Rosario'] [{'concept': 'common name'}, 'residence', 'Ardwick'] [{'concept': 'common name'}, 'residence', 'Utrecht']
SELECT DISTINCT ?e WHERE { ?e property:residence resource:Ardwick . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Ardwick. Could you tell me the answer for that?
(c(Q502895),P551,Q2860767)
Q2860767
[{'concept': 'Q502895'}, 'P551', 'Q2860767']
[{'concept': 'common name'}, 'residence', 'Ardwick']
[]
Q24249594
SYSTEM
William Catherall
Q24249594
(c(Q502895),P551,Q2860767)
action filter_type
action find_reverse
entity Q2860767
relation P551
type Q502895
[ANSWER] resides at that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q2860767']
SELECT DISTINCT ?e WHERE { ?e property:P551 resource:Q2860767 . ?e rdf:type ontology:Q502895 }
William Catherall
William Catherall resides at that administrative territory
William Catherall
action filter_type
action find_reverse
entity Ardwick
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Ardwick']
SELECT DISTINCT ?e WHERE { ?e property:residence resource:Ardwick . ?e rdf:type ontology:common_name }
[]