Simple Question (Direct)
Simple Question
Q21115267
P703
Q16521
USER
Which taxon is ATP-binding cassette sub-family B member 8, mitochondrial found in ?
(Q21115267,P703,c(Q16521))
action filter_type
action find
entity Q21115267
relation P703
type Q16521
['Q21115267', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?b WHERE { resource:Q21115267 property:P703 ?b . ?b rdf:type ontology:Q16521 }
ATP-binding cassette sub-family B member 8, mitochondrial
action filter_type
action find
entity ATP-binding cassette sub-family B member 8, mitochondrial
relation found in taxon
type taxon
['ATP-binding cassette sub-family B member 8, mitochondrial', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?b WHERE { resource:ATP-binding_cassette_sub-family_B_member_8,_mitochondrial property:found_in_taxon ?b . ?b rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q21115267,P703,c(Q16521))
action filter_type
action find
entity Q21115267
relation P703
type Q16521
[ANSWER] is ATP-binding cassette sub-family B member 8, mitochondrial found in
['Q21115267', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?b WHERE { resource:Q21115267 property:P703 ?b . ?b rdf:type ontology:Q16521 }
Homo sapiens
Homo sapiens is ATP-binding cassette sub-family B member 8, mitochondrial found in
Homo sapiens
action filter_type
action find
entity ATP-binding cassette sub-family B member 8, mitochondrial
relation found in taxon
type taxon
['ATP-binding cassette sub-family B member 8, mitochondrial', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?b WHERE { resource:ATP-binding_cassette_sub-family_B_member_8,_mitochondrial property:found_in_taxon ?b . ?b rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21115267
P681
Q15989253
USER
Which are the parts that are a component of that nutrient ?
(Q15978631,P681,c(Q15989253))
action filter_type
action find
entity Q21115267
relation P681
type Q15989253
['Q15978631', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?y WHERE { resource:Q21115267 property:P681 ?y . ?y rdf:type ontology:Q15989253 }
ATP-binding cassette sub-family B member 8, mitochondrial
action filter_type
action find
entity ATP-binding cassette sub-family B member 8, mitochondrial
relation cell component
type part
['Homo sapiens', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?y WHERE { resource:ATP-binding_cassette_sub-family_B_member_8,_mitochondrial property:cell_component ?y . ?y rdf:type ontology:part }
[]
part
Q39572 Q40260 Q14349455
SYSTEM
mitochondrion, nucleus, membrane
Q39572 Q40260 Q14349455
(Q15978631,P681,c(Q15989253))
action filter_type
action find
entity Q21115267
relation P681
type Q15989253
The parts that are a component of that nutrient are the [ANSWERS]
['Q15978631', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?y WHERE { resource:Q21115267 property:P681 ?y . ?y rdf:type ontology:Q15989253 }
mitochondrion nucleus membrane
The parts that are a component of that nutrient are the mitochondrion, nucleus and membrane
mitochondrion nucleus membrane
action filter_type
action find
entity ATP-binding cassette sub-family B member 8, mitochondrial
relation cell component
type part
['Homo sapiens', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?y WHERE { resource:ATP-binding_cassette_sub-family_B_member_8,_mitochondrial property:cell_component ?y . ?y rdf:type ontology:part }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q23548560 Q21115267
P681
Q15989253
USER
Or hypothetical protein    smi_0535?
OR((Q21115267,P681,c(Q15989253)), (Q23548560,P681,c(Q15989253)))
action filter_type
action union
action find
entity Q21115267
relation P681
action find
entity Q23548560
relation P681
type Q15989253
{'OR': [['Q21115267', 'P681', {'concept': 'Q15989253'}], ['Q23548560', 'P681', {'concept': 'Q15989253'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q21115267 property:P681 ?a } UNION { resource:Q23548560 property:P681 ?a } } . ?a rdf:type ontology:Q15989253 }
hypothetical protein    smi_0535 ATP-binding cassette sub-family B member 8, mitochondrial
action filter_type
action union
action find
entity ATP-binding cassette sub-family B member 8, mitochondrial
relation cell component
action find
entity hypothetical protein    smi_0535
relation cell component
type part
{'OR': [['ATP-binding cassette sub-family B member 8, mitochondrial', 'cell component', {'concept': 'part'}], ['hypothetical protein    smi_0535', 'cell component', {'concept': 'part'}]]}
SELECT DISTINCT ?a WHERE { { { resource:ATP-binding_cassette_sub-family_B_member_8,_mitochondrial property:cell_component ?a } UNION { resource:hypothetical_protein____smi_0535 property:cell_component ?a } } . ?a rdf:type ontology:part }
[]
part
Q39572 Q40260 Q14349455
SYSTEM
mitochondrion, nucleus, membrane
Q39572 Q40260 Q14349455
OR((Q21115267,P681,c(Q15989253)), (Q23548560,P681,c(Q15989253)))
action filter_type
action union
action find
entity Q21115267
relation P681
action find
entity Q23548560
relation P681
type Q15989253
[ANSWERS]
{'OR': [['Q21115267', 'P681', {'concept': 'Q15989253'}], ['Q23548560', 'P681', {'concept': 'Q15989253'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q21115267 property:P681 ?a } UNION { resource:Q23548560 property:P681 ?a } } . ?a rdf:type ontology:Q15989253 }
mitochondrion nucleus membrane
mitochondrion nucleus membrane
action filter_type
action union
action find
entity ATP-binding cassette sub-family B member 8, mitochondrial
relation cell component
action find
entity hypothetical protein    smi_0535
relation cell component
type part
{'OR': [['ATP-binding cassette sub-family B member 8, mitochondrial', 'cell component', {'concept': 'part'}], ['hypothetical protein    smi_0535', 'cell component', {'concept': 'part'}]]}
SELECT DISTINCT ?a WHERE { { { resource:ATP-binding_cassette_sub-family_B_member_8,_mitochondrial property:cell_component ?a } UNION { resource:hypothetical_protein____smi_0535 property:cell_component ?a } } . ?a rdf:type ontology:part }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q23444270
P681
Q181394
USER
Do D-serine dehydratase    VP1248 have those parts as their cell component ?
(Q23444270,P681,Q39572) (Q23444270,P681,Q40260) (Q23444270,P681,Q14349455)
action is_in
entity prev_answer
action find
entity Q23444270
relation P681
['Q23444270', 'P681', 'Q39572'] ['Q23444270', 'P681', 'Q40260'] ['Q23444270', 'P681', 'Q14349455']
ASK WHERE { VALUES ( ?v ) { ( resource:Q39572 ) ( resource:Q40260 ) ( resource:Q14349455 ) } . resource:Q23444270 property:P681 ?v }
D-serine dehydratase    VP1248
action is_in
entity prev_answer
action find
entity D-serine dehydratase    VP1248
relation cell component
['D-serine dehydratase    VP1248', 'cell component', 'mitochondrion'] ['D-serine dehydratase    VP1248', 'cell component', 'nucleus'] ['D-serine dehydratase    VP1248', 'cell component', 'membrane']
ASK WHERE { VALUES ( ?v ) { ( resource:mitochondrion ) ( resource:nucleus ) ( resource:membrane ) } . resource:D-serine_dehydratase____VP1248 property:cell_component ?v }
[]
nutrient
SYSTEM
NO
(Q23444270,P681,Q39572) (Q23444270,P681,Q40260) (Q23444270,P681,Q14349455)
action is_in
entity prev_answer
action find
entity Q23444270
relation P681
[ANSWER]
['Q23444270', 'P681', 'Q39572'] ['Q23444270', 'P681', 'Q40260'] ['Q23444270', 'P681', 'Q14349455']
ASK WHERE { VALUES ( ?v ) { ( resource:Q39572 ) ( resource:Q40260 ) ( resource:Q14349455 ) } . resource:Q23444270 property:P681 ?v }
No
action is_in
entity prev_answer
action find
entity D-serine dehydratase    VP1248
relation cell component
['D-serine dehydratase    VP1248', 'cell component', 'mitochondrion'] ['D-serine dehydratase    VP1248', 'cell component', 'nucleus'] ['D-serine dehydratase    VP1248', 'cell component', 'membrane']
ASK WHERE { VALUES ( ?v ) { ( resource:mitochondrion ) ( resource:nucleus ) ( resource:membrane ) } . resource:D-serine_dehydratase____VP1248 property:cell_component ?v }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q908430
P180
Q15989253 Q17335294 Q3305213
USER
Which parts are depicted in lesser number of coats of arms and paintings than crown ?
(c(Q17335294)|c(Q3305213),P180,c(Q15989253))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q908430
relation P180
type Q17335294
type Q3305213
[[{'concept': 'Q17335294'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?q ) WHERE { ?r rdf:type ?i . VALUES ( ?i ) { ( ontology:Q17335294 ) ( ontology:Q3305213 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { ?x property:P180 resource:Q908430 . { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:Q3305213 ) ( ontology:Q17335294 ) } } } } . FILTER ( ?q < ?h ) }
crown
action less
action union
action find_reverse_tuple_counts
relation depicts
type part
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type part
type painting
action count
action filter_multi_types
action find_reverse
entity crown
relation depicts
type flag or coat of arms
type painting
[[{'concept': 'flag or coat of arms'}, {'concept': 'painting'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?q ) WHERE { ?r rdf:type ?i . VALUES ( ?i ) { ( ontology:flag_or_coat_of_arms ) ( ontology:painting ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { ?x property:depicts resource:crown . { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:painting ) ( ontology:flag_or_coat_of_arms ) } } } } . FILTER ( ?q < ?h ) }
[]
part flag or coat of arms painting
Q712378 Q668732 Q129757
SYSTEM
organ, crest, thigh
Q129757 Q168002 Q392573 Q852590 Q168432 Q37017 Q172563 Q201851 Q25999 Q209760 Q15807 Q221712 Q276572 Q910873 Q18646082 Q301897 Q251238 Q1510738 Q331357 Q2192288 Q204948 Q42586 Q901207 Q42165 Q217605 Q492663 Q942890 Q712378 Q4814120 Q305026 Q668732
(c(Q17335294)|c(Q3305213),P180,c(Q15989253))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q908430
relation P180
type Q17335294
type Q3305213
[ANSWERS] are depicted in lesser number of coats of arms and paintings than crown
[[{'concept': 'Q17335294'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?q ) WHERE { ?r rdf:type ?i . VALUES ( ?i ) { ( ontology:Q17335294 ) ( ontology:Q3305213 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { ?x property:P180 resource:Q908430 . { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:Q3305213 ) ( ontology:Q17335294 ) } } } } . FILTER ( ?q < ?h ) }
thigh ankle Organ console spire anchor face umbilical cord spine sail rudder foot sound hole Insect wing helmet thought bubble bow compartment organ pipe escutcheon vulva bow elbow musical keyboard buttocks claw Jesus and the woman taken in adultery rigging organ prow bicycle pedal crest
Organ, crest and thigh are depicted in lesser number of coats of arms and paintings than crown
organ crest thigh
action less
action union
action find_reverse_tuple_counts
relation depicts
type part
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type part
type painting
action count
action filter_multi_types
action find_reverse
entity crown
relation depicts
type flag or coat of arms
type painting
[[{'concept': 'flag or coat of arms'}, {'concept': 'painting'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?q ) WHERE { ?r rdf:type ?i . VALUES ( ?i ) { ( ontology:flag_or_coat_of_arms ) ( ontology:painting ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { ?x property:depicts resource:crown . { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:painting ) ( ontology:flag_or_coat_of_arms ) } } } } . FILTER ( ?q < ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q37017
P180
Q15989253 Q17335294 Q3305213
USER
And how about face?
(c(Q17335294)|c(Q3305213),P180,c(Q15989253))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q37017
relation P180
type Q17335294
type Q3305213
[[{'concept': 'Q17335294'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?s ) WHERE { { ?h property:P180 ?i . ?i rdf:type ontology:Q15989253 . ?h rdf:type ontology:Q17335294 } UNION { ?h property:P180 ?i . ?h rdf:type ontology:Q3305213 . ?i rdf:type ontology:Q15989253 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:P180 resource:Q37017 . { { ?v rdf:type ontology:Q3305213 } UNION { ?v rdf:type ontology:Q17335294 } } } } . FILTER ( ?s < ?y ) }
face
action less
action union
action find_reverse_tuple_counts
relation depicts
type part
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type part
type painting
action count
action filter_multi_types
action find_reverse
entity face
relation depicts
type flag or coat of arms
type painting
[[{'concept': 'flag or coat of arms'}, {'concept': 'painting'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?s ) WHERE { { ?h property:depicts ?i . ?i rdf:type ontology:part . ?h rdf:type ontology:flag_or_coat_of_arms } UNION { ?h property:depicts ?i . ?h rdf:type ontology:painting . ?i rdf:type ontology:part } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:depicts resource:face . { { ?v rdf:type ontology:painting } UNION { ?v rdf:type ontology:flag_or_coat_of_arms } } } } . FILTER ( ?s < ?y ) }
[]
part flag or coat of arms painting
Q712378 Q668732 Q129757
SYSTEM
organ, crest, thigh
Q129757 Q168002 Q392573 Q852590 Q168432 Q172563 Q201851 Q209760 Q221712 Q910873 Q18646082 Q301897 Q1510738 Q331357 Q204948 Q42586 Q901207 Q492663 Q942890 Q712378 Q4814120 Q305026 Q668732
(c(Q17335294)|c(Q3305213),P180,c(Q15989253))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q37017
relation P180
type Q17335294
type Q3305213
[ANSWERS]
[[{'concept': 'Q17335294'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?s ) WHERE { { ?h property:P180 ?i . ?i rdf:type ontology:Q15989253 . ?h rdf:type ontology:Q17335294 } UNION { ?h property:P180 ?i . ?h rdf:type ontology:Q3305213 . ?i rdf:type ontology:Q15989253 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:P180 resource:Q37017 . { { ?v rdf:type ontology:Q3305213 } UNION { ?v rdf:type ontology:Q17335294 } } } } . FILTER ( ?s < ?y ) }
thigh ankle Organ console spire anchor umbilical cord spine rudder sound hole helmet thought bubble bow organ pipe escutcheon bow elbow musical keyboard Jesus and the woman taken in adultery rigging organ prow bicycle pedal crest
organ crest thigh
action less
action union
action find_reverse_tuple_counts
relation depicts
type part
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type part
type painting
action count
action filter_multi_types
action find_reverse
entity face
relation depicts
type flag or coat of arms
type painting
[[{'concept': 'flag or coat of arms'}, {'concept': 'painting'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?s ) WHERE { { ?h property:depicts ?i . ?i rdf:type ontology:part . ?h rdf:type ontology:flag_or_coat_of_arms } UNION { ?h property:depicts ?i . ?h rdf:type ontology:painting . ?i rdf:type ontology:part } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:depicts resource:face . { { ?v rdf:type ontology:painting } UNION { ?v rdf:type ontology:flag_or_coat_of_arms } } } } . FILTER ( ?s < ?y ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q712378
P361
Q58778
USER
Which system is that part a component of ?
(Q712378,P361,c(Q58778))
action filter_type
action find
entity Q712378
relation P361
type Q58778
['Q712378', 'P361', {'concept': 'Q58778'}]
SELECT DISTINCT ?h WHERE { resource:Q712378 property:P361 ?h . ?h rdf:type ontology:Q58778 }
organ
action filter_type
action find
entity organ
relation part of
type system
['organ', 'part of', {'concept': 'system'}]
SELECT DISTINCT ?h WHERE { resource:organ property:part_of ?h . ?h rdf:type ontology:system }
[]
system
Clarification for simple ques.
Q668732
SYSTEM
Did you mean crest ?
Q712378 Q668732 Q129757
(Q712378,P361,c(Q58778)) (Q668732,P361,c(Q58778)) (Q129757,P361,c(Q58778))
[ANSWER]
['Q712378', 'P361', {'concept': 'Q58778'}] ['Q668732', 'P361', {'concept': 'Q58778'}] ['Q129757', 'P361', {'concept': 'Q58778'}]
SELECT DISTINCT ?h WHERE { resource:Q712378 property:P361 ?h . ?h rdf:type ontology:Q58778 }
organ crest thigh
Did you mean crest ?
crest
['organ', 'part of', {'concept': 'system'}] ['crest', 'part of', {'concept': 'system'}] ['thigh', 'part of', {'concept': 'system'}]
SELECT DISTINCT ?h WHERE { resource:organ property:part_of ?h . ?h rdf:type ontology:system }
[]
Simple Question (Coreferenced)
USER
No, I meant organ. Could you tell me the answer for that?
(Q712378,P361,c(Q58778))
Q712378
['Q712378', 'P361', {'concept': 'Q58778'}]
['organ', 'part of', {'concept': 'system'}]
[]
Q188193
SYSTEM
biological system
Q188193
(Q712378,P361,c(Q58778))
action filter_type
action find
entity Q712378
relation P361
type Q58778
The [ANSWER] is that part a component of
['Q712378', 'P361', {'concept': 'Q58778'}]
SELECT DISTINCT ?h WHERE { resource:Q712378 property:P361 ?h . ?h rdf:type ontology:Q58778 }
biological system
The biological system is that part a component of
biological system
action filter_type
action find
entity organ
relation part of
type system
['organ', 'part of', {'concept': 'system'}]
SELECT DISTINCT ?h WHERE { resource:organ property:part_of ?h . ?h rdf:type ontology:system }
[]