Simple Question (Direct)
Simple Question
Q23464203
P682
Q3249551
USER
Which process is hypothetical protein    DVU1847 involved in ?
(Q23464203,P682,c(Q3249551))
action filter_type
action find
entity Q23464203
relation P682
type Q3249551
['Q23464203', 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?p WHERE { resource:Q23464203 property:P682 ?p . ?p rdf:type ontology:Q3249551 }
hypothetical protein    DVU1847
action filter_type
action find
entity hypothetical protein    DVU1847
relation biological process
type process
['hypothetical protein    DVU1847', 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?p WHERE { resource:hypothetical_protein____DVU1847 property:biological_process ?p . ?p rdf:type ontology:process }
[]
process
Q1057
SYSTEM
metabolic process
Q1057
(Q23464203,P682,c(Q3249551))
action filter_type
action find
entity Q23464203
relation P682
type Q3249551
Hypothetical protein DVU1847 is a [ANSWER]
['Q23464203', 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?p WHERE { resource:Q23464203 property:P682 ?p . ?p rdf:type ontology:Q3249551 }
metabolic process
Hypothetical protein DVU1847 is a metabolic process
metabolic process
action filter_type
action find
entity hypothetical protein    DVU1847
relation biological process
type process
['hypothetical protein    DVU1847', 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?p WHERE { resource:hypothetical_protein____DVU1847 property:biological_process ?p . ?p rdf:type ontology:process }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23464203
P702
Q863908
USER
What encodes hypothetical protein    DVU1847 ?
(Q23464203,P702,c(Q863908))
action filter_type
action find
entity Q23464203
relation P702
type Q863908
['Q23464203', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?s WHERE { resource:Q23464203 property:P702 ?s . ?s rdf:type ontology:Q863908 }
hypothetical protein    DVU1847
action filter_type
action find
entity hypothetical protein    DVU1847
relation encoded by
type nucleic acid sequence
['hypothetical protein    DVU1847', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?s WHERE { resource:hypothetical_protein____DVU1847 property:encoded_by ?s . ?s rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23326198
SYSTEM
hypothetical protein    DVU1847
Q23326198
(Q23464203,P702,c(Q863908))
action filter_type
action find
entity Q23464203
relation P702
type Q863908
Hypothetical protein DVU1847 encodes hypothetical protein DVU1847
['Q23464203', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?s WHERE { resource:Q23464203 property:P702 ?s . ?s rdf:type ontology:Q863908 }
hypothetical protein    DVU1847
Hypothetical protein DVU1847 encodes hypothetical protein DVU1847
hypothetical protein    DVU1847
action filter_type
action find
entity hypothetical protein    DVU1847
relation encoded by
type nucleic acid sequence
['hypothetical protein    DVU1847', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?s WHERE { resource:hypothetical_protein____DVU1847 property:encoded_by ?s . ?s rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23063748
Q863908
USER
And what about phosphoribosylglycinamide formyltransferase 2    LA_4266?
(Q23063748,P702,c(Q863908))
action filter_type
action find
entity Q23063748
relation P702
type Q863908
['Q23063748', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?h WHERE { resource:Q23063748 property:P702 ?h . ?h rdf:type ontology:Q863908 }
phosphoribosylglycinamide formyltransferase 2    LA_4266
action filter_type
action find
entity phosphoribosylglycinamide formyltransferase 2    LA_4266
relation encoded by
type nucleic acid sequence
['phosphoribosylglycinamide formyltransferase 2    LA_4266', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?h WHERE { resource:phosphoribosylglycinamide_formyltransferase_2____LA_4266 property:encoded_by ?h . ?h rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23024468
SYSTEM
phosphoribosylglycinamide formyltransferase 2    LA_4266
Q23024468
(Q23063748,P702,c(Q863908))
action filter_type
action find
entity Q23063748
relation P702
type Q863908
[ANSWER]
['Q23063748', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?h WHERE { resource:Q23063748 property:P702 ?h . ?h rdf:type ontology:Q863908 }
phosphoribosylglycinamide formyltransferase 2    LA_4266
phosphoribosylglycinamide formyltransferase 2    LA_4266
action filter_type
action find
entity phosphoribosylglycinamide formyltransferase 2    LA_4266
relation encoded by
type nucleic acid sequence
['phosphoribosylglycinamide formyltransferase 2    LA_4266', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?h WHERE { resource:phosphoribosylglycinamide_formyltransferase_2____LA_4266 property:encoded_by ?h . ?h rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q23024468 Q23471131
P688
Q181394
USER
Is hypothetical protein    CT1837 encoded by that nucleic acid sequence ?
(Q23024468,P688,Q23471131)
action is_in
entity Q23471131
action find
entity Q23024468
relation P688
['Q23024468', 'P688', 'Q23471131']
ASK WHERE { resource:Q23024468 property:P688 resource:Q23471131 }
phosphoribosylglycinamide formyltransferase 2    LA_4266 hypothetical protein    CT1837
action is_in
entity hypothetical protein    CT1837
action find
entity phosphoribosylglycinamide formyltransferase 2    LA_4266
relation encodes
['phosphoribosylglycinamide formyltransferase 2    LA_4266', 'encodes', 'hypothetical protein    CT1837']
ASK WHERE { resource:phosphoribosylglycinamide_formyltransferase_2____LA_4266 property:encodes resource:hypothetical_protein____CT1837 }
[]
nutrient
SYSTEM
NO
(Q23024468,P688,Q23471131)
action is_in
entity Q23471131
action find
entity Q23024468
relation P688
[ANSWER]
['Q23024468', 'P688', 'Q23471131']
ASK WHERE { resource:Q23024468 property:P688 resource:Q23471131 }
No
action is_in
entity hypothetical protein    CT1837
action find
entity phosphoribosylglycinamide formyltransferase 2    LA_4266
relation encodes
['phosphoribosylglycinamide formyltransferase 2    LA_4266', 'encodes', 'hypothetical protein    CT1837']
ASK WHERE { resource:phosphoribosylglycinamide_formyltransferase_2____LA_4266 property:encodes resource:hypothetical_protein____CT1837 }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18052691 Q23024468
P688
Q181394
USER
Which nutrients are phosphoribosylglycinamide formyltransferase 2    LA_4266 or BBS12 an encoding of ?
OR((Q23024468,P688,c(Q181394)), (Q18052691,P688,c(Q181394)))
action filter_type
action union
action find
entity Q23024468
relation P688
action find
entity Q18052691
relation P688
type Q181394
{'OR': [['Q23024468', 'P688', {'concept': 'Q181394'}], ['Q18052691', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q23024468 property:P688 ?a } UNION { resource:Q18052691 property:P688 ?a } } . ?a rdf:type ontology:Q181394 }
BBS12 phosphoribosylglycinamide formyltransferase 2    LA_4266
action filter_type
action union
action find
entity phosphoribosylglycinamide formyltransferase 2    LA_4266
relation encodes
action find
entity BBS12
relation encodes
type nutrient
{'OR': [['phosphoribosylglycinamide formyltransferase 2    LA_4266', 'encodes', {'concept': 'nutrient'}], ['BBS12', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?a WHERE { { { resource:phosphoribosylglycinamide_formyltransferase_2____LA_4266 property:encodes ?a } UNION { resource:BBS12 property:encodes ?a } } . ?a rdf:type ontology:nutrient }
[]
nutrient
Q23063748 Q21105418
SYSTEM
phosphoribosylglycinamide formyltransferase 2    LA_4266, Bardet-Biedl syndrome 12 protein
Q23063748 Q21105418
OR((Q23024468,P688,c(Q181394)), (Q18052691,P688,c(Q181394)))
action filter_type
action union
action find
entity Q23024468
relation P688
action find
entity Q18052691
relation P688
type Q181394
[ANSWERS]
{'OR': [['Q23024468', 'P688', {'concept': 'Q181394'}], ['Q18052691', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q23024468 property:P688 ?a } UNION { resource:Q18052691 property:P688 ?a } } . ?a rdf:type ontology:Q181394 }
phosphoribosylglycinamide formyltransferase 2    LA_4266 Bardet-Biedl syndrome 12 protein
Phosphoribosylglycinamide formyltransferase 2 LA 4266 and Bardet-Biedl syndrome 12 protein are phosphoribosylglycinamide formyltransferase 2 LA_4266 or BBS12 an encoding of
phosphoribosylglycinamide formyltransferase 2    LA_4266 Bardet-Biedl syndrome 12 protein
action filter_type
action union
action find
entity phosphoribosylglycinamide formyltransferase 2    LA_4266
relation encodes
action find
entity BBS12
relation encodes
type nutrient
{'OR': [['phosphoribosylglycinamide formyltransferase 2    LA_4266', 'encodes', {'concept': 'nutrient'}], ['BBS12', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?a WHERE { { { resource:phosphoribosylglycinamide_formyltransferase_2____LA_4266 property:encodes ?a } UNION { resource:BBS12 property:encodes ?a } } . ?a rdf:type ontology:nutrient }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q21110532
P129
Q181394 Q8386 Q79529
USER
Which nutrients do greater number of drugs and chemical substances communicate with than Potassium voltage-gated channel subfamily H member 1 ?
(c(Q8386)|c(Q79529),P129,c(Q181394))
action greater
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
action count
action filter_multi_types
action find_reverse
entity Q21110532
relation P129
type Q8386
type Q79529
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?f > ?i ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:P129 resource:Q21110532 . { VALUES ( ?c ) { ( ontology:Q8386 ) ( ontology:Q79529 ) } . ?v rdf:type ?c } } } . { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?f ) WHERE { ?t rdf:type ?m . VALUES ( ?m ) { ( ontology:Q79529 ) ( ontology:Q8386 ) } } GROUP BY ?e } }
Potassium voltage-gated channel subfamily H member 1
action greater
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
action count
action filter_multi_types
action find_reverse
entity Potassium voltage-gated channel subfamily H member 1
relation physically interacts with
type drug
type chemical substance
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?f > ?i ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:physically_interacts_with resource:Potassium_voltage-gated_channel_subfamily_H_member_1 . { VALUES ( ?c ) { ( ontology:drug ) ( ontology:chemical_substance ) } . ?v rdf:type ?c } } } . { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?f ) WHERE { ?t rdf:type ?m . VALUES ( ?m ) { ( ontology:chemical_substance ) ( ontology:drug ) } } GROUP BY ?e } }
[]
nutrient drug chemical substance
Q2034004 Q424401 Q1949517
SYSTEM
D(2) dopamine receptor, Epidermal growth factor receptor, 5-hydroxytryptamine receptor 2A
Q21110942 Q7050954 Q21116154 Q309513 Q308856 Q4847910 Q2271947 Q413209 Q287961 Q2663095 Q21173164 Q21154358 Q5123372 Q21108624 Q410142 Q288797 Q21172390 Q1486720 Q287958 Q1084878 Q21126810 Q7671479 Q21109365 Q15323278 Q21110867 Q4847900 Q4847907 Q4639596 Q21116946 Q416601 Q5401858 Q5401857 Q4734884 Q4734887 Q4734886 Q21173381 Q21116162 Q21116164 Q2844056 Q5773155 Q21115334 Q21118353 Q21173406 Q288382 Q21115051 Q21115052 Q5513985 Q415364 Q21109355 Q4734894 Q21110872 Q4734892 Q21114578 Q21108118 Q4734891 Q21114576 Q21131500 Q4897175 Q7673856 Q21115961 Q21115962 Q21115965 Q8083989 Q21497878 Q311568 Q3062781 Q12746120 Q5629167 Q21115815 Q21115816 Q21115819 Q288395 Q21108125 Q21115046 Q21115043 Q7834290 Q21114585 Q21114582 Q21497939 Q3454531 Q21497937 Q424401 Q5009781 Q21130911 Q21150595 Q15324694 Q21201294 Q7671477 Q1949517 Q21109363 Q21109359 Q15324415 Q5520260 Q2034004
(c(Q8386)|c(Q79529),P129,c(Q181394))
action greater
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
action count
action filter_multi_types
action find_reverse
entity Q21110532
relation P129
type Q8386
type Q79529
[ANSWERS] greater number of drugs and chemical substances communicate with than Potassium voltage-gated channel subfamily H member 1
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?f > ?i ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:P129 resource:Q21110532 . { VALUES ( ?c ) { ( ontology:Q8386 ) ( ontology:Q79529 ) } . ?v rdf:type ?c } } } . { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?f ) WHERE { ?t rdf:type ?m . VALUES ( ?m ) { ( ontology:Q79529 ) ( ontology:Q8386 ) } } GROUP BY ?e } }
G-protein coupled receptor 55 Sodium-dependent noradrenaline transporter Adenosine receptor A3 Histamine H1 receptor D(4) dopamine receptor Muscarinic acetylcholine receptor M2 Sodium-dependent dopamine transporter Transient receptor potential cation channel subfamily V member 1 Beta-2 adrenergic receptor Glucocorticoid receptor Carbonic anhydrase 1 Histone deacetylase 3 Mu-type opioid receptor Platelet-derived growth factor receptor beta Sodium-dependent serotonin transporter 5-hydroxytryptamine receptor 1B Vascular endothelial growth factor receptor 2 Glutamate receptor 3 Beta-1 adrenergic receptor Peroxisome proliferator-activated receptor gamma Prostaglandin G/H synthase 1 Transient receptor potential cation channel subfamily M member 3 5-hydroxytryptamine receptor 4 Transient receptor potential cation channel subfamily A member 1 D(1A) dopamine receptor Muscarinic acetylcholine receptor M1 Muscarinic acetylcholine receptor M4 5-hydroxytryptamine receptor 2B Carbonic anhydrase 12 Androgen receptor Estrogen receptor Estrogen receptor beta Alpha-1A adrenergic receptor Alpha-1D adrenergic receptor Alpha-1B adrenergic receptor Histone deacetylase 6 Adenosine receptor A2a Adenosine receptor A2b Muscarinic acetylcholine receptor M3 Histone deacetylase 2 Delta-type opioid receptor Vascular endothelial growth factor receptor 3 Histone deacetylase 8 Histamine H4 receptor 5-hydroxytryptamine receptor 1E 5-hydroxytryptamine receptor 1F Gonadotropin-releasing hormone receptor 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 Beta-3 adrenergic receptor Substance-P receptor Glutamate receptor 1 Glutamate receptor 2 Glutamate receptor 4 Kappa-type opioid receptor G protein-activated inward rectifier potassium channel 2 Histamine H2 receptor Adenosine receptor A1 Muscarinic acetylcholine receptor M5 Histone deacetylase 1 Glutamate receptor ionotropic, NMDA 2A Glutamate receptor ionotropic, NMDA 2B Glutamate receptor ionotropic, NMDA 2C Histamine H3 receptor 5-hydroxytryptamine receptor 3A 5-hydroxytryptamine receptor 1D 5-hydroxytryptamine receptor 1A Transient receptor potential cation channel subfamily A member 1 Gamma-aminobutyric acid receptor subunit alpha-6 Gamma-aminobutyric acid receptor subunit alpha-2 5-hydroxytryptamine receptor 7 Mineralocorticoid receptor 5-hydroxytryptamine receptor 5A Epidermal growth factor receptor Receptor-type tyrosine-protein kinase FLT3 Glutamate receptor ionotropic, NMDA 2D Cannabinoid receptor 2 Transient receptor potential cation channel subfamily V member 3 Cannabinoid receptor 1 Transient receptor potential cation channel subfamily M member 2 5-hydroxytryptamine receptor 2A 5-hydroxytryptamine receptor 6 5-hydroxytryptamine receptor 5A Transient receptor potential cation channel subfamily M member 8 Gamma-aminobutyric acid receptor subunit alpha-1 D(2) dopamine receptor
D(2) dopamine receptor, Epidermal growth factor receptor and 5-hydroxytryptamine receptor 2A greater number of drugs and chemical substances communicate with than Potassium voltage-gated channel subfamily H member 1
D(2) dopamine receptor Epidermal growth factor receptor 5-hydroxytryptamine receptor 2A
action greater
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type drug
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
action count
action filter_multi_types
action find_reverse
entity Potassium voltage-gated channel subfamily H member 1
relation physically interacts with
type drug
type chemical substance
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?f > ?i ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:physically_interacts_with resource:Potassium_voltage-gated_channel_subfamily_H_member_1 . { VALUES ( ?c ) { ( ontology:drug ) ( ontology:chemical_substance ) } . ?v rdf:type ?c } } } . { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?f ) WHERE { ?t rdf:type ?m . VALUES ( ?m ) { ( ontology:chemical_substance ) ( ontology:drug ) } } GROUP BY ?e } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2034004 Q424401 Q1949517
P688
Q863908
USER
Which nucleic acid sequences encode D(2) dopamine receptor, Epidermal growth factor receptor and 5-hydroxytryptamine receptor 2A ?
(c(Q863908),P688,Q2034004) (c(Q863908),P688,Q424401) (c(Q863908),P688,Q1949517)
action union
action filter_type
action find_reverse
entity Q2034004
relation P688
type Q863908
action filter_type
action find_reverse
entity Q424401
relation P688
type Q863908
action filter_type
action find_reverse
entity Q1949517
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q2034004'] [{'concept': 'Q863908'}, 'P688', 'Q424401'] [{'concept': 'Q863908'}, 'P688', 'Q1949517']
SELECT DISTINCT ?u WHERE { { ?u property:P688 resource:Q424401 . ?u rdf:type ontology:Q863908 } UNION { ?u property:P688 resource:Q2034004 . ?u rdf:type ontology:Q863908 } }
D(2) dopamine receptor Epidermal growth factor receptor 5-hydroxytryptamine receptor 2A
action union
action filter_type
action find_reverse
entity D(2) dopamine receptor
relation encodes
type nucleic acid sequence
action filter_type
action find_reverse
entity Epidermal growth factor receptor
relation encodes
type nucleic acid sequence
action filter_type
action find_reverse
entity 5-hydroxytryptamine receptor 2A
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'D(2) dopamine receptor'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'Epidermal growth factor receptor'] [{'concept': 'nucleic acid sequence'}, 'encodes', '5-hydroxytryptamine receptor 2A']
SELECT DISTINCT ?u WHERE { { ?u property:encodes resource:Epidermal_growth_factor_receptor . ?u rdf:type ontology:nucleic_acid_sequence } UNION { ?u property:encodes resource:D(2)_dopamine_receptor . ?u rdf:type ontology:nucleic_acid_sequence } }
[]
nucleic acid sequence
Q15335165 Q14865565 Q14891424
SYSTEM
DRD2, EGFR, HTR2A
Q15335165 Q14865565 Q14891424
(c(Q863908),P688,Q2034004) (c(Q863908),P688,Q424401) (c(Q863908),P688,Q1949517)
action union
action filter_type
action find_reverse
entity Q2034004
relation P688
type Q863908
action filter_type
action find_reverse
entity Q424401
relation P688
type Q863908
action filter_type
action find_reverse
entity Q1949517
relation P688
type Q863908
[ANSWERS] encode D(2) dopamine receptor, Epidermal growth factor receptor and 5-hydroxytryptamine receptor 2A
[{'concept': 'Q863908'}, 'P688', 'Q2034004'] [{'concept': 'Q863908'}, 'P688', 'Q424401'] [{'concept': 'Q863908'}, 'P688', 'Q1949517']
SELECT DISTINCT ?u WHERE { { ?u property:P688 resource:Q424401 . ?u rdf:type ontology:Q863908 } UNION { ?u property:P688 resource:Q2034004 . ?u rdf:type ontology:Q863908 } }
DRD2 EGFR HTR2A
DRD2, EGFR and HTR2A encode D(2) dopamine receptor, Epidermal growth factor receptor and 5-hydroxytryptamine receptor 2A
DRD2 EGFR HTR2A
action union
action filter_type
action find_reverse
entity D(2) dopamine receptor
relation encodes
type nucleic acid sequence
action filter_type
action find_reverse
entity Epidermal growth factor receptor
relation encodes
type nucleic acid sequence
action filter_type
action find_reverse
entity 5-hydroxytryptamine receptor 2A
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'D(2) dopamine receptor'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'Epidermal growth factor receptor'] [{'concept': 'nucleic acid sequence'}, 'encodes', '5-hydroxytryptamine receptor 2A']
SELECT DISTINCT ?u WHERE { { ?u property:encodes resource:Epidermal_growth_factor_receptor . ?u rdf:type ontology:nucleic_acid_sequence } UNION { ?u property:encodes resource:D(2)_dopamine_receptor . ?u rdf:type ontology:nucleic_acid_sequence } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q15335165 Q14865565 Q14891424
P684
Q863908
USER
Which nucleic acid sequences are DRD2, EGFR and HTR2A an orthlogous gene of ?
(c(Q863908),P684,Q15335165) (c(Q863908),P684,Q14865565) (c(Q863908),P684,Q14891424)
action union
action filter_type
action find
entity Q15335165
relation P684
type Q863908
action filter_type
action find
entity Q14865565
relation P684
type Q863908
action filter_type
action find
entity Q14891424
relation P684
type Q863908
[{'concept': 'Q863908'}, 'P684', 'Q15335165'] [{'concept': 'Q863908'}, 'P684', 'Q14865565'] [{'concept': 'Q863908'}, 'P684', 'Q14891424']
SELECT DISTINCT ?g WHERE { ?w property:P684 ?g . VALUES ( ?w ) { ( resource:Q15335165 ) ( resource:Q14865565 ) } }
DRD2 EGFR HTR2A
action union
action filter_type
action find
entity DRD2
relation ortholog
type nucleic acid sequence
action filter_type
action find
entity EGFR
relation ortholog
type nucleic acid sequence
action filter_type
action find
entity HTR2A
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'DRD2'] [{'concept': 'nucleic acid sequence'}, 'ortholog', 'EGFR'] [{'concept': 'nucleic acid sequence'}, 'ortholog', 'HTR2A']
SELECT DISTINCT ?g WHERE { ?w property:ortholog ?g . VALUES ( ?w ) { ( resource:DRD2 ) ( resource:EGFR ) } }
[]
nucleic acid sequence
Q15335168 Q18250328 Q14891430
SYSTEM
Drd2, Egfr, Htr2a
Q15335168 Q18250328 Q14891430
(c(Q863908),P684,Q15335165) (c(Q863908),P684,Q14865565) (c(Q863908),P684,Q14891424)
action union
action filter_type
action find
entity Q15335165
relation P684
type Q863908
action filter_type
action find
entity Q14865565
relation P684
type Q863908
action filter_type
action find
entity Q14891424
relation P684
type Q863908
[ANSWERS] are DRD2, EGFR and HTR2A an orthlogous gene of
[{'concept': 'Q863908'}, 'P684', 'Q15335165'] [{'concept': 'Q863908'}, 'P684', 'Q14865565'] [{'concept': 'Q863908'}, 'P684', 'Q14891424']
SELECT DISTINCT ?g WHERE { ?w property:P684 ?g . VALUES ( ?w ) { ( resource:Q15335165 ) ( resource:Q14865565 ) } }
Drd2 Egfr Htr2a
Drd2, Egfr and Htr2a are DRD2, EGFR and HTR2A an orthlogous gene of
Drd2 Egfr Htr2a
action union
action filter_type
action find
entity DRD2
relation ortholog
type nucleic acid sequence
action filter_type
action find
entity EGFR
relation ortholog
type nucleic acid sequence
action filter_type
action find
entity HTR2A
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'DRD2'] [{'concept': 'nucleic acid sequence'}, 'ortholog', 'EGFR'] [{'concept': 'nucleic acid sequence'}, 'ortholog', 'HTR2A']
SELECT DISTINCT ?g WHERE { ?w property:ortholog ?g . VALUES ( ?w ) { ( resource:DRD2 ) ( resource:EGFR ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18250328
P703
Q16521
USER
Which taxon is that nucleic acid sequence found in ?
(Q18250328,P703,c(Q16521))
action filter_type
action find
entity Q18250328
relation P703
type Q16521
['Q18250328', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?s WHERE { resource:Q18250328 property:P703 ?s . ?s rdf:type ontology:Q16521 }
Egfr
action filter_type
action find
entity Egfr
relation found in taxon
type taxon
['Egfr', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?s WHERE { resource:Egfr property:found_in_taxon ?s . ?s rdf:type ontology:taxon }
[]
taxon
Clarification for simple ques.
Q18250328
SYSTEM
Did you mean Egfr ?
Q15335168 Q18250328 Q14891430
(Q15335168,P703,c(Q16521)) (Q18250328,P703,c(Q16521)) (Q14891430,P703,c(Q16521))
[ANSWER]
['Q15335168', 'P703', {'concept': 'Q16521'}] ['Q18250328', 'P703', {'concept': 'Q16521'}] ['Q14891430', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?s WHERE { resource:Q18250328 property:P703 ?s . ?s rdf:type ontology:Q16521 }
Drd2 Egfr Htr2a
Did you mean Egfr ?
Egfr
['Drd2', 'found in taxon', {'concept': 'taxon'}] ['Egfr', 'found in taxon', {'concept': 'taxon'}] ['Htr2a', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?s WHERE { resource:Egfr property:found_in_taxon ?s . ?s rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
USER
Yes
(Q18250328,P703,c(Q16521))
['Q18250328', 'P703', {'concept': 'Q16521'}]
['Egfr', 'found in taxon', {'concept': 'taxon'}]
[]
Q83310
SYSTEM
Mus musculus
Q83310
(Q18250328,P703,c(Q16521))
action filter_type
action find
entity Q18250328
relation P703
type Q16521
That nucleic acid sequence is found in [ANSWER]
['Q18250328', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?s WHERE { resource:Q18250328 property:P703 ?s . ?s rdf:type ontology:Q16521 }
Mus musculus
That nucleic acid sequence is found in Mus musculus
Mus musculus
action filter_type
action find
entity Egfr
relation found in taxon
type taxon
['Egfr', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?s WHERE { resource:Egfr property:found_in_taxon ?s . ?s rdf:type ontology:taxon }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23317622 Q15335165
P688
Q181394
USER
Which nutrients are DRD2 or periplasmic nitrate reductase    BN112_0602 an encoding of ?
OR((Q15335165,P688,c(Q181394)), (Q23317622,P688,c(Q181394)))
action filter_type
action union
action find
entity Q15335165
relation P688
action find
entity Q23317622
relation P688
type Q181394
{'OR': [['Q15335165', 'P688', {'concept': 'Q181394'}], ['Q23317622', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?p WHERE { { ?k property:P688 ?p . VALUES ( ?k ) { ( resource:Q15335165 ) ( resource:Q23317622 ) } } . ?p rdf:type ontology:Q181394 }
periplasmic nitrate reductase    BN112_0602 DRD2
action filter_type
action union
action find
entity DRD2
relation encodes
action find
entity periplasmic nitrate reductase    BN112_0602
relation encodes
type nutrient
{'OR': [['DRD2', 'encodes', {'concept': 'nutrient'}], ['periplasmic nitrate reductase    BN112_0602', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?p WHERE { { ?k property:encodes ?p . VALUES ( ?k ) { ( resource:DRD2 ) ( resource:periplasmic_nitrate_reductase____BN112_0602 ) } } . ?p rdf:type ontology:nutrient }
[]
nutrient
Q2034004 Q21136931 Q24118217
SYSTEM
D(2) dopamine receptor, Dopamine receptor D2, isoform CRA_c, periplasmic nitrate reductase    BN112_0602
Q2034004 Q21136931 Q24118217
OR((Q15335165,P688,c(Q181394)), (Q23317622,P688,c(Q181394)))
action filter_type
action union
action find
entity Q15335165
relation P688
action find
entity Q23317622
relation P688
type Q181394
[ANSWERS]
{'OR': [['Q15335165', 'P688', {'concept': 'Q181394'}], ['Q23317622', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?p WHERE { { ?k property:P688 ?p . VALUES ( ?k ) { ( resource:Q15335165 ) ( resource:Q23317622 ) } } . ?p rdf:type ontology:Q181394 }
D(2) dopamine receptor Dopamine receptor D2, isoform CRA_c periplasmic nitrate reductase    BN112_0602
D(2) dopamine receptor, Dopamine receptor D2, isoform CRA c and periplasmic nitrate reductase BN112 0602 are DRD2 or periplasmic nitrate reductase BN112_0602 an encoding of
D(2) dopamine receptor Dopamine receptor D2, isoform CRA_c periplasmic nitrate reductase    BN112_0602
action filter_type
action union
action find
entity DRD2
relation encodes
action find
entity periplasmic nitrate reductase    BN112_0602
relation encodes
type nutrient
{'OR': [['DRD2', 'encodes', {'concept': 'nutrient'}], ['periplasmic nitrate reductase    BN112_0602', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?p WHERE { { ?k property:encodes ?p . VALUES ( ?k ) { ( resource:DRD2 ) ( resource:periplasmic_nitrate_reductase____BN112_0602 ) } } . ?p rdf:type ontology:nutrient }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P101
Q3249551 Q43229 Q502895
USER
Which processes are the field of work of atleast 10 organizations and people ?
(c(Q43229)|c(Q502895),P101,c(Q3249551))
action atleast
action union
action find_reverse_tuple_counts
relation P101
type Q3249551
type Q43229
action find_reverse_tuple_counts
relation P101
type Q3249551
type Q502895
value 10
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q3249551'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?w ) WHERE { { ?o property:P101 ?q . ?o rdf:type ontology:Q43229 . ?q rdf:type ontology:Q3249551 } UNION { ?o property:P101 ?q . ?q rdf:type ontology:Q3249551 . ?o rdf:type ontology:Q502895 } } GROUP BY ?q } . FILTER ( ?w >= 10 ) }
action atleast
action union
action find_reverse_tuple_counts
relation field of work
type process
type organization
action find_reverse_tuple_counts
relation field of work
type process
type common name
value 10
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'process'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?w ) WHERE { { ?o property:field_of_work ?q . ?o rdf:type ontology:organization . ?q rdf:type ontology:process } UNION { ?o property:field_of_work ?q . ?q rdf:type ontology:process . ?o rdf:type ontology:common_name } } GROUP BY ?q } . FILTER ( ?w >= 10 ) }
[]
process organization common name
Q11634 Q11629
SYSTEM
art of sculpture, art of painting
Q11634 Q11629
(c(Q43229)|c(Q502895),P101,c(Q3249551))
action atleast
action union
action find_reverse_tuple_counts
relation P101
type Q3249551
type Q43229
action find_reverse_tuple_counts
relation P101
type Q3249551
type Q502895
value 10
[ANSWERS] are the field of work of atleast 10 organizations and people
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q3249551'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?w ) WHERE { { ?o property:P101 ?q . ?o rdf:type ontology:Q43229 . ?q rdf:type ontology:Q3249551 } UNION { ?o property:P101 ?q . ?q rdf:type ontology:Q3249551 . ?o rdf:type ontology:Q502895 } } GROUP BY ?q } . FILTER ( ?w >= 10 ) }
art of sculpture art of painting
Art of sculpture and art of painting are the field of work of atleast 10 organizations and people
art of sculpture art of painting
action atleast
action union
action find_reverse_tuple_counts
relation field of work
type process
type organization
action find_reverse_tuple_counts
relation field of work
type process
type common name
value 10
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'process'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?w ) WHERE { { ?o property:field_of_work ?q . ?o rdf:type ontology:organization . ?q rdf:type ontology:process } UNION { ?o property:field_of_work ?q . ?q rdf:type ontology:process . ?o rdf:type ontology:common_name } } GROUP BY ?q } . FILTER ( ?w >= 10 ) }
[]