Simple Question (Direct)
Simple Question
Q23476130
P702
Q863908
USER
Which gene encodes RNAse P protein component    Pro_1300 ?
(Q23476130,P702,c(Q863908))
action filter_type
action find
entity Q23476130
relation P702
type Q863908
['Q23476130', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?v WHERE { resource:Q23476130 property:P702 ?v . ?v rdf:type ontology:Q863908 }
RNAse P protein component    Pro_1300
action filter_type
action find
entity RNAse P protein component    Pro_1300
relation encoded by
type nucleic acid sequence
['RNAse P protein component    Pro_1300', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?v WHERE { resource:RNAse_P_protein_component____Pro_1300 property:encoded_by ?v . ?v rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23329691
SYSTEM
RNAse P protein component    Pro_1300
Q23329691
(Q23476130,P702,c(Q863908))
action filter_type
action find
entity Q23476130
relation P702
type Q863908
RNAse P protein component Pro 1300 encodes RNAse P protein component Pro_1300
['Q23476130', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?v WHERE { resource:Q23476130 property:P702 ?v . ?v rdf:type ontology:Q863908 }
RNAse P protein component    Pro_1300
RNAse P protein component Pro 1300 encodes RNAse P protein component Pro_1300
RNAse P protein component    Pro_1300
action filter_type
action find
entity RNAse P protein component    Pro_1300
relation encoded by
type nucleic acid sequence
['RNAse P protein component    Pro_1300', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?v WHERE { resource:RNAse_P_protein_component____Pro_1300 property:encoded_by ?v . ?v rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23329691
P703
Q16521
USER
Which taxon is that nucleic acid sequence found in ?
(Q23329691,P703,c(Q16521))
action filter_type
action find
entity Q23329691
relation P703
type Q16521
['Q23329691', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?y WHERE { resource:Q23329691 property:P703 ?y . ?y rdf:type ontology:Q16521 }
RNAse P protein component    Pro_1300
action filter_type
action find
entity RNAse P protein component    Pro_1300
relation found in taxon
type taxon
['RNAse P protein component    Pro_1300', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?y WHERE { resource:RNAse_P_protein_component____Pro_1300 property:found_in_taxon ?y . ?y rdf:type ontology:taxon }
[]
taxon
Q21384221
SYSTEM
Prochlorococcus marinus subsp. marinus str. CCMP1375
Q21384221
(Q23329691,P703,c(Q16521))
action filter_type
action find
entity Q23329691
relation P703
type Q16521
That nucleic acid sequence is found in [ANSWER]
['Q23329691', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?y WHERE { resource:Q23329691 property:P703 ?y . ?y rdf:type ontology:Q16521 }
Prochlorococcus marinus subsp. marinus str. CCMP1375
That nucleic acid sequence is found in Prochlorococcus marinus subsp. marinus str. CCMP1375
Prochlorococcus marinus subsp. marinus str. CCMP1375
action filter_type
action find
entity RNAse P protein component    Pro_1300
relation found in taxon
type taxon
['RNAse P protein component    Pro_1300', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?y WHERE { resource:RNAse_P_protein_component____Pro_1300 property:found_in_taxon ?y . ?y rdf:type ontology:taxon }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24367507
Q16521
USER
And what about LOC102549525?
(Q24367507,P703,c(Q16521))
action filter_type
action find
entity Q24367507
relation P703
type Q16521
['Q24367507', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?j WHERE { resource:Q24367507 property:P703 ?j . ?j rdf:type ontology:Q16521 }
LOC102549525
action filter_type
action find
entity LOC102549525
relation found in taxon
type taxon
['LOC102549525', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?j WHERE { resource:LOC102549525 property:found_in_taxon ?j . ?j rdf:type ontology:taxon }
[]
taxon
Q184224
SYSTEM
brown rat
Q184224
(Q24367507,P703,c(Q16521))
action filter_type
action find
entity Q24367507
relation P703
type Q16521
[ANSWER]
['Q24367507', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?j WHERE { resource:Q24367507 property:P703 ?j . ?j rdf:type ontology:Q16521 }
brown rat
brown rat
action filter_type
action find
entity LOC102549525
relation found in taxon
type taxon
['LOC102549525', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?j WHERE { resource:LOC102549525 property:found_in_taxon ?j . ?j rdf:type ontology:taxon }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23375756 Q23329691
P688
Q181394
USER
Which nutrients do RNAse P protein component    Pro_1300 or hypothetical protein    Rru_A0122 encode ?
OR((Q23329691,P688,c(Q181394)), (Q23375756,P688,c(Q181394)))
action filter_type
action union
action find
entity Q23329691
relation P688
action find
entity Q23375756
relation P688
type Q181394
{'OR': [['Q23329691', 'P688', {'concept': 'Q181394'}], ['Q23375756', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q23329691 property:P688 ?j } UNION { resource:Q23375756 property:P688 ?j } } . ?j rdf:type ontology:Q181394 }
hypothetical protein    Rru_A0122 RNAse P protein component    Pro_1300
action filter_type
action union
action find
entity RNAse P protein component    Pro_1300
relation encodes
action find
entity hypothetical protein    Rru_A0122
relation encodes
type nutrient
{'OR': [['RNAse P protein component    Pro_1300', 'encodes', {'concept': 'nutrient'}], ['hypothetical protein    Rru_A0122', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?j WHERE { { { resource:RNAse_P_protein_component____Pro_1300 property:encodes ?j } UNION { resource:hypothetical_protein____Rru_A0122 property:encodes ?j } } . ?j rdf:type ontology:nutrient }
[]
nutrient
Q23476130 Q23468104
SYSTEM
RNAse P protein component    Pro_1300, hypothetical protein    Rru_A0122
Q23476130 Q23468104
OR((Q23329691,P688,c(Q181394)), (Q23375756,P688,c(Q181394)))
action filter_type
action union
action find
entity Q23329691
relation P688
action find
entity Q23375756
relation P688
type Q181394
[ANSWERS]
{'OR': [['Q23329691', 'P688', {'concept': 'Q181394'}], ['Q23375756', 'P688', {'concept': 'Q181394'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q23329691 property:P688 ?j } UNION { resource:Q23375756 property:P688 ?j } } . ?j rdf:type ontology:Q181394 }
RNAse P protein component    Pro_1300 hypothetical protein    Rru_A0122
RNAse P protein component Pro 1300 and hypothetical protein Rru A0122 RNAse P protein component Pro_1300 or hypothetical protein Rru_A0122 encode
RNAse P protein component    Pro_1300 hypothetical protein    Rru_A0122
action filter_type
action union
action find
entity RNAse P protein component    Pro_1300
relation encodes
action find
entity hypothetical protein    Rru_A0122
relation encodes
type nutrient
{'OR': [['RNAse P protein component    Pro_1300', 'encodes', {'concept': 'nutrient'}], ['hypothetical protein    Rru_A0122', 'encodes', {'concept': 'nutrient'}]]}
SELECT DISTINCT ?j WHERE { { { resource:RNAse_P_protein_component____Pro_1300 property:encodes ?j } UNION { resource:hypothetical_protein____Rru_A0122 property:encodes ?j } } . ?j rdf:type ontology:nutrient }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q23476130 Q5403034
P688
Q863908
USER
How many nucleic acid sequences encodes RNAse P protein component    Pro_1300 or Ethanolamine-phosphate phospho-lyase ?
(c(Q863908),P688,Q23476130) (c(Q863908),P688,Q5403034)
action count
action union
action filter_type
action find_reverse
entity Q23476130
relation P688
type Q863908
action filter_type
action find_reverse
entity Q5403034
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q23476130'] [{'concept': 'Q863908'}, 'P688', 'Q5403034']
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { VALUES ( ?w ) { ( resource:Q23476130 ) ( resource:Q5403034 ) } . ?e property:P688 ?w }
RNAse P protein component    Pro_1300 Ethanolamine-phosphate phospho-lyase
action count
action union
action filter_type
action find_reverse
entity RNAse P protein component    Pro_1300
relation encodes
type nucleic acid sequence
action filter_type
action find_reverse
entity Ethanolamine-phosphate phospho-lyase
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'RNAse P protein component    Pro_1300'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'Ethanolamine-phosphate phospho-lyase']
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { VALUES ( ?w ) { ( resource:RNAse_P_protein_component____Pro_1300 ) ( resource:Ethanolamine-phosphate_phospho-lyase ) } . ?e property:encodes ?w }
[]
nucleic acid sequence
SYSTEM
2
Q23329691 Q18265049
(c(Q863908),P688,Q23476130) (c(Q863908),P688,Q5403034)
action count
action union
action filter_type
action find_reverse
entity Q23476130
relation P688
type Q863908
action filter_type
action find_reverse
entity Q5403034
relation P688
type Q863908
[ANSWER]
[{'concept': 'Q863908'}, 'P688', 'Q23476130'] [{'concept': 'Q863908'}, 'P688', 'Q5403034']
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { VALUES ( ?w ) { ( resource:Q23476130 ) ( resource:Q5403034 ) } . ?e property:P688 ?w }
RNAse P protein component    Pro_1300 Etnppl
2
action count
action union
action filter_type
action find_reverse
entity RNAse P protein component    Pro_1300
relation encodes
type nucleic acid sequence
action filter_type
action find_reverse
entity Ethanolamine-phosphate phospho-lyase
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'RNAse P protein component    Pro_1300'] [{'concept': 'nucleic acid sequence'}, 'encodes', 'Ethanolamine-phosphate phospho-lyase']
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { VALUES ( ?w ) { ( resource:RNAse_P_protein_component____Pro_1300 ) ( resource:Ethanolamine-phosphate_phospho-lyase ) } . ?e property:encodes ?w }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P682
Q2996394 Q181394
USER
Which biological processes are a biological processes that approximately 1242 nutrients are involved in ?
(c(Q181394),P682,c(Q2996394))
action approx
action find_reverse_tuple_counts
relation P682
type Q2996394
type Q181394
value 1242
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q2996394'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:P682 ?o . ?o rdf:type ontology:Q2996394 . ?r rdf:type ontology:Q181394 } GROUP BY ?o } . FILTER ( ?b = 1242 ) }
action approx
action find_reverse_tuple_counts
relation biological process
type biological process
type nutrient
value 1242
[{'concept': 'nutrient'}, 'biological process', {'concept': 'biological process'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:biological_process ?o . ?o rdf:type ontology:biological_process . ?r rdf:type ontology:nutrient } GROUP BY ?o } . FILTER ( ?b = 1242 ) }
[]
biological process nutrient
Q847556 Q187640 Q1612119
SYSTEM
protein folding, cell adhesion, immune response
Q847556 Q187640 Q1612119
(c(Q181394),P682,c(Q2996394))
action approx
action find_reverse_tuple_counts
relation P682
type Q2996394
type Q181394
value 1242
[ANSWERS] are a biological processes that approximately 1242 nutrients are involved in
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q2996394'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:P682 ?o . ?o rdf:type ontology:Q2996394 . ?r rdf:type ontology:Q181394 } GROUP BY ?o } . FILTER ( ?b = 1242 ) }
protein folding cell adhesion immune response
Protein folding, cell adhesion and immune response are a biological processes that approximately 1242 nutrients are involved in
protein folding cell adhesion immune response
action approx
action find_reverse_tuple_counts
relation biological process
type biological process
type nutrient
value 1242
[{'concept': 'nutrient'}, 'biological process', {'concept': 'biological process'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:biological_process ?o . ?o rdf:type ontology:biological_process . ?r rdf:type ontology:nutrient } GROUP BY ?o } . FILTER ( ?b = 1242 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q847556
P366
Q166142
USER
Which application has its main functionality as that biological process ?
(c(Q166142),P366,Q847556)
action filter_type
action find_reverse
entity Q847556
relation P366
type Q166142
[{'concept': 'Q166142'}, 'P366', 'Q847556']
SELECT DISTINCT ?f WHERE { ?f property:P366 resource:Q847556 . ?f rdf:type ontology:Q166142 }
protein folding
action filter_type
action find_reverse
entity protein folding
relation use
type application
[{'concept': 'application'}, 'use', 'protein folding']
SELECT DISTINCT ?f WHERE { ?f property:use resource:protein_folding . ?f rdf:type ontology:application }
[]
application
Clarification for simple ques.
Q847556
SYSTEM
Did you mean protein folding ?
Q847556 Q187640 Q1612119
(c(Q166142),P366,Q847556) (c(Q166142),P366,Q187640) (c(Q166142),P366,Q1612119)
[ANSWER]
[{'concept': 'Q166142'}, 'P366', 'Q847556'] [{'concept': 'Q166142'}, 'P366', 'Q187640'] [{'concept': 'Q166142'}, 'P366', 'Q1612119']
SELECT DISTINCT ?f WHERE { ?f property:P366 resource:Q847556 . ?f rdf:type ontology:Q166142 }
protein folding cell adhesion immune response
Did you mean protein folding ?
protein folding
[{'concept': 'application'}, 'use', 'protein folding'] [{'concept': 'application'}, 'use', 'cell adhesion'] [{'concept': 'application'}, 'use', 'immune response']
SELECT DISTINCT ?f WHERE { ?f property:use resource:protein_folding . ?f rdf:type ontology:application }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q166142),P366,Q847556)
[{'concept': 'Q166142'}, 'P366', 'Q847556']
[{'concept': 'application'}, 'use', 'protein folding']
[]
Q386283
SYSTEM
Folding@home
Q386283
(c(Q166142),P366,Q847556)
action filter_type
action find_reverse
entity Q847556
relation P366
type Q166142
[ANSWER] has its main functionality as that biological process
[{'concept': 'Q166142'}, 'P366', 'Q847556']
SELECT DISTINCT ?f WHERE { ?f property:P366 resource:Q847556 . ?f rdf:type ontology:Q166142 }
Folding@home
Folding@home has its main functionality as that biological process
Folding@home
action filter_type
action find_reverse
entity protein folding
relation use
type application
[{'concept': 'application'}, 'use', 'protein folding']
SELECT DISTINCT ?f WHERE { ?f property:use resource:protein_folding . ?f rdf:type ontology:application }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1445
Q166142 Q386724
USER
Which works are set up by around 8 applications ?
(c(Q386724),P1445,c(Q166142))
action approx
action find_tuple_counts
relation P1445
type Q386724
type Q166142
value 8
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?m ) WHERE { ?o rdf:type ontology:Q386724 . ?q rdf:type ontology:Q166142 . ?o property:P1445 ?q } GROUP BY ?o } . FILTER ( ?m = 8 ) }
action approx
action find_tuple_counts
relation fictional universe described in
type work
type application
value 8
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?m ) WHERE { ?o rdf:type ontology:work . ?q rdf:type ontology:application . ?o property:fictional_universe_described_in ?q } GROUP BY ?o } . FILTER ( ?m = 8 ) }
[]
application work
Q1203222
SYSTEM
Shrek
Q1203222
(c(Q386724),P1445,c(Q166142))
action approx
action find_tuple_counts
relation P1445
type Q386724
type Q166142
value 8
[ANSWER] is set up by around 8 applications
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?m ) WHERE { ?o rdf:type ontology:Q386724 . ?q rdf:type ontology:Q166142 . ?o property:P1445 ?q } GROUP BY ?o } . FILTER ( ?m = 8 ) }
Shrek
Shrek is set up by around 8 applications
Shrek
action approx
action find_tuple_counts
relation fictional universe described in
type work
type application
value 8
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?m ) WHERE { ?o rdf:type ontology:work . ?q rdf:type ontology:application . ?o property:fictional_universe_described_in ?q } GROUP BY ?o } . FILTER ( ?m = 8 ) }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1203222 Q3643237
P495
Q15617994
USER
Did Shrek originate Bovisa ?
(Q1203222,P495,Q3643237)
action is_in
entity Q3643237
action find
entity Q1203222
relation P495
['Q1203222', 'P495', 'Q3643237']
ASK WHERE { resource:Q1203222 property:P495 resource:Q3643237 }
Shrek Bovisa
action is_in
entity Bovisa
action find
entity Shrek
relation country of origin
['Shrek', 'country of origin', 'Bovisa']
ASK WHERE { resource:Shrek property:country_of_origin resource:Bovisa }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1203222,P495,Q3643237)
action is_in
entity Q3643237
action find
entity Q1203222
relation P495
[ANSWER]
['Q1203222', 'P495', 'Q3643237']
ASK WHERE { resource:Q1203222 property:P495 resource:Q3643237 }
No
action is_in
entity Bovisa
action find
entity Shrek
relation country of origin
['Shrek', 'country of origin', 'Bovisa']
ASK WHERE { resource:Shrek property:country_of_origin resource:Bovisa }
[]