Simple Question (Direct)
Simple Question
Q112994
P509
Q2057971
USER
Which health problem was the cause of death of Christian Habicht ?
(Q112994,P509,c(Q2057971))
action filter_type
action find
entity Q112994
relation P509
type Q2057971
['Q112994', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?o WHERE { resource:Q112994 property:P509 ?o . ?o rdf:type ontology:Q2057971 }
Christian Habicht
action filter_type
action find
entity Christian Habicht
relation cause of death
type health problem
['Christian Habicht', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?o WHERE { resource:Christian_Habicht property:cause_of_death ?o . ?o rdf:type ontology:health_problem }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q112994,P509,c(Q2057971))
action filter_type
action find
entity Q112994
relation P509
type Q2057971
L [ANSWER] was the cause of death of Christian Habicht
['Q112994', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?o WHERE { resource:Q112994 property:P509 ?o . ?o rdf:type ontology:Q2057971 }
myocardial infarction
L myocardial infarction was the cause of death of Christian Habicht
myocardial infarction
action filter_type
action find
entity Christian Habicht
relation cause of death
type health problem
['Christian Habicht', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?o WHERE { resource:Christian_Habicht property:cause_of_death ?o . ?o rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q112994
P21
Q290
USER
Which sex does that person possess ?
(Q12152,P21,c(Q290))
action filter_type
action find
entity Q112994
relation P21
type Q290
['Q12152', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q112994 property:P21 ?m . ?m rdf:type ontology:Q290 }
Christian Habicht
action filter_type
action find
entity Christian Habicht
relation gender
type sex
['myocardial infarction', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Christian_Habicht property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q12152,P21,c(Q290))
action filter_type
action find
entity Q112994
relation P21
type Q290
That person possesses a [ANSWER]
['Q12152', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q112994 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Christian Habicht
relation gender
type sex
['myocardial infarction', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Christian_Habicht property:gender ?m . ?m rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q12152 Q18556570
P2293
Q863908
USER
How many nucleic acid sequences are genetically connected with myocardial infarction or myelodysplastic myeloproliferative cancer ?
(c(Q863908),P2293,Q12152) (c(Q863908),P2293,Q18556570)
action count
action union
action filter_type
action find_reverse
entity Q12152
relation P2293
type Q863908
action filter_type
action find_reverse
entity Q18556570
relation P2293
type Q863908
[{'concept': 'Q863908'}, 'P2293', 'Q12152'] [{'concept': 'Q863908'}, 'P2293', 'Q18556570']
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { ?c property:P2293 resource:Q12152 . ?c rdf:type ontology:Q863908 } UNION { ?c rdf:type ontology:Q863908 . ?c property:P2293 resource:Q18556570 } }
myocardial infarction myelodysplastic myeloproliferative cancer
action count
action union
action filter_type
action find_reverse
entity myocardial infarction
relation genetic association
type nucleic acid sequence
action filter_type
action find_reverse
entity myelodysplastic myeloproliferative cancer
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'myocardial infarction'] [{'concept': 'nucleic acid sequence'}, 'genetic association', 'myelodysplastic myeloproliferative cancer']
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { ?c property:genetic_association resource:myocardial_infarction . ?c rdf:type ontology:nucleic_acid_sequence } UNION { ?c rdf:type ontology:nucleic_acid_sequence . ?c property:genetic_association resource:myelodysplastic_myeloproliferative_cancer } }
[]
nucleic acid sequence
SYSTEM
5
Q18053521 Q18042029 Q14914514 Q18056131 Q18037015
(c(Q863908),P2293,Q12152) (c(Q863908),P2293,Q18556570)
action count
action union
action filter_type
action find_reverse
entity Q12152
relation P2293
type Q863908
action filter_type
action find_reverse
entity Q18556570
relation P2293
type Q863908
[ANSWER]
[{'concept': 'Q863908'}, 'P2293', 'Q12152'] [{'concept': 'Q863908'}, 'P2293', 'Q18556570']
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { ?c property:P2293 resource:Q12152 . ?c rdf:type ontology:Q863908 } UNION { ?c rdf:type ontology:Q863908 . ?c property:P2293 resource:Q18556570 } }
PHACTR1 WDR12 JAK2 MIA3 PLCL2
5
action count
action union
action filter_type
action find_reverse
entity myocardial infarction
relation genetic association
type nucleic acid sequence
action filter_type
action find_reverse
entity myelodysplastic myeloproliferative cancer
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'myocardial infarction'] [{'concept': 'nucleic acid sequence'}, 'genetic association', 'myelodysplastic myeloproliferative cancer']
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { ?c property:genetic_association resource:myocardial_infarction . ?c rdf:type ontology:nucleic_acid_sequence } UNION { ?c rdf:type ontology:nucleic_acid_sequence . ?c property:genetic_association resource:myelodysplastic_myeloproliferative_cancer } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q15734316
P1542
Q2057971 Q12136 Q2057971
USER
Which health problems caused greater number of health problems or diseases than underlying disease ?
(c(Q2057971),P1542,c(Q2057971)|c(Q12136))
action greater
action union
action find_tuple_counts
relation P1542
type Q2057971
type Q2057971
action find_tuple_counts
relation P1542
type Q2057971
type Q12136
action count
action filter_multi_types
action find
entity Q15734316
relation P1542
type Q2057971
type Q12136
[{'concept': 'Q2057971'}, 'P1542', [{'concept': 'Q2057971'}, {'concept': 'Q12136'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?d ) WHERE { { ?g property:P1542 ?p . ?g rdf:type ontology:Q2057971 . ?p rdf:type ontology:Q2057971 } UNION { ?g property:P1542 ?p . ?g rdf:type ontology:Q2057971 . ?p rdf:type ontology:Q12136 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { resource:Q15734316 property:P1542 ?v . { ?v rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2057971 ) ( ontology:Q12136 ) } } } } . FILTER ( ?d > ?r ) }
underlying disease
action greater
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 disease
action count
action filter_multi_types
action find
entity underlying disease
relation cause of
type health problem
type disease
[{'concept': 'health problem'}, 'cause of', [{'concept': 'health problem'}, {'concept': 'disease'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?d ) WHERE { { ?g property:cause_of ?p . ?g rdf:type ontology:health_problem . ?p rdf:type ontology:health_problem } UNION { ?g property:cause_of ?p . ?g rdf:type ontology:health_problem . ?p rdf:type ontology:disease } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { resource:underlying_disease property:cause_of ?v . { ?v rdf:type ?h . VALUES ( ?h ) { ( ontology:health_problem ) ( ontology:disease ) } } } } . FILTER ( ?d > ?r ) }
[]
health problem disease health problem
Q12206 Q39222 Q5797309
SYSTEM
diabetes mellitus, rabies, lacrimal duct obstruction
Q12206 Q39222 Q5797309
(c(Q2057971),P1542,c(Q2057971)|c(Q12136))
action greater
action union
action find_tuple_counts
relation P1542
type Q2057971
type Q2057971
action find_tuple_counts
relation P1542
type Q2057971
type Q12136
action count
action filter_multi_types
action find
entity Q15734316
relation P1542
type Q2057971
type Q12136
[ANSWERS] caused greater number of health problems or diseases than underlying disease
[{'concept': 'Q2057971'}, 'P1542', [{'concept': 'Q2057971'}, {'concept': 'Q12136'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?d ) WHERE { { ?g property:P1542 ?p . ?g rdf:type ontology:Q2057971 . ?p rdf:type ontology:Q2057971 } UNION { ?g property:P1542 ?p . ?g rdf:type ontology:Q2057971 . ?p rdf:type ontology:Q12136 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { resource:Q15734316 property:P1542 ?v . { ?v rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2057971 ) ( ontology:Q12136 ) } } } } . FILTER ( ?d > ?r ) }
diabetes mellitus rabies lacrimal duct obstruction
Diabetes mellitus, rabies and lacrimal duct obstruction caused greater number of health problems or diseases than underlying disease
diabetes mellitus rabies lacrimal duct obstruction
action greater
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 disease
action count
action filter_multi_types
action find
entity underlying disease
relation cause of
type health problem
type disease
[{'concept': 'health problem'}, 'cause of', [{'concept': 'health problem'}, {'concept': 'disease'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?d ) WHERE { { ?g property:cause_of ?p . ?g rdf:type ontology:health_problem . ?p rdf:type ontology:health_problem } UNION { ?g property:cause_of ?p . ?g rdf:type ontology:health_problem . ?p rdf:type ontology:disease } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { resource:underlying_disease property:cause_of ?v . { ?v rdf:type ?h . VALUES ( ?h ) { ( ontology:health_problem ) ( ontology:disease ) } } } } . FILTER ( ?d > ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q155857
P1542
Q2057971 Q12136 Q2057971
USER
And also tell me about rubella?
(c(Q2057971),P1542,c(Q2057971)|c(Q12136))
action greater
action union
action find_tuple_counts
relation P1542
type Q2057971
type Q2057971
action find_tuple_counts
relation P1542
type Q2057971
type Q12136
action count
action filter_multi_types
action find
entity Q155857
relation P1542
type Q2057971
type Q12136
[{'concept': 'Q2057971'}, 'P1542', [{'concept': 'Q2057971'}, {'concept': 'Q12136'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?h ) WHERE { { ?y property:P1542 ?a . ?a rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q2057971 } UNION { ?y property:P1542 ?a . ?y rdf:type ontology:Q2057971 . ?a rdf:type ontology:Q12136 } } GROUP BY ?y } . FILTER ( ?h > ?v ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Q155857 property:P1542 ?l . { VALUES ( ?k ) { ( ontology:Q2057971 ) ( ontology:Q12136 ) } . ?l rdf:type ?k } } } }
rubella
action greater
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 disease
action count
action filter_multi_types
action find
entity rubella
relation cause of
type health problem
type disease
[{'concept': 'health problem'}, 'cause of', [{'concept': 'health problem'}, {'concept': 'disease'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?h ) WHERE { { ?y property:cause_of ?a . ?a rdf:type ontology:health_problem . ?y rdf:type ontology:health_problem } UNION { ?y property:cause_of ?a . ?y rdf:type ontology:health_problem . ?a rdf:type ontology:disease } } GROUP BY ?y } . FILTER ( ?h > ?v ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:rubella property:cause_of ?l . { VALUES ( ?k ) { ( ontology:health_problem ) ( ontology:disease ) } . ?l rdf:type ?k } } } }
[]
health problem disease health problem
Q12206 Q39222 Q5797309
SYSTEM
diabetes mellitus, rabies, lacrimal duct obstruction
Q12206 Q39222 Q5797309
(c(Q2057971),P1542,c(Q2057971)|c(Q12136))
action greater
action union
action find_tuple_counts
relation P1542
type Q2057971
type Q2057971
action find_tuple_counts
relation P1542
type Q2057971
type Q12136
action count
action filter_multi_types
action find
entity Q155857
relation P1542
type Q2057971
type Q12136
[ANSWERS]
[{'concept': 'Q2057971'}, 'P1542', [{'concept': 'Q2057971'}, {'concept': 'Q12136'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?h ) WHERE { { ?y property:P1542 ?a . ?a rdf:type ontology:Q2057971 . ?y rdf:type ontology:Q2057971 } UNION { ?y property:P1542 ?a . ?y rdf:type ontology:Q2057971 . ?a rdf:type ontology:Q12136 } } GROUP BY ?y } . FILTER ( ?h > ?v ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Q155857 property:P1542 ?l . { VALUES ( ?k ) { ( ontology:Q2057971 ) ( ontology:Q12136 ) } . ?l rdf:type ?k } } } }
diabetes mellitus rabies lacrimal duct obstruction
diabetes mellitus rabies lacrimal duct obstruction
action greater
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 disease
action count
action filter_multi_types
action find
entity rubella
relation cause of
type health problem
type disease
[{'concept': 'health problem'}, 'cause of', [{'concept': 'health problem'}, {'concept': 'disease'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?h ) WHERE { { ?y property:cause_of ?a . ?a rdf:type ontology:health_problem . ?y rdf:type ontology:health_problem } UNION { ?y property:cause_of ?a . ?y rdf:type ontology:health_problem . ?a rdf:type ontology:disease } } GROUP BY ?y } . FILTER ( ?h > ?v ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:rubella property:cause_of ?l . { VALUES ( ?k ) { ( ontology:health_problem ) ( ontology:disease ) } . ?l rdf:type ?k } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q102769
P828
Q10675206 Q2057971
USER
Which ingredients are the causes of more number of health problems than sodium hydroxide ?
(c(Q2057971),P828,c(Q10675206))
action greater
action find_reverse_tuple_counts
relation P828
type Q10675206
type Q2057971
action count
action filter_type
action find
entity Q102769
relation P828
type Q10675206
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q10675206'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:P828 ?s . ?s rdf:type ontology:Q10675206 . ?z rdf:type ontology:Q2057971 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { resource:Q102769 property:P828 ?g . ?g rdf:type ontology:Q10675206 } } . FILTER ( ?r > ?f ) }
sodium hydroxide
action greater
action find_reverse_tuple_counts
relation has cause
type ingredient
type health problem
action count
action filter_type
action find
entity sodium hydroxide
relation has cause
type ingredient
[{'concept': 'health problem'}, 'has cause', {'concept': 'ingredient'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:has_cause ?s . ?s rdf:type ontology:ingredient . ?z rdf:type ontology:health_problem } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { resource:sodium_hydroxide property:has_cause ?g . ?g rdf:type ontology:ingredient } } . FILTER ( ?r > ?f ) }
[]
ingredient health problem
Q8495 Q3621199
SYSTEM
milk, peanut
Q8495 Q3621199
(c(Q2057971),P828,c(Q10675206))
action greater
action find_reverse_tuple_counts
relation P828
type Q10675206
type Q2057971
action count
action filter_type
action find
entity Q102769
relation P828
type Q10675206
[ANSWERS] are the causes of more number of health problems than sodium hydroxide
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q10675206'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:P828 ?s . ?s rdf:type ontology:Q10675206 . ?z rdf:type ontology:Q2057971 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { resource:Q102769 property:P828 ?g . ?g rdf:type ontology:Q10675206 } } . FILTER ( ?r > ?f ) }
milk peanut
Milk and peanut are the causes of more number of health problems than sodium hydroxide
milk peanut
action greater
action find_reverse_tuple_counts
relation has cause
type ingredient
type health problem
action count
action filter_type
action find
entity sodium hydroxide
relation has cause
type ingredient
[{'concept': 'health problem'}, 'has cause', {'concept': 'ingredient'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?r ) WHERE { ?z property:has_cause ?s . ?s rdf:type ontology:ingredient . ?z rdf:type ontology:health_problem } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { resource:sodium_hydroxide property:has_cause ?g . ?g rdf:type ontology:ingredient } } . FILTER ( ?r > ?f ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q8495 Q3621199
P1542
Q2057971
USER
Which health problems are caused by those ingredients ?
(Q8495,P1542,c(Q2057971)) (Q3621199,P1542,c(Q2057971))
action filter_type
action find
entity prev_answer
relation P1542
type Q2057971
['Q8495', 'P1542', {'concept': 'Q2057971'}] ['Q3621199', 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2057971 . ?d property:P1542 ?t . VALUES ( ?d ) { ( resource:Q8495 ) ( resource:Q3621199 ) } }
milk peanut
action filter_type
action find
entity prev_answer
relation cause of
type health problem
['milk', 'cause of', {'concept': 'health problem'}] ['peanut', 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:health_problem . ?d property:cause_of ?t . VALUES ( ?d ) { ( resource:milk ) ( resource:peanut ) } }
[]
health problem
Q970203 Q7157933
SYSTEM
milk allergy, peanut allergy
Q970203 Q7157933
(Q8495,P1542,c(Q2057971)) (Q3621199,P1542,c(Q2057971))
action filter_type
action find
entity prev_answer
relation P1542
type Q2057971
[ANSWERS] are caused by those ingredients
['Q8495', 'P1542', {'concept': 'Q2057971'}] ['Q3621199', 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2057971 . ?d property:P1542 ?t . VALUES ( ?d ) { ( resource:Q8495 ) ( resource:Q3621199 ) } }
milk allergy peanut allergy
Milk allergy and peanut allergy are caused by those ingredients
milk allergy peanut allergy
action filter_type
action find
entity prev_answer
relation cause of
type health problem
['milk', 'cause of', {'concept': 'health problem'}] ['peanut', 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:health_problem . ?d property:cause_of ?t . VALUES ( ?d ) { ( resource:milk ) ( resource:peanut ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12206
P2176
Q8386
USER
Which drugs are used to cure diabetes mellitus ?
(Q12206,P2176,c(Q8386))
action filter_type
action find
entity Q12206
relation P2176
type Q8386
['Q12206', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?s WHERE { resource:Q12206 property:P2176 ?s . ?s rdf:type ontology:Q8386 }
diabetes mellitus
action filter_type
action find
entity diabetes mellitus
relation drug used for treatment
type drug
['diabetes mellitus', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?s WHERE { resource:diabetes_mellitus property:drug_used_for_treatment ?s . ?s rdf:type ontology:drug }
[]
drug
Q367700 Q412443 Q201872
SYSTEM
Cyclosporine, risperidone, Olanzapine
Q3492616 Q367700 Q201872 Q2754775 Q3108899 Q409898 Q7844989 Q155472 Q411188 Q412443 Q415411 Q411648 Q410965 Q412666 Q338005 Q409935 Q417317 Q6042242 Q417762 Q420626 Q414270 Q2526479
(Q12206,P2176,c(Q8386))
action filter_type
action find
entity Q12206
relation P2176
type Q8386
[ANSWERS] are used to cure diabetes mellitus
['Q12206', 'P2176', {'concept': 'Q8386'}]
SELECT DISTINCT ?s WHERE { resource:Q12206 property:P2176 ?s . ?s rdf:type ontology:Q8386 }
Insulin Lispro Cyclosporine Olanzapine Insulin Aspart glipizide dapagliflozin Troglitazone Valsartan aripiprazole risperidone Anakinra tacrolimus Insulin Detemir Ramipril acarbose Pegaptanib Insulin Glargine Insulin Glulisine Exenatide glibenclamide Ranibizumab Liraglutide
Cyclosporine, risperidone and Olanzapine are used to cure diabetes mellitus
Cyclosporine risperidone Olanzapine
action filter_type
action find
entity diabetes mellitus
relation drug used for treatment
type drug
['diabetes mellitus', 'drug used for treatment', {'concept': 'drug'}]
SELECT DISTINCT ?s WHERE { resource:diabetes_mellitus property:drug_used_for_treatment ?s . ?s rdf:type ontology:drug }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q12206
Q965478
USER
And which unsaturated hydrocarbon?
(Q12206,P2176,c(Q965478))
action filter_type
action find
entity Q12206
relation P2176
type Q965478
['Q12206', 'P2176', {'concept': 'Q965478'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q965478 . resource:Q12206 property:P2176 ?c }
diabetes mellitus
action filter_type
action find
entity diabetes mellitus
relation drug used for treatment
type unsaturated hydrocarbon
['diabetes mellitus', 'drug used for treatment', {'concept': 'unsaturated hydrocarbon'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:unsaturated_hydrocarbon . resource:diabetes_mellitus property:drug_used_for_treatment ?c }
[]
unsaturated hydrocarbon
Q909745
SYSTEM
linagliptin
Q909745
(Q12206,P2176,c(Q965478))
action filter_type
action find
entity Q12206
relation P2176
type Q965478
[ANSWER]
['Q12206', 'P2176', {'concept': 'Q965478'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q965478 . resource:Q12206 property:P2176 ?c }
linagliptin
linagliptin
action filter_type
action find
entity diabetes mellitus
relation drug used for treatment
type unsaturated hydrocarbon
['diabetes mellitus', 'drug used for treatment', {'concept': 'unsaturated hydrocarbon'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:unsaturated_hydrocarbon . resource:diabetes_mellitus property:drug_used_for_treatment ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q909745
P2175
Q12136
USER
Which diseases are that unsaturated hydrocarbon a medication for ?
(Q909745,P2175,c(Q12136))
action filter_type
action find
entity Q909745
relation P2175
type Q12136
['Q909745', 'P2175', {'concept': 'Q12136'}]
SELECT DISTINCT ?j WHERE { resource:Q909745 property:P2175 ?j . ?j rdf:type ontology:Q12136 }
linagliptin
action filter_type
action find
entity linagliptin
relation medical condition treated
type disease
['linagliptin', 'medical condition treated', {'concept': 'disease'}]
SELECT DISTINCT ?j WHERE { resource:linagliptin property:medical_condition_treated ?j . ?j rdf:type ontology:disease }
[]
disease
Q41112 Q6717002
SYSTEM
schizophrenia, MODY 2
Q41112 Q6717002
(Q909745,P2175,c(Q12136))
action filter_type
action find
entity Q909745
relation P2175
type Q12136
[ANSWERS]
['Q909745', 'P2175', {'concept': 'Q12136'}]
SELECT DISTINCT ?j WHERE { resource:Q909745 property:P2175 ?j . ?j rdf:type ontology:Q12136 }
schizophrenia MODY 2
Which diseases are that unsaturated hydrocarbon a medication for
schizophrenia MODY 2
action filter_type
action find
entity linagliptin
relation medical condition treated
type disease
['linagliptin', 'medical condition treated', {'concept': 'disease'}]
SELECT DISTINCT ?j WHERE { resource:linagliptin property:medical_condition_treated ?j . ?j rdf:type ontology:disease }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P921
Q12136 Q2342494
USER
Which diseases were more number of collectables mainly about than that disease ?
(c(Q2342494),P921,c(Q12136))
[{'concept': 'Q2342494'}, 'P921', {'concept': 'Q12136'}]
SELECT DISTINCT ?y WHERE { ?z property:P921 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q12136 }
[{'concept': 'collectable'}, 'main subject', {'concept': 'disease'}]
SELECT DISTINCT ?y WHERE { ?z property:main_subject ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:disease }
[]
disease collectable
Comparative|More/Less|Single entity type|Clarification
Q6717002
SYSTEM
Did you mean MODY 2 ?
(c(Q2342494),P921,c(Q12136))
[ANSWER]
[{'concept': 'Q2342494'}, 'P921', {'concept': 'Q12136'}]
SELECT DISTINCT ?y WHERE { ?z property:P921 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q12136 }
Did you mean MODY 2 ?
MODY 2
[{'concept': 'collectable'}, 'main subject', {'concept': 'disease'}]
SELECT DISTINCT ?y WHERE { ?z property:main_subject ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:disease }
[]
Comparative Reasoning (All)
USER
No, I meant schizophrenia. Could you tell me the answer for that?
(c(Q2342494),P921,c(Q12136))
Q41112
[{'concept': 'Q2342494'}, 'P921', {'concept': 'Q12136'}]
[{'concept': 'collectable'}, 'main subject', {'concept': 'disease'}]
[]
Q15326 Q7611228 Q181843
SYSTEM
alcoholism, Stereoblindness, Necrophilia
Q7611228 Q181843 Q26989030 Q1331105 Q15326 Q2211650
(c(Q2342494),P921,c(Q12136))
[ANSWERS] were more number of collectables mainly about than that disease
[{'concept': 'Q2342494'}, 'P921', {'concept': 'Q12136'}]
SELECT DISTINCT ?y WHERE { ?z property:P921 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q12136 }
Stereoblindness Necrophilia musculoskeletal disorder of the upper extremities Symphorophilia alcoholism sadomasochism
Alcoholism, Stereoblindness and Necrophilia were more number of collectables mainly about than that disease
alcoholism Stereoblindness Necrophilia
[{'concept': 'collectable'}, 'main subject', {'concept': 'disease'}]
SELECT DISTINCT ?y WHERE { ?z property:main_subject ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:disease }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P921
Q12136 Q386724 Q732577
USER
Which diseases were greater number of works and publications mainly about than that disease ?
(c(Q386724)|c(Q732577),P921,c(Q12136))
[[{'concept': 'Q386724'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12136'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P921 ?y } UNION { ?x property:P921 ?y } } . ?z rdf:type ontology:Q16532276 . ?y rdf:type ontology:Q12136 . ?x rdf:type ontology:Q732577 }
[[{'concept': 'work'}, {'concept': 'publication'}], 'main subject', {'concept': 'disease'}]
SELECT DISTINCT ?y WHERE { { { ?z property:main_subject ?y } UNION { ?x property:main_subject ?y } } . ?z rdf:type ontology:work . ?y rdf:type ontology:disease . ?x rdf:type ontology:publication }
[]
disease work publication
Comparative|More/Less|Mult. entity type|Clarification
Q7611228
SYSTEM
Did you mean Stereoblindness ?
(c(Q386724)|c(Q732577),P921,c(Q12136))
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12136'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P921 ?y } UNION { ?x property:P921 ?y } } . ?z rdf:type ontology:Q16532276 . ?y rdf:type ontology:Q12136 . ?x rdf:type ontology:Q732577 }
Did you mean Stereoblindness ?
Stereoblindness
[[{'concept': 'work'}, {'concept': 'publication'}], 'main subject', {'concept': 'disease'}]
SELECT DISTINCT ?y WHERE { { { ?z property:main_subject ?y } UNION { ?x property:main_subject ?y } } . ?z rdf:type ontology:work . ?y rdf:type ontology:disease . ?x rdf:type ontology:publication }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q386724)|c(Q732577),P921,c(Q12136))
[[{'concept': 'Q386724'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12136'}]
[[{'concept': 'work'}, {'concept': 'publication'}], 'main subject', {'concept': 'disease'}]
[]
Q23900716 Q2936210 Q26989045
SYSTEM
occupational cardiovascular disease, occupational cancer, neurotoxic disorder
Q7075805 Q23900716 Q26989030 Q2936210 Q26989028 Q26989024 Q26989045
(c(Q386724)|c(Q732577),P921,c(Q12136))
[ANSWERS] were greater number of works and publications mainly about than that disease
[[{'concept': 'Q386724'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12136'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P921 ?y } UNION { ?x property:P921 ?y } } . ?z rdf:type ontology:Q16532276 . ?y rdf:type ontology:Q12136 . ?x rdf:type ontology:Q732577 }
Occupational lung disease occupational cardiovascular disease musculoskeletal disorder of the upper extremities occupational cancer low back disorder occupationally acquired infection neurotoxic disorder
Occupational cardiovascular disease, occupational cancer and neurotoxic disorder were greater number of works and publications mainly about than that disease
occupational cardiovascular disease occupational cancer neurotoxic disorder
[[{'concept': 'work'}, {'concept': 'publication'}], 'main subject', {'concept': 'disease'}]
SELECT DISTINCT ?y WHERE { { { ?z property:main_subject ?y } UNION { ?x property:main_subject ?y } } . ?z rdf:type ontology:work . ?y rdf:type ontology:disease . ?x rdf:type ontology:publication }
[]