Simple Question (Direct)
Simple Question
Q5401840
P2293
Q2057971
USER
Which health problems have hereditary association with ESRRG ?
(Q5401840,P2293,c(Q2057971))
action filter_type
action find
entity Q5401840
relation P2293
type Q2057971
['Q5401840', 'P2293', {'concept': 'Q2057971'}]
SELECT DISTINCT ?o WHERE { resource:Q5401840 property:P2293 ?o . ?o rdf:type ontology:Q2057971 }
ESRRG
action filter_type
action find
entity ESRRG
relation genetic association
type health problem
['ESRRG', 'genetic association', {'concept': 'health problem'}]
SELECT DISTINCT ?o WHERE { resource:ESRRG property:genetic_association ?o . ?o rdf:type ontology:health_problem }
[]
health problem
Q7331102 Q42844 Q1364270
SYSTEM
alcohol abuse, major depressive disorder, hypertrophic cardiomyopathy
Q7331102 Q42844 Q1364270
(Q5401840,P2293,c(Q2057971))
action filter_type
action find
entity Q5401840
relation P2293
type Q2057971
Disorder [ANSWERS] have hereditary association with ESRRG
['Q5401840', 'P2293', {'concept': 'Q2057971'}]
SELECT DISTINCT ?o WHERE { resource:Q5401840 property:P2293 ?o . ?o rdf:type ontology:Q2057971 }
alcohol abuse major depressive disorder hypertrophic cardiomyopathy
Disorder alcohol abuse, major depressive disorder and hypertrophic cardiomyopathy have hereditary association with ESRRG
alcohol abuse major depressive disorder hypertrophic cardiomyopathy
action filter_type
action find
entity ESRRG
relation genetic association
type health problem
['ESRRG', 'genetic association', {'concept': 'health problem'}]
SELECT DISTINCT ?o WHERE { resource:ESRRG property:genetic_association ?o . ?o rdf:type ontology:health_problem }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1364270
P1050
Q95074
USER
Which fictional character is afflicted by that health problem ?
(c(Q95074),P1050,Q1364270)
action filter_type
action find_reverse
entity Q1364270
relation P1050
type Q95074
[{'concept': 'Q95074'}, 'P1050', 'Q1364270']
SELECT DISTINCT ?j WHERE { ?j property:P1050 resource:Q1364270 . ?j rdf:type ontology:Q95074 }
hypertrophic cardiomyopathy
action filter_type
action find_reverse
entity hypertrophic cardiomyopathy
relation medical condition
type fictional character
[{'concept': 'fictional character'}, 'medical condition', 'hypertrophic cardiomyopathy']
SELECT DISTINCT ?j WHERE { ?j property:medical_condition resource:hypertrophic_cardiomyopathy . ?j rdf:type ontology:fictional_character }
[]
fictional character
Clarification for simple ques.
Q7331102
SYSTEM
Did you mean alcohol abuse ?
Q7331102 Q42844 Q1364270
(c(Q95074),P1050,Q7331102) (c(Q95074),P1050,Q42844) (c(Q95074),P1050,Q1364270)
[ANSWER]
[{'concept': 'Q95074'}, 'P1050', 'Q7331102'] [{'concept': 'Q95074'}, 'P1050', 'Q42844'] [{'concept': 'Q95074'}, 'P1050', 'Q1364270']
SELECT DISTINCT ?j WHERE { ?j property:P1050 resource:Q1364270 . ?j rdf:type ontology:Q95074 }
alcohol abuse major depressive disorder hypertrophic cardiomyopathy
Did you mean alcohol abuse ?
alcohol abuse
[{'concept': 'fictional character'}, 'medical condition', 'alcohol abuse'] [{'concept': 'fictional character'}, 'medical condition', 'major depressive disorder'] [{'concept': 'fictional character'}, 'medical condition', 'hypertrophic cardiomyopathy']
SELECT DISTINCT ?j WHERE { ?j property:medical_condition resource:hypertrophic_cardiomyopathy . ?j rdf:type ontology:fictional_character }
[]
Simple Question (Coreferenced)
USER
No, I meant hypertrophic cardiomyopathy. Could you tell me the answer for that?
(c(Q95074),P1050,Q1364270)
Q1364270
[{'concept': 'Q95074'}, 'P1050', 'Q1364270']
[{'concept': 'fictional character'}, 'medical condition', 'hypertrophic cardiomyopathy']
[]
Q23675365
SYSTEM
Grace Fuller
Q23675365
(c(Q95074),P1050,Q1364270)
action filter_type
action find_reverse
entity Q1364270
relation P1050
type Q95074
[ANSWER] is afflicted by that health problem
[{'concept': 'Q95074'}, 'P1050', 'Q1364270']
SELECT DISTINCT ?j WHERE { ?j property:P1050 resource:Q1364270 . ?j rdf:type ontology:Q95074 }
Grace Fuller
Grace Fuller is afflicted by that health problem
Grace Fuller
action filter_type
action find_reverse
entity hypertrophic cardiomyopathy
relation medical condition
type fictional character
[{'concept': 'fictional character'}, 'medical condition', 'hypertrophic cardiomyopathy']
SELECT DISTINCT ?j WHERE { ?j property:medical_condition resource:hypertrophic_cardiomyopathy . ?j rdf:type ontology:fictional_character }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q95074 Q571 Q838948
USER
Which fictional characters appear as a character in exactly 2 books or works of art ?
(c(Q571)|c(Q838948),P674,c(Q95074))
action equal
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q571
action find_reverse_tuple_counts
relation P674
type Q95074
type Q838948
value 2
[[{'concept': 'Q571'}, {'concept': 'Q838948'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?n ) WHERE { { ?u property:P674 ?y . ?y rdf:type ontology:Q95074 . ?u rdf:type ontology:Q571 } UNION { ?u property:P674 ?y . ?y rdf:type ontology:Q95074 . ?u rdf:type ontology:Q838948 } } GROUP BY ?y } . FILTER ( ?n = 2 ) }
action equal
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type book
action find_reverse_tuple_counts
relation characters
type fictional character
type work of art
value 2
[[{'concept': 'book'}, {'concept': 'work of art'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?n ) WHERE { { ?u property:characters ?y . ?y rdf:type ontology:fictional_character . ?u rdf:type ontology:book } UNION { ?u property:characters ?y . ?y rdf:type ontology:fictional_character . ?u rdf:type ontology:work_of_art } } GROUP BY ?y } . FILTER ( ?n = 2 ) }
[]
fictional character book work of art
Q767120 Q27642997
SYSTEM
Garfield, Corto Maltese
Q767120 Q27642997
(c(Q571)|c(Q838948),P674,c(Q95074))
action equal
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q571
action find_reverse_tuple_counts
relation P674
type Q95074
type Q838948
value 2
[ANSWERS] appear as a character in exactly 2 books or works of art
[[{'concept': 'Q571'}, {'concept': 'Q838948'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?n ) WHERE { { ?u property:P674 ?y . ?y rdf:type ontology:Q95074 . ?u rdf:type ontology:Q571 } UNION { ?u property:P674 ?y . ?y rdf:type ontology:Q95074 . ?u rdf:type ontology:Q838948 } } GROUP BY ?y } . FILTER ( ?n = 2 ) }
Garfield Corto Maltese
Garfield and Corto Maltese appear as a character in exactly 2 books or works of art
Garfield Corto Maltese
action equal
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type book
action find_reverse_tuple_counts
relation characters
type fictional character
type work of art
value 2
[[{'concept': 'book'}, {'concept': 'work of art'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?n ) WHERE { { ?u property:characters ?y . ?y rdf:type ontology:fictional_character . ?u rdf:type ontology:book } UNION { ?u property:characters ?y . ?y rdf:type ontology:fictional_character . ?u rdf:type ontology:work_of_art } } GROUP BY ?y } . FILTER ( ?n = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3839386 Q23675365
P27 P20
Q15617994
USER
Which administrative territories are Grace Fuller an inhabitant of or are the places of death of Luigi Briganti ?
OR((Q23675365,P27,c(Q15617994)), (Q3839386,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q23675365
relation P27
action find
entity Q3839386
relation P20
type Q15617994
{'OR': [['Q23675365', 'P27', {'concept': 'Q15617994'}], ['Q3839386', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q23675365 property:P27 ?r } UNION { resource:Q3839386 property:P20 ?r } } . ?r rdf:type ontology:Q15617994 }
Luigi Briganti Grace Fuller
action filter_type
action union
action find
entity Grace Fuller
relation country of citizenship
action find
entity Luigi Briganti
relation place of death
type designation for an administrative territorial entity
{'OR': [['Grace Fuller', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Luigi Briganti', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Grace_Fuller property:country_of_citizenship ?r } UNION { resource:Luigi_Briganti property:place_of_death ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q488240
SYSTEM
United States of America, Lentini
Q30 Q488240
OR((Q23675365,P27,c(Q15617994)), (Q3839386,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q23675365
relation P27
action find
entity Q3839386
relation P20
type Q15617994
The [ANSWERS] are Grace Fuller an inhabitant of or are the places of death of Luigi Briganti
{'OR': [['Q23675365', 'P27', {'concept': 'Q15617994'}], ['Q3839386', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q23675365 property:P27 ?r } UNION { resource:Q3839386 property:P20 ?r } } . ?r rdf:type ontology:Q15617994 }
United States of America Lentini
The United States of America and Lentini are Grace Fuller an inhabitant of or are the places of death of Luigi Briganti
United States of America Lentini
action filter_type
action union
action find
entity Grace Fuller
relation country of citizenship
action find
entity Luigi Briganti
relation place of death
type designation for an administrative territorial entity
{'OR': [['Grace Fuller', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Luigi Briganti', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Grace_Fuller property:country_of_citizenship ?r } UNION { resource:Luigi_Briganti property:place_of_death ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q972514
P780
Q2057971 Q2057971 Q12136
USER
How many health problems are symptoms of around the same number of health problems or diseases as optic neuritis ?
(c(Q2057971)|c(Q12136),P780,c(Q2057971))
action count
action approx
action union
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q2057971
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q12136
action count
action filter_multi_types
action find_reverse
entity Q972514
relation P780
type Q2057971
type Q12136
[[{'concept': 'Q2057971'}, {'concept': 'Q12136'}], 'P780', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?m WHERE { { ?l property:P780 ?m . ?m rdf:type ontology:Q2057971 . ?l rdf:type ontology:Q2057971 } UNION { ?l property:P780 ?m . ?m rdf:type ontology:Q2057971 . ?l rdf:type ontology:Q12136 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P780 resource:Q972514 . { VALUES ( ?k ) { ( ontology:Q2057971 ) ( ontology:Q12136 ) } . ?t rdf:type ?k } } } . FILTER ( ?a = ?b ) }
optic neuritis
action count
action approx
action union
action find_reverse_tuple_counts
relation symptoms
type health problem
type health problem
action find_reverse_tuple_counts
relation symptoms
type health problem
type disease
action count
action filter_multi_types
action find_reverse
entity optic neuritis
relation symptoms
type health problem
type disease
[[{'concept': 'health problem'}, {'concept': 'disease'}], 'symptoms', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?m WHERE { { ?l property:symptoms ?m . ?m rdf:type ontology:health_problem . ?l rdf:type ontology:health_problem } UNION { ?l property:symptoms ?m . ?m rdf:type ontology:health_problem . ?l rdf:type ontology:disease } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:symptoms resource:optic_neuritis . { VALUES ( ?k ) { ( ontology:health_problem ) ( ontology:disease ) } . ?t rdf:type ?k } } } . FILTER ( ?a = ?b ) }
[]
health problem health problem disease
SYSTEM
145
Q19275831 Q972514 Q5958765 Q18554331 Q2085267 Q271759 Q864868 Q21117568 Q3513968 Q1598200 Q684383 Q16501 Q173022 Q7048905 Q147778 Q35869 Q1956682 Q5062120 Q177254 Q5062122 Q2879095 Q18642366 Q21117572 Q935293 Q1527888 Q1553850 Q21111998 Q857667 Q4330029 Q3339235 Q21110191 Q911386 Q48143 Q1500373 Q131742 Q846316 Q279330 Q468433 Q2306782 Q677449 Q783903 Q55998 Q570197 Q505142 Q1531991 Q16242752 Q2681162 Q10863074 Q21112607 Q21116779 Q1502312 Q1193870 Q18556080 Q183130 Q202837 Q12192 Q268594 Q5090486 Q612681 Q1153419 Q1264268 Q1131786 Q18553940 Q199804 Q622427 Q690210 Q21112593 Q684810 Q18556920 Q21109267 Q183344 Q1018652 Q1534492 Q42982 Q1294912 Q979168 Q11072 Q134003 Q170082 Q1145668 Q767485 Q21112038 Q662298 Q21504914 Q1628473 Q188605 Q1507609 Q181754 Q18553993 Q105688 Q906492 Q3042175 Q220570 Q883863 Q221668 Q936382 Q2906693 Q1623006 Q572111 Q2868696 Q838145 Q501561 Q179951 Q114085 Q203601 Q170518 Q344873 Q18554311 Q950591 Q794072 Q21128620 Q401402 Q5171111 Q1194557 Q21118423 Q32446 Q18967474 Q738153 Q748442 Q794086 Q21109048 Q2638851 Q5712565 Q844935 Q734512 Q1036696 Q651223 Q5309747 Q476921 Q18558124 Q18558125 Q187440 Q757838 Q5251081 Q202758 Q21109885 Q4116448 Q664174 Q1320276 Q648982 Q14509067 Q7259546 Q18556164 Q5090456 Q21109216
(c(Q2057971)|c(Q12136),P780,c(Q2057971))
action count
action approx
action union
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q2057971
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q12136
action count
action filter_multi_types
action find_reverse
entity Q972514
relation P780
type Q2057971
type Q12136
[ANSWER]
[[{'concept': 'Q2057971'}, {'concept': 'Q12136'}], 'P780', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?m WHERE { { ?l property:P780 ?m . ?m rdf:type ontology:Q2057971 . ?l rdf:type ontology:Q2057971 } UNION { ?l property:P780 ?m . ?m rdf:type ontology:Q2057971 . ?l rdf:type ontology:Q12136 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P780 resource:Q972514 . { VALUES ( ?k ) { ( ontology:Q2057971 ) ( ontology:Q12136 ) } . ?t rdf:type ?k } } } . FILTER ( ?a = ?b ) }
choking optic neuritis hypersensitivity retinal perforation pharyngitis porphyria bone marrow suppression skin granuloma corneal opacity metabolic acidosis exophthalmos hypothyroidisms bronchitis Non-epileptic seizure liver cirrhosis asthma myoglobinuria central nervous system depression hyperopia central nervous system disease optic nerve disease intoxication lung granuloma purpura pancreatitis hemoglobinuria fingernail damage pulmonary edema airway obstruction nervous system disease diffuse nodular fibrosis stomatitis meningitis lactic acidosis hepatitis aplastic anemia bronchial disease anosmia hypochromic anemia aspiration pneumonia contact dermatitis pleurisy proteinuria eosinophilia Parkinsonian syndrome allergic contact dermatitis eye injury fatty liver disease leg paresthesia scaling dermatitis polyneuropathy multiple organ dysfunction syndrome cranial nerve palsy gastritis cardiac arrest pneumonia stupor toxic pneumonitis anuria interstitial lung disease stannosis Cor pulmonale gastric ulcer chronic obstructive pulmonary disease ptosis dysosmia hand paresis berylliosis diffuse pulmonary fibrosis fibrotic pneumoconiosis sinusitis byssinosis microhematuria type I hypersensitivity endophthalmitis brain edema amnestic disorder inherited blood coagulation disease psychotic disorder hemolytic anemia respiratory failure granulomatous pneumonitis ectropion wooden chest syndrome corneal ulcer pulmonary emphysema Ochronosis heart failure corneal edema hypoxia dystonia corneal dystrophy pulmonary embolism blepharospasm acute cystitis Hypocalcaemia baritosis keratoconjunctivitis anterograde amnesia pain agnosia leukoplakia pericarditis strabismus rhinitis pneumothorax burn adult respiratory distress syndrome corneal degeneration scotoma Azotemia spleen injury nephritis corneal perforation laryngitis auditory nerve damage pulmonary fibrosis pulmonary congestion and hypostasis ileus methemoglobinemia hypokalemia acute hemorrhagic cystitis Oligospermia hemorrhagic cystitis coronary artery disease bronchopneumonia hypothermia pneumoconiosis dryness kidney failure allergic asthma intracranial hypertension urticaria keratitis Defatting hypoglycemia chronic respiratory disease tracheal stenosis asbestosis hypovolemia argyria exanthem Pulmonary toxicity granulomatous gastritis Chemical eye injury benign pneumoconiosis
145
action count
action approx
action union
action find_reverse_tuple_counts
relation symptoms
type health problem
type health problem
action find_reverse_tuple_counts
relation symptoms
type health problem
type disease
action count
action filter_multi_types
action find_reverse
entity optic neuritis
relation symptoms
type health problem
type disease
[[{'concept': 'health problem'}, {'concept': 'disease'}], 'symptoms', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?m WHERE { { ?l property:symptoms ?m . ?m rdf:type ontology:health_problem . ?l rdf:type ontology:health_problem } UNION { ?l property:symptoms ?m . ?m rdf:type ontology:health_problem . ?l rdf:type ontology:disease } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:symptoms resource:optic_neuritis . { VALUES ( ?k ) { ( ontology:health_problem ) ( ontology:disease ) } . ?t rdf:type ?k } } } . FILTER ( ?a = ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1077603
P780
Q2057971 Q1441305 Q2057971
USER
How many health problems do the presence of lesser number of health problems or medical signs indicate than malignant mesothelioma ?
(c(Q2057971),P780,c(Q2057971)|c(Q1441305))
action count
action less
action union
action find_tuple_counts
relation P780
type Q2057971
type Q2057971
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
action count
action filter_multi_types
action find
entity Q1077603
relation P780
type Q2057971
type Q1441305
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q2057971'}, {'concept': 'Q1441305'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?f ) WHERE { ?q rdf:type ?c . VALUES ( ?c ) { ( ontology:Q1441305 ) ( ontology:Q2057971 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { resource:Q1077603 property:P780 ?y . { { ?y rdf:type ontology:Q2057971 } UNION { ?y rdf:type ontology:Q1441305 } } } } . FILTER ( ?f < ?j ) }
malignant mesothelioma
action count
action less
action union
action find_tuple_counts
relation symptoms
type health problem
type health problem
action find_tuple_counts
relation symptoms
type health problem
type medical sign
action count
action filter_multi_types
action find
entity malignant mesothelioma
relation symptoms
type health problem
type medical sign
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'health problem'}, {'concept': 'medical sign'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?f ) WHERE { ?q rdf:type ?c . VALUES ( ?c ) { ( ontology:medical_sign ) ( ontology:health_problem ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { resource:malignant_mesothelioma property:symptoms ?y . { { ?y rdf:type ontology:health_problem } UNION { ?y rdf:type ontology:medical_sign } } } } . FILTER ( ?f < ?j ) }
[]
health problem medical sign health problem
SYSTEM
99
Q3281274 Q18589315 Q4813631 Q2583514 Q16889762 Q154869 Q19000456 Q7080278 Q2070695 Q836356 Q3508686 Q721073 Q5319554 Q623031 Q558077 Q7688951 Q3843800 Q585011 Q3508664 Q2388598 Q26492785 Q6853 Q5432941 Q191779 Q18553762 Q192100 Q39222 Q5064113 Q1198391 Q774483 Q17120992 Q1154422 Q156103 Q10529545 Q127724 Q205214 Q12152 Q1515119 Q5526844 Q7243138 Q8071861 Q12252367 Q174651 Q18554801 Q632228 Q1432717 Q18556319 Q3298999 Q4421929 Q4352832 Q180266 Q21505506 Q21505507 Q6668132 Q2836 Q460167 Q124604 Q799615 Q1518637 Q18557231 Q1648128 Q19000484 Q145790 Q2845978 Q378681 Q27164422 Q281928 Q15401621 Q4676384 Q506433 Q432396 Q959457 Q332293 Q133087 Q522163 Q21505526 Q9390463 Q1286320 Q1117652 Q3508585 Q7165022 Q1077139 Q4865826 Q5032577 Q17089792 Q335555 Q265936 Q1952467 Q29496 Q129279 Q18555385 Q2106232 Q25345593 Q208562 Q664174 Q1641153 Q14509067 Q18557404 Q26492775
(c(Q2057971),P780,c(Q2057971)|c(Q1441305))
action count
action less
action union
action find_tuple_counts
relation P780
type Q2057971
type Q2057971
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
action count
action filter_multi_types
action find
entity Q1077603
relation P780
type Q2057971
type Q1441305
[ANSWER]
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q2057971'}, {'concept': 'Q1441305'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?f ) WHERE { ?q rdf:type ?c . VALUES ( ?c ) { ( ontology:Q1441305 ) ( ontology:Q2057971 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { resource:Q1077603 property:P780 ?y . { { ?y rdf:type ontology:Q2057971 } UNION { ?y rdf:type ontology:Q1441305 } } } } . FILTER ( ?f < ?j ) }
Griscelli syndrome Cataract-microcornea syndrome dyskinetic cerebral palsy Argentine hemorrhagic fever multiple pterygium syndrome hepatitis C syphilitic alopecia Oguchi disease macrocytic anemia croup Saethre–Chotzen syndrome delusional disorder dysplastic nevus syndrome liver cancer Williams Syndrome Taussig–Bing syndrome chronic congestive splenomegaly Antley-Bixler syndrome Lasthenie de Ferjol syndrome Ollier disease hypertrichotic osteochondrodysplasia Cantu type hepatitis B hyperlipoproteinemia type IV Gilles de la Tourette syndrome migraine with aura lymphatic filariasis rabies Cerebrospinal fluid leak intracranial aneurysm Galactosemia Hyperglycerolemia leukocyte-adhesion deficiency syndrome gastroenteritis hyperandrogenism cataract Guillain–Barré syndrome myocardial infarction Gerstmann syndrome Gastrojejunocolic fistula Primary hypertrophic osteoathropathy Zika fever atherosclerosis Bálint's syndrome multiple intestinal atresia Hajdu-Cheney syndrome Catatonic schizophrenia sea-blue histiocyte syndrome microcytic anemia Hippocampal sclerosis urofacial syndrome scarlet fever hypophosphatemic nephrolithiasis/osteoporosis 1 hypophosphatemic nephrolithiasis/osteoporosis 2 Loin pain hematuria syndrome aphasia Meniere's disease portal hypertension osteitis fibrosa VIPoma hypersplenism geniculate herpes zoster arteriosclerosis obliterans iridocyclitis stereotypic movement disorder peripheral artery disease X-linked cleft palate with or without ankyloglossia social phobia Trousseau sign of malignancy Acroosteolysis Trimethylaminuria achromatopsia inappropriate ADH syndrome carpal tunnel syndrome gout Sydenham's chorea myopathy, lactic acidosis, and sideroblastic anemia temtamy preaxial brachydactyly syndrome Schwannomatosis Thygeson's superficial punctate keratopathy ablepharon macrostomia syndrome pentalogy of Cantrell tic disorder Bart-Pumphrey syndrome Cannabinoid hyperemesis syndrome Psoriatic erythroderma Sjögren's syndrome Kawasaki disease hereditary multiple exostoses leukemia dysentery xanthomatosis Postanesthetic shivering Intermittent hydrarthrosis Marfan syndrome asbestosis secondary hypertrophic osteoarthropathy exanthem peroneal nerve paralysis poikiloderma with neutropenia
99
action count
action less
action union
action find_tuple_counts
relation symptoms
type health problem
type health problem
action find_tuple_counts
relation symptoms
type health problem
type medical sign
action count
action filter_multi_types
action find
entity malignant mesothelioma
relation symptoms
type health problem
type medical sign
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'health problem'}, {'concept': 'medical sign'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?f ) WHERE { ?q rdf:type ?c . VALUES ( ?c ) { ( ontology:medical_sign ) ( ontology:health_problem ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { resource:malignant_mesothelioma property:symptoms ?y . { { ?y rdf:type ontology:health_problem } UNION { ?y rdf:type ontology:medical_sign } } } } . FILTER ( ?f < ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q16889762
P780
Q2057971 Q1441305 Q2057971
USER
And what about multiple pterygium syndrome?
(c(Q2057971),P780,c(Q2057971)|c(Q1441305))
action count
action less
action union
action find_tuple_counts
relation P780
type Q2057971
type Q2057971
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
action count
action filter_multi_types
action find
entity Q16889762
relation P780
type Q2057971
type Q1441305
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q2057971'}, {'concept': 'Q1441305'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { { ?q rdf:type ontology:Q2057971 } UNION { ?q rdf:type ontology:Q1441305 } } . resource:Q16889762 property:P780 ?q } } . FILTER ( ?s < ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) ?z WHERE { VALUES ( ?w ) { ( ontology:Q2057971 ) ( ontology:Q1441305 ) } . ?a rdf:type ?w } GROUP BY ?z } }
multiple pterygium syndrome
action count
action less
action union
action find_tuple_counts
relation symptoms
type health problem
type health problem
action find_tuple_counts
relation symptoms
type health problem
type medical sign
action count
action filter_multi_types
action find
entity multiple pterygium syndrome
relation symptoms
type health problem
type medical sign
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'health problem'}, {'concept': 'medical sign'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { { ?q rdf:type ontology:health_problem } UNION { ?q rdf:type ontology:medical_sign } } . resource:multiple_pterygium_syndrome property:symptoms ?q } } . FILTER ( ?s < ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) ?z WHERE { VALUES ( ?w ) { ( ontology:health_problem ) ( ontology:medical_sign ) } . ?a rdf:type ?w } GROUP BY ?z } }
[]
health problem medical sign health problem
SYSTEM
33
Q4813631 Q19000456 Q7080278 Q2070695 Q3843800 Q5432941 Q191779 Q18553762 Q39222 Q127724 Q205214 Q12152 Q12252367 Q1432717 Q18556319 Q3298999 Q124604 Q799615 Q18557231 Q2845978 Q281928 Q4676384 Q506433 Q959457 Q1117652 Q1077139 Q4865826 Q5032577 Q17089792 Q18555385 Q2106232 Q14509067 Q18557404
(c(Q2057971),P780,c(Q2057971)|c(Q1441305))
action count
action less
action union
action find_tuple_counts
relation P780
type Q2057971
type Q2057971
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
action count
action filter_multi_types
action find
entity Q16889762
relation P780
type Q2057971
type Q1441305
[ANSWER]
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q2057971'}, {'concept': 'Q1441305'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { { ?q rdf:type ontology:Q2057971 } UNION { ?q rdf:type ontology:Q1441305 } } . resource:Q16889762 property:P780 ?q } } . FILTER ( ?s < ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) ?z WHERE { VALUES ( ?w ) { ( ontology:Q2057971 ) ( ontology:Q1441305 ) } . ?a rdf:type ?w } GROUP BY ?z } }
dyskinetic cerebral palsy syphilitic alopecia Oguchi disease macrocytic anemia chronic congestive splenomegaly hyperlipoproteinemia type IV Gilles de la Tourette syndrome migraine with aura rabies cataract Guillain–Barré syndrome myocardial infarction atherosclerosis Catatonic schizophrenia sea-blue histiocyte syndrome microcytic anemia portal hypertension osteitis fibrosa hypersplenism stereotypic movement disorder social phobia Acroosteolysis Trimethylaminuria inappropriate ADH syndrome Thygeson's superficial punctate keratopathy tic disorder Bart-Pumphrey syndrome Cannabinoid hyperemesis syndrome Psoriatic erythroderma xanthomatosis Postanesthetic shivering exanthem peroneal nerve paralysis
33
action count
action less
action union
action find_tuple_counts
relation symptoms
type health problem
type health problem
action find_tuple_counts
relation symptoms
type health problem
type medical sign
action count
action filter_multi_types
action find
entity multiple pterygium syndrome
relation symptoms
type health problem
type medical sign
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'health problem'}, {'concept': 'medical sign'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { { ?q rdf:type ontology:health_problem } UNION { ?q rdf:type ontology:medical_sign } } . resource:multiple_pterygium_syndrome property:symptoms ?q } } . FILTER ( ?s < ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) ?z WHERE { VALUES ( ?w ) { ( ontology:health_problem ) ( ontology:medical_sign ) } . ?a rdf:type ?w } GROUP BY ?z } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5401840
P684
Q863908
USER
Which is the species that has ESRRG as its orthologous gene ?
(c(Q863908),P684,Q5401840)
action filter_type
action find
entity Q5401840
relation P684
type Q863908
[{'concept': 'Q863908'}, 'P684', 'Q5401840']
SELECT DISTINCT ?q WHERE { resource:Q5401840 property:P684 ?q . ?q rdf:type ontology:Q863908 }
ESRRG
action filter_type
action find
entity ESRRG
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'ESRRG']
SELECT DISTINCT ?q WHERE { resource:ESRRG property:ortholog ?q . ?q rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18255723
SYSTEM
Esrrg
Q18255723
(c(Q863908),P684,Q5401840)
action filter_type
action find
entity Q5401840
relation P684
type Q863908
[ANSWER] is the species that has ESRRG as its orthologous gene
[{'concept': 'Q863908'}, 'P684', 'Q5401840']
SELECT DISTINCT ?q WHERE { resource:Q5401840 property:P684 ?q . ?q rdf:type ontology:Q863908 }
Esrrg
Esrrg is the species that has ESRRG as its orthologous gene
Esrrg
action filter_type
action find
entity ESRRG
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'ESRRG']
SELECT DISTINCT ?q WHERE { resource:ESRRG property:ortholog ?q . ?q rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18255723
P688
Q181394
USER
What does that nucleic acid sequence encode ?
(Q18255723,P688,c(Q181394))
action filter_type
action find
entity Q18255723
relation P688
type Q181394
['Q18255723', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?z WHERE { resource:Q18255723 property:P688 ?z . ?z rdf:type ontology:Q181394 }
Esrrg
action filter_type
action find
entity Esrrg
relation encodes
type nutrient
['Esrrg', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?z WHERE { resource:Esrrg property:encodes ?z . ?z rdf:type ontology:nutrient }
[]
nutrient
Q21494390
SYSTEM
Estrogen-related receptor gamma
Q21494390
(Q18255723,P688,c(Q181394))
action filter_type
action find
entity Q18255723
relation P688
type Q181394
That nucleic acid sequence encodes the [ANSWER]
['Q18255723', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?z WHERE { resource:Q18255723 property:P688 ?z . ?z rdf:type ontology:Q181394 }
Estrogen-related receptor gamma
That nucleic acid sequence encodes the Estrogen-related receptor gamma
Estrogen-related receptor gamma
action filter_type
action find
entity Esrrg
relation encodes
type nutrient
['Esrrg', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?z WHERE { resource:Esrrg property:encodes ?z . ?z rdf:type ontology:nutrient }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q21494390 Q18255723
P702
Q863908
USER
Does Esrrg encode Estrogen-related receptor gamma ?
(Q21494390,P702,Q18255723)
action is_in
entity Q18255723
action find
entity Q21494390
relation P702
['Q21494390', 'P702', 'Q18255723']
ASK WHERE { resource:Q21494390 property:P702 resource:Q18255723 }
Estrogen-related receptor gamma Esrrg
action is_in
entity Esrrg
action find
entity Estrogen-related receptor gamma
relation encoded by
['Estrogen-related receptor gamma', 'encoded by', 'Esrrg']
ASK WHERE { resource:Estrogen-related_receptor_gamma property:encoded_by resource:Esrrg }
[]
nucleic acid sequence
SYSTEM
YES
(Q21494390,P702,Q18255723)
action is_in
entity Q18255723
action find
entity Q21494390
relation P702
[ANSWER]
['Q21494390', 'P702', 'Q18255723']
ASK WHERE { resource:Q21494390 property:P702 resource:Q18255723 }
Yes
action is_in
entity Esrrg
action find
entity Estrogen-related receptor gamma
relation encoded by
['Estrogen-related receptor gamma', 'encoded by', 'Esrrg']
ASK WHERE { resource:Estrogen-related_receptor_gamma property:encoded_by resource:Esrrg }
[]