Simple Question (Direct)
Simple Question
Q14914487
P2293
Q2057971
USER
Which health problems have genetic correlation with TYK2 ?
(Q14914487,P2293,c(Q2057971))
action filter_type
action find
entity Q14914487
relation P2293
type Q2057971
['Q14914487', 'P2293', {'concept': 'Q2057971'}]
SELECT DISTINCT ?x WHERE { resource:Q14914487 property:P2293 ?x . ?x rdf:type ontology:Q2057971 }
TYK2
action filter_type
action find
entity TYK2
relation genetic association
type health problem
['TYK2', 'genetic association', {'concept': 'health problem'}]
SELECT DISTINCT ?x WHERE { resource:TYK2 property:genetic_association ?x . ?x rdf:type ontology:health_problem }
[]
health problem
Q187255 Q124407 Q179945
SYSTEM
rheumatoid arthritis, type 1 diabetes mellitus, psoriasis
Q187255 Q124407 Q179945
(Q14914487,P2293,c(Q2057971))
action filter_type
action find
entity Q14914487
relation P2293
type Q2057971
[ANSWERS] have genetic correlation with TYK2
['Q14914487', 'P2293', {'concept': 'Q2057971'}]
SELECT DISTINCT ?x WHERE { resource:Q14914487 property:P2293 ?x . ?x rdf:type ontology:Q2057971 }
rheumatoid arthritis type 1 diabetes mellitus psoriasis
Rheumatoid arthritis, type 1 diabetes mellitus and psoriasis have genetic correlation with TYK2
rheumatoid arthritis type 1 diabetes mellitus psoriasis
action filter_type
action find
entity TYK2
relation genetic association
type health problem
['TYK2', 'genetic association', {'concept': 'health problem'}]
SELECT DISTINCT ?x WHERE { resource:TYK2 property:genetic_association ?x . ?x rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q187255 Q124407 Q179945
P2293
Q863908
USER
Which nucleic acid sequences have genetic connection with rheumatoid arthritis, type 1 diabetes mellitus and psoriasis ?
(Q187255,P2293,c(Q863908)) (Q124407,P2293,c(Q863908)) (Q179945,P2293,c(Q863908))
action union
action filter_type
action find
entity Q187255
relation P2293
type Q863908
action filter_type
action find
entity Q124407
relation P2293
type Q863908
action filter_type
action find
entity Q179945
relation P2293
type Q863908
['Q187255', 'P2293', {'concept': 'Q863908'}] ['Q124407', 'P2293', {'concept': 'Q863908'}] ['Q179945', 'P2293', {'concept': 'Q863908'}]
SELECT DISTINCT ?a WHERE { { resource:Q187255 property:P2293 ?a . ?a rdf:type ontology:Q863908 } UNION { ?a rdf:type ontology:Q863908 . resource:Q124407 property:P2293 ?a } }
rheumatoid arthritis type 1 diabetes mellitus psoriasis
action union
action filter_type
action find
entity rheumatoid arthritis
relation genetic association
type nucleic acid sequence
action filter_type
action find
entity type 1 diabetes mellitus
relation genetic association
type nucleic acid sequence
action filter_type
action find
entity psoriasis
relation genetic association
type nucleic acid sequence
['rheumatoid arthritis', 'genetic association', {'concept': 'nucleic acid sequence'}] ['type 1 diabetes mellitus', 'genetic association', {'concept': 'nucleic acid sequence'}] ['psoriasis', 'genetic association', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?a WHERE { { resource:rheumatoid_arthritis property:genetic_association ?a . ?a rdf:type ontology:nucleic_acid_sequence } UNION { ?a rdf:type ontology:nucleic_acid_sequence . resource:type_1_diabetes_mellitus property:genetic_association ?a } }
[]
nucleic acid sequence
Q18042957 Q14914618 Q18037055
SYSTEM
ZMIZ1, STAT4, CLEC16A
Q18048244 Q18030404 Q18031085 Q17907808 Q14875744 Q18028257 Q18041733 Q18039842 Q14914487 Q14904803 Q17859635 Q18044485 Q18034312 Q18034959 Q18053184 Q18030107 Q18037780 Q17917639 Q18047981 Q18060531 Q18031542 Q18026547 Q18031016 Q18053373 Q14914144 Q18027822 Q18053535 Q18025464 Q20763075 Q17857829 Q18032818 Q18030926 Q18039727 Q18052491 Q18047436 Q18027819 Q14916168 Q18035590 Q18041137 Q18035049 Q18027836 Q20767240 Q14914618 Q18042025 Q18041520 Q18037015 Q18046623 Q18030852 Q14911762 Q18037287 Q18027568 Q18046296 Q18031939 Q18040614 Q17825104 Q18040736 Q3944470 Q18049490 Q18034725 Q18033868 Q18028000 Q17848770 Q18030775 Q18052870 Q14875744 Q18030926 Q18034959 Q18040614 Q18030780 Q18035049 Q18028427 Q17859695 Q18050434 Q18045327 Q17917202 Q18030506 Q18037055 Q18027819 Q18035590 Q18045582 Q17917132 Q18028616 Q18050485 Q5052484 Q14914487 Q18045645 Q18049153 Q14864515 Q18037086 Q18027842 Q18030178 Q18033186 Q18053765 Q14878303 Q18027872 Q18034707 Q17855881 Q18043101 Q18032042 Q14914487 Q14908113 Q18042957 Q18051880
(Q187255,P2293,c(Q863908)) (Q124407,P2293,c(Q863908)) (Q179945,P2293,c(Q863908))
action union
action filter_type
action find
entity Q187255
relation P2293
type Q863908
action filter_type
action find
entity Q124407
relation P2293
type Q863908
action filter_type
action find
entity Q179945
relation P2293
type Q863908
[ANSWERS] have genetic connection with rheumatoid arthritis, type 1 diabetes mellitus and psoriasis
['Q187255', 'P2293', {'concept': 'Q863908'}] ['Q124407', 'P2293', {'concept': 'Q863908'}] ['Q179945', 'P2293', {'concept': 'Q863908'}]
SELECT DISTINCT ?a WHERE { { resource:Q187255 property:P2293 ?a . ?a rdf:type ontology:Q863908 } UNION { ?a rdf:type ontology:Q863908 . resource:Q124407 property:P2293 ?a } }
C5orf30 PDE3A REL CCR6 CTLA4 KIF5A ACOXL ARHGEF3 TYK2 DPP4 CD40 WDFY4 ATG5 SH2B3 SPRED2 NFKBIE RCHY1 ETFA PPIL4 GATSL3 SLC6A11 GRM5 RAD51B RTKN2 SFTPD IL2RB JAZF1 GATA3 LOC100506023 CD247 EOMES PTPN2 TRHDE MDGA2 ARID5B IL2RA GCH1 CD226 ARL15 RASGRP1 IL6R MICA STAT4 CDK5RAP2 ENOX1 PLCL2 SPSB1 PSMA4 CDK6 PADI4 IFI16 ANKRD55 TEC UBASH3A ALPL SLCO1C1 ANXA3 PLD4 ELMO1 SYNGR1 IRF5 BLK PRKCH GLIS3 CTLA4 PTPN2 SH2B3 UBASH3A PRKCQ RASGRP1 AFF3 CD69 ADAD1 BACH2 ERBB4 PGM1 CLEC16A IL2RA CD226 IFIH1 ERBB3 LMO7 CAPSL CTSH TYK2 IKZF4 FCRL3 IL2 CUX2 IL7R NOS2 SOCS1 ZDHHC23 IL13 IL12B SPATA2 CAPZB COG6 TNFAIP3 TYK2 TSC1 ZMIZ1 IL23R
ZMIZ1, STAT4 and CLEC16A have genetic connection with rheumatoid arthritis, type 1 diabetes mellitus and psoriasis
ZMIZ1 STAT4 CLEC16A
action union
action filter_type
action find
entity rheumatoid arthritis
relation genetic association
type nucleic acid sequence
action filter_type
action find
entity type 1 diabetes mellitus
relation genetic association
type nucleic acid sequence
action filter_type
action find
entity psoriasis
relation genetic association
type nucleic acid sequence
['rheumatoid arthritis', 'genetic association', {'concept': 'nucleic acid sequence'}] ['type 1 diabetes mellitus', 'genetic association', {'concept': 'nucleic acid sequence'}] ['psoriasis', 'genetic association', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?a WHERE { { resource:rheumatoid_arthritis property:genetic_association ?a . ?a rdf:type ontology:nucleic_acid_sequence } UNION { ?a rdf:type ontology:nucleic_acid_sequence . resource:type_1_diabetes_mellitus property:genetic_association ?a } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14914487
P684
Q863908
USER
Which nucleic acid sequence is an orthologous gene for TYK2 ?
(Q14914487,P684,c(Q863908))
action filter_type
action find
entity Q14914487
relation P684
type Q863908
['Q14914487', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?w WHERE { resource:Q14914487 property:P684 ?w . ?w rdf:type ontology:Q863908 }
TYK2
action filter_type
action find
entity TYK2
relation ortholog
type nucleic acid sequence
['TYK2', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?w WHERE { resource:TYK2 property:ortholog ?w . ?w rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q14914488
SYSTEM
Tyk2
Q14914488
(Q14914487,P684,c(Q863908))
action filter_type
action find
entity Q14914487
relation P684
type Q863908
[ANSWER] is an orthologous gene for TYK2
['Q14914487', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?w WHERE { resource:Q14914487 property:P684 ?w . ?w rdf:type ontology:Q863908 }
Tyk2
Tyk2 is an orthologous gene for TYK2
Tyk2
action filter_type
action find
entity TYK2
relation ortholog
type nucleic acid sequence
['TYK2', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?w WHERE { resource:TYK2 property:ortholog ?w . ?w rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18252423
Q863908
USER
And what about Msx1?
(Q18252423,P684,c(Q863908))
action filter_type
action find
entity Q18252423
relation P684
type Q863908
['Q18252423', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?r WHERE { resource:Q18252423 property:P684 ?r . ?r rdf:type ontology:Q863908 }
Msx1
action filter_type
action find
entity Msx1
relation ortholog
type nucleic acid sequence
['Msx1', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?r WHERE { resource:Msx1 property:ortholog ?r . ?r rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18029462
SYSTEM
MSX1
Q18029462
(Q18252423,P684,c(Q863908))
action filter_type
action find
entity Q18252423
relation P684
type Q863908
[ANSWER]
['Q18252423', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?r WHERE { resource:Q18252423 property:P684 ?r . ?r rdf:type ontology:Q863908 }
MSX1
MSX1
action filter_type
action find
entity Msx1
relation ortholog
type nucleic acid sequence
['Msx1', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?r WHERE { resource:Msx1 property:ortholog ?r . ?r rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P702
Q181394
USER
How many nutrients do that nucleic acid sequence encode ?
(c(Q181394),P702,Q18029462)
action count
action filter_type
action find_reverse
entity Q18029462
relation P702
type Q181394
[{'concept': 'Q181394'}, 'P702', 'Q18029462']
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?p rdf:type ontology:Q181394 . ?p property:P702 resource:Q18029462 }
action count
action filter_type
action find_reverse
entity MSX1
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'MSX1']
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?p rdf:type ontology:nutrient . ?p property:encoded_by resource:MSX1 }
[]
nutrient
SYSTEM
1
Q21108069
(c(Q181394),P702,Q18029462)
action count
action filter_type
action find_reverse
entity Q18029462
relation P702
type Q181394
[ANSWER]
[{'concept': 'Q181394'}, 'P702', 'Q18029462']
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?p rdf:type ontology:Q181394 . ?p property:P702 resource:Q18029462 }
Homeobox protein MSX-1
1
action count
action filter_type
action find_reverse
entity MSX1
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'MSX1']
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { ?p rdf:type ontology:nutrient . ?p property:encoded_by resource:MSX1 }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14914488
P703
Q16521
USER
Where is Tyk2 found ?
(Q14914488,P703,c(Q16521))
action filter_type
action find
entity Q14914488
relation P703
type Q16521
['Q14914488', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?f WHERE { resource:Q14914488 property:P703 ?f . ?f rdf:type ontology:Q16521 }
Tyk2
action filter_type
action find
entity Tyk2
relation found in taxon
type taxon
['Tyk2', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?f WHERE { resource:Tyk2 property:found_in_taxon ?f . ?f rdf:type ontology:taxon }
[]
taxon
Q83310
SYSTEM
Mus musculus
Q83310
(Q14914488,P703,c(Q16521))
action filter_type
action find
entity Q14914488
relation P703
type Q16521
Tyk2 is found in [ANSWER]
['Q14914488', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?f WHERE { resource:Q14914488 property:P703 ?f . ?f rdf:type ontology:Q16521 }
Mus musculus
Tyk2 is found in Mus musculus
Mus musculus
action filter_type
action find
entity Tyk2
relation found in taxon
type taxon
['Tyk2', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?f WHERE { resource:Tyk2 property:found_in_taxon ?f . ?f rdf:type ontology:taxon }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23141523 Q18252423
P688
Q181394
USER
Which nutrients are encoded by Msx1 or D,D-heptose 1,7-bisphosphate phosphatase    SDY_0219 ?
OR((Q18252423,P688,c(Q181394)), (Q23141523,P688,c(Q181394)))
action filter_type
action union
action find
entity Q18252423
relation P688
action find
entity Q23141523
relation P688
type Q181394
{'OR': [['Q18252423', 'P688', {'concept': 'Q181394'}], ['Q23141523', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q18252423 property:P688 ?g } UNION { resource:Q23141523 property:P688 ?g } } . ?g rdf:type ontology:Q181394 }
D,D-heptose 1,7-bisphosphate phosphatase    SDY_0219 Msx1
action filter_type
action union
action find
entity Msx1
relation encodes
action find
entity D,D-heptose 1,7-bisphosphate phosphatase    SDY_0219
relation encodes
type nutrient
{'OR': [['Msx1', 'encodes', {'concept': 'nutrient'}], ['D,D-heptose 1,7-bisphosphate phosphatase    SDY_0219', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Msx1 property:encodes ?g } UNION { resource:D,D-heptose_1,7-bisphosphate_phosphatase____SDY_0219 property:encodes ?g } } . ?g rdf:type ontology:nutrient }
[]
nutrient
Q21985424 Q27475999
SYSTEM
Homeobox protein MSX-1, D,D-heptose 1,7-bisphosphate phosphatase    SDY_0219
Q21985424 Q27475999
OR((Q18252423,P688,c(Q181394)), (Q23141523,P688,c(Q181394)))
action filter_type
action union
action find
entity Q18252423
relation P688
action find
entity Q23141523
relation P688
type Q181394
[ANSWERS]
{'OR': [['Q18252423', 'P688', {'concept': 'Q181394'}], ['Q23141523', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q18252423 property:P688 ?g } UNION { resource:Q23141523 property:P688 ?g } } . ?g rdf:type ontology:Q181394 }
Homeobox protein MSX-1 D,D-heptose 1,7-bisphosphate phosphatase    SDY_0219
Homeobox protein MSX-1 and D,D-heptose 1,7-bisphosphate phosphatase SDY 0219 are encoded by Msx1 or D,D-heptose 1,7-bisphosphate phosphatase SDY_0219
Homeobox protein MSX-1 D,D-heptose 1,7-bisphosphate phosphatase    SDY_0219
action filter_type
action union
action find
entity Msx1
relation encodes
action find
entity D,D-heptose 1,7-bisphosphate phosphatase    SDY_0219
relation encodes
type nutrient
{'OR': [['Msx1', 'encodes', {'concept': 'nutrient'}], ['D,D-heptose 1,7-bisphosphate phosphatase    SDY_0219', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Msx1 property:encodes ?g } UNION { resource:D,D-heptose_1,7-bisphosphate_phosphatase____SDY_0219 property:encodes ?g } } . ?g rdf:type ontology:nutrient }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q306383
P682
Q3249551 Q181394
USER
How many processes are less number of nutrients involved in than G1/S transition of mitotic cell cycle ?
(c(Q181394),P682,c(Q3249551))
action count
action less
action find_reverse_tuple_counts
relation P682
type Q3249551
type Q181394
action count
action filter_type
action find_reverse
entity Q306383
relation P682
type Q181394
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:P682 ?g . ?g rdf:type ontology:Q3249551 . ?f rdf:type ontology:Q181394 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ontology:Q181394 . ?t property:P682 resource:Q306383 } } . FILTER ( ?l < ?m ) }
G1/S transition of mitotic cell cycle
action count
action less
action find_reverse_tuple_counts
relation biological process
type process
type nutrient
action count
action filter_type
action find_reverse
entity G1/S transition of mitotic cell cycle
relation biological process
type nutrient
[{'concept': 'nutrient'}, 'biological process', {'concept': 'process'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:biological_process ?g . ?g rdf:type ontology:process . ?f rdf:type ontology:nutrient } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ontology:nutrient . ?t property:biological_process resource:G1/S_transition_of_mitotic_cell_cycle } } . FILTER ( ?l < ?m ) }
[]
process nutrient
SYSTEM
9
Q22269718 Q22284496 Q22271548 Q9332 Q22293230 Q14873025 Q14865172 Q14885910 Q162925
(c(Q181394),P682,c(Q3249551))
action count
action less
action find_reverse_tuple_counts
relation P682
type Q3249551
type Q181394
action count
action filter_type
action find_reverse
entity Q306383
relation P682
type Q181394
[ANSWER]
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:P682 ?g . ?g rdf:type ontology:Q3249551 . ?f rdf:type ontology:Q181394 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ontology:Q181394 . ?t property:P682 resource:Q306383 } } . FILTER ( ?l < ?m ) }
locomotion biological regulation cell killing behavior developmental process cellular process signaling reproductive process meiotic nuclear division
9
action count
action less
action find_reverse_tuple_counts
relation biological process
type process
type nutrient
action count
action filter_type
action find_reverse
entity G1/S transition of mitotic cell cycle
relation biological process
type nutrient
[{'concept': 'nutrient'}, 'biological process', {'concept': 'process'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:biological_process ?g . ?g rdf:type ontology:process . ?f rdf:type ontology:nutrient } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ontology:nutrient . ?t property:biological_process resource:G1/S_transition_of_mitotic_cell_cycle } } . FILTER ( ?l < ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q14859560
P682
Q3249551 Q181394
USER
And also tell me about response to stimulus?
(c(Q181394),P682,c(Q3249551))
action count
action less
action find_reverse_tuple_counts
relation P682
type Q3249551
type Q181394
action count
action filter_type
action find_reverse
entity Q14859560
relation P682
type Q181394
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P682 ?x . ?x rdf:type ontology:Q3249551 . ?j rdf:type ontology:Q181394 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ontology:Q181394 . ?v property:P682 resource:Q14859560 } } . FILTER ( ?o < ?a ) }
response to stimulus
action count
action less
action find_reverse_tuple_counts
relation biological process
type process
type nutrient
action count
action filter_type
action find_reverse
entity response to stimulus
relation biological process
type nutrient
[{'concept': 'nutrient'}, 'biological process', {'concept': 'process'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:biological_process ?x . ?x rdf:type ontology:process . ?j rdf:type ontology:nutrient } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ontology:nutrient . ?v property:biological_process resource:response_to_stimulus } } . FILTER ( ?o < ?a ) }
[]
process nutrient
SYSTEM
12
Q22269718 Q306383 Q14820058 Q22284496 Q22271548 Q9332 Q22293230 Q14873025 Q14865172 Q14885910 Q14864472 Q162925
(c(Q181394),P682,c(Q3249551))
action count
action less
action find_reverse_tuple_counts
relation P682
type Q3249551
type Q181394
action count
action filter_type
action find_reverse
entity Q14859560
relation P682
type Q181394
[ANSWER]
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P682 ?x . ?x rdf:type ontology:Q3249551 . ?j rdf:type ontology:Q181394 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ontology:Q181394 . ?v property:P682 resource:Q14859560 } } . FILTER ( ?o < ?a ) }
locomotion G1/S transition of mitotic cell cycle growth biological regulation cell killing behavior developmental process cellular process signaling reproductive process rhythmic process meiotic nuclear division
12
action count
action less
action find_reverse_tuple_counts
relation biological process
type process
type nutrient
action count
action filter_type
action find_reverse
entity response to stimulus
relation biological process
type nutrient
[{'concept': 'nutrient'}, 'biological process', {'concept': 'process'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:biological_process ?x . ?x rdf:type ontology:process . ?j rdf:type ontology:nutrient } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ontology:nutrient . ?v property:biological_process resource:response_to_stimulus } } . FILTER ( ?o < ?a ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1542
Q2057971 Q3839081 Q2057971
USER
Which health problems were the cause of atleast 2 health problems or disasters ?
(c(Q2057971),P1542,c(Q2057971)|c(Q3839081))
action atleast
action union
action find_tuple_counts
relation P1542
type Q2057971
type Q2057971
action find_tuple_counts
relation P1542
type Q2057971
type Q3839081
value 2
[{'concept': 'Q2057971'}, 'P1542', [{'concept': 'Q2057971'}, {'concept': 'Q3839081'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?z ) WHERE { { ?y property:P1542 ?u . ?y rdf:type ontology:Q2057971 . ?u rdf:type ontology:Q2057971 } UNION { ?y property:P1542 ?u . ?y rdf:type ontology:Q2057971 . ?u rdf:type ontology:Q3839081 } } GROUP BY ?y } . FILTER ( ?z >= 2 ) }
action atleast
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
value 2
[{'concept': 'health problem'}, 'cause of', [{'concept': 'health problem'}, {'concept': 'disaster'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?z ) WHERE { { ?y property:cause_of ?u . ?y rdf:type ontology:health_problem . ?u rdf:type ontology:health_problem } UNION { ?y property:cause_of ?u . ?y rdf:type ontology:health_problem . ?u rdf:type ontology:disaster } } GROUP BY ?y } . FILTER ( ?z >= 2 ) }
[]
health problem disaster health problem
Q12206 Q39222 Q5797309
SYSTEM
diabetes mellitus, rabies, lacrimal duct obstruction
Q12206 Q39222 Q5797309 Q12195
(c(Q2057971),P1542,c(Q2057971)|c(Q3839081))
action atleast
action union
action find_tuple_counts
relation P1542
type Q2057971
type Q2057971
action find_tuple_counts
relation P1542
type Q2057971
type Q3839081
value 2
[ANSWERS] were the cause of atleast 2 health problems or disasters
[{'concept': 'Q2057971'}, 'P1542', [{'concept': 'Q2057971'}, {'concept': 'Q3839081'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?z ) WHERE { { ?y property:P1542 ?u . ?y rdf:type ontology:Q2057971 . ?u rdf:type ontology:Q2057971 } UNION { ?y property:P1542 ?u . ?y rdf:type ontology:Q2057971 . ?u rdf:type ontology:Q3839081 } } GROUP BY ?y } . FILTER ( ?z >= 2 ) }
diabetes mellitus rabies lacrimal duct obstruction poliomyelitis
Diabetes mellitus, rabies and lacrimal duct obstruction were the cause of atleast 2 health problems or disasters
diabetes mellitus rabies lacrimal duct obstruction
action atleast
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
value 2
[{'concept': 'health problem'}, 'cause of', [{'concept': 'health problem'}, {'concept': 'disaster'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?z ) WHERE { { ?y property:cause_of ?u . ?y rdf:type ontology:health_problem . ?u rdf:type ontology:health_problem } UNION { ?y property:cause_of ?u . ?y rdf:type ontology:health_problem . ?u rdf:type ontology:disaster } } GROUP BY ?y } . FILTER ( ?z >= 2 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P780
Q12136 Q7189713
USER
How many diseases and physiological conditions are a symptom of that health problem ?
(Q39222,P780,c(Q12136)) (Q39222,P780,c(Q7189713)) (Q12206,P780,c(Q12136)) (Q12206,P780,c(Q7189713)) (Q39222,P780,c(Q12136)) (Q39222,P780,c(Q7189713)) (Q5797309,P780,c(Q12136)) (Q5797309,P780,c(Q7189713))
['Q39222', 'P780', {'concept': 'Q12136'}] ['Q39222', 'P780', {'concept': 'Q7189713'}] ['Q12206', 'P780', {'concept': 'Q12136'}] ['Q12206', 'P780', {'concept': 'Q7189713'}] ['Q39222', 'P780', {'concept': 'Q12136'}] ['Q39222', 'P780', {'concept': 'Q7189713'}] ['Q5797309', 'P780', {'concept': 'Q12136'}] ['Q5797309', 'P780', {'concept': 'Q7189713'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q39222 property:P780 ?z } UNION { resource:Q39222 property:P780 ?y } UNION { resource:Q12206 property:P780 ?z } UNION { resource:Q12206 property:P780 ?y } UNION { resource:Q39222 property:P780 ?z } UNION { resource:Q39222 property:P780 ?y } UNION { resource:Q5797309 property:P780 ?z } UNION { resource:Q5797309 property:P780 ?y } } . ?z rdf:type ontology:Q12136 . ?y rdf:type ontology:Q7189713 }
['rabies', 'symptoms', {'concept': 'disease'}] ['rabies', 'symptoms', {'concept': 'physiological condition'}] ['diabetes mellitus', 'symptoms', {'concept': 'disease'}] ['diabetes mellitus', 'symptoms', {'concept': 'physiological condition'}] ['rabies', 'symptoms', {'concept': 'disease'}] ['rabies', 'symptoms', {'concept': 'physiological condition'}] ['lacrimal duct obstruction', 'symptoms', {'concept': 'disease'}] ['lacrimal duct obstruction', 'symptoms', {'concept': 'physiological condition'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:rabies property:symptoms ?z } UNION { resource:rabies property:symptoms ?y } UNION { resource:diabetes_mellitus property:symptoms ?z } UNION { resource:diabetes_mellitus property:symptoms ?y } UNION { resource:rabies property:symptoms ?z } UNION { resource:rabies property:symptoms ?y } UNION { resource:lacrimal_duct_obstruction property:symptoms ?z } UNION { resource:lacrimal_duct_obstruction property:symptoms ?y } } . ?z rdf:type ontology:disease . ?y rdf:type ontology:physiological_condition }
[]
disease physiological condition
Quantitative|Count|Mult. entity type|Clarification
Q12206
SYSTEM
Did you mean diabetes mellitus ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q39222 property:P780 ?z } UNION { resource:Q39222 property:P780 ?y } UNION { resource:Q12206 property:P780 ?z } UNION { resource:Q12206 property:P780 ?y } UNION { resource:Q39222 property:P780 ?z } UNION { resource:Q39222 property:P780 ?y } UNION { resource:Q5797309 property:P780 ?z } UNION { resource:Q5797309 property:P780 ?y } } . ?z rdf:type ontology:Q12136 . ?y rdf:type ontology:Q7189713 }
Did you mean diabetes mellitus ?
diabetes mellitus
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:rabies property:symptoms ?z } UNION { resource:rabies property:symptoms ?y } UNION { resource:diabetes_mellitus property:symptoms ?z } UNION { resource:diabetes_mellitus property:symptoms ?y } UNION { resource:rabies property:symptoms ?z } UNION { resource:rabies property:symptoms ?y } UNION { resource:lacrimal_duct_obstruction property:symptoms ?z } UNION { resource:lacrimal_duct_obstruction property:symptoms ?y } } . ?z rdf:type ontology:disease . ?y rdf:type ontology:physiological_condition }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant rabies. Could you tell me the answer for that?
(Q39222,P780,c(Q12136)) (Q39222,P780,c(Q7189713)) (Q12206,P780,c(Q12136)) (Q12206,P780,c(Q7189713)) (Q39222,P780,c(Q12136)) (Q39222,P780,c(Q7189713)) (Q5797309,P780,c(Q12136)) (Q5797309,P780,c(Q7189713))
Q39222
['Q39222', 'P780', {'concept': 'Q12136'}] ['Q39222', 'P780', {'concept': 'Q7189713'}] ['Q12206', 'P780', {'concept': 'Q12136'}] ['Q12206', 'P780', {'concept': 'Q7189713'}] ['Q39222', 'P780', {'concept': 'Q12136'}] ['Q39222', 'P780', {'concept': 'Q7189713'}] ['Q5797309', 'P780', {'concept': 'Q12136'}] ['Q5797309', 'P780', {'concept': 'Q7189713'}]
['rabies', 'symptoms', {'concept': 'disease'}] ['rabies', 'symptoms', {'concept': 'physiological condition'}] ['diabetes mellitus', 'symptoms', {'concept': 'disease'}] ['diabetes mellitus', 'symptoms', {'concept': 'physiological condition'}] ['rabies', 'symptoms', {'concept': 'disease'}] ['rabies', 'symptoms', {'concept': 'physiological condition'}] ['lacrimal duct obstruction', 'symptoms', {'concept': 'disease'}] ['lacrimal duct obstruction', 'symptoms', {'concept': 'physiological condition'}]
[]
SYSTEM
2 diseases and 1 physiological conditions
Q623076 Q1869874 Q107231
(Q39222,P780,c(Q12136)) (Q39222,P780,c(Q7189713)) (Q12206,P780,c(Q12136)) (Q12206,P780,c(Q7189713)) (Q39222,P780,c(Q12136)) (Q39222,P780,c(Q7189713)) (Q5797309,P780,c(Q12136)) (Q5797309,P780,c(Q7189713))
[ANSWER]
['Q39222', 'P780', {'concept': 'Q12136'}] ['Q39222', 'P780', {'concept': 'Q7189713'}] ['Q12206', 'P780', {'concept': 'Q12136'}] ['Q12206', 'P780', {'concept': 'Q7189713'}] ['Q39222', 'P780', {'concept': 'Q12136'}] ['Q39222', 'P780', {'concept': 'Q7189713'}] ['Q5797309', 'P780', {'concept': 'Q12136'}] ['Q5797309', 'P780', {'concept': 'Q7189713'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q39222 property:P780 ?z } UNION { resource:Q39222 property:P780 ?y } UNION { resource:Q12206 property:P780 ?z } UNION { resource:Q12206 property:P780 ?y } UNION { resource:Q39222 property:P780 ?z } UNION { resource:Q39222 property:P780 ?y } UNION { resource:Q5797309 property:P780 ?z } UNION { resource:Q5797309 property:P780 ?y } } . ?z rdf:type ontology:Q12136 . ?y rdf:type ontology:Q7189713 }
aquaphobia insomnia paralysis
2 diseases and 1 physiological conditions
['rabies', 'symptoms', {'concept': 'disease'}] ['rabies', 'symptoms', {'concept': 'physiological condition'}] ['diabetes mellitus', 'symptoms', {'concept': 'disease'}] ['diabetes mellitus', 'symptoms', {'concept': 'physiological condition'}] ['rabies', 'symptoms', {'concept': 'disease'}] ['rabies', 'symptoms', {'concept': 'physiological condition'}] ['lacrimal duct obstruction', 'symptoms', {'concept': 'disease'}] ['lacrimal duct obstruction', 'symptoms', {'concept': 'physiological condition'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:rabies property:symptoms ?z } UNION { resource:rabies property:symptoms ?y } UNION { resource:diabetes_mellitus property:symptoms ?z } UNION { resource:diabetes_mellitus property:symptoms ?y } UNION { resource:rabies property:symptoms ?z } UNION { resource:rabies property:symptoms ?y } UNION { resource:lacrimal_duct_obstruction property:symptoms ?z } UNION { resource:lacrimal_duct_obstruction property:symptoms ?y } } . ?z rdf:type ontology:disease . ?y rdf:type ontology:physiological_condition }
[]