Simple Question (Direct)
Simple Question
Q7839401
P21
Q290
USER
Which sex does Trevor Roberts belong to ?
(Q7839401,P21,c(Q290))
action filter_type
action find
entity Q7839401
relation P21
type Q290
['Q7839401', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q7839401 property:P21 ?c . ?c rdf:type ontology:Q290 }
Trevor Roberts
action filter_type
action find
entity Trevor Roberts
relation gender
type sex
['Trevor Roberts', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Trevor_Roberts property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7839401,P21,c(Q290))
action filter_type
action find
entity Q7839401
relation P21
type Q290
Trevor Roberts belongs to [ANSWER]
['Q7839401', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q7839401 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
Trevor Roberts belongs to male
male
action filter_type
action find
entity Trevor Roberts
relation gender
type sex
['Trevor Roberts', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Trevor_Roberts property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7839401
P641
Q349
USER
Which sport did that person participate in ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q7839401
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . resource:Q7839401 property:P641 ?l }
Trevor Roberts
action filter_type
action find
entity Trevor Roberts
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . resource:Trevor_Roberts property:sport ?l }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q7839401
relation P641
type Q349
That person participated in [ANSWER]
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . resource:Q7839401 property:P641 ?l }
association football
That person participated in association football
association football
action filter_type
action find
entity Trevor Roberts
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . resource:Trevor_Roberts property:sport ?l }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q17227003
P641
Q502895
USER
Is Natsume Seibi involved in playing that sport ?
(Q17227003,P641,Q2736)
action is_in
entity Q17227003
action find
entity Q2736
relation P641
['Q17227003', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q17227003 }
association football Natsume Seibi
action is_in
entity Natsume Seibi
action find
entity association football
relation sport
['Natsume Seibi', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Natsume_Seibi }
[]
common name
SYSTEM
NO
(Q17227003,P641,Q2736)
action is_in
entity Q17227003
action find
entity Q2736
relation P641
[ANSWER]
['Q17227003', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q17227003 }
No
action is_in
entity Natsume Seibi
action find
entity association football
relation sport
['Natsume Seibi', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Natsume_Seibi }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q577658 Q17227003
P1050
Q2057971
USER
Which health problems are Natsume Seibi or Carl Filtsch affected by ?
OR((Q17227003,P1050,c(Q2057971)), (Q577658,P1050,c(Q2057971)))
action filter_type
action union
action find
entity Q17227003
relation P1050
action find
entity Q577658
relation P1050
type Q2057971
{'OR': [['Q17227003', 'P1050', {'concept': 'Q2057971'}], ['Q577658', 'P1050', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?k WHERE { { ?g property:P1050 ?k . VALUES ( ?g ) { ( resource:Q577658 ) ( resource:Q17227003 ) } } . ?k rdf:type ontology:Q2057971 }
Carl Filtsch Natsume Seibi
action filter_type
action union
action find
entity Natsume Seibi
relation medical condition
action find
entity Carl Filtsch
relation medical condition
type health problem
{'OR': [['Natsume Seibi', 'medical condition', {'concept': 'health problem'}], ['Carl Filtsch', 'medical condition', {'concept': 'health problem'}]]}
SELECT DISTINCT ?k WHERE { { ?g property:medical_condition ?k . VALUES ( ?g ) { ( resource:Carl_Filtsch ) ( resource:Natsume_Seibi ) } } . ?k rdf:type ontology:health_problem }
[]
health problem
Q133087 Q12204
SYSTEM
gout, tuberculosis
Q133087 Q12204
OR((Q17227003,P1050,c(Q2057971)), (Q577658,P1050,c(Q2057971)))
action filter_type
action union
action find
entity Q17227003
relation P1050
action find
entity Q577658
relation P1050
type Q2057971
[ANSWERS] are Natsume Seibi or Carl Filtsch affected by
{'OR': [['Q17227003', 'P1050', {'concept': 'Q2057971'}], ['Q577658', 'P1050', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?k WHERE { { ?g property:P1050 ?k . VALUES ( ?g ) { ( resource:Q577658 ) ( resource:Q17227003 ) } } . ?k rdf:type ontology:Q2057971 }
gout tuberculosis
Gout and tuberculosis are Natsume Seibi or Carl Filtsch affected by
gout tuberculosis
action filter_type
action union
action find
entity Natsume Seibi
relation medical condition
action find
entity Carl Filtsch
relation medical condition
type health problem
{'OR': [['Natsume Seibi', 'medical condition', {'concept': 'health problem'}], ['Carl Filtsch', 'medical condition', {'concept': 'health problem'}]]}
SELECT DISTINCT ?k WHERE { { ?g property:medical_condition ?k . VALUES ( ?g ) { ( resource:Carl_Filtsch ) ( resource:Natsume_Seibi ) } } . ?k rdf:type ontology:health_problem }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2465347
P1542
Q2057971 Q3839081 Q2057971
USER
Which health problems have their outcome as less number of health problems and disasters than thyroid adenoma ?
(c(Q2057971),P1542,c(Q2057971)|c(Q3839081))
action less
action union
action find_tuple_counts
relation P1542
type Q2057971
type Q2057971
action find_tuple_counts
relation P1542
type Q2057971
type Q3839081
action count
action filter_multi_types
action find
entity Q2465347
relation P1542
type Q2057971
type Q3839081
[{'concept': 'Q2057971'}, 'P1542', [{'concept': 'Q2057971'}, {'concept': 'Q3839081'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?a WHERE { VALUES ( ?v ) { ( ontology:Q2057971 ) ( ontology:Q3839081 ) } . ?o rdf:type ?v } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Q2465347 property:P1542 ?j . { { ?j rdf:type ontology:Q2057971 } UNION { ?j rdf:type ontology:Q3839081 } } } } . FILTER ( ?c < ?l ) }
thyroid adenoma
action less
action union
action find_tuple_counts
relation cause of
type health problem
type health problem
action find_tuple_counts
relation cause of
type health problem
type disaster
action count
action filter_multi_types
action find
entity thyroid adenoma
relation cause of
type health problem
type disaster
[{'concept': 'health problem'}, 'cause of', [{'concept': 'health problem'}, {'concept': 'disaster'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?a WHERE { VALUES ( ?v ) { ( ontology:health_problem ) ( ontology:disaster ) } . ?o rdf:type ?v } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:thyroid_adenoma property:cause_of ?j . { { ?j rdf:type ontology:health_problem } UNION { ?j rdf:type ontology:disaster } } } } . FILTER ( ?c < ?l ) }
[]
health problem disaster health problem
Q133823 Q42982 Q2840
SYSTEM
migraine, type I hypersensitivity, influenza
Q12125 Q357522 Q3541798 Q12204 Q42982 Q1899576 Q929963 Q121041 Q599683 Q68833 Q8084905 Q943897 Q1186703 Q133823 Q217519 Q4330029 Q133780 Q2840
(c(Q2057971),P1542,c(Q2057971)|c(Q3839081))
action less
action union
action find_tuple_counts
relation P1542
type Q2057971
type Q2057971
action find_tuple_counts
relation P1542
type Q2057971
type Q3839081
action count
action filter_multi_types
action find
entity Q2465347
relation P1542
type Q2057971
type Q3839081
[ANSWERS] have their outcome as less number of health problems and disasters than thyroid adenoma
[{'concept': 'Q2057971'}, 'P1542', [{'concept': 'Q2057971'}, {'concept': 'Q3839081'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?a WHERE { VALUES ( ?v ) { ( ontology:Q2057971 ) ( ontology:Q3839081 ) } . ?o rdf:type ?v } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Q2465347 property:P1542 ?j . { { ?j rdf:type ontology:Q2057971 } UNION { ?j rdf:type ontology:Q3839081 } } } } . FILTER ( ?c < ?l ) }
common cold Adipsia Tuberculosis of the adrenal glands tuberculosis type I hypersensitivity Vasa praevia Primary polydipsia appendicitis Brugada syndrome bone fracture autoimmune neuromuscular disease gastroparesis demyelinating disease migraine bubonic plague airway obstruction plague influenza
Migraine, type I hypersensitivity and influenza have their outcome as less number of health problems and disasters than thyroid adenoma
migraine type I hypersensitivity influenza
action less
action union
action find_tuple_counts
relation cause of
type health problem
type health problem
action find_tuple_counts
relation cause of
type health problem
type disaster
action count
action filter_multi_types
action find
entity thyroid adenoma
relation cause of
type health problem
type disaster
[{'concept': 'health problem'}, 'cause of', [{'concept': 'health problem'}, {'concept': 'disaster'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?a WHERE { VALUES ( ?v ) { ( ontology:health_problem ) ( ontology:disaster ) } . ?o rdf:type ?v } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:thyroid_adenoma property:cause_of ?j . { { ?j rdf:type ontology:health_problem } UNION { ?j rdf:type ontology:disaster } } } } . FILTER ( ?c < ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q131742
P1542
Q2057971 Q3839081 Q2057971
USER
And what about hepatitis?
(c(Q2057971),P1542,c(Q2057971)|c(Q3839081))
action less
action union
action find_tuple_counts
relation P1542
type Q2057971
type Q2057971
action find_tuple_counts
relation P1542
type Q2057971
type Q3839081
action count
action filter_multi_types
action find
entity Q131742
relation P1542
type Q2057971
type Q3839081
[{'concept': 'Q2057971'}, 'P1542', [{'concept': 'Q2057971'}, {'concept': 'Q3839081'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:Q131742 property:P1542 ?s . { { ?s rdf:type ontology:Q3839081 } UNION { ?s rdf:type ontology:Q2057971 } } } } . FILTER ( ?e < ?q ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?c WHERE { { ?c property:P1542 ?u . ?c rdf:type ontology:Q2057971 . ?u rdf:type ontology:Q2057971 } UNION { ?c property:P1542 ?u . ?c rdf:type ontology:Q2057971 . ?u rdf:type ontology:Q3839081 } } GROUP BY ?c } }
hepatitis
action less
action union
action find_tuple_counts
relation cause of
type health problem
type health problem
action find_tuple_counts
relation cause of
type health problem
type disaster
action count
action filter_multi_types
action find
entity hepatitis
relation cause of
type health problem
type disaster
[{'concept': 'health problem'}, 'cause of', [{'concept': 'health problem'}, {'concept': 'disaster'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:hepatitis property:cause_of ?s . { { ?s rdf:type ontology:disaster } UNION { ?s rdf:type ontology:health_problem } } } } . FILTER ( ?e < ?q ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?c WHERE { { ?c property:cause_of ?u . ?c rdf:type ontology:health_problem . ?u rdf:type ontology:health_problem } UNION { ?c property:cause_of ?u . ?c rdf:type ontology:health_problem . ?u rdf:type ontology:disaster } } GROUP BY ?c } }
[]
health problem disaster health problem
Q133823 Q42982 Q2840
SYSTEM
migraine, type I hypersensitivity, influenza
Q12125 Q357522 Q3541798 Q12204 Q42982 Q1899576 Q929963 Q121041 Q599683 Q68833 Q8084905 Q943897 Q1186703 Q133823 Q217519 Q4330029 Q133780 Q2840
(c(Q2057971),P1542,c(Q2057971)|c(Q3839081))
action less
action union
action find_tuple_counts
relation P1542
type Q2057971
type Q2057971
action find_tuple_counts
relation P1542
type Q2057971
type Q3839081
action count
action filter_multi_types
action find
entity Q131742
relation P1542
type Q2057971
type Q3839081
[ANSWERS]
[{'concept': 'Q2057971'}, 'P1542', [{'concept': 'Q2057971'}, {'concept': 'Q3839081'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:Q131742 property:P1542 ?s . { { ?s rdf:type ontology:Q3839081 } UNION { ?s rdf:type ontology:Q2057971 } } } } . FILTER ( ?e < ?q ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?c WHERE { { ?c property:P1542 ?u . ?c rdf:type ontology:Q2057971 . ?u rdf:type ontology:Q2057971 } UNION { ?c property:P1542 ?u . ?c rdf:type ontology:Q2057971 . ?u rdf:type ontology:Q3839081 } } GROUP BY ?c } }
common cold Adipsia Tuberculosis of the adrenal glands tuberculosis type I hypersensitivity Vasa praevia Primary polydipsia appendicitis Brugada syndrome bone fracture autoimmune neuromuscular disease gastroparesis demyelinating disease migraine bubonic plague airway obstruction plague influenza
migraine type I hypersensitivity influenza
action less
action union
action find_tuple_counts
relation cause of
type health problem
type health problem
action find_tuple_counts
relation cause of
type health problem
type disaster
action count
action filter_multi_types
action find
entity hepatitis
relation cause of
type health problem
type disaster
[{'concept': 'health problem'}, 'cause of', [{'concept': 'health problem'}, {'concept': 'disaster'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:hepatitis property:cause_of ?s . { { ?s rdf:type ontology:disaster } UNION { ?s rdf:type ontology:health_problem } } } } . FILTER ( ?e < ?q ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?c WHERE { { ?c property:cause_of ?u . ?c rdf:type ontology:health_problem . ?u rdf:type ontology:health_problem } UNION { ?c property:cause_of ?u . ?c rdf:type ontology:health_problem . ?u rdf:type ontology:disaster } } GROUP BY ?c } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P921
Q2057971 Q838948 Q191067
USER
Which health problems were discussed in max number of works of art or articles ?
(c(Q838948)|c(Q191067),P921,c(Q2057971))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q838948
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q191067
[[{'concept': 'Q838948'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q2057971'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?v WHERE { ?n rdf:type ?m . VALUES ( ?m ) { ( ontology:Q191067 ) ( ontology:Q838948 ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) ?j WHERE { VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q191067 ) } . ?u rdf:type ?e } GROUP BY ?j } . FILTER ( ?k = ?q ) }
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type health problem
type work of art
action find_reverse_tuple_counts
relation main subject
type health problem
type article
[[{'concept': 'work of art'}, {'concept': 'article'}], 'main subject', {'concept': 'health problem'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?v WHERE { ?n rdf:type ?m . VALUES ( ?m ) { ( ontology:article ) ( ontology:work_of_art ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) ?j WHERE { VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:article ) } . ?u rdf:type ?e } GROUP BY ?j } . FILTER ( ?k = ?q ) }
[]
health problem work of art article
Q11072
SYSTEM
amnestic disorder
Q11072
(c(Q838948)|c(Q191067),P921,c(Q2057971))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q838948
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q191067
[ANSWER] was discussed in max number of works of art or articles
[[{'concept': 'Q838948'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q2057971'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?v WHERE { ?n rdf:type ?m . VALUES ( ?m ) { ( ontology:Q191067 ) ( ontology:Q838948 ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) ?j WHERE { VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q191067 ) } . ?u rdf:type ?e } GROUP BY ?j } . FILTER ( ?k = ?q ) }
amnestic disorder
Amnestic disorder was discussed in max number of works of art or articles
amnestic disorder
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type health problem
type work of art
action find_reverse_tuple_counts
relation main subject
type health problem
type article
[[{'concept': 'work of art'}, {'concept': 'article'}], 'main subject', {'concept': 'health problem'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?q ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?v WHERE { ?n rdf:type ?m . VALUES ( ?m ) { ( ontology:article ) ( ontology:work_of_art ) } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) ?j WHERE { VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:article ) } . ?u rdf:type ?e } GROUP BY ?j } . FILTER ( ?k = ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q180664
P780
Q12136 Q1441305 Q2057971
USER
Which health problems are indicated by the existence of less number of diseases and medical signs than acute lymphocytic leukemia ?
(c(Q2057971),P780,c(Q12136)|c(Q1441305))
action less
action union
action find_tuple_counts
relation P780
type Q2057971
type Q12136
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
action count
action filter_multi_types
action find
entity Q180664
relation P780
type Q12136
type Q1441305
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q12136'}, {'concept': 'Q1441305'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?f WHERE { VALUES ( ?t ) { ( ontology:Q12136 ) ( ontology:Q1441305 ) } . ?g rdf:type ?t } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Q180664 property:P780 ?p . { { ?p rdf:type ontology:Q12136 } UNION { ?p rdf:type ontology:Q1441305 } } } } . FILTER ( ?b < ?x ) }
acute lymphocytic leukemia
action less
action union
action find_tuple_counts
relation symptoms
type health problem
type disease
action find_tuple_counts
relation symptoms
type health problem
type medical sign
action count
action filter_multi_types
action find
entity acute lymphocytic leukemia
relation symptoms
type disease
type medical sign
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'disease'}, {'concept': 'medical sign'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?f WHERE { VALUES ( ?t ) { ( ontology:disease ) ( ontology:medical_sign ) } . ?g rdf:type ?t } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:acute_lymphocytic_leukemia property:symptoms ?p . { { ?p rdf:type ontology:disease } UNION { ?p rdf:type ontology:medical_sign } } } } . FILTER ( ?b < ?x ) }
[]
disease medical sign health problem
Q131755 Q221668 Q212961
SYSTEM
bipolar disorder, acute cystitis, pancreatic cancer
Q3281274 Q18589315 Q4813631 Q2583514 Q16889762 Q154869 Q19000456 Q7080278 Q2070695 Q131755 Q836356 Q3508686 Q721073 Q5319554 Q623031 Q558077 Q7688951 Q3843800 Q585011 Q3508664 Q48143 Q2388598 Q26492785 Q6853 Q5432941 Q719656 Q191779 Q18553762 Q192100 Q39222 Q3508705 Q5064113 Q1198391 Q774483 Q17120992 Q190564 Q1154422 Q156103 Q10529545 Q127724 Q205214 Q209733 Q12152 Q1515119 Q5526844 Q7243138 Q8071861 Q207133 Q12252367 Q1077603 Q174651 Q18554801 Q632228 Q1432717 Q18556319 Q3298999 Q4421929 Q326648 Q30953 Q4352832 Q180266 Q21505506 Q21505507 Q212961 Q6668132 Q2836 Q460167 Q124604 Q799615 Q1518637 Q18557231 Q1648128 Q19000484 Q264118 Q145790 Q2845978 Q378681 Q221668 Q27164422 Q1981276 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 Q2840 Q18557404 Q26492775
(c(Q2057971),P780,c(Q12136)|c(Q1441305))
action less
action union
action find_tuple_counts
relation P780
type Q2057971
type Q12136
action find_tuple_counts
relation P780
type Q2057971
type Q1441305
action count
action filter_multi_types
action find
entity Q180664
relation P780
type Q12136
type Q1441305
[ANSWERS] are indicated by the existence of less number of diseases and medical signs than acute lymphocytic leukemia
[{'concept': 'Q2057971'}, 'P780', [{'concept': 'Q12136'}, {'concept': 'Q1441305'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?f WHERE { VALUES ( ?t ) { ( ontology:Q12136 ) ( ontology:Q1441305 ) } . ?g rdf:type ?t } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Q180664 property:P780 ?p . { { ?p rdf:type ontology:Q12136 } UNION { ?p rdf:type ontology:Q1441305 } } } } . FILTER ( ?b < ?x ) }
Griscelli syndrome Cataract-microcornea syndrome dyskinetic cerebral palsy Argentine hemorrhagic fever multiple pterygium syndrome hepatitis C syphilitic alopecia Oguchi disease macrocytic anemia bipolar disorder 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 meningitis Ollier disease hypertrichotic osteochondrodysplasia Cantu type hepatitis B hyperlipoproteinemia type IV fascioliasis Gilles de la Tourette syndrome migraine with aura lymphatic filariasis rabies Timothy syndrome Cerebrospinal fluid leak intracranial aneurysm Galactosemia Hyperglycerolemia Huntington's disease leukocyte-adhesion deficiency syndrome gastroenteritis hyperandrogenism cataract Guillain–Barré syndrome chronic fatigue syndrome myocardial infarction Gerstmann syndrome Gastrojejunocolic fistula Primary hypertrophic osteoathropathy Zika fever Klinefelter's syndrome atherosclerosis malignant mesothelioma Bálint's syndrome multiple intestinal atresia Hajdu-Cheney syndrome Catatonic schizophrenia sea-blue histiocyte syndrome microcytic anemia Hippocampal sclerosis Salmonellosis dengue fever urofacial syndrome scarlet fever hypophosphatemic nephrolithiasis/osteoporosis 1 hypophosphatemic nephrolithiasis/osteoporosis 2 pancreatic cancer Loin pain hematuria syndrome aphasia Meniere's disease portal hypertension osteitis fibrosa VIPoma hypersplenism geniculate herpes zoster arteriosclerosis obliterans acute myeloid leukemia iridocyclitis stereotypic movement disorder peripheral artery disease acute cystitis X-linked cleft palate with or without ankyloglossia neuroendocrine tumor 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 influenza peroneal nerve paralysis poikiloderma with neutropenia
Bipolar disorder, acute cystitis and pancreatic cancer are indicated by the existence of less number of diseases and medical signs than acute lymphocytic leukemia
bipolar disorder acute cystitis pancreatic cancer
action less
action union
action find_tuple_counts
relation symptoms
type health problem
type disease
action find_tuple_counts
relation symptoms
type health problem
type medical sign
action count
action filter_multi_types
action find
entity acute lymphocytic leukemia
relation symptoms
type disease
type medical sign
[{'concept': 'health problem'}, 'symptoms', [{'concept': 'disease'}, {'concept': 'medical sign'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?f WHERE { VALUES ( ?t ) { ( ontology:disease ) ( ontology:medical_sign ) } . ?g rdf:type ?t } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:acute_lymphocytic_leukemia property:symptoms ?p . { { ?p rdf:type ontology:disease } UNION { ?p rdf:type ontology:medical_sign } } } } . FILTER ( ?b < ?x ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q131755
P2293
Q863908
USER
Which nucleic acid sequences are genetically correlated with that health problem ?
(c(Q863908),P2293,Q131755)
action filter_type
action find
entity Q131755
relation P2293
type Q863908
[{'concept': 'Q863908'}, 'P2293', 'Q131755']
SELECT DISTINCT ?i WHERE { resource:Q131755 property:P2293 ?i . ?i rdf:type ontology:Q863908 }
bipolar disorder
action filter_type
action find
entity bipolar disorder
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'bipolar disorder']
SELECT DISTINCT ?i WHERE { resource:bipolar_disorder property:genetic_association ?i . ?i rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Clarification for simple ques.
Q131755
SYSTEM
Did you mean bipolar disorder ?
Q131755 Q221668 Q212961
(c(Q863908),P2293,Q131755) (c(Q863908),P2293,Q221668) (c(Q863908),P2293,Q212961)
[ANSWER]
[{'concept': 'Q863908'}, 'P2293', 'Q131755'] [{'concept': 'Q863908'}, 'P2293', 'Q221668'] [{'concept': 'Q863908'}, 'P2293', 'Q212961']
SELECT DISTINCT ?i WHERE { resource:Q131755 property:P2293 ?i . ?i rdf:type ontology:Q863908 }
bipolar disorder acute cystitis pancreatic cancer
Did you mean bipolar disorder ?
bipolar disorder
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'bipolar disorder'] [{'concept': 'nucleic acid sequence'}, 'genetic association', 'acute cystitis'] [{'concept': 'nucleic acid sequence'}, 'genetic association', 'pancreatic cancer']
SELECT DISTINCT ?i WHERE { resource:bipolar_disorder property:genetic_association ?i . ?i rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q863908),P2293,Q131755)
[{'concept': 'Q863908'}, 'P2293', 'Q131755']
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'bipolar disorder']
[]
Q14913892 Q18030950 Q17826316
SYSTEM
TCF7L2, PTPRN2, ANK3
Q15996896 Q18041009 Q14913892 Q17927578 Q18040268 Q18029451 Q18046338 Q17709638 Q18040759 Q18037948 Q18027940 Q18051803 Q18045544 Q18034568 Q18047740 Q18037107 Q17826316 Q18035350 Q18045774 Q18047439 Q18040542 Q18033185 Q18040277 Q18049070 Q14905744 Q4044993 Q18048619 Q6714076 Q18027078 Q18030950 Q18049810 Q18046219 Q18032734 Q5514181 Q18036818 Q5052484 Q18037904 Q18047034 Q18052476 Q18026510 Q18037778 Q18036469 Q18047913 Q18035155 Q18037897 Q18028260
(c(Q863908),P2293,Q131755)
action filter_type
action find
entity Q131755
relation P2293
type Q863908
[ANSWERS] are genetically correlated with that health problem
[{'concept': 'Q863908'}, 'P2293', 'Q131755']
SELECT DISTINCT ?i WHERE { resource:Q131755 property:P2293 ?i . ?i rdf:type ontology:Q863908 }
NCAN RIN2 TCF7L2 FBLN1 COMMD10 MSRA MCTP1 ADCY2 BRWD1 ERC2 INPP4A DPY19L3 CDH23 WSCD2 MYO18B SYNE1 ANK3 DLC1 FBXL17 NLRC5 WWOX NUMB PRKAG2 TMEM132B CACNA1C NPAS3 TMEM132C MAD1L1 HNRNPC PTPRN2 MYOM3 FAT4 IFT88 GPM6A PHF8 CTSH AUTS2 LMAN2L DGKH GRIK5 INTS7 MGAT4A CGNL1 KCNMB2 CNTNAP2 KIF5B
TCF7L2, PTPRN2 and ANK3 are genetically correlated with that health problem
TCF7L2 PTPRN2 ANK3
action filter_type
action find
entity bipolar disorder
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'bipolar disorder']
SELECT DISTINCT ?i WHERE { resource:bipolar_disorder property:genetic_association ?i . ?i rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q131755
P2293
Q2057971
USER
Are bipolar disorder genetically associated with those nucleic acid sequences ?
(Q131755,P2293,Q14913892) (Q131755,P2293,Q18030950) (Q131755,P2293,Q17826316)
action is_in
entity prev_answer
action find
entity Q131755
relation P2293
['Q131755', 'P2293', 'Q14913892'] ['Q131755', 'P2293', 'Q18030950'] ['Q131755', 'P2293', 'Q17826316']
ASK WHERE { resource:Q131755 property:P2293 ?c . VALUES ( ?c ) { ( resource:Q15996896 ) ( resource:Q18041009 ) ( resource:Q14913892 ) } }
bipolar disorder
action is_in
entity prev_answer
action find
entity bipolar disorder
relation genetic association
['bipolar disorder', 'genetic association', 'TCF7L2'] ['bipolar disorder', 'genetic association', 'PTPRN2'] ['bipolar disorder', 'genetic association', 'ANK3']
ASK WHERE { resource:bipolar_disorder property:genetic_association ?c . VALUES ( ?c ) { ( resource:NCAN ) ( resource:RIN2 ) ( resource:TCF7L2 ) } }
[]
health problem
SYSTEM
YES
(Q131755,P2293,Q14913892) (Q131755,P2293,Q18030950) (Q131755,P2293,Q17826316)
action is_in
entity prev_answer
action find
entity Q131755
relation P2293
[ANSWER]
['Q131755', 'P2293', 'Q14913892'] ['Q131755', 'P2293', 'Q18030950'] ['Q131755', 'P2293', 'Q17826316']
ASK WHERE { resource:Q131755 property:P2293 ?c . VALUES ( ?c ) { ( resource:Q15996896 ) ( resource:Q18041009 ) ( resource:Q14913892 ) } }
Yes
action is_in
entity prev_answer
action find
entity bipolar disorder
relation genetic association
['bipolar disorder', 'genetic association', 'TCF7L2'] ['bipolar disorder', 'genetic association', 'PTPRN2'] ['bipolar disorder', 'genetic association', 'ANK3']
ASK WHERE { resource:bipolar_disorder property:genetic_association ?c . VALUES ( ?c ) { ( resource:NCAN ) ( resource:RIN2 ) ( resource:TCF7L2 ) } }
[]