Simple Question (Direct)
Simple Question
Q173547
P1196
Q1931388
USER
What situation did Teddy Mayer die in ?
(Q173547,P1196,c(Q1931388))
action filter_type
action find
entity Q173547
relation P1196
type Q1931388
['Q173547', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?l WHERE { resource:Q173547 property:P1196 ?l . ?l rdf:type ontology:Q1931388 }
Teddy Mayer
action filter_type
action find
entity Teddy Mayer
relation manner of death
type cause of death
['Teddy Mayer', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?l WHERE { resource:Teddy_Mayer property:manner_of_death ?l . ?l rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q173547,P1196,c(Q1931388))
action filter_type
action find
entity Q173547
relation P1196
type Q1931388
Teddy Mayer died of [ANSWER]
['Q173547', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?l WHERE { resource:Q173547 property:P1196 ?l . ?l rdf:type ontology:Q1931388 }
natural causes
Teddy Mayer died of natural causes
natural causes
action filter_type
action find
entity Teddy Mayer
relation manner of death
type cause of death
['Teddy Mayer', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?l WHERE { resource:Teddy_Mayer property:manner_of_death ?l . ?l rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q173547
P1050
Q2057971
USER
What does Teddy Mayer suffer from ?
(Q173547,P1050,c(Q2057971))
action filter_type
action find
entity Q173547
relation P1050
type Q2057971
['Q173547', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2057971 . resource:Q173547 property:P1050 ?b }
Teddy Mayer
action filter_type
action find
entity Teddy Mayer
relation medical condition
type health problem
['Teddy Mayer', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:health_problem . resource:Teddy_Mayer property:medical_condition ?b }
[]
health problem
Q11085
SYSTEM
Parkinson's disease
Q11085
(Q173547,P1050,c(Q2057971))
action filter_type
action find
entity Q173547
relation P1050
type Q2057971
Teddy Mayer suffers from [ANSWER]
['Q173547', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2057971 . resource:Q173547 property:P1050 ?b }
Parkinson's disease
Teddy Mayer suffers from Parkinson's disease
Parkinson's disease
action filter_type
action find
entity Teddy Mayer
relation medical condition
type health problem
['Teddy Mayer', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:health_problem . resource:Teddy_Mayer property:medical_condition ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q173547
P69
Q3918
USER
What is the university where Teddy Mayer was educated ?
(Q173547,P69,c(Q3918))
action filter_type
action find
entity Q173547
relation P69
type Q3918
['Q173547', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?j WHERE { resource:Q173547 property:P69 ?j . ?j rdf:type ontology:Q3918 }
Teddy Mayer
action filter_type
action find
entity Teddy Mayer
relation educated at
type university
['Teddy Mayer', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?j WHERE { resource:Teddy_Mayer property:educated_at ?j . ?j rdf:type ontology:university }
[]
university
Q845768
SYSTEM
Cornell Law School
Q845768
(Q173547,P69,c(Q3918))
action filter_type
action find
entity Q173547
relation P69
type Q3918
The university Teddy Mayer was educated is [ANSWER]
['Q173547', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?j WHERE { resource:Q173547 property:P69 ?j . ?j rdf:type ontology:Q3918 }
Cornell Law School
The university Teddy Mayer was educated is Cornell Law School
Cornell Law School
action filter_type
action find
entity Teddy Mayer
relation educated at
type university
['Teddy Mayer', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?j WHERE { resource:Teddy_Mayer property:educated_at ?j . ?j rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q173547
P509
Q2057971
USER
Which health problem was the cause of death of that person ?
(Q845768,P509,c(Q2057971))
action filter_type
action find
entity Q173547
relation P509
type Q2057971
['Q845768', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?m WHERE { resource:Q173547 property:P509 ?m . ?m rdf:type ontology:Q2057971 }
Teddy Mayer
action filter_type
action find
entity Teddy Mayer
relation cause of death
type health problem
['Cornell Law School', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?m WHERE { resource:Teddy_Mayer property:cause_of_death ?m . ?m rdf:type ontology:health_problem }
[]
health problem
Q11085
SYSTEM
Parkinson's disease
Q11085
(Q845768,P509,c(Q2057971))
action filter_type
action find
entity Q173547
relation P509
type Q2057971
The [ANSWER] was the cause of death of that person
['Q845768', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?m WHERE { resource:Q173547 property:P509 ?m . ?m rdf:type ontology:Q2057971 }
Parkinson's disease
The Parkinson's disease was the cause of death of that person
Parkinson's disease
action filter_type
action find
entity Teddy Mayer
relation cause of death
type health problem
['Cornell Law School', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?m WHERE { resource:Teddy_Mayer property:cause_of_death ?m . ?m rdf:type ontology:health_problem }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q456335 Q173547
P509
Q2057971
USER
Or Eric Gale?
OR((Q173547,P509,c(Q2057971)), (Q456335,P509,c(Q2057971)))
action filter_type
action union
action find
entity Q173547
relation P509
action find
entity Q456335
relation P509
type Q2057971
{'OR': [['Q173547', 'P509', {'concept': 'Q2057971'}], ['Q456335', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2057971 . { { resource:Q173547 property:P509 ?q } UNION { resource:Q456335 property:P509 ?q } } }
Eric Gale Teddy Mayer
action filter_type
action union
action find
entity Teddy Mayer
relation cause of death
action find
entity Eric Gale
relation cause of death
type health problem
{'OR': [['Teddy Mayer', 'cause of death', {'concept': 'health problem'}], ['Eric Gale', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:health_problem . { { resource:Teddy_Mayer property:cause_of_death ?q } UNION { resource:Eric_Gale property:cause_of_death ?q } } }
[]
health problem
Q47912 Q11085
SYSTEM
lung cancer, Parkinson's disease
Q47912 Q11085
OR((Q173547,P509,c(Q2057971)), (Q456335,P509,c(Q2057971)))
action filter_type
action union
action find
entity Q173547
relation P509
action find
entity Q456335
relation P509
type Q2057971
[ANSWERS]
{'OR': [['Q173547', 'P509', {'concept': 'Q2057971'}], ['Q456335', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2057971 . { { resource:Q173547 property:P509 ?q } UNION { resource:Q456335 property:P509 ?q } } }
lung cancer Parkinson's disease
lung cancer Parkinson's disease
action filter_type
action union
action find
entity Teddy Mayer
relation cause of death
action find
entity Eric Gale
relation cause of death
type health problem
{'OR': [['Teddy Mayer', 'cause of death', {'concept': 'health problem'}], ['Eric Gale', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:health_problem . { { resource:Teddy_Mayer property:cause_of_death ?q } UNION { resource:Eric_Gale property:cause_of_death ?q } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P2176
Q8386
USER
How many drugs are used as a remedy for that health problem ?
(Q11085,P2176,c(Q8386))
['Q11085', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q11085 property:P2176 ?z . ?z rdf:type ontology:Q8386 }
["Parkinson's disease", 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Parkinson's_disease property:drug_used_for_treatment ?z . ?z rdf:type ontology:drug }
[]
drug
Quantitative|Count|Single entity type|Clarification
Q47912
SYSTEM
Did you mean lung cancer ?
(Q47912,P2176,c(Q8386)) (Q11085,P2176,c(Q8386))
[ANSWER]
['Q47912', 'P2176', {'concept': 'Q8386'}] ['Q11085', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q11085 property:P2176 ?z . ?z rdf:type ontology:Q8386 }
Did you mean lung cancer ?
lung cancer
['lung cancer', 'drug used for treatment', {'concept': 'drug'}] ["Parkinson's disease", 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Parkinson's_disease property:drug_used_for_treatment ?z . ?z rdf:type ontology:drug }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Parkinson's disease. Could you tell me the answer for that?
(Q11085,P2176,c(Q8386))
Q11085
['Q11085', 'P2176', {'concept': 'Q8386'}]
["Parkinson's disease", 'drug used for treatment', {'concept': 'drug'}]
[]
SYSTEM
23
Q3950557 Q423308 Q219957 Q411985 Q414225 Q300989 Q60235 Q411887 Q420590 Q2991856 Q416444 Q3151081 Q414873 Q413581 Q57055 Q409761 Q421304 Q414914 Q868658 Q2195995 Q413840 Q415752 Q417762
(Q11085,P2176,c(Q8386))
[ANSWER]
['Q11085', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q11085 property:P2176 ?z . ?z rdf:type ontology:Q8386 }
Sargramostim cabergoline zonisamide rotigotine carbidopa levodopa caffeine rivastigmine ropinirole trihexyphenidyl entacapone Filgrastim Isradipine bromocriptine paracetamol amantidine pramipexole biperiden perampanel repaglinide tolcapone pergolide Exenatide
23
["Parkinson's disease", 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Parkinson's_disease property:drug_used_for_treatment ?z . ?z rdf:type ontology:drug }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1899576
P1542
Q3839081 Q12136 Q2057971
USER
How many health problems caused lesser number of disasters or diseases than Vasa praevia ?
(c(Q2057971),P1542,c(Q3839081)|c(Q12136))
action count
action less
action union
action find_tuple_counts
relation P1542
type Q2057971
type Q3839081
action find_tuple_counts
relation P1542
type Q2057971
type Q12136
action count
action filter_multi_types
action find
entity Q1899576
relation P1542
type Q3839081
type Q12136
[{'concept': 'Q2057971'}, 'P1542', [{'concept': 'Q3839081'}, {'concept': 'Q12136'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?s WHERE { ?d rdf:type ?y . VALUES ( ?y ) { ( ontology:Q3839081 ) ( ontology:Q12136 ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Q1899576 property:P1542 ?z . { VALUES ( ?h ) { ( ontology:Q3839081 ) ( ontology:Q12136 ) } . ?z rdf:type ?h } } } . FILTER ( ?f < ?c ) }
Vasa praevia
action count
action less
action union
action find_tuple_counts
relation cause of
type health problem
type disaster
action find_tuple_counts
relation cause of
type health problem
type disease
action count
action filter_multi_types
action find
entity Vasa praevia
relation cause of
type disaster
type disease
[{'concept': 'health problem'}, 'cause of', [{'concept': 'disaster'}, {'concept': 'disease'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?s WHERE { ?d rdf:type ?y . VALUES ( ?y ) { ( ontology:disaster ) ( ontology:disease ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Vasa_praevia property:cause_of ?z . { VALUES ( ?h ) { ( ontology:disaster ) ( ontology:disease ) } . ?z rdf:type ?h } } } . FILTER ( ?f < ?c ) }
[]
disaster disease health problem
SYSTEM
30
Q1504570 Q12125 Q357522 Q3541798 Q5572555 Q3043135 Q39222 Q42982 Q2465347 Q5797309 Q155857 Q2753827 Q241827 Q929963 Q844935 Q121041 Q15734316 Q599683 Q23037745 Q943897 Q180152 Q147778 Q133823 Q217519 Q4330029 Q4826344 Q133780 Q2840 Q131742 Q664174
(c(Q2057971),P1542,c(Q3839081)|c(Q12136))
action count
action less
action union
action find_tuple_counts
relation P1542
type Q2057971
type Q3839081
action find_tuple_counts
relation P1542
type Q2057971
type Q12136
action count
action filter_multi_types
action find
entity Q1899576
relation P1542
type Q3839081
type Q12136
[ANSWER]
[{'concept': 'Q2057971'}, 'P1542', [{'concept': 'Q3839081'}, {'concept': 'Q12136'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?s WHERE { ?d rdf:type ?y . VALUES ( ?y ) { ( ontology:Q3839081 ) ( ontology:Q12136 ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Q1899576 property:P1542 ?z . { VALUES ( ?h ) { ( ontology:Q3839081 ) ( ontology:Q12136 ) } . ?z rdf:type ?h } } } . FILTER ( ?f < ?c ) }
protein C deficiency common cold Adipsia Tuberculosis of the adrenal glands glycerol kinase deficiency congenital lactase deficiency rabies type I hypersensitivity thyroid adenoma lacrimal duct obstruction rubella Pigment dispersion syndrome Upper airway resistance syndrome Primary polydipsia coronary artery disease appendicitis underlying disease Brugada syndrome pollen allergy gastroparesis Vitiligo liver cirrhosis migraine bubonic plague airway obstruction Autoimmune inner ear disease plague influenza hepatitis asbestosis
30
action count
action less
action union
action find_tuple_counts
relation cause of
type health problem
type disaster
action find_tuple_counts
relation cause of
type health problem
type disease
action count
action filter_multi_types
action find
entity Vasa praevia
relation cause of
type disaster
type disease
[{'concept': 'health problem'}, 'cause of', [{'concept': 'disaster'}, {'concept': 'disease'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) ?s WHERE { ?d rdf:type ?y . VALUES ( ?y ) { ( ontology:disaster ) ( ontology:disease ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Vasa_praevia property:cause_of ?z . { VALUES ( ?h ) { ( ontology:disaster ) ( ontology:disease ) } . ?z rdf:type ?h } } } . FILTER ( ?f < ?c ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q23444695 Q11085
P702 P2293
Q863908
USER
Which nucleic acid sequences have genetic relation with Parkinson's disease or are the gene that encodes 5-formyltetrahydrofolate cyclo-ligase    VP2591 ?
OR((Q11085,P2293,c(Q863908)), (Q23444695,P702,c(Q863908)))
action filter_type
action union
action find
entity Q11085
relation P2293
action find
entity Q23444695
relation P702
type Q863908
{'OR': [['Q11085', 'P2293', {'concept': 'Q863908'}], ['Q23444695', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q11085 property:P2293 ?h } UNION { resource:Q23444695 property:P702 ?h } } . ?h rdf:type ontology:Q863908 }
5-formyltetrahydrofolate cyclo-ligase    VP2591 Parkinson's disease
action filter_type
action union
action find
entity Parkinson's disease
relation genetic association
action find
entity 5-formyltetrahydrofolate cyclo-ligase    VP2591
relation encoded by
type nucleic acid sequence
{'OR': [["Parkinson's disease", 'genetic association', {'concept': 'nucleic acid sequence'}], ['5-formyltetrahydrofolate cyclo-ligase    VP2591', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Parkinson's_disease property:genetic_association ?h } UNION { resource:5-formyltetrahydrofolate_cyclo-ligase____VP2591 property:encoded_by ?h } } . ?h rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18297975 Q17912742 Q18033064 Q17853626 Q18032360 Q18031477 Q3011469 Q15331136 Q18036533 Q18052256
SYSTEM
Some of them are GAK, DGKQ, ITGA8, BST1, WNT3, SH3GL2, DSG3, LRRK2, AAK1, CNKSR3
Q15331136 Q18036598 Q5145896 Q18045528 Q18033776 Q14865307 Q3011469 Q18031133 Q17912742 Q18048952 Q18032360 Q14862268 Q18036533 Q18053750 Q18049353 Q18035435 Q23166409 Q14904874 Q18297975 Q14860336 Q17914010 Q18031477 Q18052256 Q18046343 Q18052210 Q18033064 Q17853626
OR((Q11085,P2293,c(Q863908)), (Q23444695,P702,c(Q863908)))
action filter_type
action union
action find
entity Q11085
relation P2293
action find
entity Q23444695
relation P702
type Q863908
[ANSWERS] have genetic relation with Parkinson's disease or are the gene that encodes 5-formyltetrahydrofolate cyclo-ligase VP2591
{'OR': [['Q11085', 'P2293', {'concept': 'Q863908'}], ['Q23444695', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q11085 property:P2293 ?h } UNION { resource:Q23444695 property:P702 ?h } } . ?h rdf:type ontology:Q863908 }
LRRK2 ATF6 COL13A1 PRDM15 SEMA5A MAPT DSG3 RIT2 DGKQ SLC2A13 WNT3 SNCA AAK1 SLC41A1 CLRN3 UNC13B 5-formyltetrahydrofolate cyclo-ligase    VP2591 HLA-DRA GAK NSF DLG2 SH3GL2 CNKSR3 CCDC82 C4orf26 ITGA8 BST1
GAK, DGKQ, ITGA8, BST1, WNT3, SH3GL2, DSG3, LRRK2, AAK1 and CNKSR3 have genetic relation with Parkinson's disease or are the gene that encodes 5-formyltetrahydrofolate cyclo-ligase VP2591
GAK DGKQ ITGA8 BST1 WNT3 SH3GL2 DSG3 LRRK2 AAK1 CNKSR3
action filter_type
action union
action find
entity Parkinson's disease
relation genetic association
action find
entity 5-formyltetrahydrofolate cyclo-ligase    VP2591
relation encoded by
type nucleic acid sequence
{'OR': [["Parkinson's disease", 'genetic association', {'concept': 'nucleic acid sequence'}], ['5-formyltetrahydrofolate cyclo-ligase    VP2591', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Parkinson's_disease property:genetic_association ?h } UNION { resource:5-formyltetrahydrofolate_cyclo-ligase____VP2591 property:encoded_by ?h } } . ?h rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q11085
P2293
Q2057971
USER
Are Parkinson's disease genetically linked with those nucleic acid sequences ?
(Q11085,P2293,Q18297975) (Q11085,P2293,Q17912742) (Q11085,P2293,Q18033064) (Q11085,P2293,Q17853626) (Q11085,P2293,Q18032360) (Q11085,P2293,Q18031477) (Q11085,P2293,Q3011469) (Q11085,P2293,Q15331136) (Q11085,P2293,Q18036533) (Q11085,P2293,Q18052256)
action is_in
entity prev_answer
action find
entity Q11085
relation P2293
['Q11085', 'P2293', 'Q18297975'] ['Q11085', 'P2293', 'Q17912742'] ['Q11085', 'P2293', 'Q18033064'] ['Q11085', 'P2293', 'Q17853626'] ['Q11085', 'P2293', 'Q18032360'] ['Q11085', 'P2293', 'Q18031477'] ['Q11085', 'P2293', 'Q3011469'] ['Q11085', 'P2293', 'Q15331136'] ['Q11085', 'P2293', 'Q18036533'] ['Q11085', 'P2293', 'Q18052256']
ASK WHERE { VALUES ( ?p ) { ( resource:Q15331136 ) ( resource:Q18036598 ) ( resource:Q5145896 ) } . resource:Q11085 property:P2293 ?p }
Parkinson's disease
action is_in
entity prev_answer
action find
entity Parkinson's disease
relation genetic association
["Parkinson's disease", 'genetic association', 'GAK'] ["Parkinson's disease", 'genetic association', 'DGKQ'] ["Parkinson's disease", 'genetic association', 'ITGA8'] ["Parkinson's disease", 'genetic association', 'BST1'] ["Parkinson's disease", 'genetic association', 'WNT3'] ["Parkinson's disease", 'genetic association', 'SH3GL2'] ["Parkinson's disease", 'genetic association', 'DSG3'] ["Parkinson's disease", 'genetic association', 'LRRK2'] ["Parkinson's disease", 'genetic association', 'AAK1'] ["Parkinson's disease", 'genetic association', 'CNKSR3']
ASK WHERE { VALUES ( ?p ) { ( resource:LRRK2 ) ( resource:ATF6 ) ( resource:COL13A1 ) } . resource:Parkinson's_disease property:genetic_association ?p }
[]
health problem
SYSTEM
YES
(Q11085,P2293,Q18297975) (Q11085,P2293,Q17912742) (Q11085,P2293,Q18033064) (Q11085,P2293,Q17853626) (Q11085,P2293,Q18032360) (Q11085,P2293,Q18031477) (Q11085,P2293,Q3011469) (Q11085,P2293,Q15331136) (Q11085,P2293,Q18036533) (Q11085,P2293,Q18052256)
action is_in
entity prev_answer
action find
entity Q11085
relation P2293
[ANSWER]
['Q11085', 'P2293', 'Q18297975'] ['Q11085', 'P2293', 'Q17912742'] ['Q11085', 'P2293', 'Q18033064'] ['Q11085', 'P2293', 'Q17853626'] ['Q11085', 'P2293', 'Q18032360'] ['Q11085', 'P2293', 'Q18031477'] ['Q11085', 'P2293', 'Q3011469'] ['Q11085', 'P2293', 'Q15331136'] ['Q11085', 'P2293', 'Q18036533'] ['Q11085', 'P2293', 'Q18052256']
ASK WHERE { VALUES ( ?p ) { ( resource:Q15331136 ) ( resource:Q18036598 ) ( resource:Q5145896 ) } . resource:Q11085 property:P2293 ?p }
Yes
action is_in
entity prev_answer
action find
entity Parkinson's disease
relation genetic association
["Parkinson's disease", 'genetic association', 'GAK'] ["Parkinson's disease", 'genetic association', 'DGKQ'] ["Parkinson's disease", 'genetic association', 'ITGA8'] ["Parkinson's disease", 'genetic association', 'BST1'] ["Parkinson's disease", 'genetic association', 'WNT3'] ["Parkinson's disease", 'genetic association', 'SH3GL2'] ["Parkinson's disease", 'genetic association', 'DSG3'] ["Parkinson's disease", 'genetic association', 'LRRK2'] ["Parkinson's disease", 'genetic association', 'AAK1'] ["Parkinson's disease", 'genetic association', 'CNKSR3']
ASK WHERE { VALUES ( ?p ) { ( resource:LRRK2 ) ( resource:ATF6 ) ( resource:COL13A1 ) } . resource:Parkinson's_disease property:genetic_association ?p }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q17912742 Q2603200
P2293
Q2057971
USER
Does viral pneumonia have genetic relation with DGKQ ?
(Q17912742,P2293,Q2603200)
action is_in
entity Q2603200
action find
entity Q17912742
relation P2293
['Q17912742', 'P2293', 'Q2603200']
ASK WHERE { resource:Q17912742 property:P2293 resource:Q2603200 }
DGKQ viral pneumonia
action is_in
entity viral pneumonia
action find
entity DGKQ
relation genetic association
['DGKQ', 'genetic association', 'viral pneumonia']
ASK WHERE { resource:DGKQ property:genetic_association resource:viral_pneumonia }
[]
health problem
SYSTEM
NO
(Q17912742,P2293,Q2603200)
action is_in
entity Q2603200
action find
entity Q17912742
relation P2293
[ANSWER]
['Q17912742', 'P2293', 'Q2603200']
ASK WHERE { resource:Q17912742 property:P2293 resource:Q2603200 }
No
action is_in
entity viral pneumonia
action find
entity DGKQ
relation genetic association
['DGKQ', 'genetic association', 'viral pneumonia']
ASK WHERE { resource:DGKQ property:genetic_association resource:viral_pneumonia }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P828
Q181394 Q15831576 Q2057971
USER
How many health problems do atleast 1 nutrients or fundamental state of matters lead to ?
(c(Q2057971),P828,c(Q181394)|c(Q15831576))
action count
action atleast
action union
action find_tuple_counts
relation P828
type Q2057971
type Q181394
action find_tuple_counts
relation P828
type Q2057971
type Q15831576
value 1
[{'concept': 'Q2057971'}, 'P828', [{'concept': 'Q181394'}, {'concept': 'Q15831576'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) ?f WHERE { { ?f property:P828 ?x . ?f rdf:type ontology:Q2057971 . ?x rdf:type ontology:Q181394 } UNION { ?x rdf:type ontology:Q15831576 . ?f rdf:type ontology:Q2057971 . ?f property:P828 ?x } } GROUP BY ?f } . FILTER ( ?v >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation has cause
type health problem
type nutrient
action find_tuple_counts
relation has cause
type health problem
type fundamental state of matter
value 1
[{'concept': 'health problem'}, 'has cause', [{'concept': 'nutrient'}, {'concept': 'fundamental state of matter'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) ?f WHERE { { ?f property:has_cause ?x . ?f rdf:type ontology:health_problem . ?x rdf:type ontology:nutrient } UNION { ?x rdf:type ontology:fundamental_state_of_matter . ?f rdf:type ontology:health_problem . ?f property:has_cause ?x } } GROUP BY ?f } . FILTER ( ?v >= 1 ) }
[]
nutrient fundamental state of matter health problem
SYSTEM
5
Q2397106 Q709360 Q47912 Q703961 Q1367782
(c(Q2057971),P828,c(Q181394)|c(Q15831576))
action count
action atleast
action union
action find_tuple_counts
relation P828
type Q2057971
type Q181394
action find_tuple_counts
relation P828
type Q2057971
type Q15831576
value 1
[ANSWER]
[{'concept': 'Q2057971'}, 'P828', [{'concept': 'Q181394'}, {'concept': 'Q15831576'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) ?f WHERE { { ?f property:P828 ?x . ?f rdf:type ontology:Q2057971 . ?x rdf:type ontology:Q181394 } UNION { ?x rdf:type ontology:Q15831576 . ?f rdf:type ontology:Q2057971 . ?f property:P828 ?x } } GROUP BY ?f } . FILTER ( ?v >= 1 ) }
tauopathy Von Willebrand disease lung cancer prion disease Gluten related disorders
5
action count
action atleast
action union
action find_tuple_counts
relation has cause
type health problem
type nutrient
action find_tuple_counts
relation has cause
type health problem
type fundamental state of matter
value 1
[{'concept': 'health problem'}, 'has cause', [{'concept': 'nutrient'}, {'concept': 'fundamental state of matter'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) ?f WHERE { { ?f property:has_cause ?x . ?f rdf:type ontology:health_problem . ?x rdf:type ontology:nutrient } UNION { ?x rdf:type ontology:fundamental_state_of_matter . ?f rdf:type ontology:health_problem . ?f property:has_cause ?x } } GROUP BY ?f } . FILTER ( ?v >= 1 ) }
[]