Simple Question (Direct)
Simple Question
Q21760931
P703
Q16521
USER
Which taxon is histidine ammonia-lyase    PA5098 found in ?
(Q21760931,P703,c(Q16521))
action filter_type
action find
entity Q21760931
relation P703
type Q16521
['Q21760931', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q16521 . resource:Q21760931 property:P703 ?j }
histidine ammonia-lyase    PA5098
action filter_type
action find
entity histidine ammonia-lyase    PA5098
relation found in taxon
type taxon
['histidine ammonia-lyase    PA5098', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:taxon . resource:histidine_ammonia-lyase____PA5098 property:found_in_taxon ?j }
[]
taxon
Q21065234
SYSTEM
Pseudomonas aeruginosa PAO1
Q21065234
(Q21760931,P703,c(Q16521))
action filter_type
action find
entity Q21760931
relation P703
type Q16521
Species [ANSWER] is histidine ammonia-lyase PA5098 found in
['Q21760931', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q16521 . resource:Q21760931 property:P703 ?j }
Pseudomonas aeruginosa PAO1
Species Pseudomonas aeruginosa PAO1 is histidine ammonia-lyase PA5098 found in
Pseudomonas aeruginosa PAO1
action filter_type
action find
entity histidine ammonia-lyase    PA5098
relation found in taxon
type taxon
['histidine ammonia-lyase    PA5098', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:taxon . resource:histidine_ammonia-lyase____PA5098 property:found_in_taxon ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21760931
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q21065234)
action filter_type
action find_reverse
entity Q21760931
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21065234']
SELECT DISTINCT ?w WHERE { ?w property:P688 resource:Q21760931 . ?w rdf:type ontology:Q863908 }
histidine ammonia-lyase    PA5098
action filter_type
action find_reverse
entity histidine ammonia-lyase    PA5098
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Pseudomonas aeruginosa PAO1']
SELECT DISTINCT ?w WHERE { ?w property:encodes resource:histidine_ammonia-lyase____PA5098 . ?w rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q21691248
SYSTEM
histidine ammonia-lyase    PA5098
Q21691248
(c(Q863908),P688,Q21065234)
action filter_type
action find_reverse
entity Q21760931
relation P688
type Q863908
The histidine ammonia-lyase PA5098 encodes that nutrient
[{'concept': 'Q863908'}, 'P688', 'Q21065234']
SELECT DISTINCT ?w WHERE { ?w property:P688 resource:Q21760931 . ?w rdf:type ontology:Q863908 }
histidine ammonia-lyase    PA5098
The histidine ammonia-lyase PA5098 encodes that nutrient
histidine ammonia-lyase    PA5098
action filter_type
action find_reverse
entity histidine ammonia-lyase    PA5098
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Pseudomonas aeruginosa PAO1']
SELECT DISTINCT ?w WHERE { ?w property:encodes resource:histidine_ammonia-lyase____PA5098 . ?w rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21691248
P702
Q181394
USER
What is encoded by that nucleic acid sequence ?
(c(Q181394),P702,Q21691248)
action filter_type
action find_reverse
entity Q21691248
relation P702
type Q181394
[{'concept': 'Q181394'}, 'P702', 'Q21691248']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q181394 . ?y property:P702 resource:Q21691248 }
histidine ammonia-lyase    PA5098
action filter_type
action find_reverse
entity histidine ammonia-lyase    PA5098
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'histidine ammonia-lyase    PA5098']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:nutrient . ?y property:encoded_by resource:histidine_ammonia-lyase____PA5098 }
[]
nutrient
Q21760931
SYSTEM
histidine ammonia-lyase    PA5098
Q21760931
(c(Q181394),P702,Q21691248)
action filter_type
action find_reverse
entity Q21691248
relation P702
type Q181394
Histidine ammonia-lyase PA5098 is encoded by that nucleic acid sequence
[{'concept': 'Q181394'}, 'P702', 'Q21691248']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q181394 . ?y property:P702 resource:Q21691248 }
histidine ammonia-lyase    PA5098
Histidine ammonia-lyase PA5098 is encoded by that nucleic acid sequence
histidine ammonia-lyase    PA5098
action filter_type
action find_reverse
entity histidine ammonia-lyase    PA5098
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'histidine ammonia-lyase    PA5098']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:nutrient . ?y property:encoded_by resource:histidine_ammonia-lyase____PA5098 }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q21760931
P702
Q863908
USER
How many nucleic acid sequences encodes histidine ammonia-lyase    PA5098 ?
(Q21760931,P702,c(Q863908))
action count
action filter_type
action find
entity Q21760931
relation P702
type Q863908
['Q21760931', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { resource:Q21760931 property:P702 ?h . ?h rdf:type ontology:Q863908 }
histidine ammonia-lyase    PA5098
action count
action filter_type
action find
entity histidine ammonia-lyase    PA5098
relation encoded by
type nucleic acid sequence
['histidine ammonia-lyase    PA5098', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { resource:histidine_ammonia-lyase____PA5098 property:encoded_by ?h . ?h rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
SYSTEM
1
Q21691248
(Q21760931,P702,c(Q863908))
action count
action filter_type
action find
entity Q21760931
relation P702
type Q863908
[ANSWER]
['Q21760931', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { resource:Q21760931 property:P702 ?h . ?h rdf:type ontology:Q863908 }
histidine ammonia-lyase    PA5098
1
action count
action filter_type
action find
entity histidine ammonia-lyase    PA5098
relation encoded by
type nucleic acid sequence
['histidine ammonia-lyase    PA5098', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { resource:histidine_ammonia-lyase____PA5098 property:encoded_by ?h . ?h rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21760931
P681
Q15989253
USER
Which part is a component of that nutrient ?
action filter_type
action find
entity Q21760931
relation P681
type Q15989253
SELECT DISTINCT ?c WHERE { resource:Q21760931 property:P681 ?c . ?c rdf:type ontology:Q15989253 }
histidine ammonia-lyase    PA5098
action filter_type
action find
entity histidine ammonia-lyase    PA5098
relation cell component
type part
SELECT DISTINCT ?c WHERE { resource:histidine_ammonia-lyase____PA5098 property:cell_component ?c . ?c rdf:type ontology:part }
[]
part
Q79899
SYSTEM
cytoplasm
Q79899
action filter_type
action find
entity Q21760931
relation P681
type Q15989253
[ANSWER] is a component of that nutrient
SELECT DISTINCT ?c WHERE { resource:Q21760931 property:P681 ?c . ?c rdf:type ontology:Q15989253 }
cytoplasm
Cytoplasm is a component of that nutrient
cytoplasm
action filter_type
action find
entity histidine ammonia-lyase    PA5098
relation cell component
type part
SELECT DISTINCT ?c WHERE { resource:histidine_ammonia-lyase____PA5098 property:cell_component ?c . ?c rdf:type ontology:part }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q79899
P361
Q11173
USER
What is a component of that part ?
(c(Q11173),P361,Q79899)
action filter_type
action find_reverse
entity Q79899
relation P361
type Q11173
[{'concept': 'Q11173'}, 'P361', 'Q79899']
SELECT DISTINCT ?x WHERE { ?x property:P361 resource:Q79899 . ?x rdf:type ontology:Q11173 }
cytoplasm
action filter_type
action find_reverse
entity cytoplasm
relation part of
type chemical compound
[{'concept': 'chemical compound'}, 'part of', 'cytoplasm']
SELECT DISTINCT ?x WHERE { ?x property:part_of resource:cytoplasm . ?x rdf:type ontology:chemical_compound }
[]
chemical compound
Q21762011
SYSTEM
cytoplasmic nucleosome
Q21762011
(c(Q11173),P361,Q79899)
action filter_type
action find_reverse
entity Q79899
relation P361
type Q11173
A component of that part is the [ANSWER]
[{'concept': 'Q11173'}, 'P361', 'Q79899']
SELECT DISTINCT ?x WHERE { ?x property:P361 resource:Q79899 . ?x rdf:type ontology:Q11173 }
cytoplasmic nucleosome
A component of that part is the cytoplasmic nucleosome
cytoplasmic nucleosome
action filter_type
action find_reverse
entity cytoplasm
relation part of
type chemical compound
[{'concept': 'chemical compound'}, 'part of', 'cytoplasm']
SELECT DISTINCT ?x WHERE { ?x property:part_of resource:cytoplasm . ?x rdf:type ontology:chemical_compound }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P2695
Q8072 Q11173
USER
Which volcanoes are the localities where min number of chemical compounds are found ?
(c(Q11173),P2695,Q755123)
action argmin
action find_reverse_tuple_counts
relation P2695
type Q8072
type Q11173
[{'concept': 'Q11173'}, 'P2695', 'Q755123']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?m ) { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?u ) WHERE { ?f rdf:type ontology:Q8072 . ?w rdf:type ontology:Q11173 . ?w property:P2695 ?f } GROUP BY ?f } } . { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?s ) WHERE { ?v rdf:type ontology:Q8072 . ?r rdf:type ontology:Q11173 . ?r property:P2695 ?v } GROUP BY ?v } . FILTER ( ?s = ?m ) }
action argmin
action find_reverse_tuple_counts
relation type locality
type volcano
type chemical compound
[{'concept': 'chemical compound'}, 'type locality', 'Phlegraean Fields']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?m ) { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?u ) WHERE { ?f rdf:type ontology:volcano . ?w rdf:type ontology:chemical_compound . ?w property:type_locality ?f } GROUP BY ?f } } . { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?s ) WHERE { ?v rdf:type ontology:volcano . ?r rdf:type ontology:chemical_compound . ?r property:type_locality ?v } GROUP BY ?v } . FILTER ( ?s = ?m ) }
[]
volcano chemical compound
Q16990 Q755123
SYSTEM
Mount Etna, Phlegraean Fields
Q16990 Q755123
(c(Q11173),P2695,Q755123)
action argmin
action find_reverse_tuple_counts
relation P2695
type Q8072
type Q11173
[ANSWERS] are the localities where min number of chemical compounds are found
[{'concept': 'Q11173'}, 'P2695', 'Q755123']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?m ) { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?u ) WHERE { ?f rdf:type ontology:Q8072 . ?w rdf:type ontology:Q11173 . ?w property:P2695 ?f } GROUP BY ?f } } . { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?s ) WHERE { ?v rdf:type ontology:Q8072 . ?r rdf:type ontology:Q11173 . ?r property:P2695 ?v } GROUP BY ?v } . FILTER ( ?s = ?m ) }
Mount Etna Phlegraean Fields
Mount Etna and Phlegraean Fields are the localities where min number of chemical compounds are found
Mount Etna Phlegraean Fields
action argmin
action find_reverse_tuple_counts
relation type locality
type volcano
type chemical compound
[{'concept': 'chemical compound'}, 'type locality', 'Phlegraean Fields']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?m ) { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?u ) WHERE { ?f rdf:type ontology:volcano . ?w rdf:type ontology:chemical_compound . ?w property:type_locality ?f } GROUP BY ?f } } . { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?s ) WHERE { ?v rdf:type ontology:volcano . ?r rdf:type ontology:chemical_compound . ?r property:type_locality ?v } GROUP BY ?v } . FILTER ( ?s = ?m ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q755123
P30
Q2221906
USER
Where is that volcano located ?
(Q755123,P30,c(Q2221906))
action filter_type
action find
entity Q755123
relation P30
type Q2221906
['Q755123', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { resource:Q755123 property:P30 ?b . ?b rdf:type ontology:Q2221906 }
Phlegraean Fields
action filter_type
action find
entity Phlegraean Fields
relation continent
type geographic location
['Phlegraean Fields', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { resource:Phlegraean_Fields property:continent ?b . ?b rdf:type ontology:geographic_location }
[]
geographic location
Clarification for simple ques.
Q16990
SYSTEM
Did you mean Mount Etna ?
Q16990 Q755123
(Q16990,P30,c(Q2221906)) (Q755123,P30,c(Q2221906))
[ANSWER]
['Q16990', 'P30', {'concept': 'Q2221906'}] ['Q755123', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { resource:Q755123 property:P30 ?b . ?b rdf:type ontology:Q2221906 }
Mount Etna Phlegraean Fields
Did you mean Mount Etna ?
Mount Etna
['Mount Etna', 'continent', {'concept': 'geographic location'}] ['Phlegraean Fields', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { resource:Phlegraean_Fields property:continent ?b . ?b rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
USER
No, I meant Phlegraean Fields. Could you tell me the answer for that?
(Q755123,P30,c(Q2221906))
Q755123
['Q755123', 'P30', {'concept': 'Q2221906'}]
['Phlegraean Fields', 'continent', {'concept': 'geographic location'}]
[]
Q46
SYSTEM
Europe
Q46
(Q755123,P30,c(Q2221906))
action filter_type
action find
entity Q755123
relation P30
type Q2221906
That volcano is located in [ANSWER]
['Q755123', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { resource:Q755123 property:P30 ?b . ?b rdf:type ontology:Q2221906 }
Europe
That volcano is located in Europe
Europe
action filter_type
action find
entity Phlegraean Fields
relation continent
type geographic location
['Phlegraean Fields', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { resource:Phlegraean_Fields property:continent ?b . ?b rdf:type ontology:geographic_location }
[]