Simple Question (Direct)
Simple Question
Q29417
P129
Q181394
USER
What do all-trans-retinoic acid interact with ?
(Q29417,P129,c(Q181394))
action filter_type
action find
entity Q29417
relation P129
type Q181394
['Q29417', 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?n WHERE { resource:Q29417 property:P129 ?n . ?n rdf:type ontology:Q181394 }
all-trans-retinoic acid
action filter_type
action find
entity all-trans-retinoic acid
relation physically interacts with
type nutrient
['all-trans-retinoic acid', 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?n WHERE { resource:all-trans-retinoic_acid property:physically_interacts_with ?n . ?n rdf:type ontology:nutrient }
[]
nutrient
Q254943 Q7169504 Q6592965
SYSTEM
Retinoic acid receptor alpha, Peroxisome proliferator-activated receptor delta, Retinoic acid receptor gamma
Q254943 Q21117235 Q6592976 Q21120955 Q6592965 Q7169504
(Q29417,P129,c(Q181394))
action filter_type
action find
entity Q29417
relation P129
type Q181394
All-trans-retinoic acid interact with [ANSWERS]
['Q29417', 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?n WHERE { resource:Q29417 property:P129 ?n . ?n rdf:type ontology:Q181394 }
Retinoic acid receptor alpha Nuclear receptor ROR-beta Retinoic acid receptor beta Nuclear receptor subfamily 2 group C member 2 Retinoic acid receptor gamma Peroxisome proliferator-activated receptor delta
All-trans-retinoic acid interact with Retinoic acid receptor alpha, Peroxisome proliferator-activated receptor delta and Retinoic acid receptor gamma
Retinoic acid receptor alpha Peroxisome proliferator-activated receptor delta Retinoic acid receptor gamma
action filter_type
action find
entity all-trans-retinoic acid
relation physically interacts with
type nutrient
['all-trans-retinoic acid', 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?n WHERE { resource:all-trans-retinoic_acid property:physically_interacts_with ?n . ?n rdf:type ontology:nutrient }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29417
P921
Q386724
USER
Which work has all-trans-retinoic acid as its principal topic ?
(c(Q386724),P921,Q29417)
action filter_type
action find_reverse
entity Q29417
relation P921
type Q386724
[{'concept': 'Q386724'}, 'P921', 'Q29417']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q386724 . ?q property:P921 resource:Q29417 }
all-trans-retinoic acid
action filter_type
action find_reverse
entity all-trans-retinoic acid
relation main subject
type work
[{'concept': 'work'}, 'main subject', 'all-trans-retinoic acid']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:work . ?q property:main_subject resource:all-trans-retinoic_acid }
[]
work
Q26376625
SYSTEM
Screening of Priority Chemicals for Reproductive Hazards. Benzyl Alcohol (CAS No. 100-51-6), Probenecid (CAS No. 57-66-9), trans- Retinoic-acid (CAS No. 302-79-4)
Q26376625
(c(Q386724),P921,Q29417)
action filter_type
action find_reverse
entity Q29417
relation P921
type Q386724
[ANSWER] has all-trans-retinoic acid as its principal topic
[{'concept': 'Q386724'}, 'P921', 'Q29417']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q386724 . ?q property:P921 resource:Q29417 }
Screening of Priority Chemicals for Reproductive Hazards. Benzyl Alcohol (CAS No. 100-51-6), Probenecid (CAS No. 57-66-9), trans- Retinoic-acid (CAS No. 302-79-4)
Screening of Priority Chemicals for Reproductive Hazards. Benzyl Alcohol (CAS No. 100-51-6), Probenecid (CAS No. 57-66-9), trans- Retinoic-acid (CAS No. 302-79-4) has all-trans-retinoic acid as its principal topic
Screening of Priority Chemicals for Reproductive Hazards. Benzyl Alcohol (CAS No. 100-51-6), Probenecid (CAS No. 57-66-9), trans- Retinoic-acid (CAS No. 302-79-4)
action filter_type
action find_reverse
entity all-trans-retinoic acid
relation main subject
type work
[{'concept': 'work'}, 'main subject', 'all-trans-retinoic acid']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:work . ?q property:main_subject resource:all-trans-retinoic_acid }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29417
P2175
Q2057971
USER
Which health problems are all-trans-retinoic acid a medication for ?
(Q29417,P2175,c(Q2057971))
action filter_type
action find
entity Q29417
relation P2175
type Q2057971
['Q29417', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?i WHERE { resource:Q29417 property:P2175 ?i . ?i rdf:type ontology:Q2057971 }
all-trans-retinoic acid
action filter_type
action find
entity all-trans-retinoic acid
relation medical condition treated
type health problem
['all-trans-retinoic acid', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?i WHERE { resource:all-trans-retinoic_acid property:medical_condition_treated ?i . ?i rdf:type ontology:health_problem }
[]
health problem
Q264118 Q208414 Q79928
SYSTEM
acute myeloid leukemia, lymphoma, acne
Q18555301 Q208414 Q949302 Q79928 Q264118 Q612108
(Q29417,P2175,c(Q2057971))
action filter_type
action find
entity Q29417
relation P2175
type Q2057971
[ANSWERS] are all-trans-retinoic acid a medication for
['Q29417', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?i WHERE { resource:Q29417 property:P2175 ?i . ?i rdf:type ontology:Q2057971 }
facial dermatosis lymphoma skin disease acne acute myeloid leukemia acute promyelocytic leukemia
Acute myeloid leukemia, lymphoma and acne are all-trans-retinoic acid a medication for
acute myeloid leukemia lymphoma acne
action filter_type
action find
entity all-trans-retinoic acid
relation medical condition treated
type health problem
['all-trans-retinoic acid', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?i WHERE { resource:all-trans-retinoic_acid property:medical_condition_treated ?i . ?i rdf:type ontology:health_problem }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q29417
P2175
Q8386
USER
Are all-trans-retinoic acid used to cure those health problems ?
(Q29417,P2175,Q264118) (Q29417,P2175,Q208414) (Q29417,P2175,Q79928)
action is_in
entity prev_answer
action find
entity Q29417
relation P2175
['Q29417', 'P2175', 'Q264118'] ['Q29417', 'P2175', 'Q208414'] ['Q29417', 'P2175', 'Q79928']
ASK WHERE { VALUES ( ?c ) { ( resource:Q18555301 ) ( resource:Q208414 ) ( resource:Q949302 ) } . resource:Q29417 property:P2175 ?c }
all-trans-retinoic acid
action is_in
entity prev_answer
action find
entity all-trans-retinoic acid
relation medical condition treated
['all-trans-retinoic acid', 'medical condition treated', 'acute myeloid leukemia'] ['all-trans-retinoic acid', 'medical condition treated', 'lymphoma'] ['all-trans-retinoic acid', 'medical condition treated', 'acne']
ASK WHERE { VALUES ( ?c ) { ( resource:facial_dermatosis ) ( resource:lymphoma ) ( resource:skin_disease ) } . resource:all-trans-retinoic_acid property:medical_condition_treated ?c }
[]
drug
SYSTEM
YES
(Q29417,P2175,Q264118) (Q29417,P2175,Q208414) (Q29417,P2175,Q79928)
action is_in
entity prev_answer
action find
entity Q29417
relation P2175
[ANSWER]
['Q29417', 'P2175', 'Q264118'] ['Q29417', 'P2175', 'Q208414'] ['Q29417', 'P2175', 'Q79928']
ASK WHERE { VALUES ( ?c ) { ( resource:Q18555301 ) ( resource:Q208414 ) ( resource:Q949302 ) } . resource:Q29417 property:P2175 ?c }
Yes
action is_in
entity prev_answer
action find
entity all-trans-retinoic acid
relation medical condition treated
['all-trans-retinoic acid', 'medical condition treated', 'acute myeloid leukemia'] ['all-trans-retinoic acid', 'medical condition treated', 'lymphoma'] ['all-trans-retinoic acid', 'medical condition treated', 'acne']
ASK WHERE { VALUES ( ?c ) { ( resource:facial_dermatosis ) ( resource:lymphoma ) ( resource:skin_disease ) } . resource:all-trans-retinoic_acid property:medical_condition_treated ?c }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q264118 Q5196200 Q18557807
P780
Q2057971
USER
Does acute myeloid leukemia have Cushing ulcer and gastric signet ring cell adenocarcinoma as one of its symptoms ?
(Q264118,P780,Q5196200) (Q264118,P780,Q18557807)
action is_in
entity Q264118
action intersection
action find_reverse
entity Q5196200
relation P780
action find_reverse
entity Q18557807
relation P780
['Q264118', 'P780', 'Q5196200'] ['Q264118', 'P780', 'Q18557807']
ASK WHERE { resource:Q264118 property:P780 resource:Q5196200 . resource:Q264118 property:P780 resource:Q18557807 }
acute myeloid leukemia Cushing ulcer gastric signet ring cell adenocarcinoma
action is_in
entity acute myeloid leukemia
action intersection
action find_reverse
entity Cushing ulcer
relation symptoms
action find_reverse
entity gastric signet ring cell adenocarcinoma
relation symptoms
['acute myeloid leukemia', 'symptoms', 'Cushing ulcer'] ['acute myeloid leukemia', 'symptoms', 'gastric signet ring cell adenocarcinoma']
ASK WHERE { resource:acute_myeloid_leukemia property:symptoms resource:Cushing_ulcer . resource:acute_myeloid_leukemia property:symptoms resource:gastric_signet_ring_cell_adenocarcinoma }
[]
health problem
SYSTEM
NO
(Q264118,P780,Q5196200) (Q264118,P780,Q18557807)
action is_in
entity Q264118
action intersection
action find_reverse
entity Q5196200
relation P780
action find_reverse
entity Q18557807
relation P780
[ANSWER]
['Q264118', 'P780', 'Q5196200'] ['Q264118', 'P780', 'Q18557807']
ASK WHERE { resource:Q264118 property:P780 resource:Q5196200 . resource:Q264118 property:P780 resource:Q18557807 }
No
action is_in
entity acute myeloid leukemia
action intersection
action find_reverse
entity Cushing ulcer
relation symptoms
action find_reverse
entity gastric signet ring cell adenocarcinoma
relation symptoms
['acute myeloid leukemia', 'symptoms', 'Cushing ulcer'] ['acute myeloid leukemia', 'symptoms', 'gastric signet ring cell adenocarcinoma']
ASK WHERE { resource:acute_myeloid_leukemia property:symptoms resource:Cushing_ulcer . resource:acute_myeloid_leukemia property:symptoms resource:gastric_signet_ring_cell_adenocarcinoma }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P828
Q2996394 Q7189713 Q2057971
USER
How many health problems are the result of having around 1 biological processes and physiological conditions ?
(c(Q2057971),P828,c(Q2996394)|c(Q7189713))
action count
action approx
action union
action find_tuple_counts
relation P828
type Q2057971
type Q2996394
action find_tuple_counts
relation P828
type Q2057971
type Q7189713
value 1
[{'concept': 'Q2057971'}, 'P828', [{'concept': 'Q2996394'}, {'concept': 'Q7189713'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?b ) WHERE { { ?y property:P828 ?q . ?y rdf:type ontology:Q2057971 . ?q rdf:type ontology:Q2996394 } UNION { ?y property:P828 ?q . ?y rdf:type ontology:Q2057971 . ?q rdf:type ontology:Q7189713 } } GROUP BY ?y } . FILTER ( ?b = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation has cause
type health problem
type biological process
action find_tuple_counts
relation has cause
type health problem
type physiological condition
value 1
[{'concept': 'health problem'}, 'has cause', [{'concept': 'biological process'}, {'concept': 'physiological condition'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?b ) WHERE { { ?y property:has_cause ?q . ?y rdf:type ontology:health_problem . ?q rdf:type ontology:biological_process } UNION { ?y property:has_cause ?q . ?y rdf:type ontology:health_problem . ?q rdf:type ontology:physiological_condition } } GROUP BY ?y } . FILTER ( ?b = 1 ) }
[]
biological process physiological condition health problem
SYSTEM
8
Q190564 Q1097957 Q21082526 Q200779 Q16918398 Q18553742 Q506616 Q68833
(c(Q2057971),P828,c(Q2996394)|c(Q7189713))
action count
action approx
action union
action find_tuple_counts
relation P828
type Q2057971
type Q2996394
action find_tuple_counts
relation P828
type Q2057971
type Q7189713
value 1
[ANSWER]
[{'concept': 'Q2057971'}, 'P828', [{'concept': 'Q2996394'}, {'concept': 'Q7189713'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?b ) WHERE { { ?y property:P828 ?q . ?y rdf:type ontology:Q2057971 . ?q rdf:type ontology:Q2996394 } UNION { ?y property:P828 ?q . ?y rdf:type ontology:Q2057971 . ?q rdf:type ontology:Q7189713 } } GROUP BY ?y } . FILTER ( ?b = 1 ) }
Huntington's disease intermittent claudication chromosomal duplication syndrome genetic disease chromosomal deletion syndrome chromosomal disease drowning bone fracture
8
action count
action approx
action union
action find_tuple_counts
relation has cause
type health problem
type biological process
action find_tuple_counts
relation has cause
type health problem
type physiological condition
value 1
[{'concept': 'health problem'}, 'has cause', [{'concept': 'biological process'}, {'concept': 'physiological condition'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?b ) WHERE { { ?y property:has_cause ?q . ?y rdf:type ontology:health_problem . ?q rdf:type ontology:biological_process } UNION { ?y property:has_cause ?q . ?y rdf:type ontology:health_problem . ?q rdf:type ontology:physiological_condition } } GROUP BY ?y } . FILTER ( ?b = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P828
Q181394 Q2057971
USER
Which nutrients are the causes of min number of health problems ?
(c(Q2057971),P828,Q419507)
action argmin
action find_reverse_tuple_counts
relation P828
type Q181394
type Q2057971
[{'concept': 'Q2057971'}, 'P828', 'Q419507']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?y ) { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?o ) WHERE { ?v rdf:type ontology:Q2057971 . ?c rdf:type ontology:Q181394 . ?v property:P828 ?c } GROUP BY ?c } } . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:P828 ?e . ?e rdf:type ontology:Q181394 . ?i rdf:type ontology:Q2057971 } GROUP BY ?e } . FILTER ( ?l = ?y ) }
action argmin
action find_reverse_tuple_counts
relation has cause
type nutrient
type health problem
[{'concept': 'health problem'}, 'has cause', 'Microtubule-associated protein tau']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?y ) { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?o ) WHERE { ?v rdf:type ontology:health_problem . ?c rdf:type ontology:nutrient . ?v property:has_cause ?c } GROUP BY ?c } } . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:has_cause ?e . ?e rdf:type ontology:nutrient . ?i rdf:type ontology:health_problem } GROUP BY ?e } . FILTER ( ?l = ?y ) }
[]
nutrient health problem
Q408668
SYSTEM
ricin
Q408668
(c(Q2057971),P828,Q419507)
action argmin
action find_reverse_tuple_counts
relation P828
type Q181394
type Q2057971
[ANSWER] is the causes of min number of health problems
[{'concept': 'Q2057971'}, 'P828', 'Q419507']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?y ) { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?o ) WHERE { ?v rdf:type ontology:Q2057971 . ?c rdf:type ontology:Q181394 . ?v property:P828 ?c } GROUP BY ?c } } . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:P828 ?e . ?e rdf:type ontology:Q181394 . ?i rdf:type ontology:Q2057971 } GROUP BY ?e } . FILTER ( ?l = ?y ) }
ricin
Ricin is the causes of min number of health problems
ricin
action argmin
action find_reverse_tuple_counts
relation has cause
type nutrient
type health problem
[{'concept': 'health problem'}, 'has cause', 'Microtubule-associated protein tau']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?y ) { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?o ) WHERE { ?v rdf:type ontology:health_problem . ?c rdf:type ontology:nutrient . ?v property:has_cause ?c } GROUP BY ?c } } . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:has_cause ?e . ?e rdf:type ontology:nutrient . ?i rdf:type ontology:health_problem } GROUP BY ?e } . FILTER ( ?l = ?y ) }
[]