Simple Question (Direct)
Simple Question
Q23547882
P703
Q631147
USER
Where is holliday junction DNA helicase RuvB    smi_1860 found ?
(Q23547882,P703,c(Q631147))
action filter_type
action find
entity Q23547882
relation P703
type Q631147
['Q23547882', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q631147 . resource:Q23547882 property:P703 ?d }
holliday junction DNA helicase RuvB    smi_1860
action filter_type
action find
entity holliday junction DNA helicase RuvB    smi_1860
relation found in taxon
type infraspecific name
['holliday junction DNA helicase RuvB    smi_1860', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:infraspecific_name . resource:holliday_junction_DNA_helicase_RuvB____smi_1860 property:found_in_taxon ?d }
[]
infraspecific name
Q21102994
SYSTEM
Streptococcus mitis B6
Q21102994
(Q23547882,P703,c(Q631147))
action filter_type
action find
entity Q23547882
relation P703
type Q631147
Holliday junction DNA helicase RuvB smi_1860 is found in [ANSWER]
['Q23547882', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q631147 . resource:Q23547882 property:P703 ?d }
Streptococcus mitis B6
Holliday junction DNA helicase RuvB smi_1860 is found in Streptococcus mitis B6
Streptococcus mitis B6
action filter_type
action find
entity holliday junction DNA helicase RuvB    smi_1860
relation found in taxon
type infraspecific name
['holliday junction DNA helicase RuvB    smi_1860', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:infraspecific_name . resource:holliday_junction_DNA_helicase_RuvB____smi_1860 property:found_in_taxon ?d }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P703
Q631147 Q181394 Q863908
USER
How many infraspecific names are approximately the same number of nutrients or nucleic acid sequences found in as that infraspecific name ?
(c(Q181394)|c(Q863908),P703,c(Q631147))
action count
action approx
action union
action find_reverse_tuple_counts
relation P703
type Q631147
type Q181394
action find_reverse_tuple_counts
relation P703
type Q631147
type Q863908
action count
action filter_multi_types
action find_reverse
entity Q21102994
relation P703
type Q181394
type Q863908
[[{'concept': 'Q181394'}, {'concept': 'Q863908'}], 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?v ) WHERE { { ?d property:P703 ?i . ?i rdf:type ontology:Q631147 . ?d rdf:type ontology:Q181394 } UNION { ?d property:P703 ?i . ?i rdf:type ontology:Q631147 . ?d rdf:type ontology:Q863908 } } GROUP BY ?i } . FILTER ( ?v = ?j ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m property:P703 resource:Q21102994 . { { ?m rdf:type ontology:Q181394 } UNION { ?m rdf:type ontology:Q863908 } } } } }
action count
action approx
action union
action find_reverse_tuple_counts
relation found in taxon
type infraspecific name
type nutrient
action find_reverse_tuple_counts
relation found in taxon
type infraspecific name
type nucleic acid sequence
action count
action filter_multi_types
action find_reverse
entity Streptococcus mitis B6
relation found in taxon
type nutrient
type nucleic acid sequence
[[{'concept': 'nutrient'}, {'concept': 'nucleic acid sequence'}], 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?v ) WHERE { { ?d property:found_in_taxon ?i . ?i rdf:type ontology:infraspecific_name . ?d rdf:type ontology:nutrient } UNION { ?d property:found_in_taxon ?i . ?i rdf:type ontology:infraspecific_name . ?d rdf:type ontology:nucleic_acid_sequence } } GROUP BY ?i } . FILTER ( ?v = ?j ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m property:found_in_taxon resource:Streptococcus_mitis_B6 . { { ?m rdf:type ontology:nutrient } UNION { ?m rdf:type ontology:nucleic_acid_sequence } } } } }
[]
infraspecific name nutrient nucleic acid sequence
SYSTEM
41
Q21102990 Q21102991 Q21102992 Q21102994 Q21102999 Q21102960 Q21065229 Q21102919 Q21102940 Q21102920 Q21102965 Q21102964 Q21102949 Q21102966 Q21102961 Q21102963 Q21102962 Q21102921 Q21102922 Q21102925 Q21102974 Q21102989 Q21102985 Q21102983 Q21102982 Q21102981 Q21102980 Q21102969 Q21102968 Q21102956 Q21102957 Q21102951 Q21102978 Q21102977 Q21102975 Q21102959 Q21064832 Q21102948 Q21102979 Q21079559 Q21102967
(c(Q181394)|c(Q863908),P703,c(Q631147))
action count
action approx
action union
action find_reverse_tuple_counts
relation P703
type Q631147
type Q181394
action find_reverse_tuple_counts
relation P703
type Q631147
type Q863908
action count
action filter_multi_types
action find_reverse
entity Q21102994
relation P703
type Q181394
type Q863908
[ANSWER]
[[{'concept': 'Q181394'}, {'concept': 'Q863908'}], 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?v ) WHERE { { ?d property:P703 ?i . ?i rdf:type ontology:Q631147 . ?d rdf:type ontology:Q181394 } UNION { ?d property:P703 ?i . ?i rdf:type ontology:Q631147 . ?d rdf:type ontology:Q863908 } } GROUP BY ?i } . FILTER ( ?v = ?j ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m property:P703 resource:Q21102994 . { { ?m rdf:type ontology:Q181394 } UNION { ?m 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 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 Bacillus anthracis str. Sterne Bacillus anthracis str. Ames Staphylococcus aureus subsp. aureus NCTC 8325 Staphylococcus epidermidis ATCC 12228 Fusobacterium nucleatum subsp. nucleatum ATCC 25586 Lactobacillus casei ATCC 334 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
41
action count
action approx
action union
action find_reverse_tuple_counts
relation found in taxon
type infraspecific name
type nutrient
action find_reverse_tuple_counts
relation found in taxon
type infraspecific name
type nucleic acid sequence
action count
action filter_multi_types
action find_reverse
entity Streptococcus mitis B6
relation found in taxon
type nutrient
type nucleic acid sequence
[[{'concept': 'nutrient'}, {'concept': 'nucleic acid sequence'}], 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?v ) WHERE { { ?d property:found_in_taxon ?i . ?i rdf:type ontology:infraspecific_name . ?d rdf:type ontology:nutrient } UNION { ?d property:found_in_taxon ?i . ?i rdf:type ontology:infraspecific_name . ?d rdf:type ontology:nucleic_acid_sequence } } GROUP BY ?i } . FILTER ( ?v = ?j ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m property:found_in_taxon resource:Streptococcus_mitis_B6 . { { ?m rdf:type ontology:nutrient } UNION { ?m rdf:type ontology:nucleic_acid_sequence } } } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P682
Q1057 Q181394
USER
Which metabolic processes are approximately 3913 nutrients involved in ?
(c(Q181394),P682,c(Q1057))
action approx
action find_reverse_tuple_counts
relation P682
type Q1057
type Q181394
value 3913
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?y ) WHERE { ?l property:P682 ?d . ?l rdf:type ontology:Q181394 . ?d rdf:type ontology:Q1057 } GROUP BY ?d } . FILTER ( ?y = 3913 ) }
action approx
action find_reverse_tuple_counts
relation biological process
type metabolic process
type nutrient
value 3913
[{'concept': 'nutrient'}, 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?y ) WHERE { ?l property:biological_process ?d . ?l rdf:type ontology:nutrient . ?d rdf:type ontology:metabolic_process } GROUP BY ?d } . FILTER ( ?y = 3913 ) }
[]
metabolic process nutrient
Q14762260 Q14349667
SYSTEM
carbohydrate metabolic process, lipid metabolic process
Q14762260 Q14349667
(c(Q181394),P682,c(Q1057))
action approx
action find_reverse_tuple_counts
relation P682
type Q1057
type Q181394
value 3913
[ANSWERS] are approximately 3913 nutrients involved in
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?y ) WHERE { ?l property:P682 ?d . ?l rdf:type ontology:Q181394 . ?d rdf:type ontology:Q1057 } GROUP BY ?d } . FILTER ( ?y = 3913 ) }
carbohydrate metabolic process lipid metabolic process
Carbohydrate metabolic process and lipid metabolic process are approximately 3913 nutrients involved in
carbohydrate metabolic process lipid metabolic process
action approx
action find_reverse_tuple_counts
relation biological process
type metabolic process
type nutrient
value 3913
[{'concept': 'nutrient'}, 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?y ) WHERE { ?l property:biological_process ?d . ?l rdf:type ontology:nutrient . ?d rdf:type ontology:metabolic_process } GROUP BY ?d } . FILTER ( ?y = 3913 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14762260
P361
Q2996394
USER
Which biological process is carbohydrate metabolic process a part of ?
(Q14762260,P361,c(Q2996394))
action filter_type
action find
entity Q14762260
relation P361
type Q2996394
['Q14762260', 'P361', {'concept': 'Q2996394'}]
SELECT DISTINCT ?q WHERE { resource:Q14762260 property:P361 ?q . ?q rdf:type ontology:Q2996394 }
carbohydrate metabolic process
action filter_type
action find
entity carbohydrate metabolic process
relation part of
type biological process
['carbohydrate metabolic process', 'part of', {'concept': 'biological process'}]
SELECT DISTINCT ?q WHERE { resource:carbohydrate_metabolic_process property:part_of ?q . ?q rdf:type ontology:biological_process }
[]
biological process
Q21106266
SYSTEM
carbohydrate utilization
Q21106266
(Q14762260,P361,c(Q2996394))
action filter_type
action find
entity Q14762260
relation P361
type Q2996394
[ANSWER] is carbohydrate metabolic process a part of
['Q14762260', 'P361', {'concept': 'Q2996394'}]
SELECT DISTINCT ?q WHERE { resource:Q14762260 property:P361 ?q . ?q rdf:type ontology:Q2996394 }
carbohydrate utilization
Carbohydrate utilization is carbohydrate metabolic process a part of
carbohydrate utilization
action filter_type
action find
entity carbohydrate metabolic process
relation part of
type biological process
['carbohydrate metabolic process', 'part of', {'concept': 'biological process'}]
SELECT DISTINCT ?q WHERE { resource:carbohydrate_metabolic_process property:part_of ?q . ?q rdf:type ontology:biological_process }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q14866235
Q2996394
USER
And how about microglial cell activation involved in immune response?
(Q14866235,P361,c(Q2996394))
action filter_type
action find
entity Q14866235
relation P361
type Q2996394
['Q14866235', 'P361', {'concept': 'Q2996394'}]
SELECT DISTINCT ?i WHERE { resource:Q14866235 property:P361 ?i . ?i rdf:type ontology:Q2996394 }
microglial cell activation involved in immune response
action filter_type
action find
entity microglial cell activation involved in immune response
relation part of
type biological process
['microglial cell activation involved in immune response', 'part of', {'concept': 'biological process'}]
SELECT DISTINCT ?i WHERE { resource:microglial_cell_activation_involved_in_immune_response property:part_of ?i . ?i rdf:type ontology:biological_process }
[]
biological process
Q1612119
SYSTEM
immune response
Q1612119
(Q14866235,P361,c(Q2996394))
action filter_type
action find
entity Q14866235
relation P361
type Q2996394
[ANSWER]
['Q14866235', 'P361', {'concept': 'Q2996394'}]
SELECT DISTINCT ?i WHERE { resource:Q14866235 property:P361 ?i . ?i rdf:type ontology:Q2996394 }
immune response
immune response
action filter_type
action find
entity microglial cell activation involved in immune response
relation part of
type biological process
['microglial cell activation involved in immune response', 'part of', {'concept': 'biological process'}]
SELECT DISTINCT ?i WHERE { resource:microglial_cell_activation_involved_in_immune_response property:part_of ?i . ?i rdf:type ontology:biological_process }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P129
Q8386 Q79529 Q181394
USER
Which nutrients contact min number of drugs or chemical substances ?
(c(Q181394),P129,c(Q8386)|c(Q79529))
action argmin
action union
action find_tuple_counts
relation P129
type Q181394
type Q8386
action find_tuple_counts
relation P129
type Q181394
type Q79529
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q8386'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?h ) { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:Q8386 ) ( ontology:Q79529 ) } } GROUP BY ?m } } . { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?j ) WHERE { { ?s property:P129 ?w . ?s rdf:type ontology:Q181394 . ?w rdf:type ontology:Q8386 } UNION { ?s property:P129 ?w . ?s rdf:type ontology:Q181394 . ?w rdf:type ontology:Q79529 } } GROUP BY ?s } . FILTER ( ?j = ?h ) }
action argmin
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
action find_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'drug'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?h ) { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:drug ) ( ontology:chemical_substance ) } } GROUP BY ?m } } . { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?j ) WHERE { { ?s property:physically_interacts_with ?w . ?s rdf:type ontology:nutrient . ?w rdf:type ontology:drug } UNION { ?s property:physically_interacts_with ?w . ?s rdf:type ontology:nutrient . ?w rdf:type ontology:chemical_substance } } GROUP BY ?s } . FILTER ( ?j = ?h ) }
[]
drug chemical substance nutrient
Q15324125 Q1407929 Q13561329
SYSTEM
Transient receptor potential cation channel subfamily V member 4, Cytochrome P450 1A1, Reelin
Q21494718 Q21108693 Q13561329 Q21110295 Q1407929 Q21173169 Q21113552 Q21496578 Q21496575 Q21496576 Q15324125 Q21110296 Q21154430 Q3931282 Q21139123 Q21496918 Q5014947 Q21172884 Q21172886 Q315860 Q21495791
(c(Q181394),P129,c(Q8386)|c(Q79529))
action argmin
action union
action find_tuple_counts
relation P129
type Q181394
type Q8386
action find_tuple_counts
relation P129
type Q181394
type Q79529
Receptor [ANSWERS] contact min number of drugs or chemical substances
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q8386'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?h ) { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:Q8386 ) ( ontology:Q79529 ) } } GROUP BY ?m } } . { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?j ) WHERE { { ?s property:P129 ?w . ?s rdf:type ontology:Q181394 . ?w rdf:type ontology:Q8386 } UNION { ?s property:P129 ?w . ?s rdf:type ontology:Q181394 . ?w rdf:type ontology:Q79529 } } GROUP BY ?s } . FILTER ( ?j = ?h ) }
Lysophosphatidic acid receptor 2 G-protein coupled receptor 87 Reelin Galanin receptor type 2 Cytochrome P450 1A1 Lysophosphatidic acid receptor 3 ATP-sensitive inward rectifier potassium channel 14 Lysophosphatidic acid receptor 3 Lysophosphatidic acid receptor 4 Lysophosphatidic acid receptor 6 Transient receptor potential cation channel subfamily V member 4 Galanin receptor type 3 Lysophosphatidic acid receptor 4 Calcitonin receptor Lysophosphatidic acid receptor 2 Lysophosphatidic acid receptor 1 Cytochrome P450 1B1 Lysophosphatidic acid receptor 6 Lysophosphatidic acid receptor 5 Calcitonin Metabotropic glutamate receptor 5
Receptor Transient receptor potential cation channel subfamily V member 4, Cytochrome P450 1A1 and Reelin contact min number of drugs or chemical substances
Transient receptor potential cation channel subfamily V member 4 Cytochrome P450 1A1 Reelin
action argmin
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
action find_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'drug'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?h ) { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ?n . VALUES ( ?n ) { ( ontology:drug ) ( ontology:chemical_substance ) } } GROUP BY ?m } } . { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?j ) WHERE { { ?s property:physically_interacts_with ?w . ?s rdf:type ontology:nutrient . ?w rdf:type ontology:drug } UNION { ?s property:physically_interacts_with ?w . ?s rdf:type ontology:nutrient . ?w rdf:type ontology:chemical_substance } } GROUP BY ?s } . FILTER ( ?j = ?h ) }
[]