Simple Question (Direct)
Simple Question
Q21499228
P703
Q16521
USER
Where is Zinc finger protein castor homolog 1 found ?
(Q21499228,P703,c(Q16521))
action filter_type
action find
entity Q21499228
relation P703
type Q16521
['Q21499228', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?i WHERE { resource:Q21499228 property:P703 ?i . ?i rdf:type ontology:Q16521 }
Zinc finger protein castor homolog 1
action filter_type
action find
entity Zinc finger protein castor homolog 1
relation found in taxon
type taxon
['Zinc finger protein castor homolog 1', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?i WHERE { resource:Zinc_finger_protein_castor_homolog_1 property:found_in_taxon ?i . ?i rdf:type ontology:taxon }
[]
taxon
Q83310
SYSTEM
Mus musculus
Q83310
(Q21499228,P703,c(Q16521))
action filter_type
action find
entity Q21499228
relation P703
type Q16521
Zinc finger protein castor homolog 1 is found in [ANSWER]
['Q21499228', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?i WHERE { resource:Q21499228 property:P703 ?i . ?i rdf:type ontology:Q16521 }
Mus musculus
Zinc finger protein castor homolog 1 is found in Mus musculus
Mus musculus
action filter_type
action find
entity Zinc finger protein castor homolog 1
relation found in taxon
type taxon
['Zinc finger protein castor homolog 1', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?i WHERE { resource:Zinc_finger_protein_castor_homolog_1 property:found_in_taxon ?i . ?i rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q83310
P144
Q15619164
USER
Which abstract being is an extension that taxon ?
(c(Q15619164),P144,Q83310)
action filter_type
action find_reverse
entity Q83310
relation P144
type Q15619164
[{'concept': 'Q15619164'}, 'P144', 'Q83310']
SELECT DISTINCT ?d WHERE { ?d property:P144 resource:Q83310 . ?d rdf:type ontology:Q15619164 }
Mus musculus
action filter_type
action find_reverse
entity Mus musculus
relation based on
type abstract being
[{'concept': 'abstract being'}, 'based on', 'Mus musculus']
SELECT DISTINCT ?d WHERE { ?d property:based_on resource:Mus_musculus . ?d rdf:type ontology:abstract_being }
[]
abstract being
Q9351
SYSTEM
Pikachu
Q9351
(c(Q15619164),P144,Q83310)
action filter_type
action find_reverse
entity Q83310
relation P144
type Q15619164
[ANSWER] is an extension that taxon
[{'concept': 'Q15619164'}, 'P144', 'Q83310']
SELECT DISTINCT ?d WHERE { ?d property:P144 resource:Q83310 . ?d rdf:type ontology:Q15619164 }
Pikachu
Pikachu is an extension that taxon
Pikachu
action filter_type
action find_reverse
entity Mus musculus
relation based on
type abstract being
[{'concept': 'abstract being'}, 'based on', 'Mus musculus']
SELECT DISTINCT ?d WHERE { ?d property:based_on resource:Mus_musculus . ?d rdf:type ontology:abstract_being }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P180
Q15619164 Q18783400 Q1792379
USER
How many abstract beings are demonstrated in greater number of genres of sculpture and art genres than that abstract being ?
(c(Q18783400)|c(Q1792379),P180,c(Q15619164))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15619164
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q15619164
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q9351
relation P180
type Q18783400
type Q1792379
[[{'concept': 'Q18783400'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?j ) WHERE { VALUES ( ?x ) { ( ontology:Q1792379 ) ( ontology:Q18783400 ) } . ?f rdf:type ?x } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:P180 resource:Q9351 . { ?b rdf:type ?q . VALUES ( ?q ) { ( ontology:Q18783400 ) ( ontology:Q1792379 ) } } } } . FILTER ( ?j > ?e ) }
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type abstract being
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type abstract being
type art genre
action count
action filter_multi_types
action find_reverse
entity Pikachu
relation depicts
type genre of sculpture
type art genre
[[{'concept': 'genre of sculpture'}, {'concept': 'art genre'}], 'depicts', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?j ) WHERE { VALUES ( ?x ) { ( ontology:art_genre ) ( ontology:genre_of_sculpture ) } . ?f rdf:type ?x } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:depicts resource:Pikachu . { ?b rdf:type ?q . VALUES ( ?q ) { ( ontology:genre_of_sculpture ) ( ontology:art_genre ) } } } } . FILTER ( ?j > ?e ) }
[]
abstract being genre of sculpture art genre
SYSTEM
6
Q302 Q1102307 Q5011 Q1579 Q843382 Q132543
(c(Q18783400)|c(Q1792379),P180,c(Q15619164))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15619164
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q15619164
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q9351
relation P180
type Q18783400
type Q1792379
[ANSWER]
[[{'concept': 'Q18783400'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?j ) WHERE { VALUES ( ?x ) { ( ontology:Q1792379 ) ( ontology:Q18783400 ) } . ?f rdf:type ?x } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:P180 resource:Q9351 . { ?b rdf:type ?q . VALUES ( ?q ) { ( ontology:Q18783400 ) ( ontology:Q1792379 ) } } } } . FILTER ( ?j > ?e ) }
Jesus Christ Lady Justice Cupid Ganesha Psyche Diana
6
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type abstract being
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type abstract being
type art genre
action count
action filter_multi_types
action find_reverse
entity Pikachu
relation depicts
type genre of sculpture
type art genre
[[{'concept': 'genre of sculpture'}, {'concept': 'art genre'}], 'depicts', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?j ) WHERE { VALUES ( ?x ) { ( ontology:art_genre ) ( ontology:genre_of_sculpture ) } . ?f rdf:type ?x } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:depicts resource:Pikachu . { ?b rdf:type ?q . VALUES ( ?q ) { ( ontology:genre_of_sculpture ) ( ontology:art_genre ) } } } } . FILTER ( ?j > ?e ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18026999 Q21499228
P702 P684
Q863908
USER
Which nucleic acid sequences encodes Zinc finger protein castor homolog 1 or are an orthologous gene for HLX ?
OR((Q21499228,P702,c(Q863908)), (Q18026999,P684,c(Q863908)))
action filter_type
action union
action find
entity Q21499228
relation P702
action find
entity Q18026999
relation P684
type Q863908
{'OR': [['Q21499228', 'P702', {'concept': 'Q863908'}], ['Q18026999', 'P684', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q21499228 property:P702 ?m } UNION { resource:Q18026999 property:P684 ?m } } . ?m rdf:type ontology:Q863908 }
HLX Zinc finger protein castor homolog 1
action filter_type
action union
action find
entity Zinc finger protein castor homolog 1
relation encoded by
action find
entity HLX
relation ortholog
type nucleic acid sequence
{'OR': [['Zinc finger protein castor homolog 1', 'encoded by', {'concept': 'nucleic acid sequence'}], ['HLX', 'ortholog', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Zinc_finger_protein_castor_homolog_1 property:encoded_by ?m } UNION { resource:HLX property:ortholog ?m } } . ?m rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18263915 Q18251217
SYSTEM
Casz1, Hlx
Q18263915 Q18251217
OR((Q21499228,P702,c(Q863908)), (Q18026999,P684,c(Q863908)))
action filter_type
action union
action find
entity Q21499228
relation P702
action find
entity Q18026999
relation P684
type Q863908
[ANSWERS] encode Zinc finger protein castor homolog 1 or are an orthologous gene for HLX
{'OR': [['Q21499228', 'P702', {'concept': 'Q863908'}], ['Q18026999', 'P684', {'concept': 'Q863908'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q21499228 property:P702 ?m } UNION { resource:Q18026999 property:P684 ?m } } . ?m rdf:type ontology:Q863908 }
Casz1 Hlx
Casz1 and Hlx encode Zinc finger protein castor homolog 1 or are an orthologous gene for HLX
Casz1 Hlx
action filter_type
action union
action find
entity Zinc finger protein castor homolog 1
relation encoded by
action find
entity HLX
relation ortholog
type nucleic acid sequence
{'OR': [['Zinc finger protein castor homolog 1', 'encoded by', {'concept': 'nucleic acid sequence'}], ['HLX', 'ortholog', {'concept': 'nucleic acid sequence'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Zinc_finger_protein_castor_homolog_1 property:encoded_by ?m } UNION { resource:HLX property:ortholog ?m } } . ?m rdf:type ontology:nucleic_acid_sequence }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18251217
P688
Q181394
USER
What does that nucleic acid sequence encode ?
(Q18251217,P688,c(Q181394))
action filter_type
action find
entity Q18251217
relation P688
type Q181394
['Q18251217', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?d WHERE { resource:Q18251217 property:P688 ?d . ?d rdf:type ontology:Q181394 }
Hlx
action filter_type
action find
entity Hlx
relation encodes
type nutrient
['Hlx', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?d WHERE { resource:Hlx property:encodes ?d . ?d rdf:type ontology:nutrient }
[]
nutrient
Clarification for simple ques.
Q18251217
SYSTEM
Did you mean Hlx ?
Q18263915 Q18251217
(Q18263915,P688,c(Q181394)) (Q18251217,P688,c(Q181394))
[ANSWER]
['Q18263915', 'P688', {'concept': 'Q181394'}] ['Q18251217', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?d WHERE { resource:Q18251217 property:P688 ?d . ?d rdf:type ontology:Q181394 }
Casz1 Hlx
Did you mean Hlx ?
Hlx
['Casz1', 'encodes', {'concept': 'nutrient'}] ['Hlx', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?d WHERE { resource:Hlx property:encodes ?d . ?d rdf:type ontology:nutrient }
[]
Simple Question (Coreferenced)
USER
Yes
(Q18251217,P688,c(Q181394))
['Q18251217', 'P688', {'concept': 'Q181394'}]
['Hlx', 'encodes', {'concept': 'nutrient'}]
[]
Q21987089
SYSTEM
H2.0-like homeobox protein
Q21987089
(Q18251217,P688,c(Q181394))
action filter_type
action find
entity Q18251217
relation P688
type Q181394
That nucleic acid sequence encodes an [ANSWER]
['Q18251217', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?d WHERE { resource:Q18251217 property:P688 ?d . ?d rdf:type ontology:Q181394 }
H2.0-like homeobox protein
That nucleic acid sequence encodes an H2.0-like homeobox protein
H2.0-like homeobox protein
action filter_type
action find
entity Hlx
relation encodes
type nutrient
['Hlx', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?d WHERE { resource:Hlx property:encodes ?d . ?d rdf:type ontology:nutrient }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q21987089 Q18036402
P702
Q863908
USER
Does IRAK3 gene encodes H2.0-like homeobox protein ?
(Q21987089,P702,Q18036402)
action is_in
entity Q18036402
action find
entity Q21987089
relation P702
['Q21987089', 'P702', 'Q18036402']
ASK WHERE { resource:Q21987089 property:P702 resource:Q18036402 }
H2.0-like homeobox protein IRAK3
action is_in
entity IRAK3
action find
entity H2.0-like homeobox protein
relation encoded by
['H2.0-like homeobox protein', 'encoded by', 'IRAK3']
ASK WHERE { resource:H2.0-like_homeobox_protein property:encoded_by resource:IRAK3 }
[]
nucleic acid sequence
SYSTEM
NO
(Q21987089,P702,Q18036402)
action is_in
entity Q18036402
action find
entity Q21987089
relation P702
[ANSWER]
['Q21987089', 'P702', 'Q18036402']
ASK WHERE { resource:Q21987089 property:P702 resource:Q18036402 }
No
action is_in
entity IRAK3
action find
entity H2.0-like homeobox protein
relation encoded by
['H2.0-like homeobox protein', 'encoded by', 'IRAK3']
ASK WHERE { resource:H2.0-like_homeobox_protein property:encoded_by resource:IRAK3 }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21987089
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
action filter_type
action find_reverse
entity Q21987089
relation P688
type Q863908
SELECT DISTINCT ?w WHERE { ?w property:P688 resource:Q21987089 . ?w rdf:type ontology:Q863908 }
H2.0-like homeobox protein
action filter_type
action find_reverse
entity H2.0-like homeobox protein
relation encodes
type nucleic acid sequence
SELECT DISTINCT ?w WHERE { ?w property:encodes resource:H2.0-like_homeobox_protein . ?w rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18251217
SYSTEM
Hlx
Q18251217
action filter_type
action find_reverse
entity Q21987089
relation P688
type Q863908
[ANSWER] encodes that nutrient
SELECT DISTINCT ?w WHERE { ?w property:P688 resource:Q21987089 . ?w rdf:type ontology:Q863908 }
Hlx
Hlx encodes that nutrient
Hlx
action filter_type
action find_reverse
entity H2.0-like homeobox protein
relation encodes
type nucleic acid sequence
SELECT DISTINCT ?w WHERE { ?w property:encodes resource:H2.0-like_homeobox_protein . ?w rdf:type ontology:nucleic_acid_sequence }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P129
Q181394 Q8386 Q181394
USER
Which nutrients interacts with max number of nutrients and drugs ?
(c(Q181394),P129,c(Q181394)|c(Q8386))
action argmax
action union
action find_tuple_counts
relation P129
type Q181394
type Q181394
action find_tuple_counts
relation P129
type Q181394
type Q8386
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q181394'}, {'concept': 'Q8386'}]]
SELECT DISTINCT ?z WHERE { FILTER ( ?m = ?u ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?m ) WHERE { ?r rdf:type ?t . VALUES ( ?t ) { ( ontology:Q8386 ) ( ontology:Q181394 ) } } GROUP BY ?z } . { SELECT DISTINCT ( MAX ( ?l ) AS ?u ) { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?l ) WHERE { { ?b property:P129 ?j . ?b rdf:type ontology:Q181394 . ?j rdf:type ontology:Q181394 } UNION { ?b property:P129 ?j . ?b rdf:type ontology:Q181394 . ?j rdf:type ontology:Q8386 } } GROUP BY ?b } } }
action argmax
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'nutrient'}, {'concept': 'drug'}]]
SELECT DISTINCT ?z WHERE { FILTER ( ?m = ?u ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?m ) WHERE { ?r rdf:type ?t . VALUES ( ?t ) { ( ontology:drug ) ( ontology:nutrient ) } } GROUP BY ?z } . { SELECT DISTINCT ( MAX ( ?l ) AS ?u ) { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?l ) WHERE { { ?b property:physically_interacts_with ?j . ?b rdf:type ontology:nutrient . ?j rdf:type ontology:nutrient } UNION { ?b property:physically_interacts_with ?j . ?b rdf:type ontology:nutrient . ?j rdf:type ontology:drug } } GROUP BY ?b } } }
[]
nutrient drug nutrient
Q1949517
SYSTEM
5-hydroxytryptamine receptor 2A
Q1949517
(c(Q181394),P129,c(Q181394)|c(Q8386))
action argmax
action union
action find_tuple_counts
relation P129
type Q181394
type Q181394
action find_tuple_counts
relation P129
type Q181394
type Q8386
And [ANSWER] interacts with max number of nutrients and drugs
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q181394'}, {'concept': 'Q8386'}]]
SELECT DISTINCT ?z WHERE { FILTER ( ?m = ?u ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?m ) WHERE { ?r rdf:type ?t . VALUES ( ?t ) { ( ontology:Q8386 ) ( ontology:Q181394 ) } } GROUP BY ?z } . { SELECT DISTINCT ( MAX ( ?l ) AS ?u ) { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?l ) WHERE { { ?b property:P129 ?j . ?b rdf:type ontology:Q181394 . ?j rdf:type ontology:Q181394 } UNION { ?b property:P129 ?j . ?b rdf:type ontology:Q181394 . ?j rdf:type ontology:Q8386 } } GROUP BY ?b } } }
5-hydroxytryptamine receptor 2A
And 5-hydroxytryptamine receptor 2A interacts with max number of nutrients and drugs
5-hydroxytryptamine receptor 2A
action argmax
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type nutrient
action find_tuple_counts
relation physically interacts with
type nutrient
type drug
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'nutrient'}, {'concept': 'drug'}]]
SELECT DISTINCT ?z WHERE { FILTER ( ?m = ?u ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?m ) WHERE { ?r rdf:type ?t . VALUES ( ?t ) { ( ontology:drug ) ( ontology:nutrient ) } } GROUP BY ?z } . { SELECT DISTINCT ( MAX ( ?l ) AS ?u ) { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?l ) WHERE { { ?b property:physically_interacts_with ?j . ?b rdf:type ontology:nutrient . ?j rdf:type ontology:nutrient } UNION { ?b property:physically_interacts_with ?j . ?b rdf:type ontology:nutrient . ?j rdf:type ontology:drug } } GROUP BY ?b } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P129
Q181394 Q181394 Q79529
USER
How many nutrients do around the same number of nutrients or chemical substances interact with as that nutrient ?
(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
action count
action filter_multi_types
action find_reverse
entity Q1949517
relation P129
type Q181394
type Q79529
[[{'concept': 'Q181394'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?l WHERE { VALUES ( ?r ) { ( ontology:Q181394 ) ( ontology:Q79529 ) } . ?s rdf:type ?r } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:Q79529 ) ( ontology:Q181394 ) } } . ?g property:P129 resource:Q1949517 } } . FILTER ( ?x = ?f ) }
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
action count
action filter_multi_types
action find_reverse
entity 5-hydroxytryptamine receptor 2A
relation physically interacts with
type nutrient
type chemical substance
[[{'concept': 'nutrient'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?l WHERE { VALUES ( ?r ) { ( ontology:nutrient ) ( ontology:chemical_substance ) } . ?s rdf:type ?r } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:chemical_substance ) ( ontology:nutrient ) } } . ?g property:physically_interacts_with resource:5-hydroxytryptamine_receptor_2A } } . FILTER ( ?x = ?f ) }
[]
nutrient nutrient chemical substance
SYSTEM
3
Q4639596 Q21115043 Q1949517
(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
action count
action filter_multi_types
action find_reverse
entity Q1949517
relation P129
type Q181394
type Q79529
[ANSWER]
[[{'concept': 'Q181394'}, {'concept': 'Q79529'}], 'P129', {'concept': 'Q181394'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?l WHERE { VALUES ( ?r ) { ( ontology:Q181394 ) ( ontology:Q79529 ) } . ?s rdf:type ?r } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:Q79529 ) ( ontology:Q181394 ) } } . ?g property:P129 resource:Q1949517 } } . FILTER ( ?x = ?f ) }
5-hydroxytryptamine receptor 2B 5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 2A
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
action count
action filter_multi_types
action find_reverse
entity 5-hydroxytryptamine receptor 2A
relation physically interacts with
type nutrient
type chemical substance
[[{'concept': 'nutrient'}, {'concept': 'chemical substance'}], 'physically interacts with', {'concept': 'nutrient'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) ?l WHERE { VALUES ( ?r ) { ( ontology:nutrient ) ( ontology:chemical_substance ) } . ?s rdf:type ?r } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:chemical_substance ) ( ontology:nutrient ) } } . ?g property:physically_interacts_with resource:5-hydroxytryptamine_receptor_2A } } . FILTER ( ?x = ?f ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9351
P170
Q502895
USER
Which person is credited with creation of Pikachu ?
(Q9351,P170,c(Q502895))
action filter_type
action find
entity Q9351
relation P170
type Q502895
['Q9351', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q9351 property:P170 ?q . ?q rdf:type ontology:Q502895 }
Pikachu
action filter_type
action find
entity Pikachu
relation creator
type common name
['Pikachu', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Pikachu property:creator ?q . ?q rdf:type ontology:common_name }
[]
common name
Q457871
SYSTEM
Ken Sugimori
Q457871
(Q9351,P170,c(Q502895))
action filter_type
action find
entity Q9351
relation P170
type Q502895
[ANSWER] is credited with creation of Pikachu
['Q9351', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q9351 property:P170 ?q . ?q rdf:type ontology:Q502895 }
Ken Sugimori
Ken Sugimori is credited with creation of Pikachu
Ken Sugimori
action filter_type
action find
entity Pikachu
relation creator
type common name
['Pikachu', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Pikachu property:creator ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q457871
P287
Q166142
USER
Which application was designed by that person ?
(c(Q166142),P287,Q457871)
action filter_type
action find_reverse
entity Q457871
relation P287
type Q166142
[{'concept': 'Q166142'}, 'P287', 'Q457871']
SELECT DISTINCT ?b WHERE { ?b property:P287 resource:Q457871 . ?b rdf:type ontology:Q166142 }
Ken Sugimori
action filter_type
action find_reverse
entity Ken Sugimori
relation designer
type application
[{'concept': 'application'}, 'designer', 'Ken Sugimori']
SELECT DISTINCT ?b WHERE { ?b property:designer resource:Ken_Sugimori . ?b rdf:type ontology:application }
[]
application
Q11309363
SYSTEM
Smart Ball
Q11309363
(c(Q166142),P287,Q457871)
action filter_type
action find_reverse
entity Q457871
relation P287
type Q166142
[ANSWER] was designed by that person
[{'concept': 'Q166142'}, 'P287', 'Q457871']
SELECT DISTINCT ?b WHERE { ?b property:P287 resource:Q457871 . ?b rdf:type ontology:Q166142 }
Smart Ball
Smart Ball was designed by that person
Smart Ball
action filter_type
action find_reverse
entity Ken Sugimori
relation designer
type application
[{'concept': 'application'}, 'designer', 'Ken Sugimori']
SELECT DISTINCT ?b WHERE { ?b property:designer resource:Ken_Sugimori . ?b rdf:type ontology:application }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11309363
P437
Q47574
USER
Which unit of measurement was used as the method of distribution of that application ?
(Q11309363,P437,c(Q47574))
action filter_type
action find
entity Q11309363
relation P437
type Q47574
['Q11309363', 'P437', {'concept': 'Q47574'}]
SELECT DISTINCT ?c WHERE { resource:Q11309363 property:P437 ?c . ?c rdf:type ontology:Q47574 }
Smart Ball
action filter_type
action find
entity Smart Ball
relation distribution
type unit of measurement
['Smart Ball', 'distribution', {'concept': 'unit of measurement'}]
SELECT DISTINCT ?c WHERE { resource:Smart_Ball property:distribution ?c . ?c rdf:type ontology:unit_of_measurement }
[]
unit of measurement
Q3332814
SYSTEM
megabit
Q3332814
(Q11309363,P437,c(Q47574))
action filter_type
action find
entity Q11309363
relation P437
type Q47574
[ANSWER] was used as the method of distribution of that application
['Q11309363', 'P437', {'concept': 'Q47574'}]
SELECT DISTINCT ?c WHERE { resource:Q11309363 property:P437 ?c . ?c rdf:type ontology:Q47574 }
megabit
Megabit was used as the method of distribution of that application
megabit
action filter_type
action find
entity Smart Ball
relation distribution
type unit of measurement
['Smart Ball', 'distribution', {'concept': 'unit of measurement'}]
SELECT DISTINCT ?c WHERE { resource:Smart_Ball property:distribution ?c . ?c rdf:type ontology:unit_of_measurement }
[]