Simple Question (Direct)
Simple Question
Q27760374
P702
Q863908
USER
Which nucleic acid sequence encodes lipoate--protein ligase    MPN389 ?
(Q27760374,P702,c(Q863908))
action filter_type
action find
entity Q27760374
relation P702
type Q863908
['Q27760374', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?h WHERE { resource:Q27760374 property:P702 ?h . ?h rdf:type ontology:Q863908 }
lipoate--protein ligase    MPN389
action filter_type
action find
entity lipoate--protein ligase    MPN389
relation encoded by
type nucleic acid sequence
['lipoate--protein ligase    MPN389', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?h WHERE { resource:lipoate--protein_ligase____MPN389 property:encoded_by ?h . ?h rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23298981
SYSTEM
lipoate--protein ligase    MPN389
Q23298981
(Q27760374,P702,c(Q863908))
action filter_type
action find
entity Q27760374
relation P702
type Q863908
En lipoate--protein ligase MPN389 encodes lipoate--protein ligase MPN389
['Q27760374', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?h WHERE { resource:Q27760374 property:P702 ?h . ?h rdf:type ontology:Q863908 }
lipoate--protein ligase    MPN389
En lipoate--protein ligase MPN389 encodes lipoate--protein ligase MPN389
lipoate--protein ligase    MPN389
action filter_type
action find
entity lipoate--protein ligase    MPN389
relation encoded by
type nucleic acid sequence
['lipoate--protein ligase    MPN389', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?h WHERE { resource:lipoate--protein_ligase____MPN389 property:encoded_by ?h . ?h rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27760374
P681
Q15989253
USER
Which part is a component of that nutrient ?
(Q23298981,P681,c(Q15989253))
action filter_type
action find
entity Q27760374
relation P681
type Q15989253
['Q23298981', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?b WHERE { resource:Q27760374 property:P681 ?b . ?b rdf:type ontology:Q15989253 }
lipoate--protein ligase    MPN389
action filter_type
action find
entity lipoate--protein ligase    MPN389
relation cell component
type part
['lipoate--protein ligase    MPN389', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?b WHERE { resource:lipoate--protein_ligase____MPN389 property:cell_component ?b . ?b rdf:type ontology:part }
[]
part
Q79899
SYSTEM
cytoplasm
Q79899
(Q23298981,P681,c(Q15989253))
action filter_type
action find
entity Q27760374
relation P681
type Q15989253
[ANSWER] is a component of that nutrient
['Q23298981', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?b WHERE { resource:Q27760374 property:P681 ?b . ?b rdf:type ontology:Q15989253 }
cytoplasm
Cytoplasm is a component of that nutrient
cytoplasm
action filter_type
action find
entity lipoate--protein ligase    MPN389
relation cell component
type part
['lipoate--protein ligase    MPN389', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?b WHERE { resource:lipoate--protein_ligase____MPN389 property:cell_component ?b . ?b rdf:type ontology:part }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15989253 Q14660 Q3305213
USER
How many parts are expressed in around 3 flags and paintings ?
(c(Q14660)|c(Q3305213),P180,c(Q15989253))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q14660
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q3305213
value 3
[[{'concept': 'Q14660'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) ?p WHERE { VALUES ( ?v ) { ( ontology:Q14660 ) ( ontology:Q3305213 ) } . ?a rdf:type ?v } GROUP BY ?p } . FILTER ( ?s = 3 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type part
type flag
action find_reverse_tuple_counts
relation depicts
type part
type painting
value 3
[[{'concept': 'flag'}, {'concept': 'painting'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) ?p WHERE { VALUES ( ?v ) { ( ontology:flag ) ( ontology:painting ) } . ?a rdf:type ?v } GROUP BY ?p } . FILTER ( ?s = 3 ) }
[]
part flag painting
SYSTEM
2
Q25999 Q15807
(c(Q14660)|c(Q3305213),P180,c(Q15989253))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q14660
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q3305213
value 3
[ANSWER]
[[{'concept': 'Q14660'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) ?p WHERE { VALUES ( ?v ) { ( ontology:Q14660 ) ( ontology:Q3305213 ) } . ?a rdf:type ?v } GROUP BY ?p } . FILTER ( ?s = 3 ) }
sail foot
2
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type part
type flag
action find_reverse_tuple_counts
relation depicts
type part
type painting
value 3
[[{'concept': 'flag'}, {'concept': 'painting'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) ?p WHERE { VALUES ( ?v ) { ( ontology:flag ) ( ontology:painting ) } . ?a rdf:type ?v } GROUP BY ?p } . FILTER ( ?s = 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P129
Q8386 Q79529 Q181394
USER
Which nutrients interacts with max number of drugs and chemical substances ?
(c(Q181394),P129,c(Q8386)|c(Q79529))
action argmax
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 ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?a ) { ( ontology:Q8386 ) ( ontology:Q79529 ) } . ?p rdf:type ?a } GROUP BY ?e } . FILTER ( ?v = ?j ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?j ) { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?b ) WHERE { VALUES ( ?c ) { ( ontology:Q8386 ) ( ontology:Q79529 ) } . ?t rdf:type ?c } GROUP BY ?n } } }
action argmax
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 ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?a ) { ( ontology:drug ) ( ontology:chemical_substance ) } . ?p rdf:type ?a } GROUP BY ?e } . FILTER ( ?v = ?j ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?j ) { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?b ) WHERE { VALUES ( ?c ) { ( ontology:drug ) ( ontology:chemical_substance ) } . ?t rdf:type ?c } GROUP BY ?n } } }
[]
drug chemical substance nutrient
Q1949517
SYSTEM
5-hydroxytryptamine receptor 2A
Q1949517
(c(Q181394),P129,c(Q8386)|c(Q79529))
action argmax
action union
action find_tuple_counts
relation P129
type Q181394
type Q8386
action find_tuple_counts
relation P129
type Q181394
type Q79529
[ANSWER] interacts with max number of drugs and chemical substances
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q8386'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?a ) { ( ontology:Q8386 ) ( ontology:Q79529 ) } . ?p rdf:type ?a } GROUP BY ?e } . FILTER ( ?v = ?j ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?j ) { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?b ) WHERE { VALUES ( ?c ) { ( ontology:Q8386 ) ( ontology:Q79529 ) } . ?t rdf:type ?c } GROUP BY ?n } } }
5-hydroxytryptamine receptor 2A
5-hydroxytryptamine receptor 2A interacts with max number of drugs and chemical substances
5-hydroxytryptamine receptor 2A
action argmax
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 ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?a ) { ( ontology:drug ) ( ontology:chemical_substance ) } . ?p rdf:type ?a } GROUP BY ?e } . FILTER ( ?v = ?j ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?j ) { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?b ) WHERE { VALUES ( ?c ) { ( ontology:drug ) ( ontology:chemical_substance ) } . ?t rdf:type ?c } GROUP BY ?n } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P129
Q181394 Q181394
USER
How many nutrients do greater number of nutrients interact with than that nutrient ?
(c(Q181394),P129,c(Q181394))
action count
action greater
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action count
action filter_type
action find
entity Q1949517
relation P129
type Q181394
[{'concept': 'Q181394'}, 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:P129 ?z . ?z rdf:type ontology:Q181394 . ?h rdf:type ontology:Q181394 } GROUP BY ?z } . FILTER ( ?j > ?g ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Q1949517 property:P129 ?m . ?m rdf:type ontology:Q181394 } } }
action count
action greater
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action count
action filter_type
action find
entity 5-hydroxytryptamine receptor 2A
relation physically interacts with
type nutrient
[{'concept': 'nutrient'}, 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:physically_interacts_with ?z . ?z rdf:type ontology:nutrient . ?h rdf:type ontology:nutrient } GROUP BY ?z } . FILTER ( ?j > ?g ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:5-hydroxytryptamine_receptor_2A property:physically_interacts_with ?m . ?m rdf:type ontology:nutrient } } }
[]
nutrient nutrient
SYSTEM
4
Q423510 Q3931282 Q315860 Q1979313
(c(Q181394),P129,c(Q181394))
action count
action greater
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action count
action filter_type
action find
entity Q1949517
relation P129
type Q181394
[ANSWER]
[{'concept': 'Q181394'}, 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:P129 ?z . ?z rdf:type ontology:Q181394 . ?h rdf:type ontology:Q181394 } GROUP BY ?z } . FILTER ( ?j > ?g ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Q1949517 property:P129 ?m . ?m rdf:type ontology:Q181394 } } }
Amyloid beta A4 protein Calcitonin receptor Calcitonin Very low-density lipoprotein receptor
4
action count
action greater
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action count
action filter_type
action find
entity 5-hydroxytryptamine receptor 2A
relation physically interacts with
type nutrient
[{'concept': 'nutrient'}, 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?j ) WHERE { ?h property:physically_interacts_with ?z . ?z rdf:type ontology:nutrient . ?h rdf:type ontology:nutrient } GROUP BY ?z } . FILTER ( ?j > ?g ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:5-hydroxytryptamine_receptor_2A property:physically_interacts_with ?m . ?m rdf:type ontology:nutrient } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P129
Q181394 Q79529 Q181394
USER
Which nutrients do max number of chemical substances and nutrients interact with ?
(c(Q79529)|c(Q181394),P129,c(Q181394))
action argmax
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
[[{'concept': 'Q79529'}, {'concept': 'Q181394'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) ?z WHERE { { ?e property:P129 ?z . ?e rdf:type ontology:Q79529 . ?z rdf:type ontology:Q181394 } UNION { ?e property:P129 ?z . ?z rdf:type ontology:Q181394 . ?e rdf:type ontology:Q181394 } } GROUP BY ?z } . FILTER ( ?t = ?c ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?d WHERE { { ?k property:P129 ?d . ?k rdf:type ontology:Q79529 . ?d rdf:type ontology:Q181394 } UNION { ?k property:P129 ?d . ?k rdf:type ontology:Q181394 . ?d rdf:type ontology:Q181394 } } GROUP BY ?d } } }
action argmax
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
[[{'concept': 'chemical substance'}, {'concept': 'nutrient'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) ?z WHERE { { ?e property:physically_interacts_with ?z . ?e rdf:type ontology:chemical_substance . ?z rdf:type ontology:nutrient } UNION { ?e property:physically_interacts_with ?z . ?z rdf:type ontology:nutrient . ?e rdf:type ontology:nutrient } } GROUP BY ?z } . FILTER ( ?t = ?c ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?d WHERE { { ?k property:physically_interacts_with ?d . ?k rdf:type ontology:chemical_substance . ?d rdf:type ontology:nutrient } UNION { ?k property:physically_interacts_with ?d . ?k rdf:type ontology:nutrient . ?d rdf:type ontology:nutrient } } GROUP BY ?d } } }
[]
nutrient chemical substance nutrient
Q1949517
SYSTEM
5-hydroxytryptamine receptor 2A
Q1949517
(c(Q79529)|c(Q181394),P129,c(Q181394))
action argmax
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
Which nutrients max number of chemical substances and nutrients interact with
[[{'concept': 'Q79529'}, {'concept': 'Q181394'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) ?z WHERE { { ?e property:P129 ?z . ?e rdf:type ontology:Q79529 . ?z rdf:type ontology:Q181394 } UNION { ?e property:P129 ?z . ?z rdf:type ontology:Q181394 . ?e rdf:type ontology:Q181394 } } GROUP BY ?z } . FILTER ( ?t = ?c ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?d WHERE { { ?k property:P129 ?d . ?k rdf:type ontology:Q79529 . ?d rdf:type ontology:Q181394 } UNION { ?k property:P129 ?d . ?k rdf:type ontology:Q181394 . ?d rdf:type ontology:Q181394 } } GROUP BY ?d } } }
5-hydroxytryptamine receptor 2A
Which nutrients max number of chemical substances and nutrients interact with
5-hydroxytryptamine receptor 2A
action argmax
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
[[{'concept': 'chemical substance'}, {'concept': 'nutrient'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) ?z WHERE { { ?e property:physically_interacts_with ?z . ?e rdf:type ontology:chemical_substance . ?z rdf:type ontology:nutrient } UNION { ?e property:physically_interacts_with ?z . ?z rdf:type ontology:nutrient . ?e rdf:type ontology:nutrient } } GROUP BY ?z } . FILTER ( ?t = ?c ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?d WHERE { { ?k property:physically_interacts_with ?d . ?k rdf:type ontology:chemical_substance . ?d rdf:type ontology:nutrient } UNION { ?k property:physically_interacts_with ?d . ?k rdf:type ontology:nutrient . ?d rdf:type ontology:nutrient } } GROUP BY ?d } } }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1949517 Q411188 Q419319
P129
Q8386
USER
Does that nutrient can communicate with aripiprazole and Bortezomib ?
(Q1949517,P129,Q411188) (Q1949517,P129,Q419319)
action is_in
entity Q1949517
action intersection
action find_reverse
entity Q411188
relation P129
action find_reverse
entity Q419319
relation P129
['Q1949517', 'P129', 'Q411188'] ['Q1949517', 'P129', 'Q419319']
ASK WHERE { resource:Q1949517 property:P129 resource:Q411188 . resource:Q1949517 property:P129 resource:Q419319 }
5-hydroxytryptamine receptor 2A aripiprazole Bortezomib
action is_in
entity 5-hydroxytryptamine receptor 2A
action intersection
action find_reverse
entity aripiprazole
relation physically interacts with
action find_reverse
entity Bortezomib
relation physically interacts with
['5-hydroxytryptamine receptor 2A', 'physically interacts with', 'aripiprazole'] ['5-hydroxytryptamine receptor 2A', 'physically interacts with', 'Bortezomib']
ASK WHERE { resource:5-hydroxytryptamine_receptor_2A property:physically_interacts_with resource:aripiprazole . resource:5-hydroxytryptamine_receptor_2A property:physically_interacts_with resource:Bortezomib }
[]
drug
SYSTEM
YES and NO respectively
(Q1949517,P129,Q411188) (Q1949517,P129,Q419319)
action is_in
entity Q1949517
action intersection
action find_reverse
entity Q411188
relation P129
action find_reverse
entity Q419319
relation P129
[ANSWER]
['Q1949517', 'P129', 'Q411188'] ['Q1949517', 'P129', 'Q419319']
ASK WHERE { resource:Q1949517 property:P129 resource:Q411188 . resource:Q1949517 property:P129 resource:Q419319 }
YES and NO respectively
action is_in
entity 5-hydroxytryptamine receptor 2A
action intersection
action find_reverse
entity aripiprazole
relation physically interacts with
action find_reverse
entity Bortezomib
relation physically interacts with
['5-hydroxytryptamine receptor 2A', 'physically interacts with', 'aripiprazole'] ['5-hydroxytryptamine receptor 2A', 'physically interacts with', 'Bortezomib']
ASK WHERE { resource:5-hydroxytryptamine_receptor_2A property:physically_interacts_with resource:aripiprazole . resource:5-hydroxytryptamine_receptor_2A property:physically_interacts_with resource:Bortezomib }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q181394 Q181394 Q79529
USER
How many nutrients do around 24 nutrients or chemical substances collaborate with ?
(c(Q181394)|c(Q79529),P129,c(Q181394))
action count
action approx
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
value 24
[[{'concept': 'Q181394'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) ?d WHERE { ?i rdf:type ?y . VALUES ( ?y ) { ( ontology:Q181394 ) ( ontology:Q79529 ) } } GROUP BY ?d } . FILTER ( ?h = 24 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
value 24
[[{'concept': 'nutrient'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) ?d WHERE { ?i rdf:type ?y . VALUES ( ?y ) { ( ontology:nutrient ) ( ontology:chemical_substance ) } } GROUP BY ?d } . FILTER ( ?h = 24 ) }
[]
nutrient nutrient chemical substance
SYSTEM
3
Q288797 Q21115051 Q21109363
(c(Q181394)|c(Q79529),P129,c(Q181394))
action count
action approx
action union
action find_reverse_tuple_counts
relation P129
type Q181394
type Q181394
action find_reverse_tuple_counts
relation P129
type Q181394
type Q79529
value 24
[ANSWER]
[[{'concept': 'Q181394'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) ?d WHERE { ?i rdf:type ?y . VALUES ( ?y ) { ( ontology:Q181394 ) ( ontology:Q79529 ) } } GROUP BY ?d } . FILTER ( ?h = 24 ) }
5-hydroxytryptamine receptor 1B 5-hydroxytryptamine receptor 1E 5-hydroxytryptamine receptor 6
3
action count
action approx
action union
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_reverse_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
value 24
[[{'concept': 'nutrient'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) ?d WHERE { ?i rdf:type ?y . VALUES ( ?y ) { ( ontology:nutrient ) ( ontology:chemical_substance ) } } GROUP BY ?d } . FILTER ( ?h = 24 ) }
[]