Simple Question (Direct)
Simple Question
Q23510274
P680
Q44424
USER
What represents the molecular function of agmatinase    BC5370 ?
(Q23510274,P680,c(Q44424))
action filter_type
action find
entity Q23510274
relation P680
type Q44424
['Q23510274', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ?d WHERE { resource:Q23510274 property:P680 ?d . ?d rdf:type ontology:Q44424 }
agmatinase    BC5370
action filter_type
action find
entity agmatinase    BC5370
relation molecular function
type chemical bond
['agmatinase    BC5370', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ?d WHERE { resource:agmatinase____BC5370 property:molecular_function ?d . ?d rdf:type ontology:chemical_bond }
[]
chemical bond
Q13667380
SYSTEM
metal ion binding
Q13667380
(Q23510274,P680,c(Q44424))
action filter_type
action find
entity Q23510274
relation P680
type Q44424
The [ANSWER] represents the molecular function of agmatinase BC5370
['Q23510274', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ?d WHERE { resource:Q23510274 property:P680 ?d . ?d rdf:type ontology:Q44424 }
metal ion binding
The metal ion binding represents the molecular function of agmatinase BC5370
metal ion binding
action filter_type
action find
entity agmatinase    BC5370
relation molecular function
type chemical bond
['agmatinase    BC5370', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ?d WHERE { resource:agmatinase____BC5370 property:molecular_function ?d . ?d rdf:type ontology:chemical_bond }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q8386 Q181394
USER
How many nutrients do around 18 drugs and nutrients interact with ?
(c(Q8386)|c(Q181394),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 Q181394
value 18
[[{'concept': 'Q8386'}, {'concept': 'Q181394'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) ?l WHERE { { ?c property:P129 ?l . ?l rdf:type ontology:Q181394 . ?c rdf:type ontology:Q8386 } UNION { ?l rdf:type ontology:Q181394 . ?c rdf:type ontology:Q181394 . ?c property:P129 ?l } } GROUP BY ?l } . FILTER ( ?j = 18 ) }
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 nutrient
value 18
[[{'concept': 'drug'}, {'concept': 'nutrient'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) ?l WHERE { { ?c property:physically_interacts_with ?l . ?l rdf:type ontology:nutrient . ?c rdf:type ontology:drug } UNION { ?l rdf:type ontology:nutrient . ?c rdf:type ontology:nutrient . ?c property:physically_interacts_with ?l } } GROUP BY ?l } . FILTER ( ?j = 18 ) }
[]
nutrient drug nutrient
SYSTEM
23
Q308856 Q4847910 Q2271947 Q2663095 Q5123372 Q287958 Q21126810 Q21110867 Q4847900 Q4639596 Q4734884 Q4734887 Q4734886 Q2844056 Q21115051 Q21115052 Q21109355 Q4734894 Q4734892 Q4734891 Q21131500 Q8083989 Q21109363
(c(Q8386)|c(Q181394),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 Q181394
value 18
[ANSWER]
[[{'concept': 'Q8386'}, {'concept': 'Q181394'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) ?l WHERE { { ?c property:P129 ?l . ?l rdf:type ontology:Q181394 . ?c rdf:type ontology:Q8386 } UNION { ?l rdf:type ontology:Q181394 . ?c rdf:type ontology:Q181394 . ?c property:P129 ?l } } GROUP BY ?l } . FILTER ( ?j = 18 ) }
D(4) dopamine receptor Muscarinic acetylcholine receptor M2 Sodium-dependent dopamine transporter Glucocorticoid receptor Mu-type opioid receptor Beta-1 adrenergic receptor Prostaglandin G/H synthase 1 D(1A) dopamine receptor Muscarinic acetylcholine receptor M1 5-hydroxytryptamine receptor 2B Alpha-1A adrenergic receptor Alpha-1D adrenergic receptor Alpha-1B adrenergic receptor Muscarinic acetylcholine receptor M3 5-hydroxytryptamine receptor 1E 5-hydroxytryptamine receptor 1F 5-hydroxytryptamine receptor 7 Alpha-2B adrenergic receptor Alpha-2A adrenergic receptor Alpha-2C adrenergic receptor D(1B) dopamine receptor Kappa-type opioid receptor 5-hydroxytryptamine receptor 6
23
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 nutrient
value 18
[[{'concept': 'drug'}, {'concept': 'nutrient'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) ?l WHERE { { ?c property:physically_interacts_with ?l . ?l rdf:type ontology:nutrient . ?c rdf:type ontology:drug } UNION { ?l rdf:type ontology:nutrient . ?c rdf:type ontology:nutrient . ?c property:physically_interacts_with ?l } } GROUP BY ?l } . FILTER ( ?j = 18 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q162925
P682
Q3249551 Q181394
USER
Which processes are a biological processes that more number of nutrients are involved in than meiotic nuclear division ?
(c(Q181394),P682,c(Q3249551))
action greater
action find_reverse_tuple_counts
relation P682
type Q3249551
type Q181394
action count
action filter_type
action find
entity Q162925
relation P682
type Q3249551
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:P682 ?q . ?p rdf:type ontology:Q181394 . ?q rdf:type ontology:Q3249551 } GROUP BY ?q } . FILTER ( ?c > ?x ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Q162925 property:P682 ?b . ?b rdf:type ontology:Q3249551 } } }
meiotic nuclear division
action greater
action find_reverse_tuple_counts
relation biological process
type process
type nutrient
action count
action filter_type
action find
entity meiotic nuclear division
relation biological process
type process
[{'concept': 'nutrient'}, 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:biological_process ?q . ?p rdf:type ontology:nutrient . ?q rdf:type ontology:process } GROUP BY ?q } . FILTER ( ?c > ?x ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:meiotic_nuclear_division property:biological_process ?b . ?b rdf:type ontology:process } } }
[]
process nutrient
Q306383 Q14820058 Q14916317
SYSTEM
G1/S transition of mitotic cell cycle, growth, immune system process
Q306383 Q14820058 Q14916317 Q14859560 Q1057 Q14864472
(c(Q181394),P682,c(Q3249551))
action greater
action find_reverse_tuple_counts
relation P682
type Q3249551
type Q181394
action count
action filter_type
action find
entity Q162925
relation P682
type Q3249551
[ANSWERS] are a biological processes that more number of nutrients are involved in than meiotic nuclear division
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:P682 ?q . ?p rdf:type ontology:Q181394 . ?q rdf:type ontology:Q3249551 } GROUP BY ?q } . FILTER ( ?c > ?x ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Q162925 property:P682 ?b . ?b rdf:type ontology:Q3249551 } } }
G1/S transition of mitotic cell cycle growth immune system process response to stimulus metabolic process rhythmic process
G1/S transition of mitotic cell cycle, growth and immune system process are a biological processes that more number of nutrients are involved in than meiotic nuclear division
G1/S transition of mitotic cell cycle growth immune system process
action greater
action find_reverse_tuple_counts
relation biological process
type process
type nutrient
action count
action filter_type
action find
entity meiotic nuclear division
relation biological process
type process
[{'concept': 'nutrient'}, 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:biological_process ?q . ?p rdf:type ontology:nutrient . ?q rdf:type ontology:process } GROUP BY ?q } . FILTER ( ?c > ?x ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:meiotic_nuclear_division property:biological_process ?b . ?b rdf:type ontology:process } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q14820058
P682
Q3249551 Q181394
USER
And how about growth?
(c(Q181394),P682,c(Q3249551))
action greater
action find_reverse_tuple_counts
relation P682
type Q3249551
type Q181394
action count
action filter_type
action find
entity Q14820058
relation P682
type Q3249551
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:P682 ?b . ?b rdf:type ontology:Q3249551 . ?m rdf:type ontology:Q181394 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { ?a rdf:type ontology:Q3249551 . resource:Q14820058 property:P682 ?a } } . FILTER ( ?t > ?w ) }
growth
action greater
action find_reverse_tuple_counts
relation biological process
type process
type nutrient
action count
action filter_type
action find
entity growth
relation biological process
type process
[{'concept': 'nutrient'}, 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:biological_process ?b . ?b rdf:type ontology:process . ?m rdf:type ontology:nutrient } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { ?a rdf:type ontology:process . resource:growth property:biological_process ?a } } . FILTER ( ?t > ?w ) }
[]
process nutrient
Q14916317 Q14859560 Q1057
SYSTEM
immune system process, response to stimulus, metabolic process
Q14916317 Q14859560 Q1057
(c(Q181394),P682,c(Q3249551))
action greater
action find_reverse_tuple_counts
relation P682
type Q3249551
type Q181394
action count
action filter_type
action find
entity Q14820058
relation P682
type Q3249551
[ANSWERS]
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:P682 ?b . ?b rdf:type ontology:Q3249551 . ?m rdf:type ontology:Q181394 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { ?a rdf:type ontology:Q3249551 . resource:Q14820058 property:P682 ?a } } . FILTER ( ?t > ?w ) }
immune system process response to stimulus metabolic process
immune system process response to stimulus metabolic process
action greater
action find_reverse_tuple_counts
relation biological process
type process
type nutrient
action count
action filter_type
action find
entity growth
relation biological process
type process
[{'concept': 'nutrient'}, 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:biological_process ?b . ?b rdf:type ontology:process . ?m rdf:type ontology:nutrient } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { ?a rdf:type ontology:process . resource:growth property:biological_process ?a } } . FILTER ( ?t > ?w ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18261385 Q23510274
P702 P684
Q863908
USER
Which nucleic acid sequences encodes agmatinase    BC5370 or are an orthologous gene for Gmfb ?
OR((Q23510274,P702,c(Q863908)), (Q18261385,P684,c(Q863908)))
action filter_type
action union
action find
entity Q23510274
relation P702
action find
entity Q18261385
relation P684
type Q863908
{'OR': [['Q23510274', 'P702', {'concept': 'Q863908'}], ['Q18261385', 'P684', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q23510274 property:P702 ?h } UNION { resource:Q18261385 property:P684 ?h } } . ?h rdf:type ontology:Q863908 }
Gmfb agmatinase    BC5370
action filter_type
action union
action find
entity agmatinase    BC5370
relation encoded by
action find
entity Gmfb
relation ortholog
type nucleic acid sequence
{'OR': [['agmatinase    BC5370', 'encoded by', {'concept': 'nucleic acid sequence'}], ['Gmfb', 'ortholog', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?h WHERE { { { resource:agmatinase____BC5370 property:encoded_by ?h } UNION { resource:Gmfb property:ortholog ?h } } . ?h rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23191834 Q18026203
SYSTEM
agmatinase    BC5370, GMFB
Q23191834 Q18026203
OR((Q23510274,P702,c(Q863908)), (Q18261385,P684,c(Q863908)))
action filter_type
action union
action find
entity Q23510274
relation P702
action find
entity Q18261385
relation P684
type Q863908
[ANSWERS]
{'OR': [['Q23510274', 'P702', {'concept': 'Q863908'}], ['Q18261385', 'P684', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q23510274 property:P702 ?h } UNION { resource:Q18261385 property:P684 ?h } } . ?h rdf:type ontology:Q863908 }
agmatinase    BC5370 GMFB
Agmatinase BC5370 and GMFB encode agmatinase BC5370 or are an orthologous gene for Gmfb
agmatinase    BC5370 GMFB
action filter_type
action union
action find
entity agmatinase    BC5370
relation encoded by
action find
entity Gmfb
relation ortholog
type nucleic acid sequence
{'OR': [['agmatinase    BC5370', 'encoded by', {'concept': 'nucleic acid sequence'}], ['Gmfb', 'ortholog', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?h WHERE { { { resource:agmatinase____BC5370 property:encoded_by ?h } UNION { resource:Gmfb property:ortholog ?h } } . ?h rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q23191834 Q18026203
P688
Q181394
USER
What do agmatinase    BC5370 and GMFB encode ?
(Q23191834,P688,c(Q181394)) (Q18026203,P688,c(Q181394))
action union
action filter_type
action find
entity Q23191834
relation P688
type Q181394
action filter_type
action find
entity Q18026203
relation P688
type Q181394
['Q23191834', 'P688', {'concept': 'Q181394'}] ['Q18026203', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?d ) { ( resource:Q23191834 ) ( resource:Q18026203 ) } . ?d property:P688 ?c }
agmatinase    BC5370 GMFB
action union
action filter_type
action find
entity agmatinase    BC5370
relation encodes
type nutrient
action filter_type
action find
entity GMFB
relation encodes
type nutrient
['agmatinase    BC5370', 'encodes', {'concept': 'nutrient'}] ['GMFB', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?d ) { ( resource:agmatinase____BC5370 ) ( resource:GMFB ) } . ?d property:encodes ?c }
[]
nutrient
Q23510274 Q21140176 Q21114626
SYSTEM
agmatinase    BC5370, Glia maturation factor beta, Glia maturation factor beta
Q23510274 Q21140176 Q21114626
(Q23191834,P688,c(Q181394)) (Q18026203,P688,c(Q181394))
action union
action filter_type
action find
entity Q23191834
relation P688
type Q181394
action filter_type
action find
entity Q18026203
relation P688
type Q181394
[ANSWERS]
['Q23191834', 'P688', {'concept': 'Q181394'}] ['Q18026203', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?d ) { ( resource:Q23191834 ) ( resource:Q18026203 ) } . ?d property:P688 ?c }
agmatinase    BC5370 Glia maturation factor beta Glia maturation factor beta
Agmatinase BC5370 and GMFB encode agmatinase BC5370, Glia maturation factor beta and Glia maturation factor beta
agmatinase    BC5370 Glia maturation factor beta Glia maturation factor beta
action union
action filter_type
action find
entity agmatinase    BC5370
relation encodes
type nutrient
action filter_type
action find
entity GMFB
relation encodes
type nutrient
['agmatinase    BC5370', 'encodes', {'concept': 'nutrient'}] ['GMFB', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?d ) { ( resource:agmatinase____BC5370 ) ( resource:GMFB ) } . ?d property:encodes ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21140176
P703
Q16521
USER
Where is Glia maturation factor beta found ?
(Q21140176,P703,c(Q16521))
action filter_type
action find
entity Q21140176
relation P703
type Q16521
['Q21140176', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?c WHERE { resource:Q21140176 property:P703 ?c . ?c rdf:type ontology:Q16521 }
Glia maturation factor beta
action filter_type
action find
entity Glia maturation factor beta
relation found in taxon
type taxon
['Glia maturation factor beta', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?c WHERE { resource:Glia_maturation_factor_beta property:found_in_taxon ?c . ?c rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q21140176,P703,c(Q16521))
action filter_type
action find
entity Q21140176
relation P703
type Q16521
Glia maturation factor beta is found in [ANSWER]
['Q21140176', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?c WHERE { resource:Q21140176 property:P703 ?c . ?c rdf:type ontology:Q16521 }
Homo sapiens
Glia maturation factor beta is found in Homo sapiens
Homo sapiens
action filter_type
action find
entity Glia maturation factor beta
relation found in taxon
type taxon
['Glia maturation factor beta', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?c WHERE { resource:Glia_maturation_factor_beta property:found_in_taxon ?c . ?c rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15978631
P427
Q3343211
USER
Which zoological nomenclature is the taxonomic type of that taxon ?
(Q15978631,P427,c(Q3343211))
action filter_type
action find
entity Q15978631
relation P427
type Q3343211
['Q15978631', 'P427', {'concept': 'Q3343211'}]
SELECT DISTINCT ?d WHERE { resource:Q15978631 property:P427 ?d . ?d rdf:type ontology:Q3343211 }
Homo sapiens
action filter_type
action find
entity Homo sapiens
relation taxonomic type
type zoological nomenclature
['Homo sapiens', 'taxonomic type', {'concept': 'zoological nomenclature'}]
SELECT DISTINCT ?d WHERE { resource:Homo_sapiens property:taxonomic_type ?d . ?d rdf:type ontology:zoological_nomenclature }
[]
zoological nomenclature
Q1043
SYSTEM
Carl Linnaeus
Q1043
(Q15978631,P427,c(Q3343211))
action filter_type
action find
entity Q15978631
relation P427
type Q3343211
[ANSWER] is the taxonomic type of that taxon
['Q15978631', 'P427', {'concept': 'Q3343211'}]
SELECT DISTINCT ?d WHERE { resource:Q15978631 property:P427 ?d . ?d rdf:type ontology:Q3343211 }
Carl Linnaeus
Carl Linnaeus is the taxonomic type of that taxon
Carl Linnaeus
action filter_type
action find
entity Homo sapiens
relation taxonomic type
type zoological nomenclature
['Homo sapiens', 'taxonomic type', {'concept': 'zoological nomenclature'}]
SELECT DISTINCT ?d WHERE { resource:Homo_sapiens property:taxonomic_type ?d . ?d rdf:type ontology:zoological_nomenclature }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1043 Q2319216 Q6353565
P937
Q56061
USER
Does that zoological nomenclature works at Vanići and Kallapalem ?
(Q1043,P937,Q2319216) (Q1043,P937,Q6353565)
action is_in
entity Q1043
action intersection
action find_reverse
entity Q2319216
relation P937
action find_reverse
entity Q6353565
relation P937
['Q1043', 'P937', 'Q2319216'] ['Q1043', 'P937', 'Q6353565']
ASK WHERE { resource:Q1043 property:P937 resource:Q2319216 . resource:Q1043 property:P937 resource:Q6353565 }
Carl Linnaeus Vanići Kallapalem
action is_in
entity Carl Linnaeus
action intersection
action find_reverse
entity Vanići
relation work location
action find_reverse
entity Kallapalem
relation work location
['Carl Linnaeus', 'work location', 'Vanići'] ['Carl Linnaeus', 'work location', 'Kallapalem']
ASK WHERE { resource:Carl_Linnaeus property:work_location resource:Vanići . resource:Carl_Linnaeus property:work_location resource:Kallapalem }
[]
administrative territorial entity
SYSTEM
NO
(Q1043,P937,Q2319216) (Q1043,P937,Q6353565)
action is_in
entity Q1043
action intersection
action find_reverse
entity Q2319216
relation P937
action find_reverse
entity Q6353565
relation P937
[ANSWER]
['Q1043', 'P937', 'Q2319216'] ['Q1043', 'P937', 'Q6353565']
ASK WHERE { resource:Q1043 property:P937 resource:Q2319216 . resource:Q1043 property:P937 resource:Q6353565 }
No
action is_in
entity Carl Linnaeus
action intersection
action find_reverse
entity Vanići
relation work location
action find_reverse
entity Kallapalem
relation work location
['Carl Linnaeus', 'work location', 'Vanići'] ['Carl Linnaeus', 'work location', 'Kallapalem']
ASK WHERE { resource:Carl_Linnaeus property:work_location resource:Vanići . resource:Carl_Linnaeus property:work_location resource:Kallapalem }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q10336172 Q1043
P27
Q15617994
USER
Which administrative territories are Carl Linnaeus or Neném an inhabitant of ?
OR((Q1043,P27,c(Q15617994)), (Q10336172,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1043
relation P27
action find
entity Q10336172
relation P27
type Q15617994
{'OR': [['Q1043', 'P27', {'concept': 'Q15617994'}], ['Q10336172', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . { { resource:Q10336172 property:P27 ?c } UNION { resource:Q1043 property:P27 ?c } } }
Neném Carl Linnaeus
action filter_type
action union
action find
entity Carl Linnaeus
relation country of citizenship
action find
entity Neném
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Carl Linnaeus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Neném', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Neném property:country_of_citizenship ?c } UNION { resource:Carl_Linnaeus property:country_of_citizenship ?c } } }
[]
designation for an administrative territorial entity
Q155 Q34
SYSTEM
Brazil, Sweden
Q155 Q34
OR((Q1043,P27,c(Q15617994)), (Q10336172,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1043
relation P27
action find
entity Q10336172
relation P27
type Q15617994
[ANSWERS] are Carl Linnaeus or Neném an inhabitant of
{'OR': [['Q1043', 'P27', {'concept': 'Q15617994'}], ['Q10336172', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . { { resource:Q10336172 property:P27 ?c } UNION { resource:Q1043 property:P27 ?c } } }
Brazil Sweden
Brazil and Sweden are Carl Linnaeus or Neném an inhabitant of
Brazil Sweden
action filter_type
action union
action find
entity Carl Linnaeus
relation country of citizenship
action find
entity Neném
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Carl Linnaeus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Neném', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Neném property:country_of_citizenship ?c } UNION { resource:Carl_Linnaeus property:country_of_citizenship ?c } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q1048835 Q15617994
USER
Which administrative territories have diplomatic relationships with approximately 23 political territories or administrative territories ?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 23
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?p WHERE { { ?j property:P530 ?p . ?p rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q1048835 } UNION { ?j property:P530 ?p . ?j rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?p } . FILTER ( ?n = 23 ) }
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 23
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?p WHERE { { ?j property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:political_territorial_entity } UNION { ?j property:diplomatic_relation ?p . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?p } . FILTER ( ?n = 23 ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
Q30 Q159 Q142
SYSTEM
United States of America, Russia, France
Q801 Q805 Q142 Q148 Q159 Q30
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 23
[ANSWERS] have diplomatic relationships with approximately 23 political territories or administrative territories
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?p WHERE { { ?j property:P530 ?p . ?p rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q1048835 } UNION { ?j property:P530 ?p . ?j rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?p } . FILTER ( ?n = 23 ) }
Israel Yemen France People's Republic of China Russia United States of America
United States of America, Russia and France have diplomatic relationships with approximately 23 political territories or administrative territories
United States of America Russia France
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 23
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?p WHERE { { ?j property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:political_territorial_entity } UNION { ?j property:diplomatic_relation ?p . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?p } . FILTER ( ?n = 23 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q18026203
P684
Q863908
USER
How many nucleic acid sequences are an otrhologus genes for GMFB ?
(Q18026203,P684,c(Q863908))
action count
action filter_type
action find
entity Q18026203
relation P684
type Q863908
['Q18026203', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Q18026203 property:P684 ?u . ?u rdf:type ontology:Q863908 }
GMFB
action count
action filter_type
action find
entity GMFB
relation ortholog
type nucleic acid sequence
['GMFB', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:GMFB property:ortholog ?u . ?u rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
SYSTEM
1
Q18261385
(Q18026203,P684,c(Q863908))
action count
action filter_type
action find
entity Q18026203
relation P684
type Q863908
[ANSWER]
['Q18026203', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Q18026203 property:P684 ?u . ?u rdf:type ontology:Q863908 }
Gmfb
1
action count
action filter_type
action find
entity GMFB
relation ortholog
type nucleic acid sequence
['GMFB', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:GMFB property:ortholog ?u . ?u rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q17543787
P684
Q863908
USER
And what about ACACB?
(Q17543787,P684,c(Q863908))
action count
action filter_type
action find
entity Q17543787
relation P684
type Q863908
['Q17543787', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Q17543787 property:P684 ?i . ?i rdf:type ontology:Q863908 }
ACACB
action count
action filter_type
action find
entity ACACB
relation ortholog
type nucleic acid sequence
['ACACB', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:ACACB property:ortholog ?i . ?i rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
SYSTEM
1
Q18271274
(Q17543787,P684,c(Q863908))
action count
action filter_type
action find
entity Q17543787
relation P684
type Q863908
[ANSWER]
['Q17543787', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Q17543787 property:P684 ?i . ?i rdf:type ontology:Q863908 }
Acacb
1
action count
action filter_type
action find
entity ACACB
relation ortholog
type nucleic acid sequence
['ACACB', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:ACACB property:ortholog ?i . ?i rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q18047942
Q863908
USER
And what about COX14?
(Q18047942,P684,c(Q863908))
action count
action filter_type
action find
entity Q18047942
relation P684
type Q863908
['Q18047942', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { resource:Q18047942 property:P684 ?y . ?y rdf:type ontology:Q863908 }
COX14
action count
action filter_type
action find
entity COX14
relation ortholog
type nucleic acid sequence
['COX14', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { resource:COX14 property:ortholog ?y . ?y rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
SYSTEM
1
(Q18047942,P684,c(Q863908))
action count
action filter_type
action find
entity Q18047942
relation P684
type Q863908
[ANSWER]
['Q18047942', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { resource:Q18047942 property:P684 ?y . ?y rdf:type ontology:Q863908 }
1
action count
action filter_type
action find
entity COX14
relation ortholog
type nucleic acid sequence
['COX14', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { resource:COX14 property:ortholog ?y . ?y rdf:type ontology:nucleic_acid_sequence }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22289882 Q18026203
P702
Q181394
USER
Which nutrients are encoded by GMFB or hypothetical protein    TDE2497 ?
OR((c(Q181394),P702,Q18026203), (c(Q181394),P702,Q22289882))
action filter_type
action union
action find_reverse
entity Q18026203
relation P702
action find_reverse
entity Q22289882
relation P702
type Q181394
{'OR': [[{'concept': 'Q181394'}, 'P702', 'Q18026203'], [{'concept': 'Q181394'}, 'P702', 'Q22289882']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P702 resource:Q18026203 } UNION { ?y property:P702 resource:Q22289882 } } . ?y rdf:type ontology:Q181394 }
hypothetical protein    TDE2497 GMFB
action filter_type
action union
action find_reverse
entity GMFB
relation encoded by
action find_reverse
entity hypothetical protein    TDE2497
relation encoded by
type nutrient
{'OR': [[{'concept': 'nutrient'}, 'encoded by', 'GMFB'], [{'concept': 'nutrient'}, 'encoded by', 'hypothetical protein    TDE2497']]}
SELECT DISTINCT ?y WHERE { { { ?y property:encoded_by resource:GMFB } UNION { ?y property:encoded_by resource:hypothetical_protein____TDE2497 } } . ?y rdf:type ontology:nutrient }
[]
nutrient
Q21140176 Q21114626 Q22293979
SYSTEM
Glia maturation factor beta, Glia maturation factor beta, hypothetical protein    TDE2497
Q21140176 Q21114626 Q22293979
OR((c(Q181394),P702,Q18026203), (c(Q181394),P702,Q22289882))
action filter_type
action union
action find_reverse
entity Q18026203
relation P702
action find_reverse
entity Q22289882
relation P702
type Q181394
[ANSWERS]
{'OR': [[{'concept': 'Q181394'}, 'P702', 'Q18026203'], [{'concept': 'Q181394'}, 'P702', 'Q22289882']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P702 resource:Q18026203 } UNION { ?y property:P702 resource:Q22289882 } } . ?y rdf:type ontology:Q181394 }
Glia maturation factor beta Glia maturation factor beta hypothetical protein    TDE2497
Glia maturation factor beta, Glia maturation factor beta and hypothetical protein TDE2497 are encoded by GMFB or hypothetical protein TDE2497
Glia maturation factor beta Glia maturation factor beta hypothetical protein    TDE2497
action filter_type
action union
action find_reverse
entity GMFB
relation encoded by
action find_reverse
entity hypothetical protein    TDE2497
relation encoded by
type nutrient
{'OR': [[{'concept': 'nutrient'}, 'encoded by', 'GMFB'], [{'concept': 'nutrient'}, 'encoded by', 'hypothetical protein    TDE2497']]}
SELECT DISTINCT ?y WHERE { { { ?y property:encoded_by resource:GMFB } UNION { ?y property:encoded_by resource:hypothetical_protein____TDE2497 } } . ?y rdf:type ontology:nutrient }
[]