Simple Question (Direct)
Simple Question
Q3284028
P58
Q502895
USER
Who wrote the screenplay for The Flim-Flam Man ?
(Q3284028,P58,c(Q502895))
action filter_type
action find
entity Q3284028
relation P58
type Q502895
['Q3284028', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q3284028 property:P58 ?a }
The Flim-Flam Man
action filter_type
action find
entity The Flim-Flam Man
relation screenwriter
type common name
['The Flim-Flam Man', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:The_Flim-Flam_Man property:screenwriter ?a }
[]
common name
Q5622521
SYSTEM
Guy Owen
Q5622521
(Q3284028,P58,c(Q502895))
action filter_type
action find
entity Q3284028
relation P58
type Q502895
The [ANSWER] wrote the screenplay for The Flim-Flam Man
['Q3284028', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q3284028 property:P58 ?a }
Guy Owen
The Guy Owen wrote the screenplay for The Flim-Flam Man
Guy Owen
action filter_type
action find
entity The Flim-Flam Man
relation screenwriter
type common name
['The Flim-Flam Man', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:The_Flim-Flam_Man property:screenwriter ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5622521
P509
Q2057971
USER
Which health problem was the cause of death of that person ?
(Q5622521,P509,c(Q2057971))
action filter_type
action find
entity Q5622521
relation P509
type Q2057971
['Q5622521', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q2057971 . resource:Q5622521 property:P509 ?w }
Guy Owen
action filter_type
action find
entity Guy Owen
relation cause of death
type health problem
['Guy Owen', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:health_problem . resource:Guy_Owen property:cause_of_death ?w }
[]
health problem
Q623031
SYSTEM
liver cancer
Q623031
(Q5622521,P509,c(Q2057971))
action filter_type
action find
entity Q5622521
relation P509
type Q2057971
The [ANSWER] was the cause of death of that person
['Q5622521', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q2057971 . resource:Q5622521 property:P509 ?w }
liver cancer
The liver cancer was the cause of death of that person
liver cancer
action filter_type
action find
entity Guy Owen
relation cause of death
type health problem
['Guy Owen', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:health_problem . resource:Guy_Owen property:cause_of_death ?w }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q623031 Q5505016
P509
Q502895
USER
Did Fritz Shurmur have that health problem as the cause of death ?
(Q5505016,P509,Q623031)
action is_in
entity Q623031
action find
entity Q5505016
relation P509
['Q5505016', 'P509', 'Q623031']
ASK WHERE { resource:Q5505016 property:P509 resource:Q623031 }
liver cancer Fritz Shurmur
action is_in
entity liver cancer
action find
entity Fritz Shurmur
relation cause of death
['Fritz Shurmur', 'cause of death', 'liver cancer']
ASK WHERE { resource:Fritz_Shurmur property:cause_of_death resource:liver_cancer }
[]
common name
SYSTEM
YES
(Q5505016,P509,Q623031)
action is_in
entity Q623031
action find
entity Q5505016
relation P509
[ANSWER]
['Q5505016', 'P509', 'Q623031']
ASK WHERE { resource:Q5505016 property:P509 resource:Q623031 }
Yes
action is_in
entity liver cancer
action find
entity Fritz Shurmur
relation cause of death
['Fritz Shurmur', 'cause of death', 'liver cancer']
ASK WHERE { resource:Fritz_Shurmur property:cause_of_death resource:liver_cancer }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q623031
P1050
Q502895
USER
Which people are afflicted by that health problem ?
action filter_type
action find_reverse
entity Q623031
relation P1050
type Q502895
SELECT DISTINCT ?g WHERE { ?g property:P1050 resource:Q623031 . ?g rdf:type ontology:Q502895 }
liver cancer
action filter_type
action find_reverse
entity liver cancer
relation medical condition
type common name
SELECT DISTINCT ?g WHERE { ?g property:medical_condition resource:liver_cancer . ?g rdf:type ontology:common_name }
[]
common name
Q237268 Q18600536
SYSTEM
Paul Cox, Walt Palmer
Q237268 Q18600536
action filter_type
action find_reverse
entity Q623031
relation P1050
type Q502895
[ANSWERS] are afflicted by that health problem
SELECT DISTINCT ?g WHERE { ?g property:P1050 resource:Q623031 . ?g rdf:type ontology:Q502895 }
Paul Cox Walt Palmer
Paul Cox and Walt Palmer are afflicted by that health problem
Paul Cox Walt Palmer
action filter_type
action find_reverse
entity liver cancer
relation medical condition
type common name
SELECT DISTINCT ?g WHERE { ?g property:medical_condition resource:liver_cancer . ?g rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P710
Q18608583
USER
How many recurring sporting events did that person participate in ?
(c(Q18608583),P710,Q18600536)
[{'concept': 'Q18608583'}, 'P710', 'Q18600536']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P710 resource:Q18600536 . ?z rdf:type ontology:Q18608583 }
[{'concept': 'recurring sporting event'}, 'participant', 'Walt Palmer']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:participant resource:Walt_Palmer . ?z rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Quantitative|Count|Single entity type|Clarification
Q18600536
SYSTEM
Did you mean Walt Palmer ?
(c(Q18608583),P710,Q237268) (c(Q18608583),P710,Q18600536)
[ANSWER]
[{'concept': 'Q18608583'}, 'P710', 'Q237268'] [{'concept': 'Q18608583'}, 'P710', 'Q18600536']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P710 resource:Q18600536 . ?z rdf:type ontology:Q18608583 }
Did you mean Walt Palmer ?
Walt Palmer
[{'concept': 'recurring sporting event'}, 'participant', 'Paul Cox'] [{'concept': 'recurring sporting event'}, 'participant', 'Walt Palmer']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:participant resource:Walt_Palmer . ?z rdf:type ontology:recurring_sporting_event }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q18608583),P710,Q18600536)
[{'concept': 'Q18608583'}, 'P710', 'Q18600536']
[{'concept': 'recurring sporting event'}, 'participant', 'Walt Palmer']
[]
SYSTEM
1
Q18577434
(c(Q18608583),P710,Q18600536)
[ANSWER]
[{'concept': 'Q18608583'}, 'P710', 'Q18600536']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P710 resource:Q18600536 . ?z rdf:type ontology:Q18608583 }
1975 Iditarod
1
[{'concept': 'recurring sporting event'}, 'participant', 'Walt Palmer']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:participant resource:Walt_Palmer . ?z rdf:type ontology:recurring_sporting_event }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can approximately 953 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 953
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?c = 953 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 953
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?c = 953 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 953
[ANSWERS] can approximately 953 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?c = 953 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano can approximately 953 people perform with
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 953
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?c = 953 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q60235 Q623031
P828 P2175
Q2057971
USER
Which health problems are the causes of liver cancer or require caffeine to be prescribed ?
OR((Q623031,P828,c(Q2057971)), (Q60235,P2175,c(Q2057971)))
action filter_type
action union
action find
entity Q623031
relation P828
action find
entity Q60235
relation P2175
type Q2057971
{'OR': [['Q623031', 'P828', {'concept': 'Q2057971'}], ['Q60235', 'P2175', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2057971 . { { resource:Q623031 property:P828 ?z } UNION { resource:Q60235 property:P2175 ?z } } }
caffeine liver cancer
action filter_type
action union
action find
entity liver cancer
relation has cause
action find
entity caffeine
relation medical condition treated
type health problem
{'OR': [['liver cancer', 'has cause', {'concept': 'health problem'}], ['caffeine', 'medical condition treated', {'concept': 'health problem'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:health_problem . { { resource:liver_cancer property:has_cause ?z } UNION { resource:caffeine property:medical_condition_treated ?z } } }
[]
health problem
Q815819 Q844935 Q133823 Q11085 Q929737 Q18557827 Q181923 Q147778
SYSTEM
atrial fibrillation, coronary artery disease, migraine, Parkinson's disease, liver disease, cocaine abuse, attention deficit hyperactivity disorder, liver cirrhosis
Q815819 Q844935 Q133823 Q11085 Q929737 Q18557827 Q181923 Q147778
OR((Q623031,P828,c(Q2057971)), (Q60235,P2175,c(Q2057971)))
action filter_type
action union
action find
entity Q623031
relation P828
action find
entity Q60235
relation P2175
type Q2057971
[ANSWERS] are the causes of liver cancer or require caffeine to be prescribed
{'OR': [['Q623031', 'P828', {'concept': 'Q2057971'}], ['Q60235', 'P2175', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2057971 . { { resource:Q623031 property:P828 ?z } UNION { resource:Q60235 property:P2175 ?z } } }
atrial fibrillation coronary artery disease migraine Parkinson's disease liver disease cocaine abuse attention deficit hyperactivity disorder liver cirrhosis
Atrial fibrillation, coronary artery disease, migraine, Parkinson's disease, liver disease, cocaine abuse, attention deficit hyperactivity disorder and liver cirrhosis are the causes of liver cancer or require caffeine to be prescribed
atrial fibrillation coronary artery disease migraine Parkinson's disease liver disease cocaine abuse attention deficit hyperactivity disorder liver cirrhosis
action filter_type
action union
action find
entity liver cancer
relation has cause
action find
entity caffeine
relation medical condition treated
type health problem
{'OR': [['liver cancer', 'has cause', {'concept': 'health problem'}], ['caffeine', 'medical condition treated', {'concept': 'health problem'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:health_problem . { { resource:liver_cancer property:has_cause ?z } UNION { resource:caffeine property:medical_condition_treated ?z } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q14327652 Q60235
P681 P129
Q181394
USER
Which nutrients can interact with caffeine and are integral component of membrane a cell component of ?
AND((c(Q181394),P129,Q60235), (c(Q181394),P681,Q14327652))
action filter_type
action intersection
action find_reverse
entity Q60235
relation P129
action find_reverse
entity Q14327652
relation P681
type Q181394
{'AND': [[{'concept': 'Q181394'}, 'P129', 'Q60235'], [{'concept': 'Q181394'}, 'P681', 'Q14327652']]}
SELECT DISTINCT ?f WHERE { ?f property:P129 resource:Q60235 . ?f property:P681 resource:Q14327652 . ?f rdf:type ontology:Q181394 }
integral component of membrane caffeine
action filter_type
action intersection
action find_reverse
entity caffeine
relation physically interacts with
action find_reverse
entity integral component of membrane
relation cell component
type nutrient
{'AND': [[{'concept': 'nutrient'}, 'physically interacts with', 'caffeine'], [{'concept': 'nutrient'}, 'cell component', 'integral component of membrane']]}
SELECT DISTINCT ?f WHERE { ?f property:physically_interacts_with resource:caffeine . ?f property:cell_component resource:integral_component_of_membrane . ?f rdf:type ontology:nutrient }
[]
nutrient
Q21498709 Q21159525 Q21116154 Q3415811 Q3062781 Q21138907 Q21107812 Q21116162 Q21116164
SYSTEM
Adenosine receptor A2b, Ryanodine receptor 3, Adenosine receptor A3, Ryanodine receptor 2, Adenosine receptor A1, Ryanodine receptor 1, Inositol 1,4,5-trisphosphate receptor type 1, Adenosine receptor A2a, Adenosine receptor A2b
Q21498709 Q21159525 Q21116154 Q3415811 Q3062781 Q21138907 Q21107812 Q21116162 Q21116164
AND((c(Q181394),P129,Q60235), (c(Q181394),P681,Q14327652))
action filter_type
action intersection
action find_reverse
entity Q60235
relation P129
action find_reverse
entity Q14327652
relation P681
type Q181394
[ANSWERS] can interact with caffeine and are integral component of membrane a cell component of
{'AND': [[{'concept': 'Q181394'}, 'P129', 'Q60235'], [{'concept': 'Q181394'}, 'P681', 'Q14327652']]}
SELECT DISTINCT ?f WHERE { ?f property:P129 resource:Q60235 . ?f property:P681 resource:Q14327652 . ?f rdf:type ontology:Q181394 }
Adenosine receptor A2b Ryanodine receptor 3 Adenosine receptor A3 Ryanodine receptor 2 Adenosine receptor A1 Ryanodine receptor 1 Inositol 1,4,5-trisphosphate receptor type 1 Adenosine receptor A2a Adenosine receptor A2b
Adenosine receptor A2b, Ryanodine receptor 3, Adenosine receptor A3, Ryanodine receptor 2, Adenosine receptor A1, Ryanodine receptor 1, Inositol 1,4,5-trisphosphate receptor type 1, Adenosine receptor A2a and Adenosine receptor A2b can interact with caffeine and are integral component of membrane a cell component of
Adenosine receptor A2b Ryanodine receptor 3 Adenosine receptor A3 Ryanodine receptor 2 Adenosine receptor A1 Ryanodine receptor 1 Inositol 1,4,5-trisphosphate receptor type 1 Adenosine receptor A2a Adenosine receptor A2b
action filter_type
action intersection
action find_reverse
entity caffeine
relation physically interacts with
action find_reverse
entity integral component of membrane
relation cell component
type nutrient
{'AND': [[{'concept': 'nutrient'}, 'physically interacts with', 'caffeine'], [{'concept': 'nutrient'}, 'cell component', 'integral component of membrane']]}
SELECT DISTINCT ?f WHERE { ?f property:physically_interacts_with resource:caffeine . ?f property:cell_component resource:integral_component_of_membrane . ?f rdf:type ontology:nutrient }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P129
Q181394 Q8386 Q79529
USER
How many nutrients do more number of drugs or chemical substances communicate with than that nutrient ?
(c(Q8386)|c(Q79529),P129,c(Q181394))
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?l ) { ( ?z ) ( ?x ) } . ?l property:P129 ?y } . ?z rdf:type ontology:Q8386 . ?y rdf:type ontology:Q181394 . ?x rdf:type ontology:Q79529 }
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?l ) { ( ?z ) ( ?x ) } . ?l property:physically_interacts_with ?y } . ?z rdf:type ontology:drug . ?y rdf:type ontology:nutrient . ?x rdf:type ontology:chemical_substance }
[]
nutrient drug chemical substance
Comparative|Count over More/Less|Mult. entity type|Clarification
Q21116164
SYSTEM
Did you mean Adenosine receptor A2b ?
(c(Q8386)|c(Q79529),P129,c(Q181394))
[ANSWER]
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?l ) { ( ?z ) ( ?x ) } . ?l property:P129 ?y } . ?z rdf:type ontology:Q8386 . ?y rdf:type ontology:Q181394 . ?x rdf:type ontology:Q79529 }
Did you mean Adenosine receptor A2b ?
Adenosine receptor A2b
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?l ) { ( ?z ) ( ?x ) } . ?l property:physically_interacts_with ?y } . ?z rdf:type ontology:drug . ?y rdf:type ontology:nutrient . ?x rdf:type ontology:chemical_substance }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Adenosine receptor A1. Could you tell me the answer for that?
(c(Q8386)|c(Q79529),P129,c(Q181394))
Q3062781
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
[]
SYSTEM
45
Q7050954 Q21116154 Q309513 Q308856 Q4847910 Q287961 Q2663095 Q5123372 Q410142 Q288797 Q287958 Q21126810 Q21110867 Q4847900 Q4847907 Q4639596 Q4734884 Q4734887 Q4734886 Q21116162 Q2844056 Q21115334 Q288382 Q21115051 Q21115052 Q415364 Q21109355 Q4734894 Q21110872 Q4734892 Q21114578 Q21108118 Q4734891 Q21114576 Q21131500 Q8083989 Q21115046 Q21115043 Q7834290 Q21114582 Q21497939 Q1949517 Q21109363 Q5520260 Q2034004
(c(Q8386)|c(Q79529),P129,c(Q181394))
[ANSWER]
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P129 ?y } UNION { ?x property:P129 ?y } } . ?z rdf:type ontology:Q8386 . ?y rdf:type ontology:Q181394 . ?x rdf:type ontology:Q79529 }
Sodium-dependent noradrenaline transporter Adenosine receptor A3 Histamine H1 receptor D(4) dopamine receptor Muscarinic acetylcholine receptor M2 Beta-2 adrenergic receptor Glucocorticoid receptor Mu-type opioid receptor Sodium-dependent serotonin transporter 5-hydroxytryptamine receptor 1B Beta-1 adrenergic receptor Prostaglandin G/H synthase 1 D(1A) dopamine receptor Muscarinic acetylcholine receptor M1 Muscarinic acetylcholine receptor M4 5-hydroxytryptamine receptor 2B Alpha-1A adrenergic receptor Alpha-1D adrenergic receptor Alpha-1B adrenergic receptor Adenosine receptor A2a Muscarinic acetylcholine receptor M3 Delta-type opioid receptor Histamine H4 receptor 5-hydroxytryptamine receptor 1E 5-hydroxytryptamine receptor 1F Prostaglandin G/H synthase 2 5-hydroxytryptamine receptor 7 Alpha-2B adrenergic receptor D(3) dopamine receptor Alpha-2A adrenergic receptor Gamma-aminobutyric acid receptor subunit alpha-3 5-hydroxytryptamine receptor 2C Alpha-2C adrenergic receptor Gamma-aminobutyric acid receptor subunit alpha-5 D(1B) dopamine receptor Kappa-type opioid receptor 5-hydroxytryptamine receptor 1D 5-hydroxytryptamine receptor 1A Transient receptor potential cation channel subfamily A member 1 Gamma-aminobutyric acid receptor subunit alpha-2 5-hydroxytryptamine receptor 7 5-hydroxytryptamine receptor 2A 5-hydroxytryptamine receptor 6 Gamma-aminobutyric acid receptor subunit alpha-1 D(2) dopamine receptor
45
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:physically_interacts_with ?y } UNION { ?x property:physically_interacts_with ?y } } . ?z rdf:type ontology:drug . ?y rdf:type ontology:nutrient . ?x rdf:type ontology:chemical_substance }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q844935
P2293
Q863908
USER
How many nucleic acid sequences have genetic connection with coronary artery disease ?
(Q844935,P2293,c(Q863908))
action count
action filter_type
action find
entity Q844935
relation P2293
type Q863908
['Q844935', 'P2293', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c rdf:type ontology:Q863908 . resource:Q844935 property:P2293 ?c }
coronary artery disease
action count
action filter_type
action find
entity coronary artery disease
relation genetic association
type nucleic acid sequence
['coronary artery disease', 'genetic association', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c rdf:type ontology:nucleic_acid_sequence . resource:coronary_artery_disease property:genetic_association ?c }
[]
nucleic acid sequence
SYSTEM
60
Q18037162 Q14903974 Q18033185 Q14911781 Q18046685 Q14911924 Q18034959 Q18044238 Q18043159 Q4654809 Q18041778 Q17928830 Q18042029 Q18036183 Q18046693 Q18029821 Q18028580 Q18047600 Q18033153 Q18037069 Q18028667 Q18028466 Q18049580 Q18042454 Q17914045 Q18056462 Q14839826 Q18049084 Q18046189 Q18036681 Q18037783 Q14913892 Q286987 Q17916070 Q14914316 Q18031595 Q18045682 Q17915090 Q18037086 Q18040371 Q17832572 Q18029139 Q18047738 Q18056131 Q18029761 Q18031879 Q18028636 Q18042779 Q17859908 Q18046549 Q18047680 Q18051919 Q18047749 Q14914188 Q14912643 Q18037561 Q18042081 Q18053521 Q18036502 Q18053156
(Q844935,P2293,c(Q863908))
action count
action filter_type
action find
entity Q844935
relation P2293
type Q863908
[ANSWER]
['Q844935', 'P2293', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c rdf:type ontology:Q863908 . resource:Q844935 property:P2293 ?c }
ZFPM2 SMAD3 NUMB ALDH2 PLEKHO2 OPRM1 SH2B3 KIAA1462 DOCK6 ATP2B1 WDR33 FLT1 WDR12 ADAMTS7 PDGFD PPP1R12B LIPA HHIPL1 PLPP3 ANKS1A LRP6 LAMC2 MSI2 KCNK13 DNM2 UBE2Q2P1 ABO KLHL29 C10orf76 TNIK MTHFD1L TCF7L2 ABCA1 CELSR2 KCNQ3 SMARCA4 CSMD1 DTNB CUX2 ZC3HC1 ZFHX3 ATXN3 CAPS2 MIA3 MYL2 TCF21 LPA SLC12A9 CDH9 SEMA6D FNDC1 IGSF5 PSRC1 NRG1 PRKCA EDC4 RNF130 PHACTR1 MRAS PLD5
60
action count
action filter_type
action find
entity coronary artery disease
relation genetic association
type nucleic acid sequence
['coronary artery disease', 'genetic association', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { ?c rdf:type ontology:nucleic_acid_sequence . resource:coronary_artery_disease property:genetic_association ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q11085
P2175
Q965478 Q79529
USER
How many unsaturated hydrocarbons and chemical substances are prescribed for Parkinson's disease ?
(c(Q965478),P2175,Q11085) (c(Q79529),P2175,Q11085)
action count
action union
action filter_type
action find_reverse
entity Q11085
relation P2175
type Q965478
action filter_type
action find_reverse
entity Q11085
relation P2175
type Q79529
[{'concept': 'Q965478'}, 'P2175', 'Q11085'] [{'concept': 'Q79529'}, 'P2175', 'Q11085']
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { ?m property:P2175 resource:Q11085 . ?m rdf:type ontology:Q79529 } UNION { ?m property:P2175 resource:Q11085 . ?m rdf:type ontology:Q965478 } }
Parkinson's disease
action count
action union
action filter_type
action find_reverse
entity Parkinson's disease
relation medical condition treated
type unsaturated hydrocarbon
action filter_type
action find_reverse
entity Parkinson's disease
relation medical condition treated
type chemical substance
[{'concept': 'unsaturated hydrocarbon'}, 'medical condition treated', "Parkinson's disease"] [{'concept': 'chemical substance'}, 'medical condition treated', "Parkinson's disease"]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { ?m property:medical_condition_treated resource:Parkinson's_disease . ?m rdf:type ontology:chemical_substance } UNION { ?m property:medical_condition_treated resource:Parkinson's_disease . ?m rdf:type ontology:unsaturated_hydrocarbon } }
[]
unsaturated hydrocarbon chemical substance
SYSTEM
1 unsaturated hydrocarbons and 1 chemical substances
Q7553347 Q402633
(c(Q965478),P2175,Q11085) (c(Q79529),P2175,Q11085)
action count
action union
action filter_type
action find_reverse
entity Q11085
relation P2175
type Q965478
action filter_type
action find_reverse
entity Q11085
relation P2175
type Q79529
[ANSWER]
[{'concept': 'Q965478'}, 'P2175', 'Q11085'] [{'concept': 'Q79529'}, 'P2175', 'Q11085']
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { ?m property:P2175 resource:Q11085 . ?m rdf:type ontology:Q79529 } UNION { ?m property:P2175 resource:Q11085 . ?m rdf:type ontology:Q965478 } }
sodium oxybate Selegiline
1 unsaturated hydrocarbons and 1 chemical substances
action count
action union
action filter_type
action find_reverse
entity Parkinson's disease
relation medical condition treated
type unsaturated hydrocarbon
action filter_type
action find_reverse
entity Parkinson's disease
relation medical condition treated
type chemical substance
[{'concept': 'unsaturated hydrocarbon'}, 'medical condition treated', "Parkinson's disease"] [{'concept': 'chemical substance'}, 'medical condition treated', "Parkinson's disease"]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { ?m property:medical_condition_treated resource:Parkinson's_disease . ?m rdf:type ontology:chemical_substance } UNION { ?m property:medical_condition_treated resource:Parkinson's_disease . ?m rdf:type ontology:unsaturated_hydrocarbon } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1100633 Q5505016
P509
Q2057971
USER
Which health problems were the causes of death of Fritz Shurmur and Clermont Pépin ?
AND((Q5505016,P509,c(Q2057971)), (Q1100633,P509,c(Q2057971)))
action filter_type
action intersection
action find
entity Q5505016
relation P509
action find
entity Q1100633
relation P509
type Q2057971
{'AND': [['Q5505016', 'P509', {'concept': 'Q2057971'}], ['Q1100633', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?n WHERE { resource:Q5505016 property:P509 ?n . resource:Q1100633 property:P509 ?n . ?n rdf:type ontology:Q2057971 }
Clermont Pépin Fritz Shurmur
action filter_type
action intersection
action find
entity Fritz Shurmur
relation cause of death
action find
entity Clermont Pépin
relation cause of death
type health problem
{'AND': [['Fritz Shurmur', 'cause of death', {'concept': 'health problem'}], ['Clermont Pépin', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?n WHERE { resource:Fritz_Shurmur property:cause_of_death ?n . resource:Clermont_Pépin property:cause_of_death ?n . ?n rdf:type ontology:health_problem }
[]
health problem
Q623031
SYSTEM
liver cancer
Q623031
AND((Q5505016,P509,c(Q2057971)), (Q1100633,P509,c(Q2057971)))
action filter_type
action intersection
action find
entity Q5505016
relation P509
action find
entity Q1100633
relation P509
type Q2057971
[ANSWER] was the causes of death of Fritz Shurmur and Clermont Pépin
{'AND': [['Q5505016', 'P509', {'concept': 'Q2057971'}], ['Q1100633', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?n WHERE { resource:Q5505016 property:P509 ?n . resource:Q1100633 property:P509 ?n . ?n rdf:type ontology:Q2057971 }
liver cancer
Liver cancer was the causes of death of Fritz Shurmur and Clermont Pépin
liver cancer
action filter_type
action intersection
action find
entity Fritz Shurmur
relation cause of death
action find
entity Clermont Pépin
relation cause of death
type health problem
{'AND': [['Fritz Shurmur', 'cause of death', {'concept': 'health problem'}], ['Clermont Pépin', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?n WHERE { resource:Fritz_Shurmur property:cause_of_death ?n . resource:Clermont_Pépin property:cause_of_death ?n . ?n rdf:type ontology:health_problem }
[]