Simple Question (Direct)
Simple Question
Q540905
P509
Q2057971
USER
What lead to the death of Jesús López Pacheco ?
(Q540905,P509,c(Q2057971))
action filter_type
action find
entity Q540905
relation P509
type Q2057971
['Q540905', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2057971 . resource:Q540905 property:P509 ?u }
Jesús López Pacheco
action filter_type
action find
entity Jesús López Pacheco
relation cause of death
type health problem
['Jesús López Pacheco', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:health_problem . resource:Jesús_López_Pacheco property:cause_of_death ?u }
[]
health problem
Q47912
SYSTEM
lung cancer
Q47912
(Q540905,P509,c(Q2057971))
action filter_type
action find
entity Q540905
relation P509
type Q2057971
The [ANSWER] lead to the death of Jesús López Pacheco
['Q540905', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2057971 . resource:Q540905 property:P509 ?u }
lung cancer
The lung cancer lead to the death of Jesús López Pacheco
lung cancer
action filter_type
action find
entity Jesús López Pacheco
relation cause of death
type health problem
['Jesús López Pacheco', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:health_problem . resource:Jesús_López_Pacheco property:cause_of_death ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q47912
P780
Q1441305
USER
What are a symptoms of that health problem ?
(Q47912,P780,c(Q1441305))
action filter_type
action find
entity Q47912
relation P780
type Q1441305
['Q47912', 'P780', {'concept': 'Q1441305'}]
SELECT DISTINCT ?e WHERE { resource:Q47912 property:P780 ?e . ?e rdf:type ontology:Q1441305 }
lung cancer
action filter_type
action find
entity lung cancer
relation symptoms
type medical sign
['lung cancer', 'symptoms', {'concept': 'medical sign'}]
SELECT DISTINCT ?e WHERE { resource:lung_cancer property:symptoms ?e . ?e rdf:type ontology:medical_sign }
[]
medical sign
Q35805 Q188008 Q254327
SYSTEM
cough, dyspnea, anorexia
Q517104 Q188008 Q254327 Q647099 Q35805
(Q47912,P780,c(Q1441305))
action filter_type
action find
entity Q47912
relation P780
type Q1441305
A symptoms of that health problem are the [ANSWERS]
['Q47912', 'P780', {'concept': 'Q1441305'}]
SELECT DISTINCT ?e WHERE { resource:Q47912 property:P780 ?e . ?e rdf:type ontology:Q1441305 }
wheeze dyspnea anorexia hemoptysis cough
A symptoms of that health problem are the cough, dyspnea and anorexia
cough dyspnea anorexia
action filter_type
action find
entity lung cancer
relation symptoms
type medical sign
['lung cancer', 'symptoms', {'concept': 'medical sign'}]
SELECT DISTINCT ?e WHERE { resource:lung_cancer property:symptoms ?e . ?e rdf:type ontology:medical_sign }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q47912
Q7189713
USER
And which physiological condition?
(Q47912,P780,c(Q7189713))
action filter_type
action find
entity Q47912
relation P780
type Q7189713
['Q47912', 'P780', {'concept': 'Q7189713'}]
SELECT DISTINCT ?j WHERE { resource:Q47912 property:P780 ?j . ?j 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 ?j WHERE { resource:lung_cancer property:symptoms ?j . ?j rdf:type ontology:physiological_condition }
[]
physiological condition
Q9690 Q718113
SYSTEM
fatigue, weight loss
Q9690 Q718113
(Q47912,P780,c(Q7189713))
action filter_type
action find
entity Q47912
relation P780
type Q7189713
[ANSWERS]
['Q47912', 'P780', {'concept': 'Q7189713'}]
SELECT DISTINCT ?j WHERE { resource:Q47912 property:P780 ?j . ?j rdf:type ontology:Q7189713 }
fatigue weight loss
fatigue weight loss
action filter_type
action find
entity lung cancer
relation symptoms
type physiological condition
['lung cancer', 'symptoms', {'concept': 'physiological condition'}]
SELECT DISTINCT ?j WHERE { resource:lung_cancer property:symptoms ?j . ?j rdf:type ontology:physiological_condition }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4896104
P780
Q3249551
USER
Do Beryllium poisoning have those physiological conditions as one of their symptoms ?
(Q4896104,P780,Q9690) (Q4896104,P780,Q718113)
action is_in
entity prev_answer
action find
entity Q4896104
relation P780
['Q4896104', 'P780', 'Q9690'] ['Q4896104', 'P780', 'Q718113']
ASK WHERE { VALUES ( ?c ) { ( resource:Q9690 ) ( resource:Q718113 ) } . resource:Q4896104 property:P780 ?c }
Beryllium poisoning
action is_in
entity prev_answer
action find
entity Beryllium poisoning
relation symptoms
['Beryllium poisoning', 'symptoms', 'fatigue'] ['Beryllium poisoning', 'symptoms', 'weight loss']
ASK WHERE { VALUES ( ?c ) { ( resource:fatigue ) ( resource:weight_loss ) } . resource:Beryllium_poisoning property:symptoms ?c }
[]
process
SYSTEM
YES
(Q4896104,P780,Q9690) (Q4896104,P780,Q718113)
action is_in
entity prev_answer
action find
entity Q4896104
relation P780
[ANSWER]
['Q4896104', 'P780', 'Q9690'] ['Q4896104', 'P780', 'Q718113']
ASK WHERE { VALUES ( ?c ) { ( resource:Q9690 ) ( resource:Q718113 ) } . resource:Q4896104 property:P780 ?c }
Yes
action is_in
entity prev_answer
action find
entity Beryllium poisoning
relation symptoms
['Beryllium poisoning', 'symptoms', 'fatigue'] ['Beryllium poisoning', 'symptoms', 'weight loss']
ASK WHERE { VALUES ( ?c ) { ( resource:fatigue ) ( resource:weight_loss ) } . resource:Beryllium_poisoning property:symptoms ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q47912 Q21051307
P2293
Q863908
USER
How many nucleic acid sequences have genetic relation with lung cancer or FRAXE intellectual disability ?
(Q47912,P2293,c(Q863908)) (Q21051307,P2293,c(Q863908))
action count
action union
action filter_type
action find
entity Q47912
relation P2293
type Q863908
action filter_type
action find
entity Q21051307
relation P2293
type Q863908
['Q47912', 'P2293', {'concept': 'Q863908'}] ['Q21051307', 'P2293', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { resource:Q21051307 property:P2293 ?g . ?g rdf:type ontology:Q863908 } UNION { resource:Q47912 property:P2293 ?g . ?g rdf:type ontology:Q863908 } }
lung cancer FRAXE intellectual disability
action count
action union
action filter_type
action find
entity lung cancer
relation genetic association
type nucleic acid sequence
action filter_type
action find
entity FRAXE intellectual disability
relation genetic association
type nucleic acid sequence
['lung cancer', 'genetic association', {'concept': 'nucleic acid sequence'}] ['FRAXE intellectual disability', 'genetic association', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { resource:FRAXE_intellectual_disability property:genetic_association ?g . ?g rdf:type ontology:nucleic_acid_sequence } UNION { resource:lung_cancer property:genetic_association ?g . ?g rdf:type ontology:nucleic_acid_sequence } }
[]
nucleic acid sequence
SYSTEM
14
Q5477662 Q18033514 Q18043088 Q18046843 Q18034010 Q18027817 Q15313986 Q18034642 Q17927359 Q15315135 Q18031020 Q5573603 Q18051065 Q14912280
(Q47912,P2293,c(Q863908)) (Q21051307,P2293,c(Q863908))
action count
action union
action filter_type
action find
entity Q47912
relation P2293
type Q863908
action filter_type
action find
entity Q21051307
relation P2293
type Q863908
[ANSWER]
['Q47912', 'P2293', {'concept': 'Q863908'}] ['Q21051307', 'P2293', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { resource:Q21051307 property:P2293 ?g . ?g rdf:type ontology:Q863908 } UNION { resource:Q47912 property:P2293 ?g . ?g rdf:type ontology:Q863908 } }
Fragile Mental Retardation 2 MTMR3 LRFN2 CLPTM1L TGM5 IL1RAP TP63 PHACTR2 BPTF TERT RAD52 GPC5 VTI1A CHEK2
14
action count
action union
action filter_type
action find
entity lung cancer
relation genetic association
type nucleic acid sequence
action filter_type
action find
entity FRAXE intellectual disability
relation genetic association
type nucleic acid sequence
['lung cancer', 'genetic association', {'concept': 'nucleic acid sequence'}] ['FRAXE intellectual disability', 'genetic association', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { resource:FRAXE_intellectual_disability property:genetic_association ?g . ?g rdf:type ontology:nucleic_acid_sequence } UNION { resource:lung_cancer property:genetic_association ?g . ?g rdf:type ontology:nucleic_acid_sequence } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47912
P1050
Q1914636
USER
Which activity is afflicted by lung cancer ?
(c(Q1914636),P1050,Q47912)
action filter_type
action find_reverse
entity Q47912
relation P1050
type Q1914636
[{'concept': 'Q1914636'}, 'P1050', 'Q47912']
SELECT DISTINCT ?p WHERE { ?p property:P1050 resource:Q47912 . ?p 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 ?p WHERE { ?p property:medical_condition resource:lung_cancer . ?p 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
In [ANSWER] is afflicted by lung cancer
[{'concept': 'Q1914636'}, 'P1050', 'Q47912']
SELECT DISTINCT ?p WHERE { ?p property:P1050 resource:Q47912 . ?p rdf:type ontology:Q1914636 }
Diagnosis of lung cancer
In Diagnosis of lung cancer is afflicted by 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 ?p WHERE { ?p property:medical_condition resource:lung_cancer . ?p rdf:type ontology:activity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47912
P828
Q2057971
USER
What causes lung cancer ?
(Q47912,P828,c(Q2057971))
action filter_type
action find
entity Q47912
relation P828
type Q2057971
['Q47912', 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?u WHERE { resource:Q47912 property:P828 ?u . ?u rdf:type ontology:Q2057971 }
lung cancer
action filter_type
action find
entity lung cancer
relation has cause
type health problem
['lung cancer', 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?u WHERE { resource:lung_cancer property:has_cause ?u . ?u rdf:type ontology:health_problem }
[]
health problem
Q664174
SYSTEM
asbestosis
Q664174
(Q47912,P828,c(Q2057971))
action filter_type
action find
entity Q47912
relation P828
type Q2057971
[ANSWER] causes lung cancer
['Q47912', 'P828', {'concept': 'Q2057971'}]
SELECT DISTINCT ?u WHERE { resource:Q47912 property:P828 ?u . ?u rdf:type ontology:Q2057971 }
asbestosis
Asbestosis causes lung cancer
asbestosis
action filter_type
action find
entity lung cancer
relation has cause
type health problem
['lung cancer', 'has cause', {'concept': 'health problem'}]
SELECT DISTINCT ?u WHERE { resource:lung_cancer property:has_cause ?u . ?u rdf:type ontology:health_problem }
[]