Simple Question (Direct)
Simple Question
Q23496067
P702
Q863908
USER
Which gene encodes hypothetical protein    spr1422 ?
(Q23496067,P702,c(Q863908))
action filter_type
action find
entity Q23496067
relation P702
type Q863908
['Q23496067', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q863908 . resource:Q23496067 property:P702 ?u }
hypothetical protein    spr1422
action filter_type
action find
entity hypothetical protein    spr1422
relation encoded by
type nucleic acid sequence
['hypothetical protein    spr1422', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:nucleic_acid_sequence . resource:hypothetical_protein____spr1422 property:encoded_by ?u }
[]
nucleic acid sequence
Q23232339
SYSTEM
hypothetical protein    spr1422
Q23232339
(Q23496067,P702,c(Q863908))
action filter_type
action find
entity Q23496067
relation P702
type Q863908
Hypothetical protein spr1422 encodes hypothetical protein spr1422
['Q23496067', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q863908 . resource:Q23496067 property:P702 ?u }
hypothetical protein    spr1422
Hypothetical protein spr1422 encodes hypothetical protein spr1422
hypothetical protein    spr1422
action filter_type
action find
entity hypothetical protein    spr1422
relation encoded by
type nucleic acid sequence
['hypothetical protein    spr1422', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:nucleic_acid_sequence . resource:hypothetical_protein____spr1422 property:encoded_by ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23496067
P688
Q863908
USER
Which nucleic acid sequence encodes hypothetical protein    spr1422 ?
(c(Q863908),P688,Q23496067)
action filter_type
action find_reverse
entity Q23496067
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q23496067']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q863908 . ?l property:P688 resource:Q23496067 }
hypothetical protein    spr1422
action filter_type
action find_reverse
entity hypothetical protein    spr1422
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'hypothetical protein    spr1422']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:nucleic_acid_sequence . ?l property:encodes resource:hypothetical_protein____spr1422 }
[]
nucleic acid sequence
Q23232339
SYSTEM
hypothetical protein    spr1422
Q23232339
(c(Q863908),P688,Q23496067)
action filter_type
action find_reverse
entity Q23496067
relation P688
type Q863908
Hypothetical protein spr1422 encodes hypothetical protein spr1422
[{'concept': 'Q863908'}, 'P688', 'Q23496067']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q863908 . ?l property:P688 resource:Q23496067 }
hypothetical protein    spr1422
Hypothetical protein spr1422 encodes hypothetical protein spr1422
hypothetical protein    spr1422
action filter_type
action find_reverse
entity hypothetical protein    spr1422
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'hypothetical protein    spr1422']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:nucleic_acid_sequence . ?l property:encodes resource:hypothetical_protein____spr1422 }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23496067
P703
Q631147
USER
Where is hypothetical protein    spr1422 found ?
(Q23496067,P703,c(Q631147))
action filter_type
action find
entity Q23496067
relation P703
type Q631147
['Q23496067', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?f WHERE { resource:Q23496067 property:P703 ?f . ?f rdf:type ontology:Q631147 }
hypothetical protein    spr1422
action filter_type
action find
entity hypothetical protein    spr1422
relation found in taxon
type infraspecific name
['hypothetical protein    spr1422', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?f WHERE { resource:hypothetical_protein____spr1422 property:found_in_taxon ?f . ?f rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102963
SYSTEM
Streptococcus pneumoniae R6
Q21102963
(Q23496067,P703,c(Q631147))
action filter_type
action find
entity Q23496067
relation P703
type Q631147
Hypothetical protein spr1422 is found in [ANSWER]
['Q23496067', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?f WHERE { resource:Q23496067 property:P703 ?f . ?f rdf:type ontology:Q631147 }
Streptococcus pneumoniae R6
Hypothetical protein spr1422 is found in Streptococcus pneumoniae R6
Streptococcus pneumoniae R6
action filter_type
action find
entity hypothetical protein    spr1422
relation found in taxon
type infraspecific name
['hypothetical protein    spr1422', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?f WHERE { resource:hypothetical_protein____spr1422 property:found_in_taxon ?f . ?f rdf:type ontology:infraspecific_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q23495248 Q23496067
P703
Q631147
USER
And also glutamyl aminopeptidase    spr1682
AND((Q23496067,P703,c(Q631147)), (Q23495248,P703,c(Q631147)))
action filter_type
action intersection
action find
entity Q23496067
relation P703
action find
entity Q23495248
relation P703
type Q631147
{'AND': [['Q23496067', 'P703', {'concept': 'Q631147'}], ['Q23495248', 'P703', {'concept': 'Q631147'}]]}
SELECT DISTINCT ?n WHERE { resource:Q23496067 property:P703 ?n . resource:Q23495248 property:P703 ?n . ?n rdf:type ontology:Q631147 }
glutamyl aminopeptidase    spr1682 hypothetical protein    spr1422
action filter_type
action intersection
action find
entity hypothetical protein    spr1422
relation found in taxon
action find
entity glutamyl aminopeptidase    spr1682
relation found in taxon
type infraspecific name
{'AND': [['hypothetical protein    spr1422', 'found in taxon', {'concept': 'infraspecific name'}], ['glutamyl aminopeptidase    spr1682', 'found in taxon', {'concept': 'infraspecific name'}]]}
SELECT DISTINCT ?n WHERE { resource:hypothetical_protein____spr1422 property:found_in_taxon ?n . resource:glutamyl_aminopeptidase____spr1682 property:found_in_taxon ?n . ?n rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102963
SYSTEM
Streptococcus pneumoniae R6
Q21102963
AND((Q23496067,P703,c(Q631147)), (Q23495248,P703,c(Q631147)))
action filter_type
action intersection
action find
entity Q23496067
relation P703
action find
entity Q23495248
relation P703
type Q631147
[ANSWER]
{'AND': [['Q23496067', 'P703', {'concept': 'Q631147'}], ['Q23495248', 'P703', {'concept': 'Q631147'}]]}
SELECT DISTINCT ?n WHERE { resource:Q23496067 property:P703 ?n . resource:Q23495248 property:P703 ?n . ?n rdf:type ontology:Q631147 }
Streptococcus pneumoniae R6
Streptococcus pneumoniae R6
action filter_type
action intersection
action find
entity hypothetical protein    spr1422
relation found in taxon
action find
entity glutamyl aminopeptidase    spr1682
relation found in taxon
type infraspecific name
{'AND': [['hypothetical protein    spr1422', 'found in taxon', {'concept': 'infraspecific name'}], ['glutamyl aminopeptidase    spr1682', 'found in taxon', {'concept': 'infraspecific name'}]]}
SELECT DISTINCT ?n WHERE { resource:hypothetical_protein____spr1422 property:found_in_taxon ?n . resource:glutamyl_aminopeptidase____spr1682 property:found_in_taxon ?n . ?n rdf:type ontology:infraspecific_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23495248
P680
Q44424
USER
Which the chemical bond that represents the molecular function of glutamyl aminopeptidase    spr1682?
(Q21102963,P680,c(Q44424))
action filter_type
action find
entity Q23495248
relation P680
type Q44424
['Q21102963', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q44424 . resource:Q23495248 property:P680 ?k }
glutamyl aminopeptidase    spr1682
action filter_type
action find
entity glutamyl aminopeptidase    spr1682
relation molecular function
type chemical bond
['Streptococcus pneumoniae R6', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:chemical_bond . resource:glutamyl_aminopeptidase____spr1682 property:molecular_function ?k }
[]
chemical bond
Q13667380
SYSTEM
metal ion binding
Q13667380
(Q21102963,P680,c(Q44424))
action filter_type
action find
entity Q23495248
relation P680
type Q44424
Represents of [ANSWER]
['Q21102963', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q44424 . resource:Q23495248 property:P680 ?k }
metal ion binding
Represents of metal ion binding
metal ion binding
action filter_type
action find
entity glutamyl aminopeptidase    spr1682
relation molecular function
type chemical bond
['Streptococcus pneumoniae R6', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:chemical_bond . resource:glutamyl_aminopeptidase____spr1682 property:molecular_function ?k }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q27738775 Q23495248
P702
Q863908
USER
Which nucleic acid sequences genes encode glutamyl aminopeptidase    spr1682 or drugs-transport transmembrane ATP-binding protein ABC transporter    Mb0200 ?
OR((Q23495248,P702,c(Q863908)), (Q27738775,P702,c(Q863908)))
action filter_type
action union
action find
entity Q23495248
relation P702
action find
entity Q27738775
relation P702
type Q863908
{'OR': [['Q23495248', 'P702', {'concept': 'Q863908'}], ['Q27738775', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q27738775 property:P702 ?y } UNION { resource:Q23495248 property:P702 ?y } } . ?y rdf:type ontology:Q863908 }
drugs-transport transmembrane ATP-binding protein ABC transporter    Mb0200 glutamyl aminopeptidase    spr1682
action filter_type
action union
action find
entity glutamyl aminopeptidase    spr1682
relation encoded by
action find
entity drugs-transport transmembrane ATP-binding protein ABC transporter    Mb0200
relation encoded by
type nucleic acid sequence
{'OR': [['glutamyl aminopeptidase    spr1682', 'encoded by', {'concept': 'nucleic acid sequence'}], ['drugs-transport transmembrane ATP-binding protein ABC transporter    Mb0200', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?y WHERE { { { resource:drugs-transport_transmembrane_ATP-binding_protein_ABC_transporter____Mb0200 property:encoded_by ?y } UNION { resource:glutamyl_aminopeptidase____spr1682 property:encoded_by ?y } } . ?y rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23229906 Q23260039
SYSTEM
glutamyl aminopeptidase    spr1682, drugs-transport transmembrane ATP-binding protein ABC transporter    Mb0200
Q23229906 Q23260039
OR((Q23495248,P702,c(Q863908)), (Q27738775,P702,c(Q863908)))
action filter_type
action union
action find
entity Q23495248
relation P702
action find
entity Q27738775
relation P702
type Q863908
[ANSWERS]
{'OR': [['Q23495248', 'P702', {'concept': 'Q863908'}], ['Q27738775', 'P702', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q27738775 property:P702 ?y } UNION { resource:Q23495248 property:P702 ?y } } . ?y rdf:type ontology:Q863908 }
glutamyl aminopeptidase    spr1682 drugs-transport transmembrane ATP-binding protein ABC transporter    Mb0200
Glutamyl aminopeptidase spr1682 and drugs-transport transmembrane ATP-binding protein ABC transporter Mb0200 encode glutamyl aminopeptidase spr1682 or drugs-transport transmembrane ATP-binding protein ABC transporter Mb0200
glutamyl aminopeptidase    spr1682 drugs-transport transmembrane ATP-binding protein ABC transporter    Mb0200
action filter_type
action union
action find
entity glutamyl aminopeptidase    spr1682
relation encoded by
action find
entity drugs-transport transmembrane ATP-binding protein ABC transporter    Mb0200
relation encoded by
type nucleic acid sequence
{'OR': [['glutamyl aminopeptidase    spr1682', 'encoded by', {'concept': 'nucleic acid sequence'}], ['drugs-transport transmembrane ATP-binding protein ABC transporter    Mb0200', 'encoded by', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?y WHERE { { { resource:drugs-transport_transmembrane_ATP-binding_protein_ABC_transporter____Mb0200 property:encoded_by ?y } UNION { resource:glutamyl_aminopeptidase____spr1682 property:encoded_by ?y } } . ?y rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q23229906 Q23260039
P703
Q631147
USER
Which infraspecific names are those nucleic acid sequences found in ?
(Q23229906,P703,c(Q631147)) (Q23260039,P703,c(Q631147))
action filter_type
action find
entity prev_answer
relation P703
type Q631147
['Q23229906', 'P703', {'concept': 'Q631147'}] ['Q23260039', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?i WHERE { ?h property:P703 ?i . ?i rdf:type ontology:Q631147 . VALUES ( ?h ) { ( resource:Q23229906 ) ( resource:Q23260039 ) } }
glutamyl aminopeptidase    spr1682 drugs-transport transmembrane ATP-binding protein ABC transporter    Mb0200
action filter_type
action find
entity prev_answer
relation found in taxon
type infraspecific name
['glutamyl aminopeptidase    spr1682', 'found in taxon', {'concept': 'infraspecific name'}] ['drugs-transport transmembrane ATP-binding protein ABC transporter    Mb0200', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?i WHERE { ?h property:found_in_taxon ?i . ?i rdf:type ontology:infraspecific_name . VALUES ( ?h ) { ( resource:glutamyl_aminopeptidase____spr1682 ) ( resource:drugs-transport_transmembrane_ATP-binding_protein_ABC_transporter____Mb0200 ) } }
[]
infraspecific name
Q21102963 Q21102984
SYSTEM
Streptococcus pneumoniae R6, Mycobacterium bovis AF2122/97
Q21102963 Q21102984
(Q23229906,P703,c(Q631147)) (Q23260039,P703,c(Q631147))
action filter_type
action find
entity prev_answer
relation P703
type Q631147
[ANSWERS]
['Q23229906', 'P703', {'concept': 'Q631147'}] ['Q23260039', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?i WHERE { ?h property:P703 ?i . ?i rdf:type ontology:Q631147 . VALUES ( ?h ) { ( resource:Q23229906 ) ( resource:Q23260039 ) } }
Streptococcus pneumoniae R6 Mycobacterium bovis AF2122/97
Streptococcus pneumoniae R6 Mycobacterium bovis AF2122/97
action filter_type
action find
entity prev_answer
relation found in taxon
type infraspecific name
['glutamyl aminopeptidase    spr1682', 'found in taxon', {'concept': 'infraspecific name'}] ['drugs-transport transmembrane ATP-binding protein ABC transporter    Mb0200', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?i WHERE { ?h property:found_in_taxon ?i . ?i rdf:type ontology:infraspecific_name . VALUES ( ?h ) { ( resource:glutamyl_aminopeptidase____spr1682 ) ( resource:drugs-transport_transmembrane_ATP-binding_protein_ABC_transporter____Mb0200 ) } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P703
Q631147 Q181394 Q863908
USER
How many infraspecific names are the taxon to which less number of nutrients and nucleic acid sequences belongs to than that infraspecific name ?
(c(Q181394)|c(Q863908),P703,c(Q631147))
[[{'concept': 'Q181394'}, {'concept': 'Q863908'}], 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P703 ?y } UNION { ?x property:P703 ?y } } . ?z rdf:type ontology:Q181394 . ?y rdf:type ontology:Q631147 . ?x rdf:type ontology:Q863908 }
[[{'concept': 'nutrient'}, {'concept': 'nucleic acid sequence'}], 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:found_in_taxon ?y } UNION { ?x property:found_in_taxon ?y } } . ?z rdf:type ontology:nutrient . ?y rdf:type ontology:infraspecific_name . ?x rdf:type ontology:nucleic_acid_sequence }
[]
infraspecific name nutrient nucleic acid sequence
Comparative|Count over More/Less|Mult. entity type|Clarification
Q21102984
SYSTEM
Did you mean Mycobacterium bovis AF2122/97 ?
(c(Q181394)|c(Q863908),P703,c(Q631147))
[ANSWER]
[[{'concept': 'Q181394'}, {'concept': 'Q863908'}], 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P703 ?y } UNION { ?x property:P703 ?y } } . ?z rdf:type ontology:Q181394 . ?y rdf:type ontology:Q631147 . ?x rdf:type ontology:Q863908 }
Did you mean Mycobacterium bovis AF2122/97 ?
Mycobacterium bovis AF2122/97
[[{'concept': 'nutrient'}, {'concept': 'nucleic acid sequence'}], 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:found_in_taxon ?y } UNION { ?x property:found_in_taxon ?y } } . ?z rdf:type ontology:nutrient . ?y rdf:type ontology:infraspecific_name . ?x rdf:type ontology:nucleic_acid_sequence }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q181394)|c(Q863908),P703,c(Q631147))
[[{'concept': 'Q181394'}, {'concept': 'Q863908'}], 'P703', {'concept': 'Q631147'}]
[[{'concept': 'nutrient'}, {'concept': 'nucleic acid sequence'}], 'found in taxon', {'concept': 'infraspecific name'}]
[]
SYSTEM
46
Q21102990 Q21102991 Q21102992 Q21102994 Q21102999 Q21102960 Q21065229 Q21102919 Q21102940 Q21102946 Q21102920 Q21102965 Q21102964 Q21102949 Q21102966 Q21102961 Q21102963 Q21102962 Q21102921 Q21102922 Q21102925 Q21102974 Q21102989 Q21102985 Q21102983 Q21102982 Q21102981 Q21102980 Q21102973 Q21102969 Q21102968 Q21102954 Q21102955 Q21102956 Q21102957 Q21102951 Q21102978 Q21102976 Q21102977 Q21102975 Q21102959 Q21064832 Q21102948 Q21102979 Q21079559 Q21102967
(c(Q181394)|c(Q863908),P703,c(Q631147))
[ANSWER]
[[{'concept': 'Q181394'}, {'concept': 'Q863908'}], 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P703 ?y } UNION { ?x property:P703 ?y } } . ?z rdf:type ontology:Q181394 . ?y rdf:type ontology:Q631147 . ?x rdf:type ontology:Q863908 }
Mycoplasma pneumoniae M129 Thermotoga maritima MSB8 Gardnerella vaginalis ATCC 14019 Streptococcus mitis B6 Geobacter sulfurreducens PCA Streptococcus suis BM407 Leptospira interrogans serovar Lai str. 56601 Legionella pneumophila subsp. pneumophila str. Philadelphia 1 Shigella dysenteriae Sd197 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 Streptococcus pneumoniae R6 Streptococcus agalactiae 2603V/R Neisseria gonorrhoeae FA 1090 Neisseria meningitidis MC58 Bordetella pertussis Tohama I Clostridium botulinum A str. Hall Mycoplasma mycoides subsp. mycoides SC str. PG1 Mycobacterium leprae TN Corynebacterium glutamicum ATCC 13032 Bifidobacterium bifidum PRL2010 Listeria monocytogenes EGD-e Lactobacillus salivarius UCC118 Clostridium acetobutylicum ATCC 824 Bacillus anthracis str. Sterne Bacillus anthracis str. Ames Rhodospirillum rubrum ATCC 11170 Chloroflexus aurantiacus J-10-fl Staphylococcus aureus subsp. aureus NCTC 8325 Staphylococcus epidermidis ATCC 12228 Fusobacterium nucleatum subsp. nucleatum ATCC 25586 Lactobacillus casei ATCC 334 Peptoclostridium difficile 630 Lactobacillus acidophilus NCFM Clostridium botulinum A str. ATCC 3502 Deinococcus radiodurans R1 Coxiella burnetii RSA 493 Haemophilus influenzae Rd KW20 Lactobacillus plantarum WCFS1 Salinibacter ruber DSM 13855 Lactococcus lactis subsp. lactis Il1403
46
[[{'concept': 'nutrient'}, {'concept': 'nucleic acid sequence'}], 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:found_in_taxon ?y } UNION { ?x property:found_in_taxon ?y } } . ?z rdf:type ontology:nutrient . ?y rdf:type ontology:infraspecific_name . ?x rdf:type ontology:nucleic_acid_sequence }
[]