Simple Question (Direct)
Simple Question
Q27744573
P681
Q15989253
USER
Which part is a component of histidine ammonia-lyase    MSMEG_1183 ?
(Q27744573,P681,c(Q15989253))
action filter_type
action find
entity Q27744573
relation P681
type Q15989253
['Q27744573', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?r WHERE { resource:Q27744573 property:P681 ?r . ?r rdf:type ontology:Q15989253 }
histidine ammonia-lyase    MSMEG_1183
action filter_type
action find
entity histidine ammonia-lyase    MSMEG_1183
relation cell component
type part
['histidine ammonia-lyase    MSMEG_1183', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?r WHERE { resource:histidine_ammonia-lyase____MSMEG_1183 property:cell_component ?r . ?r rdf:type ontology:part }
[]
part
Q79899
SYSTEM
cytoplasm
Q79899
(Q27744573,P681,c(Q15989253))
action filter_type
action find
entity Q27744573
relation P681
type Q15989253
[ANSWER] is a component of histidine ammonia-lyase MSMEG_1183
['Q27744573', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?r WHERE { resource:Q27744573 property:P681 ?r . ?r rdf:type ontology:Q15989253 }
cytoplasm
Cytoplasm is a component of histidine ammonia-lyase MSMEG_1183
cytoplasm
action filter_type
action find
entity histidine ammonia-lyase    MSMEG_1183
relation cell component
type part
['histidine ammonia-lyase    MSMEG_1183', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?r WHERE { resource:histidine_ammonia-lyase____MSMEG_1183 property:cell_component ?r . ?r rdf:type ontology:part }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27744573
P702
Q863908
USER
What encodes that nutrient ?
(Q79899,P702,c(Q863908))
action filter_type
action find
entity Q27744573
relation P702
type Q863908
['Q79899', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q863908 . resource:Q27744573 property:P702 ?r }
histidine ammonia-lyase    MSMEG_1183
action filter_type
action find
entity histidine ammonia-lyase    MSMEG_1183
relation encoded by
type nucleic acid sequence
['cytoplasm', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:nucleic_acid_sequence . resource:histidine_ammonia-lyase____MSMEG_1183 property:encoded_by ?r }
[]
nucleic acid sequence
Q23270580
SYSTEM
histidine ammonia-lyase    MSMEG_1183
Q23270580
(Q79899,P702,c(Q863908))
action filter_type
action find
entity Q27744573
relation P702
type Q863908
The histidine ammonia-lyase MSMEG 1183 encodes that nutrient
['Q79899', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q863908 . resource:Q27744573 property:P702 ?r }
histidine ammonia-lyase    MSMEG_1183
The histidine ammonia-lyase MSMEG 1183 encodes that nutrient
histidine ammonia-lyase    MSMEG_1183
action filter_type
action find
entity histidine ammonia-lyase    MSMEG_1183
relation encoded by
type nucleic acid sequence
['cytoplasm', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:nucleic_acid_sequence . resource:histidine_ammonia-lyase____MSMEG_1183 property:encoded_by ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27744573
P703
Q631147
USER
Which taxon is that nutrient a part of ?
(Q23270580,P703,c(Q631147))
action filter_type
action find
entity Q27744573
relation P703
type Q631147
['Q23270580', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?z WHERE { resource:Q27744573 property:P703 ?z . ?z rdf:type ontology:Q631147 }
histidine ammonia-lyase    MSMEG_1183
action filter_type
action find
entity histidine ammonia-lyase    MSMEG_1183
relation found in taxon
type infraspecific name
['histidine ammonia-lyase    MSMEG_1183', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?z WHERE { resource:histidine_ammonia-lyase____MSMEG_1183 property:found_in_taxon ?z . ?z rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102986
SYSTEM
Mycobacterium smegmatis str. MC2 155
Q21102986
(Q23270580,P703,c(Q631147))
action filter_type
action find
entity Q27744573
relation P703
type Q631147
Which taxon is that nutrient a part of
['Q23270580', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?z WHERE { resource:Q27744573 property:P703 ?z . ?z rdf:type ontology:Q631147 }
Mycobacterium smegmatis str. MC2 155
Which taxon is that nutrient a part of
Mycobacterium smegmatis str. MC2 155
action filter_type
action find
entity histidine ammonia-lyase    MSMEG_1183
relation found in taxon
type infraspecific name
['histidine ammonia-lyase    MSMEG_1183', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?z WHERE { resource:histidine_ammonia-lyase____MSMEG_1183 property:found_in_taxon ?z . ?z rdf:type ontology:infraspecific_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P703
Q631147 Q863908 Q181394
USER
How many infraspecific names are less number of nucleic acid sequences and nutrients found in than that infraspecific name ?
(c(Q863908)|c(Q181394),P703,c(Q631147))
action count
action less
action union
action find_reverse_tuple_counts
relation P703
type Q631147
type Q863908
action find_reverse_tuple_counts
relation P703
type Q631147
type Q181394
action count
action filter_multi_types
action find_reverse
entity Q21102986
relation P703
type Q863908
type Q181394
[[{'concept': 'Q863908'}, {'concept': 'Q181394'}], 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ?g . VALUES ( ?g ) { ( ontology:Q863908 ) ( ontology:Q181394 ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m property:P703 resource:Q21102986 . { { ?m rdf:type ontology:Q863908 } UNION { ?m rdf:type ontology:Q181394 } } } } . FILTER ( ?f < ?u ) }
action count
action less
action union
action find_reverse_tuple_counts
relation found in taxon
type infraspecific name
type nucleic acid sequence
action find_reverse_tuple_counts
relation found in taxon
type infraspecific name
type nutrient
action count
action filter_multi_types
action find_reverse
entity Mycobacterium smegmatis str. MC2 155
relation found in taxon
type nucleic acid sequence
type nutrient
[[{'concept': 'nucleic acid sequence'}, {'concept': 'nutrient'}], 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ?g . VALUES ( ?g ) { ( ontology:nucleic_acid_sequence ) ( ontology:nutrient ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m property:found_in_taxon resource:Mycobacterium_smegmatis_str._MC2_155 . { { ?m rdf:type ontology:nucleic_acid_sequence } UNION { ?m rdf:type ontology:nutrient } } } } . FILTER ( ?f < ?u ) }
[]
infraspecific name nucleic acid sequence nutrient
SYSTEM
78
Q21102990 Q21102991 Q21102992 Q21102993 Q21102994 Q21102995 Q21102996 Q21102997 Q21102999 Q21102960 Q27510868 Q21065229 Q21079489 Q21102919 Q21102943 Q21102942 Q21102941 Q21102940 Q21102947 Q21102946 Q21102920 Q21102965 Q21102964 Q21102949 Q21102966 Q21102961 Q21102930 Q21102963 Q21102962 Q21102921 Q21102987 Q21102922 Q21102925 Q21102924 Q21102927 Q21102928 Q21102974 Q21102918 Q21102989 Q21079490 Q21079491 Q21102985 Q21102984 Q21102983 Q21102982 Q21102981 Q21102980 Q21102973 Q21102969 Q21102944 Q21102968 Q21102954 Q21102955 Q21102956 Q21102957 Q21102950 Q21102951 Q21102978 Q21102953 Q21102976 Q21102977 Q23309229 Q21102975 Q21102972 Q21102959 Q21102970 Q21102971 Q21064863 Q21064832 Q21102931 Q21102948 Q21102937 Q21102934 Q21102979 Q21079559 Q21102938 Q21102939 Q21102967
(c(Q863908)|c(Q181394),P703,c(Q631147))
action count
action less
action union
action find_reverse_tuple_counts
relation P703
type Q631147
type Q863908
action find_reverse_tuple_counts
relation P703
type Q631147
type Q181394
action count
action filter_multi_types
action find_reverse
entity Q21102986
relation P703
type Q863908
type Q181394
[ANSWER]
[[{'concept': 'Q863908'}, {'concept': 'Q181394'}], 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ?g . VALUES ( ?g ) { ( ontology:Q863908 ) ( ontology:Q181394 ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m property:P703 resource:Q21102986 . { { ?m rdf:type ontology:Q863908 } UNION { ?m rdf:type ontology:Q181394 } } } } . FILTER ( ?f < ?u ) }
Mycoplasma pneumoniae M129 Thermotoga maritima MSB8 Gardnerella vaginalis ATCC 14019 Burkholderia mallei ATCC 23344 Streptococcus mitis B6 Burkholderia pseudomallei K96243 Salmonella enterica subsp. enterica serovar Typhimurium str. LT2 Salmonella enterica subsp. enterica serovar Typhi str. CT18 Geobacter sulfurreducens PCA Streptococcus suis BM407 Saccharomyces cerevisiae S288c Leptospira interrogans serovar Lai str. 56601 Pseudomonas putida KT2440 Legionella pneumophila subsp. pneumophila str. Philadelphia 1 Yersinia pestis CO92 Yersinia enterocolitica subsp. enterocolitica 8081 Shigella flexneri 2a str. 301 Shigella dysenteriae Sd197 Vibrio parahaemolyticus RIMD 2210633 Vibrio fischeri ES114 Acinetobacter pittii PHEA-2 Enterococcus faecalis V583 Streptococcus pyogenes M1 GAS Rickettsia prowazekii str. Madrid E Enterococcus faecium DO Streptococcus mutans UA159 Escherichia coli O157:H7 str. Sakai Streptococcus pneumoniae R6 Streptococcus agalactiae 2603V/R Neisseria gonorrhoeae FA 1090 Mycobacterium tuberculosis H37Rv Neisseria meningitidis MC58 Bordetella pertussis Tohama I Bordetella bronchiseptica 253 Enterobacter aerogenes KCTC 2190 Enterobacter cloacae subsp. cloacae ATCC 13047 Clostridium botulinum A str. Hall Sinorhizobium meliloti 1021 Mycoplasma mycoides subsp. mycoides SC str. PG1 Pseudomonas syringae pv. syringae B728a Xanthomonas campestris pv. campestris str. ATCC 33913 Mycobacterium leprae TN Mycobacterium bovis AF2122/97 Corynebacterium glutamicum ATCC 13032 Bifidobacterium bifidum PRL2010 Listeria monocytogenes EGD-e Lactobacillus salivarius UCC118 Clostridium acetobutylicum ATCC 824 Bacillus anthracis str. Sterne Aeromonas hydrophila subsp. hydrophila ATCC 7966 Bacillus anthracis str. Ames Rhodospirillum rubrum ATCC 11170 Chloroflexus aurantiacus J-10-fl Staphylococcus aureus subsp. aureus NCTC 8325 Staphylococcus epidermidis ATCC 12228 Bacteroides fragilis YCH46 Fusobacterium nucleatum subsp. nucleatum ATCC 25586 Lactobacillus casei ATCC 334 Rhodobacter sphaeroides 2.4.1 Peptoclostridium difficile 630 Lactobacillus acidophilus NCFM Sinorhizobium fredii NGR234 Clostridium botulinum A str. ATCC 3502 Bacillus thuringiensis serovar konkukian str. 97-27 Deinococcus radiodurans R1 Bacillus cereus ATCC 14579 Bacillus subtilis subsp. subtilis str. 168 Bordetella parapertussis Bpp5 Coxiella burnetii RSA 493 Escherichia coli UMN026 Haemophilus influenzae Rd KW20 Escherichia coli O104:H4 str. 2011C-3493 Escherichia coli O83:H1 str. NRG 857C Lactobacillus plantarum WCFS1 Salinibacter ruber DSM 13855 Escherichia coli str. K-12 substr. MG1655 Klebsiella pneumoniae subsp. pneumoniae HS11286 Lactococcus lactis subsp. lactis Il1403
78
action count
action less
action union
action find_reverse_tuple_counts
relation found in taxon
type infraspecific name
type nucleic acid sequence
action find_reverse_tuple_counts
relation found in taxon
type infraspecific name
type nutrient
action count
action filter_multi_types
action find_reverse
entity Mycobacterium smegmatis str. MC2 155
relation found in taxon
type nucleic acid sequence
type nutrient
[[{'concept': 'nucleic acid sequence'}, {'concept': 'nutrient'}], 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ?g . VALUES ( ?g ) { ( ontology:nucleic_acid_sequence ) ( ontology:nutrient ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { ?m property:found_in_taxon resource:Mycobacterium_smegmatis_str._MC2_155 . { { ?m rdf:type ontology:nucleic_acid_sequence } UNION { ?m rdf:type ontology:nutrient } } } } . FILTER ( ?f < ?u ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q15989253 Q234460 Q5058355
USER
How many parts are exactly 4 texts and cellular components a component of ?
(c(Q234460)|c(Q5058355),P361,c(Q15989253))
action count
action equal
action union
action find_reverse_tuple_counts
relation P361
type Q15989253
type Q234460
action find_reverse_tuple_counts
relation P361
type Q15989253
type Q5058355
value 4
[[{'concept': 'Q234460'}, {'concept': 'Q5058355'}], 'P361', {'concept': 'Q15989253'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?z ) WHERE { { ?l property:P361 ?b . ?l rdf:type ontology:Q234460 . ?b rdf:type ontology:Q15989253 } UNION { ?l property:P361 ?b . ?b rdf:type ontology:Q15989253 . ?l rdf:type ontology:Q5058355 } } GROUP BY ?b } . FILTER ( ?z = 4 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation part of
type part
type text
action find_reverse_tuple_counts
relation part of
type part
type cellular component
value 4
[[{'concept': 'text'}, {'concept': 'cellular component'}], 'part of', {'concept': 'part'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?z ) WHERE { { ?l property:part_of ?b . ?l rdf:type ontology:text . ?b rdf:type ontology:part } UNION { ?l property:part_of ?b . ?b rdf:type ontology:part . ?l rdf:type ontology:cellular_component } } GROUP BY ?b } . FILTER ( ?z = 4 ) }
[]
part text cellular component
SYSTEM
2
Q187181 Q14645596
(c(Q234460)|c(Q5058355),P361,c(Q15989253))
action count
action equal
action union
action find_reverse_tuple_counts
relation P361
type Q15989253
type Q234460
action find_reverse_tuple_counts
relation P361
type Q15989253
type Q5058355
value 4
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q5058355'}], 'P361', {'concept': 'Q15989253'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?z ) WHERE { { ?l property:P361 ?b . ?l rdf:type ontology:Q234460 . ?b rdf:type ontology:Q15989253 } UNION { ?l property:P361 ?b . ?b rdf:type ontology:Q15989253 . ?l rdf:type ontology:Q5058355 } } GROUP BY ?b } . FILTER ( ?z = 4 ) }
synapse extracellular region
2
action count
action equal
action union
action find_reverse_tuple_counts
relation part of
type part
type text
action find_reverse_tuple_counts
relation part of
type part
type cellular component
value 4
[[{'concept': 'text'}, {'concept': 'cellular component'}], 'part of', {'concept': 'part'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?z ) WHERE { { ?l property:part_of ?b . ?l rdf:type ontology:text . ?b rdf:type ontology:part } UNION { ?l property:part_of ?b . ?b rdf:type ontology:part . ?l rdf:type ontology:cellular_component } } GROUP BY ?b } . FILTER ( ?z = 4 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q15989253 Q340169 Q3516658
USER
Which parts are demonstrated in max number of medias and heraldic symbols ?
(c(Q340169)|c(Q3516658),P180,c(Q15989253))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q3516658
[[{'concept': 'Q340169'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?f WHERE { { ?i property:P180 ?f . ?f rdf:type ontology:Q15989253 . ?i rdf:type ontology:Q340169 } UNION { ?i property:P180 ?f . ?f rdf:type ontology:Q15989253 . ?i rdf:type ontology:Q3516658 } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) ?y WHERE { { ?y rdf:type ontology:Q15989253 . ?g rdf:type ontology:Q340169 . ?g property:P180 ?y } UNION { ?g property:P180 ?y . ?y rdf:type ontology:Q15989253 . ?g rdf:type ontology:Q3516658 } } GROUP BY ?y } . FILTER ( ?q = ?d ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type part
type media
action find_reverse_tuple_counts
relation depicts
type part
type heraldic symbol
[[{'concept': 'media'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?f WHERE { { ?i property:depicts ?f . ?f rdf:type ontology:part . ?i rdf:type ontology:media } UNION { ?i property:depicts ?f . ?f rdf:type ontology:part . ?i rdf:type ontology:heraldic_symbol } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) ?y WHERE { { ?y rdf:type ontology:part . ?g rdf:type ontology:media . ?g property:depicts ?y } UNION { ?g property:depicts ?y . ?y rdf:type ontology:part . ?g rdf:type ontology:heraldic_symbol } } GROUP BY ?y } . FILTER ( ?q = ?d ) }
[]
part media heraldic symbol
Q42165
SYSTEM
buttocks
Q42165
(c(Q340169)|c(Q3516658),P180,c(Q15989253))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q3516658
The [ANSWER] is demonstrated in max number of medias and heraldic symbols
[[{'concept': 'Q340169'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?f WHERE { { ?i property:P180 ?f . ?f rdf:type ontology:Q15989253 . ?i rdf:type ontology:Q340169 } UNION { ?i property:P180 ?f . ?f rdf:type ontology:Q15989253 . ?i rdf:type ontology:Q3516658 } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) ?y WHERE { { ?y rdf:type ontology:Q15989253 . ?g rdf:type ontology:Q340169 . ?g property:P180 ?y } UNION { ?g property:P180 ?y . ?y rdf:type ontology:Q15989253 . ?g rdf:type ontology:Q3516658 } } GROUP BY ?y } . FILTER ( ?q = ?d ) }
buttocks
The buttocks is demonstrated in max number of medias and heraldic symbols
buttocks
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type part
type media
action find_reverse_tuple_counts
relation depicts
type part
type heraldic symbol
[[{'concept': 'media'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?f WHERE { { ?i property:depicts ?f . ?f rdf:type ontology:part . ?i rdf:type ontology:media } UNION { ?i property:depicts ?f . ?f rdf:type ontology:part . ?i rdf:type ontology:heraldic_symbol } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) ?y WHERE { { ?y rdf:type ontology:part . ?g rdf:type ontology:media . ?g property:depicts ?y } UNION { ?g property:depicts ?y . ?y rdf:type ontology:part . ?g rdf:type ontology:heraldic_symbol } } GROUP BY ?y } . FILTER ( ?q = ?d ) }
[]