Simple Question (Direct)
Simple Question
Q21441182
P703
Q16521
USER
Which taxon is Olfactory receptor 151 found in ?
(Q21441182,P703,c(Q16521))
action filter_type
action find
entity Q21441182
relation P703
type Q16521
['Q21441182', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?v WHERE { resource:Q21441182 property:P703 ?v . ?v rdf:type ontology:Q16521 }
Olfactory receptor 151
action filter_type
action find
entity Olfactory receptor 151
relation found in taxon
type taxon
['Olfactory receptor 151', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?v WHERE { resource:Olfactory_receptor_151 property:found_in_taxon ?v . ?v rdf:type ontology:taxon }
[]
taxon
Q83310
SYSTEM
Mus musculus
Q83310
(Q21441182,P703,c(Q16521))
action filter_type
action find
entity Q21441182
relation P703
type Q16521
Olfactory receptor 151 is found in [ANSWER]
['Q21441182', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?v WHERE { resource:Q21441182 property:P703 ?v . ?v rdf:type ontology:Q16521 }
Mus musculus
Olfactory receptor 151 is found in Mus musculus
Mus musculus
action filter_type
action find
entity Olfactory receptor 151
relation found in taxon
type taxon
['Olfactory receptor 151', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?v WHERE { resource:Olfactory_receptor_151 property:found_in_taxon ?v . ?v rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21441182
P702
Q863908
USER
Which nucleic acid sequence encodes that nutrient ?
(Q83310,P702,c(Q863908))
action filter_type
action find
entity Q21441182
relation P702
type Q863908
['Q83310', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?w WHERE { resource:Q21441182 property:P702 ?w . ?w rdf:type ontology:Q863908 }
Olfactory receptor 151
action filter_type
action find
entity Olfactory receptor 151
relation encoded by
type nucleic acid sequence
['Mus musculus', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?w WHERE { resource:Olfactory_receptor_151 property:encoded_by ?w . ?w rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18304556
SYSTEM
Olfr151
Q18304556
(Q83310,P702,c(Q863908))
action filter_type
action find
entity Q21441182
relation P702
type Q863908
[ANSWER] encodes that nutrient
['Q83310', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?w WHERE { resource:Q21441182 property:P702 ?w . ?w rdf:type ontology:Q863908 }
Olfr151
Olfr151 encodes that nutrient
Olfr151
action filter_type
action find
entity Olfactory receptor 151
relation encoded by
type nucleic acid sequence
['Mus musculus', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?w WHERE { resource:Olfactory_receptor_151 property:encoded_by ?w . ?w rdf:type ontology:nucleic_acid_sequence }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q14327652 Q18304556
P702 P681
Q181394
USER
Which nutrients are the gene that are encoded by Olfr151 and are integral component of membrane a cell component of ?
AND((c(Q181394),P702,Q18304556), (c(Q181394),P681,Q14327652))
action filter_type
action intersection
action find_reverse
entity Q18304556
relation P702
action find_reverse
entity Q14327652
relation P681
type Q181394
{'AND': [[{'concept': 'Q181394'}, 'P702', 'Q18304556'], [{'concept': 'Q181394'}, 'P681', 'Q14327652']]}
SELECT DISTINCT ?s WHERE { ?s property:P702 resource:Q18304556 . ?s property:P681 resource:Q14327652 . ?s rdf:type ontology:Q181394 }
integral component of membrane Olfr151
action filter_type
action intersection
action find_reverse
entity Olfr151
relation encoded by
action find_reverse
entity integral component of membrane
relation cell component
type nutrient
{'AND': [[{'concept': 'nutrient'}, 'encoded by', 'Olfr151'], [{'concept': 'nutrient'}, 'cell component', 'integral component of membrane']]}
SELECT DISTINCT ?s WHERE { ?s property:encoded_by resource:Olfr151 . ?s property:cell_component resource:integral_component_of_membrane . ?s rdf:type ontology:nutrient }
[]
nutrient
Q21441182
SYSTEM
Olfactory receptor 151
Q21441182
AND((c(Q181394),P702,Q18304556), (c(Q181394),P681,Q14327652))
action filter_type
action intersection
action find_reverse
entity Q18304556
relation P702
action find_reverse
entity Q14327652
relation P681
type Q181394
[ANSWER] is the gene that is encoded by Olfr151 and is integral component of membrane a cell component of
{'AND': [[{'concept': 'Q181394'}, 'P702', 'Q18304556'], [{'concept': 'Q181394'}, 'P681', 'Q14327652']]}
SELECT DISTINCT ?s WHERE { ?s property:P702 resource:Q18304556 . ?s property:P681 resource:Q14327652 . ?s rdf:type ontology:Q181394 }
Olfactory receptor 151
Olfactory receptor 151 is the gene that is encoded by Olfr151 and is integral component of membrane a cell component of
Olfactory receptor 151
action filter_type
action intersection
action find_reverse
entity Olfr151
relation encoded by
action find_reverse
entity integral component of membrane
relation cell component
type nutrient
{'AND': [[{'concept': 'nutrient'}, 'encoded by', 'Olfr151'], [{'concept': 'nutrient'}, 'cell component', 'integral component of membrane']]}
SELECT DISTINCT ?s WHERE { ?s property:encoded_by resource:Olfr151 . ?s property:cell_component resource:integral_component_of_membrane . ?s rdf:type ontology:nutrient }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21441182 Q18304556
P688
Q863908
USER
Does Olfr151 encode that nutrient ?
(Q18304556,P688,Q21441182)
action is_in
entity Q21441182
action find
entity Q18304556
relation P688
['Q18304556', 'P688', 'Q21441182']
ASK WHERE { resource:Q18304556 property:P688 resource:Q21441182 }
Olfactory receptor 151 Olfr151
action is_in
entity Olfactory receptor 151
action find
entity Olfr151
relation encodes
['Olfr151', 'encodes', 'Olfactory receptor 151']
ASK WHERE { resource:Olfr151 property:encodes resource:Olfactory_receptor_151 }
[]
nucleic acid sequence
SYSTEM
YES
(Q18304556,P688,Q21441182)
action is_in
entity Q21441182
action find
entity Q18304556
relation P688
[ANSWER]
['Q18304556', 'P688', 'Q21441182']
ASK WHERE { resource:Q18304556 property:P688 resource:Q21441182 }
Yes
action is_in
entity Olfactory receptor 151
action find
entity Olfr151
relation encodes
['Olfr151', 'encodes', 'Olfactory receptor 151']
ASK WHERE { resource:Olfr151 property:encodes resource:Olfactory_receptor_151 }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18304556 Q23494092 Q23514813
P688
Q181394
USER
Does Olfr151 encode maltose operon repressor MalR    SAG1440 and GTP pyrophosphokinase    BSU27600 ?
(Q18304556,P688,Q23494092) (Q18304556,P688,Q23514813)
action is_in
entity Q18304556
action intersection
action find_reverse
entity Q23494092
relation P688
action find_reverse
entity Q23514813
relation P688
['Q18304556', 'P688', 'Q23494092'] ['Q18304556', 'P688', 'Q23514813']
ASK WHERE { resource:Q18304556 property:P688 resource:Q23494092 . resource:Q18304556 property:P688 resource:Q23514813 }
Olfr151 maltose operon repressor MalR    SAG1440 GTP pyrophosphokinase    BSU27600
action is_in
entity Olfr151
action intersection
action find_reverse
entity maltose operon repressor MalR    SAG1440
relation encodes
action find_reverse
entity GTP pyrophosphokinase    BSU27600
relation encodes
['Olfr151', 'encodes', 'maltose operon repressor MalR    SAG1440'] ['Olfr151', 'encodes', 'GTP pyrophosphokinase    BSU27600']
ASK WHERE { resource:Olfr151 property:encodes resource:maltose_operon_repressor_MalR____SAG1440 . resource:Olfr151 property:encodes resource:GTP_pyrophosphokinase____BSU27600 }
[]
nutrient
SYSTEM
NO
(Q18304556,P688,Q23494092) (Q18304556,P688,Q23514813)
action is_in
entity Q18304556
action intersection
action find_reverse
entity Q23494092
relation P688
action find_reverse
entity Q23514813
relation P688
[ANSWER]
['Q18304556', 'P688', 'Q23494092'] ['Q18304556', 'P688', 'Q23514813']
ASK WHERE { resource:Q18304556 property:P688 resource:Q23494092 . resource:Q18304556 property:P688 resource:Q23514813 }
No
action is_in
entity Olfr151
action intersection
action find_reverse
entity maltose operon repressor MalR    SAG1440
relation encodes
action find_reverse
entity GTP pyrophosphokinase    BSU27600
relation encodes
['Olfr151', 'encodes', 'maltose operon repressor MalR    SAG1440'] ['Olfr151', 'encodes', 'GTP pyrophosphokinase    BSU27600']
ASK WHERE { resource:Olfr151 property:encodes resource:maltose_operon_repressor_MalR____SAG1440 . resource:Olfr151 property:encodes resource:GTP_pyrophosphokinase____BSU27600 }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P682
Q1057 Q181394
USER
How many metabolic processes are atmost 8852 nutrients involved in ?
(c(Q181394),P682,c(Q1057))
action count
action atmost
action find_reverse_tuple_counts
relation P682
type Q1057
type Q181394
value 8852
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?u ) WHERE { ?v property:P682 ?x . ?v rdf:type ontology:Q181394 . ?x rdf:type ontology:Q1057 } GROUP BY ?x } . FILTER ( ?u <= 8852 ) }
action count
action atmost
action find_reverse_tuple_counts
relation biological process
type metabolic process
type nutrient
value 8852
[{'concept': 'nutrient'}, 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?u ) WHERE { ?v property:biological_process ?x . ?v rdf:type ontology:nutrient . ?x rdf:type ontology:metabolic_process } GROUP BY ?x } . FILTER ( ?u <= 8852 ) }
[]
metabolic process nutrient
SYSTEM
78
Q14864889 Q14907628 Q14913194 Q22274727 Q22251129 Q14905693 Q14860777 Q21134382 Q21097138 Q14819379 Q21759902 Q21133617 Q133895 Q21157940 Q21116483 Q14863351 Q21102358 Q21114210 Q14907178 Q21121151 Q14880758 Q21761098 Q14762260 Q22275051 Q21100626 Q14913439 Q14916189 Q14349667 Q21159531 Q21111970 Q898365 Q22274640 Q22279483 Q21119973 Q14865941 Q22282595 Q14907180 Q14907181 Q14905125 Q21096256 Q14863432 Q14902250 Q21124879 Q14909347 Q15313450 Q179924 Q21101220 Q21095286 Q14863986 Q14358591 Q838181 Q21116485 Q14859896 Q21103172 Q22276072 Q14914233 Q14897831 Q14645736 Q14864262 Q14859628 Q14819787 Q21119193 Q22274791 Q14819781 Q22279537 Q22283508 Q14327719 Q22279533 Q21124620 Q14860507 Q21112195 Q14890104 Q14864417 Q14864414 Q21759328 Q900386 Q14912265 Q21760838
(c(Q181394),P682,c(Q1057))
action count
action atmost
action find_reverse_tuple_counts
relation P682
type Q1057
type Q181394
value 8852
[ANSWER]
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q1057'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?u ) WHERE { ?v property:P682 ?x . ?v rdf:type ontology:Q181394 . ?x rdf:type ontology:Q1057 } GROUP BY ?x } . FILTER ( ?u <= 8852 ) }
cellular aromatic compound metabolic process multicellular organism metabolic process cellular ketone body metabolic process secondary metabolic process proteolysis in other organism translational initiation hormone biosynthetic process cofactor metabolic process cellular aldehyde metabolic process one-carbon metabolic process carbon fixation actin modification tricarboxylic acid cycle nitrobenzene metabolic process lymphotoxin A biosynthetic process signal transduction by protein phosphorylation sulfur compound metabolic process regulation of translational initiation by eIF2 alpha dephosphorylation interleukin-2 biosynthetic process reactive nitrogen species metabolic process nucleobase-containing compound metabolic process photosynthesis carbohydrate metabolic process halogenated hydrocarbon metabolic process peptidyl-lysine modification to peptidyl-hypusine organophosphate metabolic process organic acid metabolic process lipid metabolic process selenium compound metabolic process reactive oxygen species biosynthetic process glycosylation cellular biosynthetic process cellular macromolecule metabolic process oxygen metabolic process connective tissue growth factor biosynthetic process ketone body metabolic process interleukin-13 biosynthetic process granulocyte macrophage colony-stimulating factor biosynthetic process neurotransmitter metabolic process cellular carbohydrate metabolic process reactive oxygen species metabolic process telomere maintenance via semi-conservative replication interleukin-8 biosynthetic process flavonoid metabolic process methylation-dependent chromatin silencing bioluminescence wax biosynthetic process amyloid fibril formation hormone catabolic process xenobiotic metabolic process respiratory burst interleukin-6 biosynthetic process cellular amino acid metabolic process DNA protection glycosyl compound metabolic process phosphatidic acid metabolic process isotype switching thyroid hormone metabolic process protein metabolic process cellular lipid metabolic process peptide hormone processing cellular modified amino acid metabolic process organic cyclic compound metabolic process generation of precursor metabolites and energy viral RNA genome replication IRES-dependent viral translational initiation small molecule metabolic process transposon integration transposition, DNA-mediated receptor internalization patched ligand maturation toxin metabolic process heterocycle metabolic process drug metabolic process cellular catabolic process demethylation cellular ketone metabolic process phosphorus metabolic process
78
action count
action atmost
action find_reverse_tuple_counts
relation biological process
type metabolic process
type nutrient
value 8852
[{'concept': 'nutrient'}, 'biological process', {'concept': 'metabolic process'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?u ) WHERE { ?v property:biological_process ?x . ?v rdf:type ontology:nutrient . ?x rdf:type ontology:metabolic_process } GROUP BY ?x } . FILTER ( ?u <= 8852 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1762516
P138
Q22988604 Q355304 Q16521
USER
How many taxons come from greater number of mythological Greek characters or watercourses than Javanese flying squirrel ?
(c(Q16521),P138,c(Q22988604)|c(Q355304))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q16521
type Q22988604
action find_tuple_counts
relation P138
type Q16521
type Q355304
action count
action filter_multi_types
action find
entity Q1762516
relation P138
type Q22988604
type Q355304
[{'concept': 'Q16521'}, 'P138', [{'concept': 'Q22988604'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) ?z WHERE { VALUES ( ?p ) { ( ontology:Q355304 ) ( ontology:Q22988604 ) } . ?w rdf:type ?p } GROUP BY ?z } . FILTER ( ?i > ?m ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { { ?u rdf:type ontology:Q22988604 } UNION { ?u rdf:type ontology:Q355304 } } . resource:Q1762516 property:P138 ?u } } }
Javanese flying squirrel
action count
action greater
action union
action find_tuple_counts
relation named after
type taxon
type mythological Greek character
action find_tuple_counts
relation named after
type taxon
type watercourse
action count
action filter_multi_types
action find
entity Javanese flying squirrel
relation named after
type mythological Greek character
type watercourse
[{'concept': 'taxon'}, 'named after', [{'concept': 'mythological Greek character'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) ?z WHERE { VALUES ( ?p ) { ( ontology:watercourse ) ( ontology:mythological_Greek_character ) } . ?w rdf:type ?p } GROUP BY ?z } . FILTER ( ?i > ?m ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { { ?u rdf:type ontology:mythological_Greek_character } UNION { ?u rdf:type ontology:watercourse } } . resource:Javanese_flying_squirrel property:named_after ?u } } }
[]
mythological Greek character watercourse taxon
SYSTEM
9
Q15711073 Q4418984 Q526115 Q1187229 Q15648391 Q14534987 Q15728416 Q2967539 Q20635184
(c(Q16521),P138,c(Q22988604)|c(Q355304))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q16521
type Q22988604
action find_tuple_counts
relation P138
type Q16521
type Q355304
action count
action filter_multi_types
action find
entity Q1762516
relation P138
type Q22988604
type Q355304
[ANSWER]
[{'concept': 'Q16521'}, 'P138', [{'concept': 'Q22988604'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) ?z WHERE { VALUES ( ?p ) { ( ontology:Q355304 ) ( ontology:Q22988604 ) } . ?w rdf:type ?p } GROUP BY ?z } . FILTER ( ?i > ?m ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { { ?u rdf:type ontology:Q22988604 } UNION { ?u rdf:type ontology:Q355304 } } . resource:Q1762516 property:P138 ?u } } }
Doryphoribius huangguoshuensis Sisyphus Zethus Ascalaphidae Xi River virus Labium Blue River virus Chthonius minotaurus Geophilus hadesi
9
action count
action greater
action union
action find_tuple_counts
relation named after
type taxon
type mythological Greek character
action find_tuple_counts
relation named after
type taxon
type watercourse
action count
action filter_multi_types
action find
entity Javanese flying squirrel
relation named after
type mythological Greek character
type watercourse
[{'concept': 'taxon'}, 'named after', [{'concept': 'mythological Greek character'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) ?z WHERE { VALUES ( ?p ) { ( ontology:watercourse ) ( ontology:mythological_Greek_character ) } . ?w rdf:type ?p } GROUP BY ?z } . FILTER ( ?i > ?m ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { { { ?u rdf:type ontology:mythological_Greek_character } UNION { ?u rdf:type ontology:watercourse } } . resource:Javanese_flying_squirrel property:named_after ?u } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q14474056
P138
Q22988604 Q355304 Q16521
USER
And how about Tetramorium nazgul?
(c(Q16521),P138,c(Q22988604)|c(Q355304))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q16521
type Q22988604
action find_tuple_counts
relation P138
type Q16521
type Q355304
action count
action filter_multi_types
action find
entity Q14474056
relation P138
type Q22988604
type Q355304
[{'concept': 'Q16521'}, 'P138', [{'concept': 'Q22988604'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:Q14474056 property:P138 ?y . { { ?y rdf:type ontology:Q22988604 } UNION { ?y rdf:type ontology:Q355304 } } } } . FILTER ( ?r > ?d ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?s WHERE { { ?s property:P138 ?z . ?s rdf:type ontology:Q16521 . ?z rdf:type ontology:Q355304 } UNION { ?s property:P138 ?z . ?s rdf:type ontology:Q16521 . ?z rdf:type ontology:Q22988604 } } GROUP BY ?s } }
Tetramorium nazgul
action count
action greater
action union
action find_tuple_counts
relation named after
type taxon
type mythological Greek character
action find_tuple_counts
relation named after
type taxon
type watercourse
action count
action filter_multi_types
action find
entity Tetramorium nazgul
relation named after
type mythological Greek character
type watercourse
[{'concept': 'taxon'}, 'named after', [{'concept': 'mythological Greek character'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:Tetramorium_nazgul property:named_after ?y . { { ?y rdf:type ontology:mythological_Greek_character } UNION { ?y rdf:type ontology:watercourse } } } } . FILTER ( ?r > ?d ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?s WHERE { { ?s property:named_after ?z . ?s rdf:type ontology:taxon . ?z rdf:type ontology:watercourse } UNION { ?s property:named_after ?z . ?s rdf:type ontology:taxon . ?z rdf:type ontology:mythological_Greek_character } } GROUP BY ?s } }
[]
mythological Greek character watercourse taxon
SYSTEM
9
Q15711073 Q4418984 Q526115 Q1187229 Q15648391 Q14534987 Q15728416 Q2967539 Q20635184
(c(Q16521),P138,c(Q22988604)|c(Q355304))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q16521
type Q22988604
action find_tuple_counts
relation P138
type Q16521
type Q355304
action count
action filter_multi_types
action find
entity Q14474056
relation P138
type Q22988604
type Q355304
[ANSWER]
[{'concept': 'Q16521'}, 'P138', [{'concept': 'Q22988604'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:Q14474056 property:P138 ?y . { { ?y rdf:type ontology:Q22988604 } UNION { ?y rdf:type ontology:Q355304 } } } } . FILTER ( ?r > ?d ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?s WHERE { { ?s property:P138 ?z . ?s rdf:type ontology:Q16521 . ?z rdf:type ontology:Q355304 } UNION { ?s property:P138 ?z . ?s rdf:type ontology:Q16521 . ?z rdf:type ontology:Q22988604 } } GROUP BY ?s } }
Doryphoribius huangguoshuensis Sisyphus Zethus Ascalaphidae Xi River virus Labium Blue River virus Chthonius minotaurus Geophilus hadesi
9
action count
action greater
action union
action find_tuple_counts
relation named after
type taxon
type mythological Greek character
action find_tuple_counts
relation named after
type taxon
type watercourse
action count
action filter_multi_types
action find
entity Tetramorium nazgul
relation named after
type mythological Greek character
type watercourse
[{'concept': 'taxon'}, 'named after', [{'concept': 'mythological Greek character'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { resource:Tetramorium_nazgul property:named_after ?y . { { ?y rdf:type ontology:mythological_Greek_character } UNION { ?y rdf:type ontology:watercourse } } } } . FILTER ( ?r > ?d ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?s WHERE { { ?s property:named_after ?z . ?s rdf:type ontology:taxon . ?z rdf:type ontology:watercourse } UNION { ?s property:named_after ?z . ?s rdf:type ontology:taxon . ?z rdf:type ontology:mythological_Greek_character } } GROUP BY ?s } }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24049999
Q15619164
USER
And what about Frigga?
(Q24049999,P144,c(Q15619164))
action filter_type
action find
entity Q24049999
relation P144
type Q15619164
['Q24049999', 'P144', {'concept': 'Q15619164'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15619164 . resource:Q24049999 property:P144 ?u }
Frigga
action filter_type
action find
entity Frigga
relation based on
type abstract being
['Frigga', 'based on', {'concept': 'abstract being'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:abstract_being . resource:Frigga property:based_on ?u }
[]
abstract being
Q3087835
SYSTEM
Frigga
Q3087835
(Q24049999,P144,c(Q15619164))
action filter_type
action find
entity Q24049999
relation P144
type Q15619164
[ANSWER]
['Q24049999', 'P144', {'concept': 'Q15619164'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15619164 . resource:Q24049999 property:P144 ?u }
Frigga
Frigga
action filter_type
action find
entity Frigga
relation based on
type abstract being
['Frigga', 'based on', {'concept': 'abstract being'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:abstract_being . resource:Frigga property:based_on ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3087835
P144
Q15619164
USER
Which abstract being is adapted from that one ?
(c(Q15619164),P144,Q3087835)
action filter_type
action find_reverse
entity Q3087835
relation P144
type Q15619164
[{'concept': 'Q15619164'}, 'P144', 'Q3087835']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15619164 . ?j property:P144 resource:Q3087835 }
Frigga
action filter_type
action find_reverse
entity Frigga
relation based on
type abstract being
[{'concept': 'abstract being'}, 'based on', 'Frigga']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:abstract_being . ?j property:based_on resource:Frigga }
[]
abstract being
Q24049999
SYSTEM
Frigga
Q24049999
(c(Q15619164),P144,Q3087835)
action filter_type
action find_reverse
entity Q3087835
relation P144
type Q15619164
That [ANSWER] is adapted from that one
[{'concept': 'Q15619164'}, 'P144', 'Q3087835']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15619164 . ?j property:P144 resource:Q3087835 }
Frigga
That Frigga is adapted from that one
Frigga
action filter_type
action find_reverse
entity Frigga
relation based on
type abstract being
[{'concept': 'abstract being'}, 'based on', 'Frigga']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:abstract_being . ?j property:based_on resource:Frigga }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3087835
P26
Q15619164
USER
Which abstract being is the life partner of Frigga ?
(c(Q15619164),P26,Q3087835)
action filter_type
action find
entity Q3087835
relation P26
type Q15619164
[{'concept': 'Q15619164'}, 'P26', 'Q3087835']
SELECT DISTINCT ?m WHERE { resource:Q3087835 property:P26 ?m . ?m rdf:type ontology:Q15619164 }
Frigga
action filter_type
action find
entity Frigga
relation spouse
type abstract being
[{'concept': 'abstract being'}, 'spouse', 'Frigga']
SELECT DISTINCT ?m WHERE { resource:Frigga property:spouse ?m . ?m rdf:type ontology:abstract_being }
[]
abstract being
Q1319513
SYSTEM
Odin
Q1319513
(c(Q15619164),P26,Q3087835)
action filter_type
action find
entity Q3087835
relation P26
type Q15619164
[ANSWER] is the life partner of Frigga
[{'concept': 'Q15619164'}, 'P26', 'Q3087835']
SELECT DISTINCT ?m WHERE { resource:Q3087835 property:P26 ?m . ?m rdf:type ontology:Q15619164 }
Odin
Odin is the life partner of Frigga
Odin
action filter_type
action find
entity Frigga
relation spouse
type abstract being
[{'concept': 'abstract being'}, 'spouse', 'Frigga']
SELECT DISTINCT ?m WHERE { resource:Frigga property:spouse ?m . ?m rdf:type ontology:abstract_being }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1319513
P22
Q15619164
USER
Which abstract being has that one as dad ?
(c(Q15619164),P22,Q1319513)
action filter_type
action find_reverse
entity Q1319513
relation P22
type Q15619164
[{'concept': 'Q15619164'}, 'P22', 'Q1319513']
SELECT DISTINCT ?t WHERE { ?t property:P22 resource:Q1319513 . ?t rdf:type ontology:Q15619164 }
Odin
action filter_type
action find_reverse
entity Odin
relation father
type abstract being
[{'concept': 'abstract being'}, 'father', 'Odin']
SELECT DISTINCT ?t WHERE { ?t property:father resource:Odin . ?t rdf:type ontology:abstract_being }
[]
abstract being
Q717588
SYSTEM
Thor
Q717588
(c(Q15619164),P22,Q1319513)
action filter_type
action find_reverse
entity Q1319513
relation P22
type Q15619164
[ANSWER] has that one as dad
[{'concept': 'Q15619164'}, 'P22', 'Q1319513']
SELECT DISTINCT ?t WHERE { ?t property:P22 resource:Q1319513 . ?t rdf:type ontology:Q15619164 }
Thor
Thor has that one as dad
Thor
action filter_type
action find_reverse
entity Odin
relation father
type abstract being
[{'concept': 'abstract being'}, 'father', 'Odin']
SELECT DISTINCT ?t WHERE { ?t property:father resource:Odin . ?t rdf:type ontology:abstract_being }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q717588 Q1537404
P144
Q838948
USER
Is Shanghai Kiss derived from that abstract being ?
(Q1537404,P144,Q717588)
action is_in
entity Q1537404
action find
entity Q717588
relation P144
['Q1537404', 'P144', 'Q717588']
ASK WHERE { resource:Q717588 property:P144 resource:Q1537404 }
Thor Shanghai Kiss
action is_in
entity Shanghai Kiss
action find
entity Thor
relation based on
['Shanghai Kiss', 'based on', 'Thor']
ASK WHERE { resource:Thor property:based_on resource:Shanghai_Kiss }
[]
work of art
SYSTEM
NO
(Q1537404,P144,Q717588)
action is_in
entity Q1537404
action find
entity Q717588
relation P144
[ANSWER]
['Q1537404', 'P144', 'Q717588']
ASK WHERE { resource:Q717588 property:P144 resource:Q1537404 }
No
action is_in
entity Shanghai Kiss
action find
entity Thor
relation based on
['Shanghai Kiss', 'based on', 'Thor']
ASK WHERE { resource:Thor property:based_on resource:Shanghai_Kiss }
[]