Simple Question (Direct)
Simple Question
Q2144813
P1050
Q12136
USER
Which disease does René Pierre Charles Princeteau suffer from ?
(Q2144813,P1050,c(Q12136))
action filter_type
action find
entity Q2144813
relation P1050
type Q12136
['Q2144813', 'P1050', {'concept': 'Q12136'}]
SELECT DISTINCT ?m WHERE { resource:Q2144813 property:P1050 ?m . ?m rdf:type ontology:Q12136 }
René Pierre Charles Princeteau
action filter_type
action find
entity René Pierre Charles Princeteau
relation medical condition
type disease
['René Pierre Charles Princeteau', 'medical condition', {'concept': 'disease'}]
SELECT DISTINCT ?m WHERE { resource:René_Pierre_Charles_Princeteau property:medical_condition ?m . ?m rdf:type ontology:disease }
[]
disease
Q12133
SYSTEM
deafness
Q12133
(Q2144813,P1050,c(Q12136))
action filter_type
action find
entity Q2144813
relation P1050
type Q12136
René Pierre Charles Princeteau suffers on [ANSWER]
['Q2144813', 'P1050', {'concept': 'Q12136'}]
SELECT DISTINCT ?m WHERE { resource:Q2144813 property:P1050 ?m . ?m rdf:type ontology:Q12136 }
deafness
René Pierre Charles Princeteau suffers on deafness
deafness
action filter_type
action find
entity René Pierre Charles Princeteau
relation medical condition
type disease
['René Pierre Charles Princeteau', 'medical condition', {'concept': 'disease'}]
SELECT DISTINCT ?m WHERE { resource:René_Pierre_Charles_Princeteau property:medical_condition ?m . ?m rdf:type ontology:disease }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12133
P2176
Q8386
USER
Which drugs are used to cure that disease ?
(Q12133,P2176,c(Q8386))
action filter_type
action find
entity Q12133
relation P2176
type Q8386
['Q12133', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?b WHERE { resource:Q12133 property:P2176 ?b . ?b rdf:type ontology:Q8386 }
deafness
action filter_type
action find
entity deafness
relation drug used for treatment
type drug
['deafness', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?b WHERE { resource:deafness property:drug_used_for_treatment ?b . ?b rdf:type ontology:drug }
[]
drug
Q219957 Q417222
SYSTEM
zonisamide, methylprednisolone
Q219957 Q417222
(Q12133,P2176,c(Q8386))
action filter_type
action find
entity Q12133
relation P2176
type Q8386
[ANSWERS] are used to cure that disease
['Q12133', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?b WHERE { resource:Q12133 property:P2176 ?b . ?b rdf:type ontology:Q8386 }
zonisamide methylprednisolone
Zonisamide and methylprednisolone are used to cure that disease
zonisamide methylprednisolone
action filter_type
action find
entity deafness
relation drug used for treatment
type drug
['deafness', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?b WHERE { resource:deafness property:drug_used_for_treatment ?b . ?b rdf:type ontology:drug }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5075435
Q8386
USER
And also tell me about alopecia areata?
(Q5075435,P2176,c(Q8386))
action filter_type
action find
entity Q5075435
relation P2176
type Q8386
['Q5075435', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?e WHERE { resource:Q5075435 property:P2176 ?e . ?e rdf:type ontology:Q8386 }
alopecia areata
action filter_type
action find
entity alopecia areata
relation drug used for treatment
type drug
['alopecia areata', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?e WHERE { resource:alopecia_areata property:drug_used_for_treatment ?e . ?e rdf:type ontology:drug }
[]
drug
Q190875 Q2697833 Q418192
SYSTEM
cortisol, Abatacept, bexarotene
Q421637 Q2697833 Q190875 Q418192
(Q5075435,P2176,c(Q8386))
action filter_type
action find
entity Q5075435
relation P2176
type Q8386
[ANSWERS]
['Q5075435', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?e WHERE { resource:Q5075435 property:P2176 ?e . ?e rdf:type ontology:Q8386 }
Clobetasol propionate Abatacept cortisol bexarotene
cortisol Abatacept bexarotene
action filter_type
action find
entity alopecia areata
relation drug used for treatment
type drug
['alopecia areata', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?e WHERE { resource:alopecia_areata property:drug_used_for_treatment ?e . ?e rdf:type ontology:drug }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5075435
P2176
Q2057971
USER
Does alopecia areata require those drugs to be prescribed ?
(Q5075435,P2176,Q190875) (Q5075435,P2176,Q2697833) (Q5075435,P2176,Q418192)
action is_in
entity prev_answer
action find
entity Q5075435
relation P2176
['Q5075435', 'P2176', 'Q190875'] ['Q5075435', 'P2176', 'Q2697833'] ['Q5075435', 'P2176', 'Q418192']
ASK WHERE { VALUES ( ?k ) { ( resource:Q421637 ) ( resource:Q2697833 ) ( resource:Q190875 ) } . resource:Q5075435 property:P2176 ?k }
alopecia areata
action is_in
entity prev_answer
action find
entity alopecia areata
relation drug used for treatment
['alopecia areata', 'drug used for treatment', 'cortisol'] ['alopecia areata', 'drug used for treatment', 'Abatacept'] ['alopecia areata', 'drug used for treatment', 'bexarotene']
ASK WHERE { VALUES ( ?k ) { ( resource:Clobetasol_propionate ) ( resource:Abatacept ) ( resource:cortisol ) } . resource:alopecia_areata property:drug_used_for_treatment ?k }
[]
health problem
SYSTEM
YES
(Q5075435,P2176,Q190875) (Q5075435,P2176,Q2697833) (Q5075435,P2176,Q418192)
action is_in
entity prev_answer
action find
entity Q5075435
relation P2176
[ANSWER]
['Q5075435', 'P2176', 'Q190875'] ['Q5075435', 'P2176', 'Q2697833'] ['Q5075435', 'P2176', 'Q418192']
ASK WHERE { VALUES ( ?k ) { ( resource:Q421637 ) ( resource:Q2697833 ) ( resource:Q190875 ) } . resource:Q5075435 property:P2176 ?k }
Yes
action is_in
entity prev_answer
action find
entity alopecia areata
relation drug used for treatment
['alopecia areata', 'drug used for treatment', 'cortisol'] ['alopecia areata', 'drug used for treatment', 'Abatacept'] ['alopecia areata', 'drug used for treatment', 'bexarotene']
ASK WHERE { VALUES ( ?k ) { ( resource:Clobetasol_propionate ) ( resource:Abatacept ) ( resource:cortisol ) } . resource:alopecia_areata property:drug_used_for_treatment ?k }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2144813 Q142
P27
Q15617994
USER
Is France the native country of René Pierre Charles Princeteau ?
(Q2144813,P27,Q142)
action is_in
entity Q142
action find
entity Q2144813
relation P27
['Q2144813', 'P27', 'Q142']
ASK WHERE { resource:Q2144813 property:P27 resource:Q142 }
René Pierre Charles Princeteau France
action is_in
entity France
action find
entity René Pierre Charles Princeteau
relation country of citizenship
['René Pierre Charles Princeteau', 'country of citizenship', 'France']
ASK WHERE { resource:René_Pierre_Charles_Princeteau property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q2144813,P27,Q142)
action is_in
entity Q142
action find
entity Q2144813
relation P27
[ANSWER]
['Q2144813', 'P27', 'Q142']
ASK WHERE { resource:Q2144813 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity René Pierre Charles Princeteau
relation country of citizenship
['René Pierre Charles Princeteau', 'country of citizenship', 'France']
ASK WHERE { resource:René_Pierre_Charles_Princeteau property:country_of_citizenship resource:France }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2697833 Q7455473 Q18558127
P2175
Q2057971
USER
Is Abatacept used as a medication for Sertoli cell nodule and cervical Mullerian papilloma ?
(Q2697833,P2175,Q7455473) (Q2697833,P2175,Q18558127)
action is_in
entity Q2697833
action intersection
action find_reverse
entity Q7455473
relation P2175
action find_reverse
entity Q18558127
relation P2175
['Q2697833', 'P2175', 'Q7455473'] ['Q2697833', 'P2175', 'Q18558127']
ASK WHERE { resource:Q2697833 property:P2175 resource:Q18558127 . resource:Q2697833 property:P2175 resource:Q7455473 }
Abatacept Sertoli cell nodule cervical Mullerian papilloma
action is_in
entity Abatacept
action intersection
action find_reverse
entity Sertoli cell nodule
relation medical condition treated
action find_reverse
entity cervical Mullerian papilloma
relation medical condition treated
['Abatacept', 'medical condition treated', 'Sertoli cell nodule'] ['Abatacept', 'medical condition treated', 'cervical Mullerian papilloma']
ASK WHERE { resource:Abatacept property:medical_condition_treated resource:cervical_Mullerian_papilloma . resource:Abatacept property:medical_condition_treated resource:Sertoli_cell_nodule }
[]
health problem
SYSTEM
NO
(Q2697833,P2175,Q7455473) (Q2697833,P2175,Q18558127)
action is_in
entity Q2697833
action intersection
action find_reverse
entity Q7455473
relation P2175
action find_reverse
entity Q18558127
relation P2175
[ANSWER]
['Q2697833', 'P2175', 'Q7455473'] ['Q2697833', 'P2175', 'Q18558127']
ASK WHERE { resource:Q2697833 property:P2175 resource:Q18558127 . resource:Q2697833 property:P2175 resource:Q7455473 }
No
action is_in
entity Abatacept
action intersection
action find_reverse
entity Sertoli cell nodule
relation medical condition treated
action find_reverse
entity cervical Mullerian papilloma
relation medical condition treated
['Abatacept', 'medical condition treated', 'Sertoli cell nodule'] ['Abatacept', 'medical condition treated', 'cervical Mullerian papilloma']
ASK WHERE { resource:Abatacept property:medical_condition_treated resource:cervical_Mullerian_papilloma . resource:Abatacept property:medical_condition_treated resource:Sertoli_cell_nodule }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q190875
P2175
Q2057971 Q1441305
USER
How many health problems and medical signs are cured by cortisol ?
(Q190875,P2175,c(Q2057971)) (Q190875,P2175,c(Q1441305))
action count
action union
action filter_type
action find
entity Q190875
relation P2175
type Q2057971
action filter_type
action find
entity Q190875
relation P2175
type Q1441305
['Q190875', 'P2175', {'concept': 'Q2057971'}] ['Q190875', 'P2175', {'concept': 'Q1441305'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { ?s rdf:type ?i . VALUES ( ?i ) { ( ontology:Q1441305 ) ( ontology:Q2057971 ) } }
cortisol
action count
action union
action filter_type
action find
entity cortisol
relation medical condition treated
type health problem
action filter_type
action find
entity cortisol
relation medical condition treated
type medical sign
['cortisol', 'medical condition treated', {'concept': 'health problem'}] ['cortisol', 'medical condition treated', {'concept': 'medical sign'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { ?s rdf:type ?i . VALUES ( ?i ) { ( ontology:medical_sign ) ( ontology:health_problem ) } }
[]
health problem medical sign
SYSTEM
14 health problems and 1 medical signs
Q3041498 Q41478 Q52844 Q18555307 Q18555301 Q18555313 Q18555302 Q1477 Q4676432 Q8282 Q35869 Q826759 Q101991 Q5075435 Q19000661
(Q190875,P2175,c(Q2057971)) (Q190875,P2175,c(Q1441305))
action count
action union
action filter_type
action find
entity Q190875
relation P2175
type Q2057971
action filter_type
action find
entity Q190875
relation P2175
type Q1441305
[ANSWER]
['Q190875', 'P2175', {'concept': 'Q2057971'}] ['Q190875', 'P2175', {'concept': 'Q1441305'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { ?s rdf:type ?i . VALUES ( ?i ) { ( ontology:Q1441305 ) ( ontology:Q2057971 ) } }
eye disease hemorrhoid enthesopathy leg dermatosis facial dermatosis hand dermatosis scalp dermatosis ulcerative colitis pustulosis of palm and sole Addison's disease asthma status asthmaticus inflammation alopecia areata congestive heart failure
14 health problems and 1 medical signs
action count
action union
action filter_type
action find
entity cortisol
relation medical condition treated
type health problem
action filter_type
action find
entity cortisol
relation medical condition treated
type medical sign
['cortisol', 'medical condition treated', {'concept': 'health problem'}] ['cortisol', 'medical condition treated', {'concept': 'medical sign'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { ?s rdf:type ?i . VALUES ( ?i ) { ( ontology:medical_sign ) ( ontology:health_problem ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q18554674
P2176
Q8386 Q2057971
USER
Which health problems are treated with lesser number of drugs than cerebral malaria ?
(c(Q2057971),P2176,c(Q8386))
action less
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q18554674
relation P2176
type Q8386
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c rdf:type ontology:Q8386 . resource:Q18554674 property:P2176 ?c } } . FILTER ( ?s < ?o ) . { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?s ) WHERE { ?z property:P2176 ?y . ?z rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q8386 } GROUP BY ?z } }
cerebral malaria
action less
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
action count
action filter_type
action find
entity cerebral malaria
relation drug used for treatment
type drug
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c rdf:type ontology:drug . resource:cerebral_malaria property:drug_used_for_treatment ?c } } . FILTER ( ?s < ?o ) . { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?s ) WHERE { ?z property:drug_used_for_treatment ?y . ?z rdf:type ontology:health_problem . ?y rdf:type ontology:drug } GROUP BY ?z } }
[]
drug health problem
Q2351083 Q221472 Q207087
SYSTEM
disease of metabolism, fragile X syndrome, ectopic pregnancy
Q21154326 Q18557091 Q184084 Q612681 Q2351083 Q954674 Q207087 Q3144201 Q1573307 Q221472 Q899726 Q2306782 Q972514 Q5062153
(c(Q2057971),P2176,c(Q8386))
action less
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q18554674
relation P2176
type Q8386
[ANSWERS] are treated with lesser number of drugs than cerebral malaria
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c rdf:type ontology:Q8386 . resource:Q18554674 property:P2176 ?c } } . FILTER ( ?s < ?o ) . { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?s ) WHERE { ?z property:P2176 ?y . ?z rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q8386 } GROUP BY ?z } }
ariboflavinosis microglandular adenosis beriberi anuria disease of metabolism iron deficiency anemia ectopic pregnancy Excessive daytime sleepiness Wernicke encephalopathy fragile X syndrome Spinocerebellar ataxia hypochromic anemia optic neuritis central sleep apnea
Disease of metabolism, fragile X syndrome and ectopic pregnancy are treated with lesser number of drugs than cerebral malaria
disease of metabolism fragile X syndrome ectopic pregnancy
action less
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
action count
action filter_type
action find
entity cerebral malaria
relation drug used for treatment
type drug
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c rdf:type ontology:drug . resource:cerebral_malaria property:drug_used_for_treatment ?c } } . FILTER ( ?s < ?o ) . { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?s ) WHERE { ?z property:drug_used_for_treatment ?y . ?z rdf:type ontology:health_problem . ?y rdf:type ontology:drug } GROUP BY ?z } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q18555063
P2176
Q8386 Q2057971
USER
And how about West Nile encephalitis?
(c(Q2057971),P2176,c(Q8386))
action less
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q18555063
relation P2176
type Q8386
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Q18555063 property:P2176 ?w . ?w rdf:type ontology:Q8386 } } . FILTER ( ?d < ?k ) . { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?d ) WHERE { ?a property:P2176 ?q . ?a rdf:type ontology:Q2057971 . ?q rdf:type ontology:Q8386 } GROUP BY ?a } }
West Nile encephalitis
action less
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
action count
action filter_type
action find
entity West Nile encephalitis
relation drug used for treatment
type drug
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:West_Nile_encephalitis property:drug_used_for_treatment ?w . ?w rdf:type ontology:drug } } . FILTER ( ?d < ?k ) . { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?d ) WHERE { ?a property:drug_used_for_treatment ?q . ?a rdf:type ontology:health_problem . ?q rdf:type ontology:drug } GROUP BY ?a } }
[]
drug health problem
Q2351083 Q221472 Q207087
SYSTEM
disease of metabolism, fragile X syndrome, ectopic pregnancy
Q21154326 Q18557091 Q184084 Q612681 Q2351083 Q954674 Q207087 Q3144201 Q1573307 Q221472 Q899726 Q2306782 Q972514 Q5062153
(c(Q2057971),P2176,c(Q8386))
action less
action find_tuple_counts
relation P2176
type Q2057971
type Q8386
action count
action filter_type
action find
entity Q18555063
relation P2176
type Q8386
[ANSWERS]
[{'concept': 'Q2057971'}, 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Q18555063 property:P2176 ?w . ?w rdf:type ontology:Q8386 } } . FILTER ( ?d < ?k ) . { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?d ) WHERE { ?a property:P2176 ?q . ?a rdf:type ontology:Q2057971 . ?q rdf:type ontology:Q8386 } GROUP BY ?a } }
ariboflavinosis microglandular adenosis beriberi anuria disease of metabolism iron deficiency anemia ectopic pregnancy Excessive daytime sleepiness Wernicke encephalopathy fragile X syndrome Spinocerebellar ataxia hypochromic anemia optic neuritis central sleep apnea
disease of metabolism fragile X syndrome ectopic pregnancy
action less
action find_tuple_counts
relation drug used for treatment
type health problem
type drug
action count
action filter_type
action find
entity West Nile encephalitis
relation drug used for treatment
type drug
[{'concept': 'health problem'}, 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:West_Nile_encephalitis property:drug_used_for_treatment ?w . ?w rdf:type ontology:drug } } . FILTER ( ?d < ?k ) . { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?d ) WHERE { ?a property:drug_used_for_treatment ?q . ?a rdf:type ontology:health_problem . ?q rdf:type ontology:drug } GROUP BY ?a } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q15978631 Q5075435
P703 P2293
Q863908
USER
Which nucleic acid sequences are genetically correlated with alopecia areata and are found in the taxon Homo sapiens ?
AND((c(Q863908),P2293,Q5075435), (c(Q863908),P703,Q15978631))
action filter_type
action intersection
action find_reverse
entity Q5075435
relation P2293
action find_reverse
entity Q15978631
relation P703
type Q863908
{'AND': [[{'concept': 'Q863908'}, 'P2293', 'Q5075435'], [{'concept': 'Q863908'}, 'P703', 'Q15978631']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q863908 . ?s property:P703 resource:Q15978631 . ?s property:P2293 resource:Q5075435 }
Homo sapiens alopecia areata
action filter_type
action intersection
action find_reverse
entity alopecia areata
relation genetic association
action find_reverse
entity Homo sapiens
relation found in taxon
type nucleic acid sequence
{'AND': [[{'concept': 'nucleic acid sequence'}, 'genetic association', 'alopecia areata'], [{'concept': 'nucleic acid sequence'}, 'found in taxon', 'Homo sapiens']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:nucleic_acid_sequence . ?s property:found_in_taxon resource:Homo_sapiens . ?s property:genetic_association resource:alopecia_areata }
[]
nucleic acid sequence
Q18041475 Q18027819 Q18045645
SYSTEM
STX17, IL2RA, IKZF4
Q18041475 Q18027819 Q18045645
AND((c(Q863908),P2293,Q5075435), (c(Q863908),P703,Q15978631))
action filter_type
action intersection
action find_reverse
entity Q5075435
relation P2293
action find_reverse
entity Q15978631
relation P703
type Q863908
[ANSWERS] are genetically correlated with alopecia areata and are found in the taxon Homo sapiens
{'AND': [[{'concept': 'Q863908'}, 'P2293', 'Q5075435'], [{'concept': 'Q863908'}, 'P703', 'Q15978631']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q863908 . ?s property:P703 resource:Q15978631 . ?s property:P2293 resource:Q5075435 }
STX17 IL2RA IKZF4
STX17, IL2RA and IKZF4 are genetically correlated with alopecia areata and are found in the taxon Homo sapiens
STX17 IL2RA IKZF4
action filter_type
action intersection
action find_reverse
entity alopecia areata
relation genetic association
action find_reverse
entity Homo sapiens
relation found in taxon
type nucleic acid sequence
{'AND': [[{'concept': 'nucleic acid sequence'}, 'genetic association', 'alopecia areata'], [{'concept': 'nucleic acid sequence'}, 'found in taxon', 'Homo sapiens']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:nucleic_acid_sequence . ?s property:found_in_taxon resource:Homo_sapiens . ?s property:genetic_association resource:alopecia_areata }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q18041475
P2293
Q2057971
USER
How many health problems have hereditary association with STX17 ?
(Q18041475,P2293,c(Q2057971))
action count
action filter_type
action find
entity Q18041475
relation P2293
type Q2057971
['Q18041475', 'P2293', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w rdf:type ontology:Q2057971 . resource:Q18041475 property:P2293 ?w }
STX17
action count
action filter_type
action find
entity STX17
relation genetic association
type health problem
['STX17', 'genetic association', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w rdf:type ontology:health_problem . resource:STX17 property:genetic_association ?w }
[]
health problem
SYSTEM
1
Q5075435
(Q18041475,P2293,c(Q2057971))
action count
action filter_type
action find
entity Q18041475
relation P2293
type Q2057971
[ANSWER]
['Q18041475', 'P2293', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w rdf:type ontology:Q2057971 . resource:Q18041475 property:P2293 ?w }
alopecia areata
1
action count
action filter_type
action find
entity STX17
relation genetic association
type health problem
['STX17', 'genetic association', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w rdf:type ontology:health_problem . resource:STX17 property:genetic_association ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18041475
P684
Q863908
USER
Which nucleic acid sequence is an orthologous gene for that one ?
action filter_type
action find
entity Q18041475
relation P684
type Q863908
SELECT DISTINCT ?w WHERE { resource:Q18041475 property:P684 ?w . ?w rdf:type ontology:Q863908 }
STX17
action filter_type
action find
entity STX17
relation ortholog
type nucleic acid sequence
SELECT DISTINCT ?w WHERE { resource:STX17 property:ortholog ?w . ?w rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18262741
SYSTEM
Stx17
Q18262741
action filter_type
action find
entity Q18041475
relation P684
type Q863908
[ANSWER] is an orthologous gene for that one
SELECT DISTINCT ?w WHERE { resource:Q18041475 property:P684 ?w . ?w rdf:type ontology:Q863908 }
Stx17
Stx17 is an orthologous gene for that one
Stx17
action filter_type
action find
entity STX17
relation ortholog
type nucleic acid sequence
SELECT DISTINCT ?w WHERE { resource:STX17 property:ortholog ?w . ?w rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18262741
P688
Q181394
USER
What is encoded by that nucleic acid sequence ?
(Q18262741,P688,c(Q181394))
action filter_type
action find
entity Q18262741
relation P688
type Q181394
['Q18262741', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?m WHERE { resource:Q18262741 property:P688 ?m . ?m rdf:type ontology:Q181394 }
Stx17
action filter_type
action find
entity Stx17
relation encodes
type nutrient
['Stx17', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?m WHERE { resource:Stx17 property:encodes ?m . ?m rdf:type ontology:nutrient }
[]
nutrient
Q21991753
SYSTEM
Syntaxin-17
Q21991753
(Q18262741,P688,c(Q181394))
action filter_type
action find
entity Q18262741
relation P688
type Q181394
The [ANSWER] is encoded by that nucleic acid sequence
['Q18262741', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?m WHERE { resource:Q18262741 property:P688 ?m . ?m rdf:type ontology:Q181394 }
Syntaxin-17
The Syntaxin-17 is encoded by that nucleic acid sequence
Syntaxin-17
action filter_type
action find
entity Stx17
relation encodes
type nutrient
['Stx17', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?m WHERE { resource:Stx17 property:encodes ?m . ?m rdf:type ontology:nutrient }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q367700 Q2697833
P2176
Q2057971
USER
Which health problems are cured by Abatacept but not Cyclosporine ?
AND((c(Q2057971),P2176,Q2697833), NOT((c(Q2057971),P2176,Q367700)))
action filter_type
action difference
action find_reverse
entity Q2697833
relation P2176
action find_reverse
entity Q367700
relation P2176
type Q2057971
{'AND': [[{'concept': 'Q2057971'}, 'P2176', 'Q2697833'], {'NOT': [[{'concept': 'Q2057971'}, 'P2176', 'Q367700']]}]}
SELECT DISTINCT ?i WHERE { ?i property:P2176 resource:Q2697833 . FILTER NOT EXISTS { ?i property:P2176 resource:Q367700 } . ?i rdf:type ontology:Q2057971 }
Cyclosporine Abatacept
action filter_type
action difference
action find_reverse
entity Abatacept
relation drug used for treatment
action find_reverse
entity Cyclosporine
relation drug used for treatment
type health problem
{'AND': [[{'concept': 'health problem'}, 'drug used for treatment', 'Abatacept'], {'NOT': [[{'concept': 'health problem'}, 'drug used for treatment', 'Cyclosporine']]}]}
SELECT DISTINCT ?i WHERE { ?i property:drug_used_for_treatment resource:Abatacept . FILTER NOT EXISTS { ?i property:drug_used_for_treatment resource:Cyclosporine } . ?i rdf:type ontology:health_problem }
[]
health problem
Q1477 Q41861 Q52849 Q180152 Q5075435 Q1161568 Q124407 Q335555 Q187440 Q8277
SYSTEM
Some of them are ulcerative colitis, hypertension, ankylosing spondylitis, Vitiligo, alopecia areata, Granulomatosis with polyangiits, type 1 diabetes mellitus, Sjögren's syndrome, urticaria, multiple sclerosis
Q335555 Q511097 Q41861 Q52849 Q124407 Q18554846 Q187440 Q1477 Q1161568 Q35869 Q8277 Q861224 Q180152 Q5075435
AND((c(Q2057971),P2176,Q2697833), NOT((c(Q2057971),P2176,Q367700)))
action filter_type
action difference
action find_reverse
entity Q2697833
relation P2176
action find_reverse
entity Q367700
relation P2176
type Q2057971
[ANSWERS] are cured by Abatacept but not Cyclosporine
{'AND': [[{'concept': 'Q2057971'}, 'P2176', 'Q2697833'], {'NOT': [[{'concept': 'Q2057971'}, 'P2176', 'Q367700']]}]}
SELECT DISTINCT ?i WHERE { ?i property:P2176 resource:Q2697833 . FILTER NOT EXISTS { ?i property:P2176 resource:Q367700 } . ?i rdf:type ontology:Q2057971 }
Sjögren's syndrome psoriatic arthritis hypertension ankylosing spondylitis type 1 diabetes mellitus diffuse scleroderma urticaria ulcerative colitis Granulomatosis with polyangiits asthma multiple sclerosis juvenile idiopathic arthritis Vitiligo alopecia areata
Ulcerative colitis, hypertension, ankylosing spondylitis, Vitiligo, alopecia areata, Granulomatosis with polyangiits, type 1 diabetes mellitus, Sjögren's syndrome, urticaria and multiple sclerosis are cured by Abatacept but not Cyclosporine
ulcerative colitis hypertension ankylosing spondylitis Vitiligo alopecia areata Granulomatosis with polyangiits type 1 diabetes mellitus Sjögren's syndrome urticaria multiple sclerosis
action filter_type
action difference
action find_reverse
entity Abatacept
relation drug used for treatment
action find_reverse
entity Cyclosporine
relation drug used for treatment
type health problem
{'AND': [[{'concept': 'health problem'}, 'drug used for treatment', 'Abatacept'], {'NOT': [[{'concept': 'health problem'}, 'drug used for treatment', 'Cyclosporine']]}]}
SELECT DISTINCT ?i WHERE { ?i property:drug_used_for_treatment resource:Abatacept . FILTER NOT EXISTS { ?i property:drug_used_for_treatment resource:Cyclosporine } . ?i rdf:type ontology:health_problem }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P780
Q2057971 Q12136 Q2057971
USER
Which health problems are a sign of min number of diseases or health problems ?
(c(Q12136)|c(Q2057971),P780,c(Q2057971))
action argmin
action union
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q12136
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q2057971
[[{'concept': 'Q12136'}, {'concept': 'Q2057971'}], 'P780', {'concept': 'Q2057971'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?n = ?a ) . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?n ) WHERE { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:Q12136 ) ( ontology:Q2057971 ) } } GROUP BY ?f } . { SELECT DISTINCT ( MIN ( ?t ) AS ?a ) { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?t ) WHERE { { ?b property:P780 ?j . ?j rdf:type ontology:Q2057971 . ?b rdf:type ontology:Q2057971 } UNION { ?b property:P780 ?j . ?j rdf:type ontology:Q2057971 . ?b rdf:type ontology:Q12136 } } GROUP BY ?j } } }
action argmin
action union
action find_reverse_tuple_counts
relation symptoms
type health problem
type disease
action find_reverse_tuple_counts
relation symptoms
type health problem
type health problem
[[{'concept': 'disease'}, {'concept': 'health problem'}], 'symptoms', {'concept': 'health problem'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?n = ?a ) . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?n ) WHERE { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:disease ) ( ontology:health_problem ) } } GROUP BY ?f } . { SELECT DISTINCT ( MIN ( ?t ) AS ?a ) { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?t ) WHERE { { ?b property:symptoms ?j . ?j rdf:type ontology:health_problem . ?b rdf:type ontology:health_problem } UNION { ?b property:symptoms ?j . ?j rdf:type ontology:health_problem . ?b rdf:type ontology:disease } } GROUP BY ?j } } }
[]
health problem disease health problem
Q844935 Q35869 Q221668
SYSTEM
coronary artery disease, asthma, acute cystitis
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(Q12136)|c(Q2057971),P780,c(Q2057971))
action argmin
action union
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q12136
action find_reverse_tuple_counts
relation P780
type Q2057971
type Q2057971
[ANSWERS] are a sign of min number of diseases or health problems
[[{'concept': 'Q12136'}, {'concept': 'Q2057971'}], 'P780', {'concept': 'Q2057971'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?n = ?a ) . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?n ) WHERE { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:Q12136 ) ( ontology:Q2057971 ) } } GROUP BY ?f } . { SELECT DISTINCT ( MIN ( ?t ) AS ?a ) { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?t ) WHERE { { ?b property:P780 ?j . ?j rdf:type ontology:Q2057971 . ?b rdf:type ontology:Q2057971 } UNION { ?b property:P780 ?j . ?j rdf:type ontology:Q2057971 . ?b rdf:type ontology:Q12136 } } GROUP BY ?j } } }
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
Coronary artery disease, asthma and acute cystitis are a sign of min number of diseases or health problems
coronary artery disease asthma acute cystitis
action argmin
action union
action find_reverse_tuple_counts
relation symptoms
type health problem
type disease
action find_reverse_tuple_counts
relation symptoms
type health problem
type health problem
[[{'concept': 'disease'}, {'concept': 'health problem'}], 'symptoms', {'concept': 'health problem'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?n = ?a ) . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?n ) WHERE { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:disease ) ( ontology:health_problem ) } } GROUP BY ?f } . { SELECT DISTINCT ( MIN ( ?t ) AS ?a ) { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?t ) WHERE { { ?b property:symptoms ?j . ?j rdf:type ontology:health_problem . ?b rdf:type ontology:health_problem } UNION { ?b property:symptoms ?j . ?j rdf:type ontology:health_problem . ?b rdf:type ontology:disease } } GROUP BY ?j } } }
[]