Simple Question (Direct)
Simple Question
Q1524274
P509
Q2057971
USER
Which health problem was the cause of death of Giles Gilbert Scott ?
(Q1524274,P509,c(Q2057971))
action filter_type
action find
entity Q1524274
relation P509
type Q2057971
['Q1524274', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?g WHERE { resource:Q1524274 property:P509 ?g . ?g rdf:type ontology:Q2057971 }
Giles Gilbert Scott
action filter_type
action find
entity Giles Gilbert Scott
relation cause of death
type health problem
['Giles Gilbert Scott', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?g WHERE { resource:Giles_Gilbert_Scott property:cause_of_death ?g . ?g rdf:type ontology:health_problem }
[]
health problem
Q47912
SYSTEM
lung cancer
Q47912
(Q1524274,P509,c(Q2057971))
action filter_type
action find
entity Q1524274
relation P509
type Q2057971
Her [ANSWER] was the cause of death of Giles Gilbert Scott
['Q1524274', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?g WHERE { resource:Q1524274 property:P509 ?g . ?g rdf:type ontology:Q2057971 }
lung cancer
Her lung cancer was the cause of death of Giles Gilbert Scott
lung cancer
action filter_type
action find
entity Giles Gilbert Scott
relation cause of death
type health problem
['Giles Gilbert Scott', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?g WHERE { resource:Giles_Gilbert_Scott property:cause_of_death ?g . ?g rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1524274
P1196
Q1931388
USER
What manner did Giles Gilbert Scott die ?
(Q1524274,P1196,c(Q1931388))
action filter_type
action find
entity Q1524274
relation P1196
type Q1931388
['Q1524274', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?h WHERE { resource:Q1524274 property:P1196 ?h . ?h rdf:type ontology:Q1931388 }
Giles Gilbert Scott
action filter_type
action find
entity Giles Gilbert Scott
relation manner of death
type cause of death
['Giles Gilbert Scott', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?h WHERE { resource:Giles_Gilbert_Scott property:manner_of_death ?h . ?h rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q1524274,P1196,c(Q1931388))
action filter_type
action find
entity Q1524274
relation P1196
type Q1931388
Giles Gilbert Scott died of [ANSWER]
['Q1524274', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?h WHERE { resource:Q1524274 property:P1196 ?h . ?h rdf:type ontology:Q1931388 }
natural causes
Giles Gilbert Scott died of natural causes
natural causes
action filter_type
action find
entity Giles Gilbert Scott
relation manner of death
type cause of death
['Giles Gilbert Scott', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?h WHERE { resource:Giles_Gilbert_Scott property:manner_of_death ?h . ?h rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47912
P780
Q1441305
USER
What are a symptoms of lung cancer ?
(Q47912,P780,c(Q1441305))
action filter_type
action find
entity Q47912
relation P780
type Q1441305
['Q47912', 'P780', {'concept': 'Q1441305'}]
SELECT DISTINCT ?e WHERE { resource:Q47912 property:P780 ?e . ?e rdf:type ontology:Q1441305 }
lung cancer
action filter_type
action find
entity lung cancer
relation symptoms
type medical sign
['lung cancer', 'symptoms', {'concept': 'medical sign'}]
SELECT DISTINCT ?e WHERE { resource:lung_cancer property:symptoms ?e . ?e rdf:type ontology:medical_sign }
[]
medical sign
Q35805 Q188008 Q254327
SYSTEM
cough, dyspnea, anorexia
Q517104 Q188008 Q254327 Q647099 Q35805
(Q47912,P780,c(Q1441305))
action filter_type
action find
entity Q47912
relation P780
type Q1441305
A symptoms of lung cancer are [ANSWERS]
['Q47912', 'P780', {'concept': 'Q1441305'}]
SELECT DISTINCT ?e WHERE { resource:Q47912 property:P780 ?e . ?e rdf:type ontology:Q1441305 }
wheeze dyspnea anorexia hemoptysis cough
A symptoms of lung cancer are cough, dyspnea and anorexia
cough dyspnea anorexia
action filter_type
action find
entity lung cancer
relation symptoms
type medical sign
['lung cancer', 'symptoms', {'concept': 'medical sign'}]
SELECT DISTINCT ?e WHERE { resource:lung_cancer property:symptoms ?e . ?e rdf:type ontology:medical_sign }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q35805 Q188008 Q254327
P780
Q2057971
USER
What are those medical signs a symtom of ?
(c(Q2057971),P780,Q35805) (c(Q2057971),P780,Q188008) (c(Q2057971),P780,Q254327)
action filter_type
action find_reverse
entity prev_answer
relation P780
type Q2057971
[{'concept': 'Q2057971'}, 'P780', 'Q35805'] [{'concept': 'Q2057971'}, 'P780', 'Q188008'] [{'concept': 'Q2057971'}, 'P780', 'Q254327']
SELECT DISTINCT ?q WHERE { ?q property:P780 ?a . ?q rdf:type ontology:Q2057971 . VALUES ( ?a ) { ( resource:Q517104 ) ( resource:Q188008 ) ( resource:Q254327 ) } }
cough dyspnea anorexia
action filter_type
action find_reverse
entity prev_answer
relation symptoms
type health problem
[{'concept': 'health problem'}, 'symptoms', 'cough'] [{'concept': 'health problem'}, 'symptoms', 'dyspnea'] [{'concept': 'health problem'}, 'symptoms', 'anorexia']
SELECT DISTINCT ?q WHERE { ?q property:symptoms ?a . ?q rdf:type ontology:health_problem . VALUES ( ?a ) { ( resource:wheeze ) ( resource:dyspnea ) ( resource:anorexia ) } }
[]
health problem
Q212961 Q264118 Q47912
SYSTEM
pancreatic cancer, acute myeloid leukemia, lung cancer
Q836356 Q47912 Q1077603 Q664174 Q180664 Q47912 Q212961 Q180664 Q47912 Q264118
(c(Q2057971),P780,Q35805) (c(Q2057971),P780,Q188008) (c(Q2057971),P780,Q254327)
action filter_type
action find_reverse
entity prev_answer
relation P780
type Q2057971
Those medical signs a symtom of are al [ANSWERS]
[{'concept': 'Q2057971'}, 'P780', 'Q35805'] [{'concept': 'Q2057971'}, 'P780', 'Q188008'] [{'concept': 'Q2057971'}, 'P780', 'Q254327']
SELECT DISTINCT ?q WHERE { ?q property:P780 ?a . ?q rdf:type ontology:Q2057971 . VALUES ( ?a ) { ( resource:Q517104 ) ( resource:Q188008 ) ( resource:Q254327 ) } }
croup lung cancer malignant mesothelioma asbestosis acute lymphocytic leukemia lung cancer pancreatic cancer acute lymphocytic leukemia lung cancer acute myeloid leukemia
Those medical signs a symtom of are al pancreatic cancer, acute myeloid leukemia and lung cancer
pancreatic cancer acute myeloid leukemia lung cancer
action filter_type
action find_reverse
entity prev_answer
relation symptoms
type health problem
[{'concept': 'health problem'}, 'symptoms', 'cough'] [{'concept': 'health problem'}, 'symptoms', 'dyspnea'] [{'concept': 'health problem'}, 'symptoms', 'anorexia']
SELECT DISTINCT ?q WHERE { ?q property:symptoms ?a . ?q rdf:type ontology:health_problem . VALUES ( ?a ) { ( resource:wheeze ) ( resource:dyspnea ) ( resource:anorexia ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47912
P828
Q251777
USER
What causes lung cancer ?
(Q47912,P828,c(Q251777))
action filter_type
action find
entity Q47912
relation P828
type Q251777
['Q47912', 'P828', {'concept': 'Q251777'}]
SELECT DISTINCT ?i WHERE { resource:Q47912 property:P828 ?i . ?i rdf:type ontology:Q251777 }
lung cancer
action filter_type
action find
entity lung cancer
relation has cause
type custom
['lung cancer', 'has cause', {'concept': 'custom'}]
SELECT DISTINCT ?i WHERE { resource:lung_cancer property:has_cause ?i . ?i rdf:type ontology:custom }
[]
custom
Q259516 Q7212330
SYSTEM
passive smoking, tobacco smoking
Q259516 Q7212330
(Q47912,P828,c(Q251777))
action filter_type
action find
entity Q47912
relation P828
type Q251777
[ANSWERS] cause lung cancer
['Q47912', 'P828', {'concept': 'Q251777'}]
SELECT DISTINCT ?i WHERE { resource:Q47912 property:P828 ?i . ?i rdf:type ontology:Q251777 }
passive smoking tobacco smoking
Passive smoking and tobacco smoking cause lung cancer
passive smoking tobacco smoking
action filter_type
action find
entity lung cancer
relation has cause
type custom
['lung cancer', 'has cause', {'concept': 'custom'}]
SELECT DISTINCT ?i WHERE { resource:lung_cancer property:has_cause ?i . ?i rdf:type ontology:custom }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q259516 Q7212330
P828
Q2057971
USER
Which health problems are caused by those customs ?
(c(Q2057971),P828,Q259516) (c(Q2057971),P828,Q7212330)
action filter_type
action find_reverse
entity prev_answer
relation P828
type Q2057971
[{'concept': 'Q2057971'}, 'P828', 'Q259516'] [{'concept': 'Q2057971'}, 'P828', 'Q7212330']
SELECT DISTINCT ?h WHERE { VALUES ( ?z ) { ( resource:Q259516 ) ( resource:Q7212330 ) } . ?h rdf:type ontology:Q2057971 . ?h property:P828 ?z }
passive smoking tobacco smoking
action filter_type
action find_reverse
entity prev_answer
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', 'passive smoking'] [{'concept': 'health problem'}, 'has cause', 'tobacco smoking']
SELECT DISTINCT ?h WHERE { VALUES ( ?z ) { ( resource:passive_smoking ) ( resource:tobacco_smoking ) } . ?h rdf:type ontology:health_problem . ?h property:has_cause ?z }
[]
health problem
Q47912
SYSTEM
lung cancer
Q47912
(c(Q2057971),P828,Q259516) (c(Q2057971),P828,Q7212330)
action filter_type
action find_reverse
entity prev_answer
relation P828
type Q2057971
Is [ANSWER] is caused by those customs
[{'concept': 'Q2057971'}, 'P828', 'Q259516'] [{'concept': 'Q2057971'}, 'P828', 'Q7212330']
SELECT DISTINCT ?h WHERE { VALUES ( ?z ) { ( resource:Q259516 ) ( resource:Q7212330 ) } . ?h rdf:type ontology:Q2057971 . ?h property:P828 ?z }
lung cancer
Is lung cancer is caused by those customs
lung cancer
action filter_type
action find_reverse
entity prev_answer
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', 'passive smoking'] [{'concept': 'health problem'}, 'has cause', 'tobacco smoking']
SELECT DISTINCT ?h WHERE { VALUES ( ?z ) { ( resource:passive_smoking ) ( resource:tobacco_smoking ) } . ?h rdf:type ontology:health_problem . ?h property:has_cause ?z }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P1050
Q2057971 Q502895
USER
How many health problems are greater number of people affected by than that health problem ?
(c(Q502895),P1050,c(Q2057971))
action count
action greater
action find_reverse_tuple_counts
relation P1050
type Q2057971
type Q502895
action count
action filter_type
action find
entity Q47912
relation P1050
type Q2057971
[{'concept': 'Q502895'}, 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?e ) WHERE { ?o property:P1050 ?s . ?o rdf:type ontology:Q502895 . ?s rdf:type ontology:Q2057971 } GROUP BY ?s } . FILTER ( ?e > ?y ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Q47912 property:P1050 ?p . ?p rdf:type ontology:Q2057971 } } }
action count
action greater
action find_reverse_tuple_counts
relation medical condition
type health problem
type common name
action count
action filter_type
action find
entity lung cancer
relation medical condition
type health problem
[{'concept': 'common name'}, 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?e ) WHERE { ?o property:medical_condition ?s . ?o rdf:type ontology:common_name . ?s rdf:type ontology:health_problem } GROUP BY ?s } . FILTER ( ?e > ?y ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:lung_cancer property:medical_condition ?p . ?p rdf:type ontology:health_problem } } }
[]
health problem common name
SYSTEM
170
Q6052272 Q372701 Q83319 Q1151507 Q794457 Q1198391 Q749409 Q160649 Q500695 Q3280669 Q16501 Q173022 Q2290446 Q35869 Q12199 Q7578960 Q36956 Q3025883 Q658873 Q18657 Q727096 Q16483 Q478389 Q2307256 Q41083 Q155098 Q727153 Q170990 Q1143025 Q147778 Q1209744 Q12174 Q623031 Q954625 Q857667 Q1282114 Q2035074 Q572169 Q1165179 Q202837 Q844935 Q131742 Q847057 Q178190 Q134649 Q213098 Q191779 Q1137767 Q10874 Q185034 Q12167 Q223591 Q2562598 Q187255 Q1436063 Q208414 Q644318 Q12195 Q118418 Q622427 Q1138590 Q916398 Q168403 Q12152 Q48143 Q536269 Q244438 Q188874 Q944758 Q134003 Q11081 Q11085 Q159701 Q11088 Q156050 Q206901 Q939364 Q190805 Q199804 Q653078 Q202387 Q1331905 Q616087 Q4117241 Q41571 Q8388 Q625164 Q181257 Q180664 Q8277 Q1049655 Q38404 Q844717 Q180266 Q938983 Q568865 Q504775 Q2836 Q671776 Q131755 Q133696 Q124292 Q12156 Q925092 Q744790 Q42844 Q5445 Q10860654 Q132971 Q15283847 Q189580 Q181754 Q5282843 Q753904 Q189588 Q264118 Q220570 Q580290 Q2500124 Q684924 Q12135 Q131749 Q1755568 Q161790 Q572111 Q3144986 Q3041498 Q418418 Q174857 Q340594 Q154874 Q281115 Q1112977 Q693519 Q181923 Q12204 Q12202 Q12206 Q1161568 Q501829 Q595010 Q133087 Q18554893 Q128581 Q193894 Q39222 Q47715 Q12214 Q2406697 Q207133 Q124407 Q476921 Q12192 Q1209150 Q4839317 Q29496 Q467635 Q1066311 Q194101 Q210427 Q1410831 Q208562 Q188605 Q7162621 Q653318 Q2606101 Q2840 Q81867 Q1141499 Q83030
(c(Q502895),P1050,c(Q2057971))
action count
action greater
action find_reverse_tuple_counts
relation P1050
type Q2057971
type Q502895
action count
action filter_type
action find
entity Q47912
relation P1050
type Q2057971
[ANSWER]
[{'concept': 'Q502895'}, 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?e ) WHERE { ?o property:P1050 ?s . ?o rdf:type ontology:Q502895 . ?s rdf:type ontology:Q2057971 } GROUP BY ?s } . FILTER ( ?e > ?y ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Q47912 property:P1050 ?p . ?p rdf:type ontology:Q2057971 } } }
Mozart ear esophageal cancer typhoid fever dermatitis herpetiformis Locked-in syndrome intracranial aneurysm osteogenesis imperfecta typhus retinoblastoma brain injury hypothyroidisms bronchitis idiopathic pulmonary fibrosis asthma acquired immunodeficiency syndrome Spondyloepiphyseal dysplasia congenita leprosy type 2 diabetes mellitus Radiation burn multiple personality disorder physical disorder toxic diffuse goiter kyphosis neuritis syphilis leptospirosis hiatus hernia arthritis oral cavity cancer liver cirrhosis uterine cancer obesity liver cancer myelodysplastic syndrome pulmonary edema speech disorder Paget's disease of bone Seckel syndrome Kallmann syndrome cardiac arrest coronary artery disease hepatitis retinitis pigmentosa obsessive-compulsive disorder diphtheria progeria Gilles de la Tourette syndrome muscular dystrophy blindness sickle cell anemia malnutrition gastroesophageal reflux disease hemophilia B rheumatoid arthritis autism spectrum disorder lymphoma vasculitis poliomyelitis antisocial personality disorder ptosis non-Hodgkin lymphoma lymphedema myopia myocardial infarction meningitis phaeochromocytoma prosopagnosia colorectal cancer Tetraplegia inherited blood coagulation disease Alzheimer's disease Parkinson's disease glaucoma celiac disease brucellosis amyotrophic lateral sclerosis congenital heart disease heart disease chronic obstructive pulmonary disease Whipple disease post-traumatic stress disorder dementia with Lewy bodies aortic valve insufficiency autoimmune polyendocrine syndrome type 2 epilepsy pedophilia retinal detachment prostate cancer acute lymphocytic leukemia multiple sclerosis paraplegia autism spina bifida scarlet fever osteomyelitis cherubism urinary bladder cancer aphasia mutism bipolar disorder color blindness cholangiocarcinoma malaria Wolff-Parkinson-White syndrome Treacher Collins syndrome major depressive disorder anemia Iron overload dyslexia knee injury acromegaly heart failure Distal muscular dystrophy rheumatic fever stomach cancer acute myeloid leukemia pulmonary embolism Spinal muscular atrophy Urbach–Wiethe disease rheumatism mental disorder anorexia nervosa osteopetrosis Asperger syndrome anterograde amnesia Alcoholic hepatitis eye disease ankylosis scoliosis achondroplasia yellow fever Proteus syndrome syringomyelia essential tremor attention deficit hyperactivity disorder tuberculosis stroke diabetes mellitus Granulomatosis with polyangiits gigantism hypertrichosis gout ocular melanoma breast cancer sarcoidosis rabies Down syndrome smallpox Tetraamelie Klinefelter's syndrome type 1 diabetes mellitus kidney failure pneumonia cerebral infarction back injury leukemia multiple myeloma complex regional pain syndrome dwarfism cerebral palsy fibrodysplasia ossificans progressiva Marfan syndrome pulmonary emphysema penetrating trauma silicosis Paranoid schizophrenia influenza albino Ehlers–Danlos syndrome dementia
170
action count
action greater
action find_reverse_tuple_counts
relation medical condition
type health problem
type common name
action count
action filter_type
action find
entity lung cancer
relation medical condition
type health problem
[{'concept': 'common name'}, 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?e ) WHERE { ?o property:medical_condition ?s . ?o rdf:type ontology:common_name . ?s rdf:type ontology:health_problem } GROUP BY ?s } . FILTER ( ?e > ?y ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:lung_cancer property:medical_condition ?p . ?p rdf:type ontology:health_problem } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P828
Q10675206 Q2057971
USER
How many ingredients are the causes of atmost 1 health problem ?
(c(Q2057971),P828,c(Q10675206))
action count
action atmost
action find_reverse_tuple_counts
relation P828
type Q10675206
type Q2057971
value 1
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q10675206'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:P828 ?s . ?s rdf:type ontology:Q10675206 . ?a rdf:type ontology:Q2057971 } GROUP BY ?s } . FILTER ( ?b <= 1 ) }
action count
action atmost
action find_reverse_tuple_counts
relation has cause
type ingredient
type health problem
value 1
[{'concept': 'health problem'}, 'has cause', {'concept': 'ingredient'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:has_cause ?s . ?s rdf:type ontology:ingredient . ?a rdf:type ontology:health_problem } GROUP BY ?s } . FILTER ( ?b <= 1 ) }
[]
ingredient health problem
SYSTEM
6
Q21546392 Q8495 Q1090 Q102769 Q3621199 Q34956
(c(Q2057971),P828,c(Q10675206))
action count
action atmost
action find_reverse_tuple_counts
relation P828
type Q10675206
type Q2057971
value 1
[ANSWER]
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q10675206'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:P828 ?s . ?s rdf:type ontology:Q10675206 . ?a rdf:type ontology:Q2057971 } GROUP BY ?s } . FILTER ( ?b <= 1 ) }
garlic milk silver sodium hydroxide peanut vitamin
6
action count
action atmost
action find_reverse_tuple_counts
relation has cause
type ingredient
type health problem
value 1
[{'concept': 'health problem'}, 'has cause', {'concept': 'ingredient'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:has_cause ?s . ?s rdf:type ontology:ingredient . ?a rdf:type ontology:health_problem } GROUP BY ?s } . FILTER ( ?b <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q212961
P2293
Q863908
USER
Which nucleic acid sequences have genetic relation with pancreatic cancer ?
(Q212961,P2293,c(Q863908))
action filter_type
action find
entity Q212961
relation P2293
type Q863908
['Q212961', 'P2293', {'concept': 'Q863908'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q863908 . resource:Q212961 property:P2293 ?j }
pancreatic cancer
action filter_type
action find
entity pancreatic cancer
relation genetic association
type nucleic acid sequence
['pancreatic cancer', 'genetic association', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:nucleic_acid_sequence . resource:pancreatic_cancer property:genetic_association ?j }
[]
nucleic acid sequence
Q14839826 Q17914420 Q18046843
SYSTEM
ABO, DPP6, CLPTM1L
Q18054393 Q18026631 Q17836876 Q18048865 Q15312697 Q18046843 Q18026489 Q14839826 Q18060588 Q17848412 Q17912763 Q17914420 Q18041357 Q18029785 Q14864255 Q18047105 Q17912301 Q18037711
(Q212961,P2293,c(Q863908))
action filter_type
action find
entity Q212961
relation P2293
type Q863908
[ANSWERS] have genetic relation with pancreatic cancer
['Q212961', 'P2293', {'concept': 'Q863908'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q863908 . resource:Q212961 property:P2293 ?j }
RNF149 GTF2H1 BACH1 IL17F NR5A2 CLPTM1L GRID1 ABO PRB2 BICD1 DAPK1 DPP6 RNF43 MYO1D PARK2 SBF2 DAB2 FAM19A5
ABO, DPP6 and CLPTM1L have genetic relation with pancreatic cancer
ABO DPP6 CLPTM1L
action filter_type
action find
entity pancreatic cancer
relation genetic association
type nucleic acid sequence
['pancreatic cancer', 'genetic association', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:nucleic_acid_sequence . resource:pancreatic_cancer property:genetic_association ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q212961
P2175
Q8386
USER
Which drugs are used to cure pancreatic cancer ?
(c(Q8386),P2175,Q212961)
action filter_type
action find_reverse
entity Q212961
relation P2175
type Q8386
[{'concept': 'Q8386'}, 'P2175', 'Q212961']
SELECT DISTINCT ?o WHERE { ?o property:P2175 resource:Q212961 . ?o rdf:type ontology:Q8386 }
pancreatic cancer
action filter_type
action find_reverse
entity pancreatic cancer
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'pancreatic cancer']
SELECT DISTINCT ?o WHERE { ?o property:medical_condition_treated resource:pancreatic_cancer . ?o rdf:type ontology:drug }
[]
drug
Q7739 Q421052 Q413299
SYSTEM
Arsenic trioxide, Everolimus, Bevacizumab
Q419940 Q3891664 Q20801757 Q412197 Q412178 Q4567614 Q420207 Q418560 Q257331 Q421052 Q238512 Q417775 Q905901 Q419935 Q413299 Q2459042 Q416451 Q7914515 Q13896859 Q420436 Q240642 Q7739 Q1187179 Q423762
(c(Q8386),P2175,Q212961)
action filter_type
action find_reverse
entity Q212961
relation P2175
type Q8386
[ANSWERS] are used to cure pancreatic cancer
[{'concept': 'Q8386'}, 'P2175', 'Q212961']
SELECT DISTINCT ?o WHERE { ?o property:P2175 resource:Q212961 . ?o rdf:type ontology:Q8386 }
dasatinib regorafenib Secretin irinotecan tamoxifen mycophenolate mofetil capecitabine ifosfamide Streptozocin Everolimus 5-fluorouracil Panitumumab vorinostat Octreotide Bevacizumab Ipilimumab azacitidine vandetanib Pembrolizumab docetaxel valproic acid Arsenic trioxide Denileukin diftitox Paclitaxel
Arsenic trioxide, Everolimus and Bevacizumab are used to cure pancreatic cancer
Arsenic trioxide Everolimus Bevacizumab
action filter_type
action find_reverse
entity pancreatic cancer
relation medical condition treated
type drug
[{'concept': 'drug'}, 'medical condition treated', 'pancreatic cancer']
SELECT DISTINCT ?o WHERE { ?o property:medical_condition_treated resource:pancreatic_cancer . ?o rdf:type ontology:drug }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14839826
P688
Q181394
USER
What is encoded by ABO ?
(Q14839826,P688,c(Q181394))
action filter_type
action find
entity Q14839826
relation P688
type Q181394
['Q14839826', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?y WHERE { resource:Q14839826 property:P688 ?y . ?y rdf:type ontology:Q181394 }
ABO
action filter_type
action find
entity ABO
relation encodes
type nutrient
['ABO', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?y WHERE { resource:ABO property:encodes ?y . ?y rdf:type ontology:nutrient }
[]
nutrient
Q4650352
SYSTEM
Histo-blood group ABO system transferase
Q4650352
(Q14839826,P688,c(Q181394))
action filter_type
action find
entity Q14839826
relation P688
type Q181394
[ANSWER] is encoded by ABO
['Q14839826', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?y WHERE { resource:Q14839826 property:P688 ?y . ?y rdf:type ontology:Q181394 }
Histo-blood group ABO system transferase
Histo-blood group ABO system transferase is encoded by ABO
Histo-blood group ABO system transferase
action filter_type
action find
entity ABO
relation encodes
type nutrient
['ABO', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?y WHERE { resource:ABO property:encodes ?y . ?y rdf:type ontology:nutrient }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4650352
P682
Q1057
USER
Which metabolic process is that nutrient involved in ?
(Q4650352,P682,c(Q1057))
action filter_type
action find
entity Q4650352
relation P682
type Q1057
['Q4650352', 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ?u WHERE { resource:Q4650352 property:P682 ?u . ?u rdf:type ontology:Q1057 }
Histo-blood group ABO system transferase
action filter_type
action find
entity Histo-blood group ABO system transferase
relation biological process
type metabolic process
['Histo-blood group ABO system transferase', 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ?u WHERE { resource:Histo-blood_group_ABO_system_transferase property:biological_process ?u . ?u rdf:type ontology:metabolic_process }
[]
metabolic process
Q14762260
SYSTEM
carbohydrate metabolic process
Q14762260
(Q4650352,P682,c(Q1057))
action filter_type
action find
entity Q4650352
relation P682
type Q1057
That nutrient is the [ANSWER]
['Q4650352', 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ?u WHERE { resource:Q4650352 property:P682 ?u . ?u rdf:type ontology:Q1057 }
carbohydrate metabolic process
That nutrient is the carbohydrate metabolic process
carbohydrate metabolic process
action filter_type
action find
entity Histo-blood group ABO system transferase
relation biological process
type metabolic process
['Histo-blood group ABO system transferase', 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ?u WHERE { resource:Histo-blood_group_ABO_system_transferase property:biological_process ?u . ?u rdf:type ontology:metabolic_process }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P682
Q1057 Q181394
USER
Which metabolic processes are min number of nutrients involved in ?
(c(Q181394),P682,Q21760838)
action argmin
action find_reverse_tuple_counts
relation P682
type Q1057
type Q181394
[{'concept': 'Q181394'}, 'P682', 'Q21760838']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?k ) { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:P682 ?w . ?w rdf:type ontology:Q1057 . ?i rdf:type ontology:Q181394 } GROUP BY ?w } } . { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?x ) WHERE { ?s property:P682 ?h . ?h rdf:type ontology:Q1057 . ?s rdf:type ontology:Q181394 } GROUP BY ?h } . FILTER ( ?x = ?k ) }
action argmin
action find_reverse_tuple_counts
relation biological process
type metabolic process
type nutrient
[{'concept': 'nutrient'}, 'biological process', 'phosphorus metabolic process']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?k ) { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:biological_process ?w . ?w rdf:type ontology:metabolic_process . ?i rdf:type ontology:nutrient } GROUP BY ?w } } . { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?x ) WHERE { ?s property:biological_process ?h . ?h rdf:type ontology:metabolic_process . ?s rdf:type ontology:nutrient } GROUP BY ?h } . FILTER ( ?x = ?k ) }
[]
metabolic process nutrient
Q14865941 Q14907181 Q21133617
SYSTEM
connective tissue growth factor biosynthetic process, granulocyte macrophage colony-stimulating factor biosynthetic process, actin modification
Q21133617 Q21121151 Q22275051 Q21111970 Q14865941 Q22282595 Q14907181 Q21119193
(c(Q181394),P682,Q21760838)
action argmin
action find_reverse_tuple_counts
relation P682
type Q1057
type Q181394
Min number of nutrients in are involved in [ANSWERS]
[{'concept': 'Q181394'}, 'P682', 'Q21760838']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?k ) { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:P682 ?w . ?w rdf:type ontology:Q1057 . ?i rdf:type ontology:Q181394 } GROUP BY ?w } } . { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?x ) WHERE { ?s property:P682 ?h . ?h rdf:type ontology:Q1057 . ?s rdf:type ontology:Q181394 } GROUP BY ?h } . FILTER ( ?x = ?k ) }
actin modification reactive nitrogen species metabolic process halogenated hydrocarbon metabolic process reactive oxygen species biosynthetic process connective tissue growth factor biosynthetic process ketone body metabolic process granulocyte macrophage colony-stimulating factor biosynthetic process cellular modified amino acid metabolic process
Min number of nutrients in are involved in connective tissue growth factor biosynthetic process, granulocyte macrophage colony-stimulating factor biosynthetic process and actin modification
connective tissue growth factor biosynthetic process granulocyte macrophage colony-stimulating factor biosynthetic process actin modification
action argmin
action find_reverse_tuple_counts
relation biological process
type metabolic process
type nutrient
[{'concept': 'nutrient'}, 'biological process', 'phosphorus metabolic process']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?k ) { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:biological_process ?w . ?w rdf:type ontology:metabolic_process . ?i rdf:type ontology:nutrient } GROUP BY ?w } } . { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?x ) WHERE { ?s property:biological_process ?h . ?h rdf:type ontology:metabolic_process . ?s rdf:type ontology:nutrient } GROUP BY ?h } . FILTER ( ?x = ?k ) }
[]