Simple Question (Direct)
Simple Question
Q21987642
P681
Q15989253
USER
Which part is a component of Protein lyl-1 ?
(Q21987642,P681,c(Q15989253))
action filter_type
action find
entity Q21987642
relation P681
type Q15989253
['Q21987642', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?i WHERE { resource:Q21987642 property:P681 ?i . ?i rdf:type ontology:Q15989253 }
Protein lyl-1
action filter_type
action find
entity Protein lyl-1
relation cell component
type part
['Protein lyl-1', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?i WHERE { resource:Protein_lyl-1 property:cell_component ?i . ?i rdf:type ontology:part }
[]
part
Q40260
SYSTEM
nucleus
Q40260
(Q21987642,P681,c(Q15989253))
action filter_type
action find
entity Q21987642
relation P681
type Q15989253
Nucleo [ANSWER] is a component of Protein lyl-1
['Q21987642', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?i WHERE { resource:Q21987642 property:P681 ?i . ?i rdf:type ontology:Q15989253 }
nucleus
Nucleo nucleus is a component of Protein lyl-1
nucleus
action filter_type
action find
entity Protein lyl-1
relation cell component
type part
['Protein lyl-1', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?i WHERE { resource:Protein_lyl-1 property:cell_component ?i . ?i rdf:type ontology:part }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21987642
P703
Q16521
USER
Which taxon is Protein lyl-1 found in ?
(Q21987642,P703,c(Q16521))
action filter_type
action find
entity Q21987642
relation P703
type Q16521
['Q21987642', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?y WHERE { resource:Q21987642 property:P703 ?y . ?y rdf:type ontology:Q16521 }
Protein lyl-1
action filter_type
action find
entity Protein lyl-1
relation found in taxon
type taxon
['Protein lyl-1', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?y WHERE { resource:Protein_lyl-1 property:found_in_taxon ?y . ?y rdf:type ontology:taxon }
[]
taxon
Q83310
SYSTEM
Mus musculus
Q83310
(Q21987642,P703,c(Q16521))
action filter_type
action find
entity Q21987642
relation P703
type Q16521
Protein lyl-1 is found in [ANSWER]
['Q21987642', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?y WHERE { resource:Q21987642 property:P703 ?y . ?y rdf:type ontology:Q16521 }
Mus musculus
Protein lyl-1 is found in Mus musculus
Mus musculus
action filter_type
action find
entity Protein lyl-1
relation found in taxon
type taxon
['Protein lyl-1', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?y WHERE { resource:Protein_lyl-1 property:found_in_taxon ?y . ?y rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21987642
P688
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(c(Q863908),P688,Q83310)
action filter_type
action find_reverse
entity Q21987642
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q83310']
SELECT DISTINCT ?z WHERE { ?z property:P688 resource:Q21987642 . ?z rdf:type ontology:Q863908 }
Protein lyl-1
action filter_type
action find_reverse
entity Protein lyl-1
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Mus musculus']
SELECT DISTINCT ?z WHERE { ?z property:encodes resource:Protein_lyl-1 . ?z rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18252148
SYSTEM
Lyl1
Q18252148
(c(Q863908),P688,Q83310)
action filter_type
action find_reverse
entity Q21987642
relation P688
type Q863908
[ANSWER] encodes that nutrient
[{'concept': 'Q863908'}, 'P688', 'Q83310']
SELECT DISTINCT ?z WHERE { ?z property:P688 resource:Q21987642 . ?z rdf:type ontology:Q863908 }
Lyl1
Lyl1 encodes that nutrient
Lyl1
action filter_type
action find_reverse
entity Protein lyl-1
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Mus musculus']
SELECT DISTINCT ?z WHERE { ?z property:encodes resource:Protein_lyl-1 . ?z rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18252148
P684
Q863908
USER
What is an otrhologus gene for that one ?
(Q18252148,P684,c(Q863908))
action filter_type
action find
entity Q18252148
relation P684
type Q863908
['Q18252148', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?z WHERE { resource:Q18252148 property:P684 ?z . ?z rdf:type ontology:Q863908 }
Lyl1
action filter_type
action find
entity Lyl1
relation ortholog
type nucleic acid sequence
['Lyl1', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?z WHERE { resource:Lyl1 property:ortholog ?z . ?z rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18028724
SYSTEM
LYL1
Q18028724
(Q18252148,P684,c(Q863908))
action filter_type
action find
entity Q18252148
relation P684
type Q863908
An otrhologus gene for that one is the [ANSWER]
['Q18252148', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?z WHERE { resource:Q18252148 property:P684 ?z . ?z rdf:type ontology:Q863908 }
LYL1
An otrhologus gene for that one is the LYL1
LYL1
action filter_type
action find
entity Lyl1
relation ortholog
type nucleic acid sequence
['Lyl1', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?z WHERE { resource:Lyl1 property:ortholog ?z . ?z rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q18028724 Q22987678
P688
Q181394
USER
Is 2,3-bisphosphoglycerate-independent phosphoglycerate mutase    FTT_1329 encoded by that nucleic acid sequence ?
(Q18028724,P688,Q22987678)
action is_in
entity Q22987678
action find
entity Q18028724
relation P688
['Q18028724', 'P688', 'Q22987678']
ASK WHERE { resource:Q18028724 property:P688 resource:Q22987678 }
LYL1 2,3-bisphosphoglycerate-independent phosphoglycerate mutase    FTT_1329
action is_in
entity 2,3-bisphosphoglycerate-independent phosphoglycerate mutase    FTT_1329
action find
entity LYL1
relation encodes
['LYL1', 'encodes', '2,3-bisphosphoglycerate-independent phosphoglycerate mutase    FTT_1329']
ASK WHERE { resource:LYL1 property:encodes resource:2,3-bisphosphoglycerate-independent_phosphoglycerate_mutase____FTT_1329 }
[]
nutrient
SYSTEM
NO
(Q18028724,P688,Q22987678)
action is_in
entity Q22987678
action find
entity Q18028724
relation P688
[ANSWER]
['Q18028724', 'P688', 'Q22987678']
ASK WHERE { resource:Q18028724 property:P688 resource:Q22987678 }
No
action is_in
entity 2,3-bisphosphoglycerate-independent phosphoglycerate mutase    FTT_1329
action find
entity LYL1
relation encodes
['LYL1', 'encodes', '2,3-bisphosphoglycerate-independent phosphoglycerate mutase    FTT_1329']
ASK WHERE { resource:LYL1 property:encodes resource:2,3-bisphosphoglycerate-independent_phosphoglycerate_mutase____FTT_1329 }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18252148 Q21987642 Q23625846
P688
Q181394
USER
Does Lyl1 encode Protein lyl-1 and hypothetical protein    PSPTO_0867 ?
(Q18252148,P688,Q21987642) (Q18252148,P688,Q23625846)
action is_in
entity Q18252148
action intersection
action find_reverse
entity Q21987642
relation P688
action find_reverse
entity Q23625846
relation P688
['Q18252148', 'P688', 'Q21987642'] ['Q18252148', 'P688', 'Q23625846']
ASK WHERE { resource:Q18252148 property:P688 resource:Q21987642 . resource:Q18252148 property:P688 resource:Q23625846 }
Lyl1 Protein lyl-1 hypothetical protein    PSPTO_0867
action is_in
entity Lyl1
action intersection
action find_reverse
entity Protein lyl-1
relation encodes
action find_reverse
entity hypothetical protein    PSPTO_0867
relation encodes
['Lyl1', 'encodes', 'Protein lyl-1'] ['Lyl1', 'encodes', 'hypothetical protein    PSPTO_0867']
ASK WHERE { resource:Lyl1 property:encodes resource:Protein_lyl-1 . resource:Lyl1 property:encodes resource:hypothetical_protein____PSPTO_0867 }
[]
nutrient
SYSTEM
YES and NO respectively
(Q18252148,P688,Q21987642) (Q18252148,P688,Q23625846)
action is_in
entity Q18252148
action intersection
action find_reverse
entity Q21987642
relation P688
action find_reverse
entity Q23625846
relation P688
[ANSWER]
['Q18252148', 'P688', 'Q21987642'] ['Q18252148', 'P688', 'Q23625846']
ASK WHERE { resource:Q18252148 property:P688 resource:Q21987642 . resource:Q18252148 property:P688 resource:Q23625846 }
YES and NO respectively
action is_in
entity Lyl1
action intersection
action find_reverse
entity Protein lyl-1
relation encodes
action find_reverse
entity hypothetical protein    PSPTO_0867
relation encodes
['Lyl1', 'encodes', 'Protein lyl-1'] ['Lyl1', 'encodes', 'hypothetical protein    PSPTO_0867']
ASK WHERE { resource:Lyl1 property:encodes resource:Protein_lyl-1 . resource:Lyl1 property:encodes resource:hypothetical_protein____PSPTO_0867 }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q16521 Q11060274 Q18783400
USER
Which taxons are demonstrated in exactly 2 prints and genres of sculpture ?
(c(Q11060274)|c(Q18783400),P180,c(Q16521))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q16521
type Q18783400
value 2
[[{'concept': 'Q11060274'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?u ) WHERE { { ?s property:P180 ?j . ?j rdf:type ontology:Q16521 . ?s rdf:type ontology:Q18783400 } UNION { ?s property:P180 ?j . ?s rdf:type ontology:Q11060274 . ?j rdf:type ontology:Q16521 } } GROUP BY ?j } . FILTER ( ?u = 2 ) }
action equal
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type print
action find_reverse_tuple_counts
relation depicts
type taxon
type genre of sculpture
value 2
[[{'concept': 'print'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?u ) WHERE { { ?s property:depicts ?j . ?j rdf:type ontology:taxon . ?s rdf:type ontology:genre_of_sculpture } UNION { ?s property:depicts ?j . ?s rdf:type ontology:print . ?j rdf:type ontology:taxon } } GROUP BY ?j } . FILTER ( ?u = 2 ) }
[]
taxon print genre of sculpture
Q2102 Q140
SYSTEM
snake, lion
Q2102 Q140
(c(Q11060274)|c(Q18783400),P180,c(Q16521))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q16521
type Q18783400
value 2
[ANSWERS] are demonstrated in exactly 2 prints and genres of sculpture
[[{'concept': 'Q11060274'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?u ) WHERE { { ?s property:P180 ?j . ?j rdf:type ontology:Q16521 . ?s rdf:type ontology:Q18783400 } UNION { ?s property:P180 ?j . ?s rdf:type ontology:Q11060274 . ?j rdf:type ontology:Q16521 } } GROUP BY ?j } . FILTER ( ?u = 2 ) }
snake lion
Snake and lion are demonstrated in exactly 2 prints and genres of sculpture
snake lion
action equal
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type print
action find_reverse_tuple_counts
relation depicts
type taxon
type genre of sculpture
value 2
[[{'concept': 'print'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?u ) WHERE { { ?s property:depicts ?j . ?j rdf:type ontology:taxon . ?s rdf:type ontology:genre_of_sculpture } UNION { ?s property:depicts ?j . ?s rdf:type ontology:print . ?j rdf:type ontology:taxon } } GROUP BY ?j } . FILTER ( ?u = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q18252148 Q582356
P684
Q863908
USER
How many nucleic acid sequences are the species that have Lyl1 or Interferon gamma-1b as their orthologous gene ?
(c(Q863908),P684,Q18252148) (c(Q863908),P684,Q582356)
action count
action union
action filter_type
action find_reverse
entity Q18252148
relation P684
type Q863908
action filter_type
action find_reverse
entity Q582356
relation P684
type Q863908
[{'concept': 'Q863908'}, 'P684', 'Q18252148'] [{'concept': 'Q863908'}, 'P684', 'Q582356']
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { ?d property:P684 resource:Q18252148 . ?d rdf:type ontology:Q863908 } UNION { ?d rdf:type ontology:Q863908 . ?d property:P684 resource:Q582356 } }
Lyl1 Interferon gamma-1b
action count
action union
action filter_type
action find_reverse
entity Lyl1
relation ortholog
type nucleic acid sequence
action filter_type
action find_reverse
entity Interferon gamma-1b
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'Lyl1'] [{'concept': 'nucleic acid sequence'}, 'ortholog', 'Interferon gamma-1b']
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { ?d property:ortholog resource:Lyl1 . ?d rdf:type ontology:nucleic_acid_sequence } UNION { ?d rdf:type ontology:nucleic_acid_sequence . ?d property:ortholog resource:Interferon_gamma-1b } }
[]
nucleic acid sequence
SYSTEM
2
Q18028724 Q18251435
(c(Q863908),P684,Q18252148) (c(Q863908),P684,Q582356)
action count
action union
action filter_type
action find_reverse
entity Q18252148
relation P684
type Q863908
action filter_type
action find_reverse
entity Q582356
relation P684
type Q863908
[ANSWER]
[{'concept': 'Q863908'}, 'P684', 'Q18252148'] [{'concept': 'Q863908'}, 'P684', 'Q582356']
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { ?d property:P684 resource:Q18252148 . ?d rdf:type ontology:Q863908 } UNION { ?d rdf:type ontology:Q863908 . ?d property:P684 resource:Q582356 } }
LYL1 Ifng
2
action count
action union
action filter_type
action find_reverse
entity Lyl1
relation ortholog
type nucleic acid sequence
action filter_type
action find_reverse
entity Interferon gamma-1b
relation ortholog
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'ortholog', 'Lyl1'] [{'concept': 'nucleic acid sequence'}, 'ortholog', 'Interferon gamma-1b']
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { ?d property:ortholog resource:Lyl1 . ?d rdf:type ontology:nucleic_acid_sequence } UNION { ?d rdf:type ontology:nucleic_acid_sequence . ?d property:ortholog resource:Interferon_gamma-1b } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q12004
P180
Q16521 Q3305213 Q340169
USER
How many taxons are demonstrated in more number of paintings and medias than Quercus ?
(c(Q3305213)|c(Q340169),P180,c(Q16521))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q16521
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q12004
relation P180
type Q3305213
type Q340169
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?y ) WHERE { ?e rdf:type ?b . VALUES ( ?b ) { ( ontology:Q3305213 ) ( ontology:Q340169 ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:P180 resource:Q12004 . { { ?c rdf:type ontology:Q3305213 } UNION { ?c rdf:type ontology:Q340169 } } } } . FILTER ( ?y > ?o ) }
Quercus
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type painting
action find_reverse_tuple_counts
relation depicts
type taxon
type media
action count
action filter_multi_types
action find_reverse
entity Quercus
relation depicts
type painting
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?y ) WHERE { ?e rdf:type ?b . VALUES ( ?b ) { ( ontology:painting ) ( ontology:media ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:depicts resource:Quercus . { { ?c rdf:type ontology:painting } UNION { ?c rdf:type ontology:media } } } } . FILTER ( ?y > ?o ) }
[]
taxon painting media
SYSTEM
49
Q156895 Q179367 Q71516 Q1029638 Q787 Q10998 Q93201 Q25408 Q147783 Q36050 Q192056 Q146911 Q19707 Q163963 Q14560 Q157236 Q28507 Q26771 Q25350 Q25222 Q148650 Q12024 Q756 Q30944 Q5113 Q2102 Q43238 Q2047589 Q133006 Q651012 Q26158 Q22724 Q46076 Q2934 Q186101 Q146269 Q140 Q146 Q130980 Q1047931 Q19939 Q729 Q26899 Q34687 Q157343 Q381584 Q158984 Q42292 Q157154
(c(Q3305213)|c(Q340169),P180,c(Q16521))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q16521
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q12004
relation P180
type Q3305213
type Q340169
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?y ) WHERE { ?e rdf:type ?b . VALUES ( ?b ) { ( ontology:Q3305213 ) ( ontology:Q340169 ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:P180 resource:Q12004 . { { ?c rdf:type ontology:Q3305213 } UNION { ?c rdf:type ontology:Q340169 } } } } . FILTER ( ?y > ?o ) }
Betula pendula European Roller dromedary Red colobus domestic pig Solanum tuberosum Tulipa Achillea millefolium Poa pratensis Salix adder Cupressus donkey Agrostis stolonifera Cactaceae Liriodendron Ciconiidae Hedera Abies owl Nymphaeaceae Pinus plant Streptopelia bird snake Poaceae Blossom Asian elephant Viperinae Bellis perennis Ovis Lepus goat aquatic plant Populus alba lion cat Iguanodon Dactylis tiger animal Aesculus hippocastanum Rosa Veronica chamaedrys Cynoglossum officinale Dianthus caryophyllus Acer Plantago major
49
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type painting
action find_reverse_tuple_counts
relation depicts
type taxon
type media
action count
action filter_multi_types
action find_reverse
entity Quercus
relation depicts
type painting
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?y ) WHERE { ?e rdf:type ?b . VALUES ( ?b ) { ( ontology:painting ) ( ontology:media ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:depicts resource:Quercus . { { ?c rdf:type ontology:painting } UNION { ?c rdf:type ontology:media } } } } . FILTER ( ?y > ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1443415
P180
Q16521 Q3305213 Q340169
USER
And what about Haustellum haustellum?
(c(Q3305213)|c(Q340169),P180,c(Q16521))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q16521
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q1443415
relation P180
type Q3305213
type Q340169
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:P180 resource:Q1443415 . { { ?o rdf:type ontology:Q3305213 } UNION { ?o rdf:type ontology:Q340169 } } } } . FILTER ( ?r > ?u ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?t WHERE { { ?t rdf:type ontology:Q16521 . ?i rdf:type ontology:Q3305213 . ?i property:P180 ?t } UNION { ?t rdf:type ontology:Q16521 . ?i rdf:type ontology:Q340169 . ?i property:P180 ?t } } GROUP BY ?t } }
Haustellum haustellum
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type painting
action find_reverse_tuple_counts
relation depicts
type taxon
type media
action count
action filter_multi_types
action find_reverse
entity Haustellum haustellum
relation depicts
type painting
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:depicts resource:Haustellum_haustellum . { { ?o rdf:type ontology:painting } UNION { ?o rdf:type ontology:media } } } } . FILTER ( ?r > ?u ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?t WHERE { { ?t rdf:type ontology:taxon . ?i rdf:type ontology:painting . ?i property:depicts ?t } UNION { ?t rdf:type ontology:taxon . ?i rdf:type ontology:media . ?i property:depicts ?t } } GROUP BY ?t } }
[]
taxon painting media
SYSTEM
49
Q156895 Q179367 Q71516 Q1029638 Q787 Q10998 Q93201 Q25408 Q147783 Q36050 Q192056 Q146911 Q19707 Q163963 Q14560 Q157236 Q28507 Q26771 Q25350 Q25222 Q148650 Q12024 Q756 Q30944 Q5113 Q2102 Q43238 Q2047589 Q133006 Q651012 Q26158 Q22724 Q46076 Q2934 Q186101 Q146269 Q140 Q146 Q130980 Q1047931 Q19939 Q729 Q26899 Q34687 Q157343 Q381584 Q158984 Q42292 Q157154
(c(Q3305213)|c(Q340169),P180,c(Q16521))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q16521
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q1443415
relation P180
type Q3305213
type Q340169
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:P180 resource:Q1443415 . { { ?o rdf:type ontology:Q3305213 } UNION { ?o rdf:type ontology:Q340169 } } } } . FILTER ( ?r > ?u ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?t WHERE { { ?t rdf:type ontology:Q16521 . ?i rdf:type ontology:Q3305213 . ?i property:P180 ?t } UNION { ?t rdf:type ontology:Q16521 . ?i rdf:type ontology:Q340169 . ?i property:P180 ?t } } GROUP BY ?t } }
Betula pendula European Roller dromedary Red colobus domestic pig Solanum tuberosum Tulipa Achillea millefolium Poa pratensis Salix adder Cupressus donkey Agrostis stolonifera Cactaceae Liriodendron Ciconiidae Hedera Abies owl Nymphaeaceae Pinus plant Streptopelia bird snake Poaceae Blossom Asian elephant Viperinae Bellis perennis Ovis Lepus goat aquatic plant Populus alba lion cat Iguanodon Dactylis tiger animal Aesculus hippocastanum Rosa Veronica chamaedrys Cynoglossum officinale Dianthus caryophyllus Acer Plantago major
49
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type painting
action find_reverse_tuple_counts
relation depicts
type taxon
type media
action count
action filter_multi_types
action find_reverse
entity Haustellum haustellum
relation depicts
type painting
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:depicts resource:Haustellum_haustellum . { { ?o rdf:type ontology:painting } UNION { ?o rdf:type ontology:media } } } } . FILTER ( ?r > ?u ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?t WHERE { { ?t rdf:type ontology:taxon . ?i rdf:type ontology:painting . ?i property:depicts ?t } UNION { ?t rdf:type ontology:taxon . ?i rdf:type ontology:media . ?i property:depicts ?t } } GROUP BY ?t } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18028724
P702
Q181394
USER
What is the gene that is encoded by LYL1 ?
(c(Q181394),P702,Q18028724)
action filter_type
action find_reverse
entity Q18028724
relation P702
type Q181394
[{'concept': 'Q181394'}, 'P702', 'Q18028724']
SELECT DISTINCT ?z WHERE { ?z property:P702 resource:Q18028724 . ?z rdf:type ontology:Q181394 }
LYL1
action filter_type
action find_reverse
entity LYL1
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'LYL1']
SELECT DISTINCT ?z WHERE { ?z property:encoded_by resource:LYL1 . ?z rdf:type ontology:nutrient }
[]
nutrient
Q21119946
SYSTEM
Protein lyl-1
Q21119946
(c(Q181394),P702,Q18028724)
action filter_type
action find_reverse
entity Q18028724
relation P702
type Q181394
The gene that is encoded by LYL1 is [ANSWER]
[{'concept': 'Q181394'}, 'P702', 'Q18028724']
SELECT DISTINCT ?z WHERE { ?z property:P702 resource:Q18028724 . ?z rdf:type ontology:Q181394 }
Protein lyl-1
The gene that is encoded by LYL1 is Protein lyl-1
Protein lyl-1
action filter_type
action find_reverse
entity LYL1
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'LYL1']
SELECT DISTINCT ?z WHERE { ?z property:encoded_by resource:LYL1 . ?z rdf:type ontology:nutrient }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q140 Q10884
P180
Q838948
USER
How many works of art depict lion and tree ?
(c(Q838948),P180,Q140) (c(Q838948),P180,Q10884)
action count
action intersection
action filter_type
action find_reverse
entity Q140
relation P180
type Q838948
action filter_type
action find_reverse
entity Q10884
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q140'] [{'concept': 'Q838948'}, 'P180', 'Q10884']
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j property:P180 resource:Q10884 . ?j rdf:type ontology:Q838948 . ?j property:P180 resource:Q140 . ?j rdf:type ontology:Q838948 }
lion tree
action count
action intersection
action filter_type
action find_reverse
entity lion
relation depicts
type work of art
action filter_type
action find_reverse
entity tree
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'lion'] [{'concept': 'work of art'}, 'depicts', 'tree']
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j property:depicts resource:tree . ?j rdf:type ontology:work_of_art . ?j property:depicts resource:lion . ?j rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
6
Q18156272 Q18156273 Q18156279 Q18156280 Q18156247 Q18156282
(c(Q838948),P180,Q140) (c(Q838948),P180,Q10884)
action count
action intersection
action filter_type
action find_reverse
entity Q140
relation P180
type Q838948
action filter_type
action find_reverse
entity Q10884
relation P180
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P180', 'Q140'] [{'concept': 'Q838948'}, 'P180', 'Q10884']
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j property:P180 resource:Q10884 . ?j rdf:type ontology:Q838948 . ?j property:P180 resource:Q140 . ?j rdf:type ontology:Q838948 }
Hearing Sight Smell Touch Taste À mon seul désir
6
action count
action intersection
action filter_type
action find_reverse
entity lion
relation depicts
type work of art
action filter_type
action find_reverse
entity tree
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'lion'] [{'concept': 'work of art'}, 'depicts', 'tree']
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { ?j property:depicts resource:tree . ?j rdf:type ontology:work_of_art . ?j property:depicts resource:lion . ?j rdf:type ontology:work_of_art }
[]