Simple Question (Direct)
Simple Question
Q21112109
P702
Q863908
USER
Which gene encodes Beta-defensin 121 ?
(Q21112109,P702,c(Q863908))
action filter_type
action find
entity Q21112109
relation P702
type Q863908
['Q21112109', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?p WHERE { resource:Q21112109 property:P702 ?p . ?p rdf:type ontology:Q863908 }
Beta-defensin 121
action filter_type
action find
entity Beta-defensin 121
relation encoded by
type nucleic acid sequence
['Beta-defensin 121', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?p WHERE { resource:Beta-defensin_121 property:encoded_by ?p . ?p rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18053609
SYSTEM
DEFB121
Q18053609
(Q21112109,P702,c(Q863908))
action filter_type
action find
entity Q21112109
relation P702
type Q863908
[ANSWER] encodes Beta-defensin 121
['Q21112109', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?p WHERE { resource:Q21112109 property:P702 ?p . ?p rdf:type ontology:Q863908 }
DEFB121
DEFB121 encodes Beta-defensin 121
DEFB121
action filter_type
action find
entity Beta-defensin 121
relation encoded by
type nucleic acid sequence
['Beta-defensin 121', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?p WHERE { resource:Beta-defensin_121 property:encoded_by ?p . ?p rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21112109
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q18053609)
action filter_type
action find_reverse
entity Q21112109
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q18053609']
SELECT DISTINCT ?m WHERE { ?m property:P688 resource:Q21112109 . ?m rdf:type ontology:Q863908 }
Beta-defensin 121
action filter_type
action find_reverse
entity Beta-defensin 121
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'DEFB121']
SELECT DISTINCT ?m WHERE { ?m property:encodes resource:Beta-defensin_121 . ?m rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18053609
SYSTEM
DEFB121
Q18053609
(c(Q863908),P688,Q18053609)
action filter_type
action find_reverse
entity Q21112109
relation P688
type Q863908
[ANSWER] encodes that nutrient
[{'concept': 'Q863908'}, 'P688', 'Q18053609']
SELECT DISTINCT ?m WHERE { ?m property:P688 resource:Q21112109 . ?m rdf:type ontology:Q863908 }
DEFB121
DEFB121 encodes that nutrient
DEFB121
action filter_type
action find_reverse
entity Beta-defensin 121
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'DEFB121']
SELECT DISTINCT ?m WHERE { ?m property:encodes resource:Beta-defensin_121 . ?m rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q18053609
P688
Q181394
USER
How many nutrients are encoded by DEFB121 ?
(Q18053609,P688,c(Q181394))
action count
action filter_type
action find
entity Q18053609
relation P688
type Q181394
['Q18053609', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Q18053609 property:P688 ?o . ?o rdf:type ontology:Q181394 }
DEFB121
action count
action filter_type
action find
entity DEFB121
relation encodes
type nutrient
['DEFB121', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:DEFB121 property:encodes ?o . ?o rdf:type ontology:nutrient }
[]
nutrient
SYSTEM
1
Q21112109
(Q18053609,P688,c(Q181394))
action count
action filter_type
action find
entity Q18053609
relation P688
type Q181394
[ANSWER]
['Q18053609', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:Q18053609 property:P688 ?o . ?o rdf:type ontology:Q181394 }
Beta-defensin 121
1
action count
action filter_type
action find
entity DEFB121
relation encodes
type nutrient
['DEFB121', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { resource:DEFB121 property:encodes ?o . ?o rdf:type ontology:nutrient }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23189453
P703
Q631147
USER
Which taxon does regulatory protein Spx    BA_1200 belong to ?
(Q23189453,P703,c(Q631147))
action filter_type
action find
entity Q23189453
relation P703
type Q631147
['Q23189453', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q631147 . resource:Q23189453 property:P703 ?r }
regulatory protein Spx    BA_1200
action filter_type
action find
entity regulatory protein Spx    BA_1200
relation found in taxon
type infraspecific name
['regulatory protein Spx    BA_1200', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:infraspecific_name . resource:regulatory_protein_Spx____BA_1200 property:found_in_taxon ?r }
[]
infraspecific name
Q21102968
SYSTEM
Bacillus anthracis str. Ames
Q21102968
(Q23189453,P703,c(Q631147))
action filter_type
action find
entity Q23189453
relation P703
type Q631147
Regulatory protein Spx BA_1200 belongs to [ANSWER]
['Q23189453', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q631147 . resource:Q23189453 property:P703 ?r }
Bacillus anthracis str. Ames
Regulatory protein Spx BA_1200 belongs to Bacillus anthracis str. Ames
Bacillus anthracis str. Ames
action filter_type
action find
entity regulatory protein Spx    BA_1200
relation found in taxon
type infraspecific name
['regulatory protein Spx    BA_1200', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:infraspecific_name . resource:regulatory_protein_Spx____BA_1200 property:found_in_taxon ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23368913
Q631147
USER
And also tell me about alcaligin biosynthesis enzyme    BP2456?
(Q23368913,P703,c(Q631147))
action filter_type
action find
entity Q23368913
relation P703
type Q631147
['Q23368913', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?h WHERE { resource:Q23368913 property:P703 ?h . ?h rdf:type ontology:Q631147 }
alcaligin biosynthesis enzyme    BP2456
action filter_type
action find
entity alcaligin biosynthesis enzyme    BP2456
relation found in taxon
type infraspecific name
['alcaligin biosynthesis enzyme    BP2456', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?h WHERE { resource:alcaligin_biosynthesis_enzyme____BP2456 property:found_in_taxon ?h . ?h rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102925
SYSTEM
Bordetella pertussis Tohama I
Q21102925
(Q23368913,P703,c(Q631147))
action filter_type
action find
entity Q23368913
relation P703
type Q631147
[ANSWER]
['Q23368913', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?h WHERE { resource:Q23368913 property:P703 ?h . ?h rdf:type ontology:Q631147 }
Bordetella pertussis Tohama I
Bordetella pertussis Tohama I
action filter_type
action find
entity alcaligin biosynthesis enzyme    BP2456
relation found in taxon
type infraspecific name
['alcaligin biosynthesis enzyme    BP2456', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?h WHERE { resource:alcaligin_biosynthesis_enzyme____BP2456 property:found_in_taxon ?h . ?h rdf:type ontology:infraspecific_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q8386 Q79529
USER
How many nutrients do approximately 82 drugs and chemical substances interact with ?
(c(Q8386)|c(Q79529),P129,c(Q181394))
action count
action approx
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
value 82
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) ?p WHERE { { ?v property:P129 ?p . ?p rdf:type ontology:Q181394 . ?v rdf:type ontology:Q8386 } UNION { ?v property:P129 ?p . ?p rdf:type ontology:Q181394 . ?v rdf:type ontology:Q79529 } } GROUP BY ?p } . FILTER ( ?c = 82 ) }
action count
action approx
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
value 82
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) ?p WHERE { { ?v property:physically_interacts_with ?p . ?p rdf:type ontology:nutrient . ?v rdf:type ontology:drug } UNION { ?v property:physically_interacts_with ?p . ?p rdf:type ontology:nutrient . ?v rdf:type ontology:chemical_substance } } GROUP BY ?p } . FILTER ( ?c = 82 ) }
[]
nutrient drug chemical substance
SYSTEM
3
Q21108118 Q21115043 Q1949517
(c(Q8386)|c(Q79529),P129,c(Q181394))
action count
action approx
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q8386
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
value 82
[ANSWER]
[[{'concept': 'Q8386'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) ?p WHERE { { ?v property:P129 ?p . ?p rdf:type ontology:Q181394 . ?v rdf:type ontology:Q8386 } UNION { ?v property:P129 ?p . ?p rdf:type ontology:Q181394 . ?v rdf:type ontology:Q79529 } } GROUP BY ?p } . FILTER ( ?c = 82 ) }
5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 2A
3
action count
action approx
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
value 82
[[{'concept': 'drug'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) ?p WHERE { { ?v property:physically_interacts_with ?p . ?p rdf:type ontology:nutrient . ?v rdf:type ontology:drug } UNION { ?v property:physically_interacts_with ?p . ?p rdf:type ontology:nutrient . ?v rdf:type ontology:chemical_substance } } GROUP BY ?p } . FILTER ( ?c = 82 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21112109
P680
Q2996394
USER
Which the biological process that represents the molecular function of Beta-defensin 121 ?
(Q21112109,P680,c(Q2996394))
action filter_type
action find
entity Q21112109
relation P680
type Q2996394
['Q21112109', 'P680', {'concept': 'Q2996394'}]
SELECT DISTINCT ?c WHERE { resource:Q21112109 property:P680 ?c . ?c rdf:type ontology:Q2996394 }
Beta-defensin 121
action filter_type
action find
entity Beta-defensin 121
relation molecular function
type biological process
['Beta-defensin 121', 'molecular function', {'concept': 'biological process'}]
SELECT DISTINCT ?c WHERE { resource:Beta-defensin_121 property:molecular_function ?c . ?c rdf:type ontology:biological_process }
[]
biological process
Q14860489
SYSTEM
molecular function
Q14860489
(Q21112109,P680,c(Q2996394))
action filter_type
action find
entity Q21112109
relation P680
type Q2996394
Represents the [ANSWER]
['Q21112109', 'P680', {'concept': 'Q2996394'}]
SELECT DISTINCT ?c WHERE { resource:Q21112109 property:P680 ?c . ?c rdf:type ontology:Q2996394 }
molecular function
Represents the molecular function
molecular function
action filter_type
action find
entity Beta-defensin 121
relation molecular function
type biological process
['Beta-defensin 121', 'molecular function', {'concept': 'biological process'}]
SELECT DISTINCT ?c WHERE { resource:Beta-defensin_121 property:molecular_function ?c . ?c rdf:type ontology:biological_process }
[]