Simple Question (Direct)
Simple Question
Q542338
P1196
Q1931388
USER
What situation did Anicée Alvina die in ?
(Q542338,P1196,c(Q1931388))
action filter_type
action find
entity Q542338
relation P1196
type Q1931388
['Q542338', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q542338 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
Anicée Alvina
action filter_type
action find
entity Anicée Alvina
relation manner of death
type cause of death
['Anicée Alvina', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Anicée_Alvina property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q542338,P1196,c(Q1931388))
action filter_type
action find
entity Q542338
relation P1196
type Q1931388
Anicée Alvina died of [ANSWER]
['Q542338', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q542338 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
natural causes
Anicée Alvina died of natural causes
natural causes
action filter_type
action find
entity Anicée Alvina
relation manner of death
type cause of death
['Anicée Alvina', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Anicée_Alvina property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q542338
P509
Q2057971
USER
Which health problem was the cause of death of Anicée Alvina ?
(Q542338,P509,c(Q2057971))
action filter_type
action find
entity Q542338
relation P509
type Q2057971
['Q542338', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2057971 . resource:Q542338 property:P509 ?c }
Anicée Alvina
action filter_type
action find
entity Anicée Alvina
relation cause of death
type health problem
['Anicée Alvina', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:health_problem . resource:Anicée_Alvina property:cause_of_death ?c }
[]
health problem
Q47912
SYSTEM
lung cancer
Q47912
(Q542338,P509,c(Q2057971))
action filter_type
action find
entity Q542338
relation P509
type Q2057971
Her [ANSWER] was the cause of death of Anicée Alvina
['Q542338', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2057971 . resource:Q542338 property:P509 ?c }
lung cancer
Her lung cancer was the cause of death of Anicée Alvina
lung cancer
action filter_type
action find
entity Anicée Alvina
relation cause of death
type health problem
['Anicée Alvina', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:health_problem . resource:Anicée_Alvina property:cause_of_death ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q542338
P19
Q20667921
USER
Which french administrative division was that person born at ?
(Q47912,P19,c(Q20667921))
action filter_type
action find
entity Q542338
relation P19
type Q20667921
['Q47912', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q542338 property:P19 ?i . ?i rdf:type ontology:Q20667921 }
Anicée Alvina
action filter_type
action find
entity Anicée Alvina
relation place of birth
type type of french administrative division
['lung cancer', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:Anicée_Alvina property:place_of_birth ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q172455
SYSTEM
Boulogne-Billancourt
Q172455
(Q47912,P19,c(Q20667921))
action filter_type
action find
entity Q542338
relation P19
type Q20667921
That person was born in [ANSWER]
['Q47912', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q542338 property:P19 ?i . ?i rdf:type ontology:Q20667921 }
Boulogne-Billancourt
That person was born in Boulogne-Billancourt
Boulogne-Billancourt
action filter_type
action find
entity Anicée Alvina
relation place of birth
type type of french administrative division
['lung cancer', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:Anicée_Alvina property:place_of_birth ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47912
P1995
Q1047113
USER
Which special field is the medical speciality of lung cancer ?
(Q47912,P1995,c(Q1047113))
action filter_type
action find
entity Q47912
relation P1995
type Q1047113
['Q47912', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1047113 . resource:Q47912 property:P1995 ?n }
lung cancer
action filter_type
action find
entity lung cancer
relation medical specialty
type special field
['lung cancer', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:special_field . resource:lung_cancer property:medical_specialty ?n }
[]
special field
Q162555
SYSTEM
oncology
Q162555
(Q47912,P1995,c(Q1047113))
action filter_type
action find
entity Q47912
relation P1995
type Q1047113
And [ANSWER] is the medical speciality of lung cancer
['Q47912', 'P1995', {'concept': 'Q1047113'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1047113 . resource:Q47912 property:P1995 ?n }
oncology
And oncology is the medical speciality of lung cancer
oncology
action filter_type
action find
entity lung cancer
relation medical specialty
type special field
['lung cancer', 'medical specialty', {'concept': 'special field'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:special_field . resource:lung_cancer property:medical_specialty ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q47912
P2293
Q863908
USER
Which nucleic acid sequences are genetically linked with that health problem ?
(c(Q863908),P2293,Q162555)
action filter_type
action find
entity Q47912
relation P2293
type Q863908
[{'concept': 'Q863908'}, 'P2293', 'Q162555']
SELECT DISTINCT ?i WHERE { resource:Q47912 property:P2293 ?i . ?i rdf:type ontology:Q863908 }
lung cancer
action filter_type
action find
entity lung cancer
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'oncology']
SELECT DISTINCT ?i WHERE { resource:lung_cancer property:genetic_association ?i . ?i rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q15315135 Q5573603 Q18046843
SYSTEM
TERT, GPC5, CLPTM1L
Q18033514 Q18046843 Q18043088 Q18034010 Q18027817 Q17927359 Q15313986 Q18034642 Q14912280 Q15315135 Q18031020 Q5573603 Q18051065
(c(Q863908),P2293,Q162555)
action filter_type
action find
entity Q47912
relation P2293
type Q863908
[ANSWERS] are genetically linked with that health problem
[{'concept': 'Q863908'}, 'P2293', 'Q162555']
SELECT DISTINCT ?i WHERE { resource:Q47912 property:P2293 ?i . ?i rdf:type ontology:Q863908 }
MTMR3 CLPTM1L LRFN2 TGM5 IL1RAP BPTF TP63 PHACTR2 CHEK2 TERT RAD52 GPC5 VTI1A
TERT, GPC5 and CLPTM1L are genetically linked with that health problem
TERT GPC5 CLPTM1L
action filter_type
action find
entity lung cancer
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'oncology']
SELECT DISTINCT ?i WHERE { resource:lung_cancer property:genetic_association ?i . ?i rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47912
P1050
Q1914636
USER
Who suffers from lung cancer ?
(c(Q1914636),P1050,Q47912)
action filter_type
action find_reverse
entity Q47912
relation P1050
type Q1914636
[{'concept': 'Q1914636'}, 'P1050', 'Q47912']
SELECT DISTINCT ?f WHERE { ?f property:P1050 resource:Q47912 . ?f rdf:type ontology:Q1914636 }
lung cancer
action filter_type
action find_reverse
entity lung cancer
relation medical condition
type activity
[{'concept': 'activity'}, 'medical condition', 'lung cancer']
SELECT DISTINCT ?f WHERE { ?f property:medical_condition resource:lung_cancer . ?f rdf:type ontology:activity }
[]
activity
Q5805000
SYSTEM
Diagnosis of lung cancer
Q5805000
(c(Q1914636),P1050,Q47912)
action filter_type
action find_reverse
entity Q47912
relation P1050
type Q1914636
Cancer [ANSWER] suffers from lung cancer
[{'concept': 'Q1914636'}, 'P1050', 'Q47912']
SELECT DISTINCT ?f WHERE { ?f property:P1050 resource:Q47912 . ?f rdf:type ontology:Q1914636 }
Diagnosis of lung cancer
Cancer Diagnosis of lung cancer suffers from lung cancer
Diagnosis of lung cancer
action filter_type
action find_reverse
entity lung cancer
relation medical condition
type activity
[{'concept': 'activity'}, 'medical condition', 'lung cancer']
SELECT DISTINCT ?f WHERE { ?f property:medical_condition resource:lung_cancer . ?f rdf:type ontology:activity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q743664
P361
Q9332 Q336 Q1047113
USER
How many special fields are a component of more number of behaviors or sciences than Abdominal surgery ?
(c(Q1047113),P361,c(Q9332)|c(Q336))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q1047113
type Q9332
action find_tuple_counts
relation P361
type Q1047113
type Q336
action count
action filter_multi_types
action find
entity Q743664
relation P361
type Q9332
type Q336
[{'concept': 'Q1047113'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q336'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?e WHERE { VALUES ( ?d ) { ( ontology:Q336 ) ( ontology:Q9332 ) } . ?t rdf:type ?d } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { resource:Q743664 property:P361 ?v . { { ?v rdf:type ontology:Q336 } UNION { ?v rdf:type ontology:Q9332 } } } } . FILTER ( ?o > ?m ) }
Abdominal surgery
action count
action greater
action union
action find_tuple_counts
relation part of
type special field
type behavior
action find_tuple_counts
relation part of
type special field
type science
action count
action filter_multi_types
action find
entity Abdominal surgery
relation part of
type behavior
type science
[{'concept': 'special field'}, 'part of', [{'concept': 'behavior'}, {'concept': 'science'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?e WHERE { VALUES ( ?d ) { ( ontology:science ) ( ontology:behavior ) } . ?t rdf:type ?d } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { resource:Abdominal_surgery property:part_of ?v . { { ?v rdf:type ontology:science } UNION { ?v rdf:type ontology:behavior } } } } . FILTER ( ?o > ?m ) }
[]
behavior science special field
SYSTEM
13
Q614304 Q180502 Q7218 Q27133094 Q7922 Q134435 Q11351 Q2442870 Q80083 Q1662333 Q35395 Q207011 Q141495
(c(Q1047113),P361,c(Q9332)|c(Q336))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q1047113
type Q9332
action find_tuple_counts
relation P361
type Q1047113
type Q336
action count
action filter_multi_types
action find
entity Q743664
relation P361
type Q9332
type Q336
[ANSWER]
[{'concept': 'Q1047113'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q336'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?e WHERE { VALUES ( ?d ) { ( ontology:Q336 ) ( ontology:Q9332 ) } . ?t rdf:type ?d } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { resource:Q743664 property:P361 ?v . { { ?v rdf:type ontology:Q336 } UNION { ?v rdf:type ontology:Q9332 } } } } . FILTER ( ?o > ?m ) }
pharmacy parasitology toxicology vaccine development pedagogy topography organic chemistry lepidopterology humanities infection epidemiology phonetics neuroscience mathematical optimization
13
action count
action greater
action union
action find_tuple_counts
relation part of
type special field
type behavior
action find_tuple_counts
relation part of
type special field
type science
action count
action filter_multi_types
action find
entity Abdominal surgery
relation part of
type behavior
type science
[{'concept': 'special field'}, 'part of', [{'concept': 'behavior'}, {'concept': 'science'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) ?e WHERE { VALUES ( ?d ) { ( ontology:science ) ( ontology:behavior ) } . ?t rdf:type ?d } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { resource:Abdominal_surgery property:part_of ?v . { { ?v rdf:type ontology:science } UNION { ?v rdf:type ontology:behavior } } } } . FILTER ( ?o > ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q454812
P361
Q9332 Q336 Q1047113
USER
And how about forensic medicine?
(c(Q1047113),P361,c(Q9332)|c(Q336))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q1047113
type Q9332
action find_tuple_counts
relation P361
type Q1047113
type Q336
action count
action filter_multi_types
action find
entity Q454812
relation P361
type Q9332
type Q336
[{'concept': 'Q1047113'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q336'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?i WHERE { VALUES ( ?x ) { ( ontology:Q9332 ) ( ontology:Q336 ) } . ?m rdf:type ?x } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Q454812 property:P361 ?s . { { ?s rdf:type ontology:Q9332 } UNION { ?s rdf:type ontology:Q336 } } } } . FILTER ( ?u > ?n ) }
forensic medicine
action count
action greater
action union
action find_tuple_counts
relation part of
type special field
type behavior
action find_tuple_counts
relation part of
type special field
type science
action count
action filter_multi_types
action find
entity forensic medicine
relation part of
type behavior
type science
[{'concept': 'special field'}, 'part of', [{'concept': 'behavior'}, {'concept': 'science'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?i WHERE { VALUES ( ?x ) { ( ontology:behavior ) ( ontology:science ) } . ?m rdf:type ?x } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:forensic_medicine property:part_of ?s . { { ?s rdf:type ontology:behavior } UNION { ?s rdf:type ontology:science } } } } . FILTER ( ?u > ?n ) }
[]
behavior science special field
SYSTEM
13
Q614304 Q180502 Q7218 Q27133094 Q7922 Q134435 Q11351 Q2442870 Q80083 Q1662333 Q35395 Q207011 Q141495
(c(Q1047113),P361,c(Q9332)|c(Q336))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q1047113
type Q9332
action find_tuple_counts
relation P361
type Q1047113
type Q336
action count
action filter_multi_types
action find
entity Q454812
relation P361
type Q9332
type Q336
[ANSWER]
[{'concept': 'Q1047113'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q336'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?i WHERE { VALUES ( ?x ) { ( ontology:Q9332 ) ( ontology:Q336 ) } . ?m rdf:type ?x } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Q454812 property:P361 ?s . { { ?s rdf:type ontology:Q9332 } UNION { ?s rdf:type ontology:Q336 } } } } . FILTER ( ?u > ?n ) }
pharmacy parasitology toxicology vaccine development pedagogy topography organic chemistry lepidopterology humanities infection epidemiology phonetics neuroscience mathematical optimization
13
action count
action greater
action union
action find_tuple_counts
relation part of
type special field
type behavior
action find_tuple_counts
relation part of
type special field
type science
action count
action filter_multi_types
action find
entity forensic medicine
relation part of
type behavior
type science
[{'concept': 'special field'}, 'part of', [{'concept': 'behavior'}, {'concept': 'science'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?i WHERE { VALUES ( ?x ) { ( ontology:behavior ) ( ontology:science ) } . ?m rdf:type ?x } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:forensic_medicine property:part_of ?s . { { ?s rdf:type ontology:behavior } UNION { ?s rdf:type ontology:science } } } } . FILTER ( ?u > ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47912
P780
Q7189713
USER
What physiological conditions are a symptom of lung cancer ?
(Q47912,P780,c(Q7189713))
action filter_type
action find
entity Q47912
relation P780
type Q7189713
['Q47912', 'P780', {'concept': 'Q7189713'}]
SELECT DISTINCT ?v WHERE { resource:Q47912 property:P780 ?v . ?v rdf:type ontology:Q7189713 }
lung cancer
action filter_type
action find
entity lung cancer
relation symptoms
type physiological condition
['lung cancer', 'symptoms', {'concept': 'physiological condition'}]
SELECT DISTINCT ?v WHERE { resource:lung_cancer property:symptoms ?v . ?v rdf:type ontology:physiological_condition }
[]
physiological condition
Q718113 Q9690
SYSTEM
weight loss, fatigue
Q718113 Q9690
(Q47912,P780,c(Q7189713))
action filter_type
action find
entity Q47912
relation P780
type Q7189713
[ANSWERS] are a symptom of lung cancer
['Q47912', 'P780', {'concept': 'Q7189713'}]
SELECT DISTINCT ?v WHERE { resource:Q47912 property:P780 ?v . ?v rdf:type ontology:Q7189713 }
weight loss fatigue
Weight loss and fatigue are a symptom of lung cancer
weight loss fatigue
action filter_type
action find
entity lung cancer
relation symptoms
type physiological condition
['lung cancer', 'symptoms', {'concept': 'physiological condition'}]
SELECT DISTINCT ?v WHERE { resource:lung_cancer property:symptoms ?v . ?v rdf:type ontology:physiological_condition }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q47912
P828
Q251777
USER
What causes that health problem ?
(Q718113,P828,c(Q251777)) (Q9690,P828,c(Q251777))
action filter_type
action find
entity Q47912
relation P828
type Q251777
['Q718113', 'P828', {'concept': 'Q251777'}] ['Q9690', 'P828', {'concept': 'Q251777'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q251777 . resource:Q47912 property:P828 ?j }
lung cancer
action filter_type
action find
entity lung cancer
relation has cause
type custom
['weight loss', 'has cause', {'concept': 'custom'}] ['fatigue', 'has cause', {'concept': 'custom'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:custom . resource:lung_cancer property:has_cause ?j }
[]
custom
Q259516 Q7212330
SYSTEM
passive smoking, tobacco smoking
Q259516 Q7212330
(Q718113,P828,c(Q251777)) (Q9690,P828,c(Q251777))
action filter_type
action find
entity Q47912
relation P828
type Q251777
[ANSWERS] cause that health problem
['Q718113', 'P828', {'concept': 'Q251777'}] ['Q9690', 'P828', {'concept': 'Q251777'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q251777 . resource:Q47912 property:P828 ?j }
passive smoking tobacco smoking
Passive smoking and tobacco smoking cause that health problem
passive smoking tobacco smoking
action filter_type
action find
entity lung cancer
relation has cause
type custom
['weight loss', 'has cause', {'concept': 'custom'}] ['fatigue', 'has cause', {'concept': 'custom'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:custom . resource:lung_cancer property:has_cause ?j }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q411240 Q5573603
P2293 P2175
Q2057971
USER
Which health problems have hereditary association with GPC5 and are mifepristone a medication for ?
AND((Q5573603,P2293,c(Q2057971)), (Q411240,P2175,c(Q2057971)))
action filter_type
action intersection
action find
entity Q5573603
relation P2293
action find
entity Q411240
relation P2175
type Q2057971
{'AND': [['Q5573603', 'P2293', {'concept': 'Q2057971'}], ['Q411240', 'P2175', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?o WHERE { resource:Q5573603 property:P2293 ?o . resource:Q411240 property:P2175 ?o . ?o rdf:type ontology:Q2057971 }
mifepristone GPC5
action filter_type
action intersection
action find
entity GPC5
relation genetic association
action find
entity mifepristone
relation medical condition treated
type health problem
{'AND': [['GPC5', 'genetic association', {'concept': 'health problem'}], ['mifepristone', 'medical condition treated', {'concept': 'health problem'}]]}
SELECT DISTINCT ?o WHERE { resource:GPC5 property:genetic_association ?o . resource:mifepristone property:medical_condition_treated ?o . ?o rdf:type ontology:health_problem }
[]
health problem
Q18556697
SYSTEM
human immunodeficiency virus infectious disease
Q18556697
AND((Q5573603,P2293,c(Q2057971)), (Q411240,P2175,c(Q2057971)))
action filter_type
action intersection
action find
entity Q5573603
relation P2293
action find
entity Q411240
relation P2175
type Q2057971
In [ANSWER] have hereditary association with GPC5 and are mifepristone a medication for
{'AND': [['Q5573603', 'P2293', {'concept': 'Q2057971'}], ['Q411240', 'P2175', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?o WHERE { resource:Q5573603 property:P2293 ?o . resource:Q411240 property:P2175 ?o . ?o rdf:type ontology:Q2057971 }
human immunodeficiency virus infectious disease
In human immunodeficiency virus infectious disease have hereditary association with GPC5 and are mifepristone a medication for
human immunodeficiency virus infectious disease
action filter_type
action intersection
action find
entity GPC5
relation genetic association
action find
entity mifepristone
relation medical condition treated
type health problem
{'AND': [['GPC5', 'genetic association', {'concept': 'health problem'}], ['mifepristone', 'medical condition treated', {'concept': 'health problem'}]]}
SELECT DISTINCT ?o WHERE { resource:GPC5 property:genetic_association ?o . resource:mifepristone property:medical_condition_treated ?o . ?o rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q411240
P2176
Q2057971
USER
How many health problems are cured by mifepristone ?
(c(Q2057971),P2176,Q411240)
action count
action filter_type
action find_reverse
entity Q411240
relation P2176
type Q2057971
[{'concept': 'Q2057971'}, 'P2176', 'Q411240']
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:P2176 resource:Q411240 . ?f rdf:type ontology:Q2057971 }
mifepristone
action count
action filter_type
action find_reverse
entity mifepristone
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', 'mifepristone']
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:drug_used_for_treatment resource:mifepristone . ?f rdf:type ontology:health_problem }
[]
health problem
SYSTEM
16
Q2012569 Q4667534 Q18556697 Q202387 Q19000444 Q131755 Q18557827 Q207087 Q18554460 Q18555222 Q369157 Q7331102 Q208166 Q128581 Q154869 Q219102
(c(Q2057971),P2176,Q411240)
action count
action filter_type
action find_reverse
entity Q411240
relation P2176
type Q2057971
[ANSWER]
[{'concept': 'Q2057971'}, 'P2176', 'Q411240']
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:P2176 resource:Q411240 . ?f rdf:type ontology:Q2057971 }
endometriosis of uterus leiomyoma human immunodeficiency virus infectious disease post-traumatic stress disorder neurotic disorder bipolar disorder cocaine abuse ectopic pregnancy brain cancer endometrial carcinoma meningioma alcohol abuse borderline personality disorder breast cancer hepatitis C Cushing's syndrome
16
action count
action filter_type
action find_reverse
entity mifepristone
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', 'mifepristone']
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:drug_used_for_treatment resource:mifepristone . ?f rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q418913
P2176
Q2057971
USER
And what about Armodafinil?
(c(Q2057971),P2176,Q418913)
action count
action filter_type
action find_reverse
entity Q418913
relation P2176
type Q2057971
[{'concept': 'Q2057971'}, 'P2176', 'Q418913']
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { ?z property:P2176 resource:Q418913 . ?z rdf:type ontology:Q2057971 }
Armodafinil
action count
action filter_type
action find_reverse
entity Armodafinil
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', 'Armodafinil']
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { ?z property:drug_used_for_treatment resource:Armodafinil . ?z rdf:type ontology:health_problem }
[]
health problem
SYSTEM
8
Q189561 Q18556612 Q18556113 Q19000444 Q372701 Q8277 Q1783924 Q3144201
(c(Q2057971),P2176,Q418913)
action count
action filter_type
action find_reverse
entity Q418913
relation P2176
type Q2057971
[ANSWER]
[{'concept': 'Q2057971'}, 'P2176', 'Q418913']
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { ?z property:P2176 resource:Q418913 . ?z rdf:type ontology:Q2057971 }
narcolepsy mixed glioma non-small cell lung carcinoma neurotic disorder esophageal cancer multiple sclerosis head and neck cancer Excessive daytime sleepiness
8
action count
action filter_type
action find_reverse
entity Armodafinil
relation drug used for treatment
type health problem
[{'concept': 'health problem'}, 'drug used for treatment', 'Armodafinil']
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { ?z property:drug_used_for_treatment resource:Armodafinil . ?z rdf:type ontology:health_problem }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q5000947
P828
Q2057971 Q7189713
USER
Which physiological conditions do more number of health problems cause than Burton line ?
(c(Q7189713),P828,c(Q2057971))
action greater
action find_tuple_counts
relation P828
type Q7189713
type Q2057971
action count
action filter_type
action find
entity Q5000947
relation P828
type Q7189713
[{'concept': 'Q7189713'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?r ) WHERE { ?n property:P828 ?t . ?n rdf:type ontology:Q7189713 . ?t rdf:type ontology:Q2057971 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q5000947 property:P828 ?e . ?e rdf:type ontology:Q7189713 } } . FILTER ( ?r > ?g ) }
Burton line
action greater
action find_tuple_counts
relation has cause
type physiological condition
type health problem
action count
action filter_type
action find
entity Burton line
relation has cause
type physiological condition
[{'concept': 'physiological condition'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?r ) WHERE { ?n property:has_cause ?t . ?n rdf:type ontology:physiological_condition . ?t rdf:type ontology:health_problem } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Burton_line property:has_cause ?e . ?e rdf:type ontology:physiological_condition } } . FILTER ( ?r > ?g ) }
[]
health problem physiological condition
Q1149382 Q7370380 Q18347891
SYSTEM
Janeway lesion, Roth's spot, Haab's striae
Q1149382 Q18347891 Q1424702 Q3542219 Q3427755 Q738538 Q3557657 Q4976425 Q4099570 Q7261489 Q7370380 Q418527 Q8036919 Q1516325 Q4143478 Q6884891 Q3398233 Q649122 Q16946733
(c(Q7189713),P828,c(Q2057971))
action greater
action find_tuple_counts
relation P828
type Q7189713
type Q2057971
action count
action filter_type
action find
entity Q5000947
relation P828
type Q7189713
[ANSWERS] more number of health problems cause than Burton line
[{'concept': 'Q7189713'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?r ) WHERE { ?n property:P828 ?t . ?n rdf:type ontology:Q7189713 . ?t rdf:type ontology:Q2057971 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q5000947 property:P828 ?e . ?e rdf:type ontology:Q7189713 } } . FILTER ( ?r > ?g ) }
Janeway lesion Haab's striae Hutchinson's teeth typhoid state Diaphragmatic paradox tic social anxiety Brown tumor Forchheimer spots purple urine bag syndrome Roth's spot akinesia Woronoff's ring Osler's node hunchback Mizuo–Nakamura phenomenon porphyrinuria Jugular venous pressure Phacodonesis
Janeway lesion, Roth's spot and Haab's striae more number of health problems cause than Burton line
Janeway lesion Roth's spot Haab's striae
action greater
action find_tuple_counts
relation has cause
type physiological condition
type health problem
action count
action filter_type
action find
entity Burton line
relation has cause
type physiological condition
[{'concept': 'physiological condition'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?r ) WHERE { ?n property:has_cause ?t . ?n rdf:type ontology:physiological_condition . ?t rdf:type ontology:health_problem } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Burton_line property:has_cause ?e . ?e rdf:type ontology:physiological_condition } } . FILTER ( ?r > ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q3542293
P828
Q2057971 Q7189713
USER
And how about jugular venous distention?
(c(Q7189713),P828,c(Q2057971))
action greater
action find_tuple_counts
relation P828
type Q7189713
type Q2057971
action count
action filter_type
action find
entity Q3542293
relation P828
type Q2057971
[{'concept': 'Q7189713'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?y ) WHERE { ?g property:P828 ?z . ?z rdf:type ontology:Q2057971 . ?g rdf:type ontology:Q7189713 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ontology:Q2057971 . resource:Q3542293 property:P828 ?h } } . FILTER ( ?y > ?a ) }
jugular venous distention
action greater
action find_tuple_counts
relation has cause
type physiological condition
type health problem
action count
action filter_type
action find
entity jugular venous distention
relation has cause
type health problem
[{'concept': 'physiological condition'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?y ) WHERE { ?g property:has_cause ?z . ?z rdf:type ontology:health_problem . ?g rdf:type ontology:physiological_condition } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ontology:health_problem . resource:jugular_venous_distention property:has_cause ?h } } . FILTER ( ?y > ?a ) }
[]
health problem physiological condition
Q1149382 Q7370380 Q18347891
SYSTEM
Janeway lesion, Roth's spot, Haab's striae
Q1149382 Q18347891 Q1424702 Q3542219 Q3427755 Q738538 Q3557657 Q4976425 Q4099570 Q7261489 Q7370380 Q418527 Q8036919 Q1516325 Q4143478 Q6884891 Q3398233 Q649122 Q16946733
(c(Q7189713),P828,c(Q2057971))
action greater
action find_tuple_counts
relation P828
type Q7189713
type Q2057971
action count
action filter_type
action find
entity Q3542293
relation P828
type Q2057971
[ANSWERS]
[{'concept': 'Q7189713'}, 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?y ) WHERE { ?g property:P828 ?z . ?z rdf:type ontology:Q2057971 . ?g rdf:type ontology:Q7189713 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ontology:Q2057971 . resource:Q3542293 property:P828 ?h } } . FILTER ( ?y > ?a ) }
Janeway lesion Haab's striae Hutchinson's teeth typhoid state Diaphragmatic paradox tic social anxiety Brown tumor Forchheimer spots purple urine bag syndrome Roth's spot akinesia Woronoff's ring Osler's node hunchback Mizuo–Nakamura phenomenon porphyrinuria Jugular venous pressure Phacodonesis
Janeway lesion Roth's spot Haab's striae
action greater
action find_tuple_counts
relation has cause
type physiological condition
type health problem
action count
action filter_type
action find
entity jugular venous distention
relation has cause
type health problem
[{'concept': 'physiological condition'}, 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?y ) WHERE { ?g property:has_cause ?z . ?z rdf:type ontology:health_problem . ?g rdf:type ontology:physiological_condition } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h rdf:type ontology:health_problem . resource:jugular_venous_distention property:has_cause ?h } } . FILTER ( ?y > ?a ) }
[]