Simple Question (Direct)
Simple Question
Q21990004
P703
Q16521
USER
Where is Ras-related protein Rap-2a found ?
(Q21990004,P703,c(Q16521))
action filter_type
action find
entity Q21990004
relation P703
type Q16521
['Q21990004', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q16521 . resource:Q21990004 property:P703 ?d }
Ras-related protein Rap-2a
action filter_type
action find
entity Ras-related protein Rap-2a
relation found in taxon
type taxon
['Ras-related protein Rap-2a', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:taxon . resource:Ras-related_protein_Rap-2a property:found_in_taxon ?d }
[]
taxon
Q83310
SYSTEM
Mus musculus
Q83310
(Q21990004,P703,c(Q16521))
action filter_type
action find
entity Q21990004
relation P703
type Q16521
Is Ras-related protein Rap-2 a found in [ANSWER]
['Q21990004', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q16521 . resource:Q21990004 property:P703 ?d }
Mus musculus
Is Ras-related protein Rap-2 a found in Mus musculus
Mus musculus
action filter_type
action find
entity Ras-related protein Rap-2a
relation found in taxon
type taxon
['Ras-related protein Rap-2a', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:taxon . resource:Ras-related_protein_Rap-2a property:found_in_taxon ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21990004
P681
Q15989253
USER
Which is the part that is a component of Ras-related protein Rap-2a ?
(Q21990004,P681,c(Q15989253))
action filter_type
action find
entity Q21990004
relation P681
type Q15989253
['Q21990004', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?w WHERE { resource:Q21990004 property:P681 ?w . ?w rdf:type ontology:Q15989253 }
Ras-related protein Rap-2a
action filter_type
action find
entity Ras-related protein Rap-2a
relation cell component
type part
['Ras-related protein Rap-2a', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?w WHERE { resource:Ras-related_protein_Rap-2a property:cell_component ?w . ?w rdf:type ontology:part }
[]
part
Q14349455
SYSTEM
membrane
Q14349455
(Q21990004,P681,c(Q15989253))
action filter_type
action find
entity Q21990004
relation P681
type Q15989253
The [ANSWER] is the part that is a component of Ras-related protein Rap-2a
['Q21990004', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?w WHERE { resource:Q21990004 property:P681 ?w . ?w rdf:type ontology:Q15989253 }
membrane
The membrane is the part that is a component of Ras-related protein Rap-2a
membrane
action filter_type
action find
entity Ras-related protein Rap-2a
relation cell component
type part
['Ras-related protein Rap-2a', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?w WHERE { resource:Ras-related_protein_Rap-2a property:cell_component ?w . ?w rdf:type ontology:part }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q21990004
Q5058355
USER
And which cellular component?
(Q21990004,P681,c(Q5058355))
action filter_type
action find
entity Q21990004
relation P681
type Q5058355
['Q21990004', 'P681', {'concept': 'Q5058355'}]
SELECT DISTINCT ?j WHERE { resource:Q21990004 property:P681 ?j . ?j rdf:type ontology:Q5058355 }
Ras-related protein Rap-2a
action filter_type
action find
entity Ras-related protein Rap-2a
relation cell component
type cellular component
['Ras-related protein Rap-2a', 'cell component', {'concept': 'cellular component'}]
SELECT DISTINCT ?j WHERE { resource:Ras-related_protein_Rap-2a property:cell_component ?j . ?j rdf:type ontology:cellular_component }
[]
cellular component
Q29548 Q14762605
SYSTEM
plasma membrane, midbody
Q29548 Q14762605
(Q21990004,P681,c(Q5058355))
action filter_type
action find
entity Q21990004
relation P681
type Q5058355
[ANSWERS]
['Q21990004', 'P681', {'concept': 'Q5058355'}]
SELECT DISTINCT ?j WHERE { resource:Q21990004 property:P681 ?j . ?j rdf:type ontology:Q5058355 }
plasma membrane midbody
plasma membrane midbody
action filter_type
action find
entity Ras-related protein Rap-2a
relation cell component
type cellular component
['Ras-related protein Rap-2a', 'cell component', {'concept': 'cellular component'}]
SELECT DISTINCT ?j WHERE { resource:Ras-related_protein_Rap-2a property:cell_component ?j . ?j rdf:type ontology:cellular_component }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q23618371
P681
Q181394
USER
Do tryptophan halogenase    CC_1002 have those ones as their cell component ?
(Q23618371,P681,Q29548) (Q23618371,P681,Q14762605)
action is_in
entity prev_answer
action find
entity Q23618371
relation P681
['Q23618371', 'P681', 'Q29548'] ['Q23618371', 'P681', 'Q14762605']
ASK WHERE { resource:Q23618371 property:P681 ?x . VALUES ( ?x ) { ( resource:Q29548 ) ( resource:Q14762605 ) } }
tryptophan halogenase    CC_1002
action is_in
entity prev_answer
action find
entity tryptophan halogenase    CC_1002
relation cell component
['tryptophan halogenase    CC_1002', 'cell component', 'plasma membrane'] ['tryptophan halogenase    CC_1002', 'cell component', 'midbody']
ASK WHERE { resource:tryptophan_halogenase____CC_1002 property:cell_component ?x . VALUES ( ?x ) { ( resource:plasma_membrane ) ( resource:midbody ) } }
[]
nutrient
SYSTEM
NO
(Q23618371,P681,Q29548) (Q23618371,P681,Q14762605)
action is_in
entity prev_answer
action find
entity Q23618371
relation P681
[ANSWER]
['Q23618371', 'P681', 'Q29548'] ['Q23618371', 'P681', 'Q14762605']
ASK WHERE { resource:Q23618371 property:P681 ?x . VALUES ( ?x ) { ( resource:Q29548 ) ( resource:Q14762605 ) } }
No
action is_in
entity prev_answer
action find
entity tryptophan halogenase    CC_1002
relation cell component
['tryptophan halogenase    CC_1002', 'cell component', 'plasma membrane'] ['tryptophan halogenase    CC_1002', 'cell component', 'midbody']
ASK WHERE { resource:tryptophan_halogenase____CC_1002 property:cell_component ?x . VALUES ( ?x ) { ( resource:plasma_membrane ) ( resource:midbody ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q83310 Q21990004
P703 P688
Q863908
USER
Which nucleic acid sequences encodes Ras-related protein Rap-2a and are a part of the taxon Mus musculus ?
AND((c(Q863908),P688,Q21990004), (c(Q863908),P703,Q83310))
action filter_type
action intersection
action find_reverse
entity Q21990004
relation P688
action find_reverse
entity Q83310
relation P703
type Q863908
{'AND': [[{'concept': 'Q863908'}, 'P688', 'Q21990004'], [{'concept': 'Q863908'}, 'P703', 'Q83310']]}
SELECT DISTINCT ?e WHERE { ?e property:P688 resource:Q21990004 . ?e property:P703 resource:Q83310 . ?e rdf:type ontology:Q863908 }
Mus musculus Ras-related protein Rap-2a
action filter_type
action intersection
action find_reverse
entity Ras-related protein Rap-2a
relation encodes
action find_reverse
entity Mus musculus
relation found in taxon
type nucleic acid sequence
{'AND': [[{'concept': 'nucleic acid sequence'}, 'encodes', 'Ras-related protein Rap-2a'], [{'concept': 'nucleic acid sequence'}, 'found in taxon', 'Mus musculus']]}
SELECT DISTINCT ?e WHERE { ?e property:encodes resource:Ras-related_protein_Rap-2a . ?e property:found_in_taxon resource:Mus_musculus . ?e rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18267875
SYSTEM
Rap2a
Q18267875
AND((c(Q863908),P688,Q21990004), (c(Q863908),P703,Q83310))
action filter_type
action intersection
action find_reverse
entity Q21990004
relation P688
action find_reverse
entity Q83310
relation P703
type Q863908
[ANSWER] encodes Ras-related protein Rap-2a and are a part of the taxon Mus musculus
{'AND': [[{'concept': 'Q863908'}, 'P688', 'Q21990004'], [{'concept': 'Q863908'}, 'P703', 'Q83310']]}
SELECT DISTINCT ?e WHERE { ?e property:P688 resource:Q21990004 . ?e property:P703 resource:Q83310 . ?e rdf:type ontology:Q863908 }
Rap2a
Rap2a encodes Ras-related protein Rap-2a and are a part of the taxon Mus musculus
Rap2a
action filter_type
action intersection
action find_reverse
entity Ras-related protein Rap-2a
relation encodes
action find_reverse
entity Mus musculus
relation found in taxon
type nucleic acid sequence
{'AND': [[{'concept': 'nucleic acid sequence'}, 'encodes', 'Ras-related protein Rap-2a'], [{'concept': 'nucleic acid sequence'}, 'found in taxon', 'Mus musculus']]}
SELECT DISTINCT ?e WHERE { ?e property:encodes resource:Ras-related_protein_Rap-2a . ?e property:found_in_taxon resource:Mus_musculus . ?e rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q18267875 Q24614801
P684
Q863908
USER
Is KANSL1 an orthologous gene for that one ?
(Q18267875,P684,Q24614801)
action is_in
entity Q24614801
action find
entity Q18267875
relation P684
['Q18267875', 'P684', 'Q24614801']
ASK WHERE { resource:Q18267875 property:P684 resource:Q24614801 }
Rap2a KANSL1
action is_in
entity KANSL1
action find
entity Rap2a
relation ortholog
['Rap2a', 'ortholog', 'KANSL1']
ASK WHERE { resource:Rap2a property:ortholog resource:KANSL1 }
[]
nucleic acid sequence
SYSTEM
NO
(Q18267875,P684,Q24614801)
action is_in
entity Q24614801
action find
entity Q18267875
relation P684
[ANSWER]
['Q18267875', 'P684', 'Q24614801']
ASK WHERE { resource:Q18267875 property:P684 resource:Q24614801 }
No
action is_in
entity KANSL1
action find
entity Rap2a
relation ortholog
['Rap2a', 'ortholog', 'KANSL1']
ASK WHERE { resource:Rap2a property:ortholog resource:KANSL1 }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q16521 Q11060274 Q15709879
USER
Which taxons are expressed in max number of prints or artwork series ?
(c(Q11060274)|c(Q15709879),P180,c(Q16521))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q16521
type Q15709879
[[{'concept': 'Q11060274'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) ?g WHERE { { ?f property:P180 ?g . ?g rdf:type ontology:Q16521 . ?f rdf:type ontology:Q15709879 } UNION { ?f property:P180 ?g . ?g rdf:type ontology:Q16521 . ?f rdf:type ontology:Q11060274 } } GROUP BY ?g } . FILTER ( ?r = ?t ) . { SELECT DISTINCT ( MAX ( ?x ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) ?d WHERE { ?k rdf:type ?a . VALUES ( ?a ) { ( ontology:Q11060274 ) ( ontology:Q15709879 ) } } GROUP BY ?d } } }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type print
action find_reverse_tuple_counts
relation depicts
type taxon
type artwork series
[[{'concept': 'print'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) ?g WHERE { { ?f property:depicts ?g . ?g rdf:type ontology:taxon . ?f rdf:type ontology:artwork_series } UNION { ?f property:depicts ?g . ?g rdf:type ontology:taxon . ?f rdf:type ontology:print } } GROUP BY ?g } . FILTER ( ?r = ?t ) . { SELECT DISTINCT ( MAX ( ?x ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) ?d WHERE { ?k rdf:type ?a . VALUES ( ?a ) { ( ontology:print ) ( ontology:artwork_series ) } } GROUP BY ?d } } }
[]
taxon print artwork series
Q2102
SYSTEM
snake
Q2102
(c(Q11060274)|c(Q15709879),P180,c(Q16521))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q16521
type Q15709879
[ANSWER] is expressed in max number of prints or artwork series
[[{'concept': 'Q11060274'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) ?g WHERE { { ?f property:P180 ?g . ?g rdf:type ontology:Q16521 . ?f rdf:type ontology:Q15709879 } UNION { ?f property:P180 ?g . ?g rdf:type ontology:Q16521 . ?f rdf:type ontology:Q11060274 } } GROUP BY ?g } . FILTER ( ?r = ?t ) . { SELECT DISTINCT ( MAX ( ?x ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) ?d WHERE { ?k rdf:type ?a . VALUES ( ?a ) { ( ontology:Q11060274 ) ( ontology:Q15709879 ) } } GROUP BY ?d } } }
snake
Snake is expressed in max number of prints or artwork series
snake
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type print
action find_reverse_tuple_counts
relation depicts
type taxon
type artwork series
[[{'concept': 'print'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) ?g WHERE { { ?f property:depicts ?g . ?g rdf:type ontology:taxon . ?f rdf:type ontology:artwork_series } UNION { ?f property:depicts ?g . ?g rdf:type ontology:taxon . ?f rdf:type ontology:print } } GROUP BY ?g } . FILTER ( ?r = ?t ) . { SELECT DISTINCT ( MAX ( ?x ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) ?d WHERE { ?k rdf:type ?a . VALUES ( ?a ) { ( ontology:print ) ( ontology:artwork_series ) } } GROUP BY ?d } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P921
Q15416 Q838948
USER
How many television programs or works of art have that taxon as their main topic ?
(c(Q15416),P921,Q2102) (c(Q838948),P921,Q2102) (c(Q15416),P921,Q2102) (c(Q838948),P921,Q2102)
action count
action union
action filter_type
action find_reverse
entity Q2102
relation P921
type Q15416
action filter_type
action find_reverse
entity Q2102
relation P921
type Q838948
[{'concept': 'Q15416'}, 'P921', 'Q2102'] [{'concept': 'Q838948'}, 'P921', 'Q2102'] [{'concept': 'Q15416'}, 'P921', 'Q2102'] [{'concept': 'Q838948'}, 'P921', 'Q2102']
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { ?r property:P921 resource:Q2102 . ?r rdf:type ontology:Q15416 } UNION { ?r property:P921 resource:Q2102 . ?r rdf:type ontology:Q838948 } }
action count
action union
action filter_type
action find_reverse
entity snake
relation main subject
type television program
action filter_type
action find_reverse
entity snake
relation main subject
type work of art
[{'concept': 'television program'}, 'main subject', 'snake'] [{'concept': 'work of art'}, 'main subject', 'snake'] [{'concept': 'television program'}, 'main subject', 'snake'] [{'concept': 'work of art'}, 'main subject', 'snake']
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { ?r property:main_subject resource:snake . ?r rdf:type ontology:television_program } UNION { ?r property:main_subject resource:snake . ?r rdf:type ontology:work_of_art } }
[]
television program work of art
SYSTEM
24
Q716759 Q20672521 Q483591 Q483572 Q3411448 Q638014 Q1982076 Q1741360 Q6681317 Q7933486 Q600135 Q7764978 Q2295717 Q3276294 Q822660 Q5772967 Q4187157 Q464042 Q1812726 Q2578200 Q1757437 Q776607 Q7920183 Q960534
(c(Q15416),P921,Q2102) (c(Q838948),P921,Q2102) (c(Q15416),P921,Q2102) (c(Q838948),P921,Q2102)
action count
action union
action filter_type
action find_reverse
entity Q2102
relation P921
type Q15416
action filter_type
action find_reverse
entity Q2102
relation P921
type Q838948
[ANSWER]
[{'concept': 'Q15416'}, 'P921', 'Q2102'] [{'concept': 'Q838948'}, 'P921', 'Q2102'] [{'concept': 'Q15416'}, 'P921', 'Q2102'] [{'concept': 'Q838948'}, 'P921', 'Q2102']
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { ?r property:P921 resource:Q2102 . ?r rdf:type ontology:Q15416 } UNION { ?r property:P921 resource:Q2102 . ?r rdf:type ontology:Q838948 } }
Anacondas: Trail of Blood Serpentine rouge Anacondas: The Hunt for the Blood Orchid Anaconda 3: Offspring Python Boa vs. Python Komodo vs. Cobra King Cobra The Snake King's Wife Vipers Spasms The Snake King's Grandchild The Snake King Mae bia Snakes on a Plane Hisss The Snake King's Child Anaconda Sssssss Mega Python vs. Gatoroid Venom Venom Venomous Snakes on a Train
24
action count
action union
action filter_type
action find_reverse
entity snake
relation main subject
type television program
action filter_type
action find_reverse
entity snake
relation main subject
type work of art
[{'concept': 'television program'}, 'main subject', 'snake'] [{'concept': 'work of art'}, 'main subject', 'snake'] [{'concept': 'television program'}, 'main subject', 'snake'] [{'concept': 'work of art'}, 'main subject', 'snake']
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { ?r property:main_subject resource:snake . ?r rdf:type ontology:television_program } UNION { ?r property:main_subject resource:snake . ?r rdf:type ontology:work_of_art } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2102
P509
Q502895
USER
Who had snake as the cause of death ?
(c(Q502895),P509,Q2102)
action filter_type
action find_reverse
entity Q2102
relation P509
type Q502895
[{'concept': 'Q502895'}, 'P509', 'Q2102']
SELECT DISTINCT ?k WHERE { ?k property:P509 resource:Q2102 . ?k rdf:type ontology:Q502895 }
snake
action filter_type
action find_reverse
entity snake
relation cause of death
type common name
[{'concept': 'common name'}, 'cause of death', 'snake']
SELECT DISTINCT ?k WHERE { ?k property:cause_of_death resource:snake . ?k rdf:type ontology:common_name }
[]
common name
Q339094
SYSTEM
Gunther
Q339094
(c(Q502895),P509,Q2102)
action filter_type
action find_reverse
entity Q2102
relation P509
type Q502895
[ANSWER] had snake as the cause of death
[{'concept': 'Q502895'}, 'P509', 'Q2102']
SELECT DISTINCT ?k WHERE { ?k property:P509 resource:Q2102 . ?k rdf:type ontology:Q502895 }
Gunther
Gunther had snake as the cause of death
Gunther
action filter_type
action find_reverse
entity snake
relation cause of death
type common name
[{'concept': 'common name'}, 'cause of death', 'snake']
SELECT DISTINCT ?k WHERE { ?k property:cause_of_death resource:snake . ?k rdf:type ontology:common_name }
[]