Simple Question (Direct)
Simple Question
Q22232859
P682
Q1057
USER
Which metabolic process is serine hydroxymethyltransferase    Rv1093 involved in ?
(Q22232859,P682,c(Q1057))
action filter_type
action find
entity Q22232859
relation P682
type Q1057
['Q22232859', 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ?c WHERE { resource:Q22232859 property:P682 ?c . ?c rdf:type ontology:Q1057 }
serine hydroxymethyltransferase    Rv1093
action filter_type
action find
entity serine hydroxymethyltransferase    Rv1093
relation biological process
type metabolic process
['serine hydroxymethyltransferase    Rv1093', 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ?c WHERE { resource:serine_hydroxymethyltransferase____Rv1093 property:biological_process ?c . ?c rdf:type ontology:metabolic_process }
[]
metabolic process
Q14819379
SYSTEM
one-carbon metabolic process
Q14819379
(Q22232859,P682,c(Q1057))
action filter_type
action find
entity Q22232859
relation P682
type Q1057
Which metabolic process is serine hydroxymethyltransferase Rv1093 involved in
['Q22232859', 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ?c WHERE { resource:Q22232859 property:P682 ?c . ?c rdf:type ontology:Q1057 }
one-carbon metabolic process
Which metabolic process is serine hydroxymethyltransferase Rv1093 involved in
one-carbon metabolic process
action filter_type
action find
entity serine hydroxymethyltransferase    Rv1093
relation biological process
type metabolic process
['serine hydroxymethyltransferase    Rv1093', 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ?c WHERE { resource:serine_hydroxymethyltransferase____Rv1093 property:biological_process ?c . ?c rdf:type ontology:metabolic_process }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22232859
P681
Q15989253
USER
Which is the cell component of serine hydroxymethyltransferase    Rv1093 ?
(Q22232859,P681,c(Q15989253))
action filter_type
action find
entity Q22232859
relation P681
type Q15989253
['Q22232859', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15989253 . resource:Q22232859 property:P681 ?e }
serine hydroxymethyltransferase    Rv1093
action filter_type
action find
entity serine hydroxymethyltransferase    Rv1093
relation cell component
type part
['serine hydroxymethyltransferase    Rv1093', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:part . resource:serine_hydroxymethyltransferase____Rv1093 property:cell_component ?e }
[]
part
Q79899
SYSTEM
cytoplasm
Q79899
(Q22232859,P681,c(Q15989253))
action filter_type
action find
entity Q22232859
relation P681
type Q15989253
The [ANSWER] is the cell component of serine hydroxymethyltransferase Rv1093
['Q22232859', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15989253 . resource:Q22232859 property:P681 ?e }
cytoplasm
The cytoplasm is the cell component of serine hydroxymethyltransferase Rv1093
cytoplasm
action filter_type
action find
entity serine hydroxymethyltransferase    Rv1093
relation cell component
type part
['serine hydroxymethyltransferase    Rv1093', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:part . resource:serine_hydroxymethyltransferase____Rv1093 property:cell_component ?e }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21981496
Q15989253
USER
And also tell me about BPI fold-containing family A member 2?
(Q21981496,P681,c(Q15989253))
action filter_type
action find
entity Q21981496
relation P681
type Q15989253
['Q21981496', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?x WHERE { resource:Q21981496 property:P681 ?x . ?x rdf:type ontology:Q15989253 }
BPI fold-containing family A member 2
action filter_type
action find
entity BPI fold-containing family A member 2
relation cell component
type part
['BPI fold-containing family A member 2', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?x WHERE { resource:BPI_fold-containing_family_A_member_2 property:cell_component ?x . ?x rdf:type ontology:part }
[]
part
Q14645596
SYSTEM
extracellular region
Q14645596
(Q21981496,P681,c(Q15989253))
action filter_type
action find
entity Q21981496
relation P681
type Q15989253
[ANSWER]
['Q21981496', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?x WHERE { resource:Q21981496 property:P681 ?x . ?x rdf:type ontology:Q15989253 }
extracellular region
extracellular region
action filter_type
action find
entity BPI fold-containing family A member 2
relation cell component
type part
['BPI fold-containing family A member 2', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?x WHERE { resource:BPI_fold-containing_family_A_member_2 property:cell_component ?x . ?x rdf:type ontology:part }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q14645596 Q23525538
P681
Q181394
USER
Is that part a cell component of sulfate adenylate transferase subunit GTPase    CA_C0110 ?
(Q23525538,P681,Q14645596)
action is_in
entity Q23525538
action find
entity Q14645596
relation P681
['Q23525538', 'P681', 'Q14645596']
ASK WHERE { resource:Q14645596 property:P681 resource:Q23525538 }
extracellular region sulfate adenylate transferase subunit GTPase    CA_C0110
action is_in
entity sulfate adenylate transferase subunit GTPase    CA_C0110
action find
entity extracellular region
relation cell component
['sulfate adenylate transferase subunit GTPase    CA_C0110', 'cell component', 'extracellular region']
ASK WHERE { resource:extracellular_region property:cell_component resource:sulfate_adenylate_transferase_subunit_GTPase____CA_C0110 }
[]
nutrient
SYSTEM
NO
(Q23525538,P681,Q14645596)
action is_in
entity Q23525538
action find
entity Q14645596
relation P681
[ANSWER]
['Q23525538', 'P681', 'Q14645596']
ASK WHERE { resource:Q14645596 property:P681 resource:Q23525538 }
No
action is_in
entity sulfate adenylate transferase subunit GTPase    CA_C0110
action find
entity extracellular region
relation cell component
['sulfate adenylate transferase subunit GTPase    CA_C0110', 'cell component', 'extracellular region']
ASK WHERE { resource:extracellular_region property:cell_component resource:sulfate_adenylate_transferase_subunit_GTPase____CA_C0110 }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22232859
P688
Q863908
USER
Which nucleic acid sequence encodes serine hydroxymethyltransferase    Rv1093 ?
(c(Q863908),P688,Q22232859)
action filter_type
action find_reverse
entity Q22232859
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q22232859']
SELECT DISTINCT ?z WHERE { ?z property:P688 resource:Q22232859 . ?z rdf:type ontology:Q863908 }
serine hydroxymethyltransferase    Rv1093
action filter_type
action find_reverse
entity serine hydroxymethyltransferase    Rv1093
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'serine hydroxymethyltransferase    Rv1093']
SELECT DISTINCT ?z WHERE { ?z property:encodes resource:serine_hydroxymethyltransferase____Rv1093 . ?z rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q22228393
SYSTEM
serine hydroxymethyltransferase    Rv1093
Q22228393
(c(Q863908),P688,Q22232859)
action filter_type
action find_reverse
entity Q22232859
relation P688
type Q863908
Serine hydroxymethyltransferase Rv1093 encodes serine hydroxymethyltransferase Rv1093
[{'concept': 'Q863908'}, 'P688', 'Q22232859']
SELECT DISTINCT ?z WHERE { ?z property:P688 resource:Q22232859 . ?z rdf:type ontology:Q863908 }
serine hydroxymethyltransferase    Rv1093
Serine hydroxymethyltransferase Rv1093 encodes serine hydroxymethyltransferase Rv1093
serine hydroxymethyltransferase    Rv1093
action filter_type
action find_reverse
entity serine hydroxymethyltransferase    Rv1093
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'serine hydroxymethyltransferase    Rv1093']
SELECT DISTINCT ?z WHERE { ?z property:encodes resource:serine_hydroxymethyltransferase____Rv1093 . ?z rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22228393
P702
Q181394
USER
Which nutrient is encoded by that nucleic acid sequence ?
(c(Q181394),P702,Q22228393)
action filter_type
action find_reverse
entity Q22228393
relation P702
type Q181394
[{'concept': 'Q181394'}, 'P702', 'Q22228393']
SELECT DISTINCT ?x WHERE { ?x property:P702 resource:Q22228393 . ?x rdf:type ontology:Q181394 }
serine hydroxymethyltransferase    Rv1093
action filter_type
action find_reverse
entity serine hydroxymethyltransferase    Rv1093
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'serine hydroxymethyltransferase    Rv1093']
SELECT DISTINCT ?x WHERE { ?x property:encoded_by resource:serine_hydroxymethyltransferase____Rv1093 . ?x rdf:type ontology:nutrient }
[]
nutrient
Q22232859
SYSTEM
serine hydroxymethyltransferase    Rv1093
Q22232859
(c(Q181394),P702,Q22228393)
action filter_type
action find_reverse
entity Q22228393
relation P702
type Q181394
Serine hydroxymethyltransferase Rv1093 is encoded by that nucleic acid sequence
[{'concept': 'Q181394'}, 'P702', 'Q22228393']
SELECT DISTINCT ?x WHERE { ?x property:P702 resource:Q22228393 . ?x rdf:type ontology:Q181394 }
serine hydroxymethyltransferase    Rv1093
Serine hydroxymethyltransferase Rv1093 is encoded by that nucleic acid sequence
serine hydroxymethyltransferase    Rv1093
action filter_type
action find_reverse
entity serine hydroxymethyltransferase    Rv1093
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'serine hydroxymethyltransferase    Rv1093']
SELECT DISTINCT ?x WHERE { ?x property:encoded_by resource:serine_hydroxymethyltransferase____Rv1093 . ?x rdf:type ontology:nutrient }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22228393
P703
Q631147
USER
What is the taxon to which that nucleic acid sequence belongs to ?
(Q22232859,P703,c(Q631147))
action filter_type
action find
entity Q22228393
relation P703
type Q631147
['Q22232859', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?j WHERE { resource:Q22228393 property:P703 ?j . ?j rdf:type ontology:Q631147 }
serine hydroxymethyltransferase    Rv1093
action filter_type
action find
entity serine hydroxymethyltransferase    Rv1093
relation found in taxon
type infraspecific name
['serine hydroxymethyltransferase    Rv1093', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?j WHERE { resource:serine_hydroxymethyltransferase____Rv1093 property:found_in_taxon ?j . ?j rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102987
SYSTEM
Mycobacterium tuberculosis H37Rv
Q21102987
(Q22232859,P703,c(Q631147))
action filter_type
action find
entity Q22228393
relation P703
type Q631147
H [ANSWER]
['Q22232859', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?j WHERE { resource:Q22228393 property:P703 ?j . ?j rdf:type ontology:Q631147 }
Mycobacterium tuberculosis H37Rv
H Mycobacterium tuberculosis H37Rv
Mycobacterium tuberculosis H37Rv
action filter_type
action find
entity serine hydroxymethyltransferase    Rv1093
relation found in taxon
type infraspecific name
['serine hydroxymethyltransferase    Rv1093', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?j WHERE { resource:serine_hydroxymethyltransferase____Rv1093 property:found_in_taxon ?j . ?j rdf:type ontology:infraspecific_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P682
Q1190554 Q181394
USER
Which events are atleast 38 nutrients involved in ?
(c(Q181394),P682,c(Q1190554))
action atleast
action find_reverse_tuple_counts
relation P682
type Q1190554
type Q181394
value 38
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q1190554'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:P682 ?y . ?y rdf:type ontology:Q1190554 . ?s rdf:type ontology:Q181394 } GROUP BY ?y } . FILTER ( ?h >= 38 ) }
action atleast
action find_reverse_tuple_counts
relation biological process
type event
type nutrient
value 38
[{'concept': 'nutrient'}, 'biological process', {'concept': 'event'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:biological_process ?y . ?y rdf:type ontology:event . ?s rdf:type ontology:nutrient } GROUP BY ?y } . FILTER ( ?h >= 38 ) }
[]
event nutrient
Q719426 Q2996394
SYSTEM
lactation, biological process
Q719426 Q2996394
(c(Q181394),P682,c(Q1190554))
action atleast
action find_reverse_tuple_counts
relation P682
type Q1190554
type Q181394
value 38
[ANSWERS]
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q1190554'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:P682 ?y . ?y rdf:type ontology:Q1190554 . ?s rdf:type ontology:Q181394 } GROUP BY ?y } . FILTER ( ?h >= 38 ) }
lactation biological process
Which events are atleast 38 nutrients involved in
lactation biological process
action atleast
action find_reverse_tuple_counts
relation biological process
type event
type nutrient
value 38
[{'concept': 'nutrient'}, 'biological process', {'concept': 'event'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:biological_process ?y . ?y rdf:type ontology:event . ?s rdf:type ontology:nutrient } GROUP BY ?y } . FILTER ( ?h >= 38 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q719426 Q1407263
P361
Q1047113
USER
How many special fields are lactation or forensic psychiatry a component of ?
(Q719426,P361,c(Q1047113)) (Q1407263,P361,c(Q1047113))
action count
action union
action filter_type
action find
entity Q719426
relation P361
type Q1047113
action filter_type
action find
entity Q1407263
relation P361
type Q1047113
['Q719426', 'P361', {'concept': 'Q1047113'}] ['Q1407263', 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { VALUES ( ?j ) { ( resource:Q1407263 ) ( resource:Q719426 ) } . ?j property:P361 ?v }
lactation forensic psychiatry
action count
action union
action filter_type
action find
entity lactation
relation part of
type special field
action filter_type
action find
entity forensic psychiatry
relation part of
type special field
['lactation', 'part of', {'concept': 'special field'}] ['forensic psychiatry', 'part of', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { VALUES ( ?j ) { ( resource:forensic_psychiatry ) ( resource:lactation ) } . ?j property:part_of ?v }
[]
special field
SYSTEM
2
Q454812 Q7867
(Q719426,P361,c(Q1047113)) (Q1407263,P361,c(Q1047113))
action count
action union
action filter_type
action find
entity Q719426
relation P361
type Q1047113
action filter_type
action find
entity Q1407263
relation P361
type Q1047113
[ANSWER]
['Q719426', 'P361', {'concept': 'Q1047113'}] ['Q1407263', 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { VALUES ( ?j ) { ( resource:Q1407263 ) ( resource:Q719426 ) } . ?j property:P361 ?v }
forensic medicine psychiatry
2
action count
action union
action filter_type
action find
entity lactation
relation part of
type special field
action filter_type
action find
entity forensic psychiatry
relation part of
type special field
['lactation', 'part of', {'concept': 'special field'}] ['forensic psychiatry', 'part of', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { VALUES ( ?j ) { ( resource:forensic_psychiatry ) ( resource:lactation ) } . ?j property:part_of ?v }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q193078
P828
Q7189713 Q1190554
USER
Which physiological conditions are the underlying cause of around the same number of events as trauma ?
(c(Q1190554),P828,c(Q7189713))
action approx
action find_reverse_tuple_counts
relation P828
type Q7189713
type Q1190554
action count
action filter_type
action find
entity Q193078
relation P828
type Q7189713
[{'concept': 'Q1190554'}, 'P828', {'concept': 'Q7189713'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:P828 ?r . ?r rdf:type ontology:Q7189713 . ?h rdf:type ontology:Q1190554 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ontology:Q7189713 . resource:Q193078 property:P828 ?j } } . FILTER ( ?d = ?w ) }
trauma
action approx
action find_reverse_tuple_counts
relation has cause
type physiological condition
type event
action count
action filter_type
action find
entity trauma
relation has cause
type physiological condition
[{'concept': 'event'}, 'has cause', {'concept': 'physiological condition'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:has_cause ?r . ?r rdf:type ontology:physiological_condition . ?h rdf:type ontology:event } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ontology:physiological_condition . resource:trauma property:has_cause ?j } } . FILTER ( ?d = ?w ) }
[]
physiological condition event
Q193078 Q2849606 Q649122
SYSTEM
trauma, vasospasm, Jugular venous pressure
Q2849606 Q193078 Q1478321 Q649122
(c(Q1190554),P828,c(Q7189713))
action approx
action find_reverse_tuple_counts
relation P828
type Q7189713
type Q1190554
action count
action filter_type
action find
entity Q193078
relation P828
type Q7189713
[ANSWERS] are the underlying cause of around the same number of events as trauma
[{'concept': 'Q1190554'}, 'P828', {'concept': 'Q7189713'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:P828 ?r . ?r rdf:type ontology:Q7189713 . ?h rdf:type ontology:Q1190554 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ontology:Q7189713 . resource:Q193078 property:P828 ?j } } . FILTER ( ?d = ?w ) }
vasospasm trauma Spinal stenosis Jugular venous pressure
Trauma, vasospasm and Jugular venous pressure are the underlying cause of around the same number of events as trauma
trauma vasospasm Jugular venous pressure
action approx
action find_reverse_tuple_counts
relation has cause
type physiological condition
type event
action count
action filter_type
action find
entity trauma
relation has cause
type physiological condition
[{'concept': 'event'}, 'has cause', {'concept': 'physiological condition'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:has_cause ?r . ?r rdf:type ontology:physiological_condition . ?h rdf:type ontology:event } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ontology:physiological_condition . resource:trauma property:has_cause ?j } } . FILTER ( ?d = ?w ) }
[]