Simple Question (Direct)
Simple Question
Q23052597
P702
Q863908
USER
What is the gene that encodes thiamine diphosphokinase    RSP_0363 ?
(Q23052597,P702,c(Q863908))
action filter_type
action find
entity Q23052597
relation P702
type Q863908
['Q23052597', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q863908 . resource:Q23052597 property:P702 ?v }
thiamine diphosphokinase    RSP_0363
action filter_type
action find
entity thiamine diphosphokinase    RSP_0363
relation encoded by
type nucleic acid sequence
['thiamine diphosphokinase    RSP_0363', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:nucleic_acid_sequence . resource:thiamine_diphosphokinase____RSP_0363 property:encoded_by ?v }
[]
nucleic acid sequence
Q23030297
SYSTEM
thiamine diphosphokinase    RSP_0363
Q23030297
(Q23052597,P702,c(Q863908))
action filter_type
action find
entity Q23052597
relation P702
type Q863908
The gene that encodes thiamine diphosphokinase RSP_0363 is also thiamine diphosphokinase RSP 0363
['Q23052597', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q863908 . resource:Q23052597 property:P702 ?v }
thiamine diphosphokinase    RSP_0363
The gene that encodes thiamine diphosphokinase RSP_0363 is also thiamine diphosphokinase RSP 0363
thiamine diphosphokinase    RSP_0363
action filter_type
action find
entity thiamine diphosphokinase    RSP_0363
relation encoded by
type nucleic acid sequence
['thiamine diphosphokinase    RSP_0363', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:nucleic_acid_sequence . resource:thiamine_diphosphokinase____RSP_0363 property:encoded_by ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23030297
P688
Q181394
USER
What is encoded by that nucleic acid sequence ?
(Q23030297,P688,c(Q181394))
action filter_type
action find
entity Q23030297
relation P688
type Q181394
['Q23030297', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?a WHERE { resource:Q23030297 property:P688 ?a . ?a rdf:type ontology:Q181394 }
thiamine diphosphokinase    RSP_0363
action filter_type
action find
entity thiamine diphosphokinase    RSP_0363
relation encodes
type nutrient
['thiamine diphosphokinase    RSP_0363', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?a WHERE { resource:thiamine_diphosphokinase____RSP_0363 property:encodes ?a . ?a rdf:type ontology:nutrient }
[]
nutrient
Q23052597
SYSTEM
thiamine diphosphokinase    RSP_0363
Q23052597
(Q23030297,P688,c(Q181394))
action filter_type
action find
entity Q23030297
relation P688
type Q181394
Thiamine diphosphokinase RSP 0363 is encoded by that nucleic acid sequence
['Q23030297', 'P688', {'concept': 'Q181394'}]
SELECT DISTINCT ?a WHERE { resource:Q23030297 property:P688 ?a . ?a rdf:type ontology:Q181394 }
thiamine diphosphokinase    RSP_0363
Thiamine diphosphokinase RSP 0363 is encoded by that nucleic acid sequence
thiamine diphosphokinase    RSP_0363
action filter_type
action find
entity thiamine diphosphokinase    RSP_0363
relation encodes
type nutrient
['thiamine diphosphokinase    RSP_0363', 'encodes', {'concept': 'nutrient'}]
SELECT DISTINCT ?a WHERE { resource:thiamine_diphosphokinase____RSP_0363 property:encodes ?a . ?a rdf:type ontology:nutrient }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23030297
P703
Q631147
USER
What is the taxon to which that nucleic acid sequence belongs to ?
(Q23052597,P703,c(Q631147))
action filter_type
action find
entity Q23030297
relation P703
type Q631147
['Q23052597', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q631147 . resource:Q23030297 property:P703 ?z }
thiamine diphosphokinase    RSP_0363
action filter_type
action find
entity thiamine diphosphokinase    RSP_0363
relation found in taxon
type infraspecific name
['thiamine diphosphokinase    RSP_0363', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:infraspecific_name . resource:thiamine_diphosphokinase____RSP_0363 property:found_in_taxon ?z }
[]
infraspecific name
Q21102953
SYSTEM
Rhodobacter sphaeroides 2.4.1
Q21102953
(Q23052597,P703,c(Q631147))
action filter_type
action find
entity Q23030297
relation P703
type Q631147
[ANSWER]
['Q23052597', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q631147 . resource:Q23030297 property:P703 ?z }
Rhodobacter sphaeroides 2.4.1
Rhodobacter sphaeroides 2.4.1
Rhodobacter sphaeroides 2.4.1
action filter_type
action find
entity thiamine diphosphokinase    RSP_0363
relation found in taxon
type infraspecific name
['thiamine diphosphokinase    RSP_0363', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:infraspecific_name . resource:thiamine_diphosphokinase____RSP_0363 property:found_in_taxon ?z }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P682
Q3249551 Q181394
USER
Which processes are approximately 1960 nutrients involved in ?
(c(Q181394),P682,c(Q3249551))
action approx
action find_reverse_tuple_counts
relation P682
type Q3249551
type Q181394
value 1960
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:P682 ?h . ?h rdf:type ontology:Q3249551 . ?p rdf:type ontology:Q181394 } GROUP BY ?h } . FILTER ( ?r = 1960 ) }
action approx
action find_reverse_tuple_counts
relation biological process
type process
type nutrient
value 1960
[{'concept': 'nutrient'}, 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:biological_process ?h . ?h rdf:type ontology:process . ?p rdf:type ontology:nutrient } GROUP BY ?h } . FILTER ( ?r = 1960 ) }
[]
process nutrient
Q306383 Q14885910 Q162925
SYSTEM
G1/S transition of mitotic cell cycle, reproductive process, meiotic nuclear division
Q22269718 Q306383 Q14820058 Q22284496 Q22271548 Q9332 Q22293230 Q14873025 Q14916317 Q14859560 Q14865172 Q14885910 Q14864472 Q162925
(c(Q181394),P682,c(Q3249551))
action approx
action find_reverse_tuple_counts
relation P682
type Q3249551
type Q181394
value 1960
[ANSWERS] are approximately 1960 nutrients involved in
[{'concept': 'Q181394'}, 'P682', {'concept': 'Q3249551'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:P682 ?h . ?h rdf:type ontology:Q3249551 . ?p rdf:type ontology:Q181394 } GROUP BY ?h } . FILTER ( ?r = 1960 ) }
locomotion G1/S transition of mitotic cell cycle growth biological regulation cell killing behavior developmental process cellular process immune system process response to stimulus signaling reproductive process rhythmic process meiotic nuclear division
G1/S transition of mitotic cell cycle, reproductive process and meiotic nuclear division are approximately 1960 nutrients involved in
G1/S transition of mitotic cell cycle reproductive process meiotic nuclear division
action approx
action find_reverse_tuple_counts
relation biological process
type process
type nutrient
value 1960
[{'concept': 'nutrient'}, 'biological process', {'concept': 'process'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:biological_process ?h . ?h rdf:type ontology:process . ?p rdf:type ontology:nutrient } GROUP BY ?h } . FILTER ( ?r = 1960 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q193078
P828
Q7189713 Q3249551
USER
Which physiological conditions causes approximately the same number of processes as trauma ?
(c(Q3249551),P828,c(Q7189713))
action approx
action find_reverse_tuple_counts
relation P828
type Q7189713
type Q3249551
action count
action filter_type
action find
entity Q193078
relation P828
type Q7189713
[{'concept': 'Q3249551'}, 'P828', {'concept': 'Q7189713'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:P828 ?s . ?s rdf:type ontology:Q7189713 . ?o rdf:type ontology:Q3249551 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { ?y rdf:type ontology:Q7189713 . resource:Q193078 property:P828 ?y } } . FILTER ( ?i = ?k ) }
trauma
action approx
action find_reverse_tuple_counts
relation has cause
type physiological condition
type process
action count
action filter_type
action find
entity trauma
relation has cause
type physiological condition
[{'concept': 'process'}, 'has cause', {'concept': 'physiological condition'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:has_cause ?s . ?s rdf:type ontology:physiological_condition . ?o rdf:type ontology:process } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { ?y rdf:type ontology:physiological_condition . resource:trauma property:has_cause ?y } } . FILTER ( ?i = ?k ) }
[]
physiological condition process
Q193078 Q2849606 Q649122
SYSTEM
trauma, vasospasm, Jugular venous pressure
Q2849606 Q193078 Q1478321 Q649122
(c(Q3249551),P828,c(Q7189713))
action approx
action find_reverse_tuple_counts
relation P828
type Q7189713
type Q3249551
action count
action filter_type
action find
entity Q193078
relation P828
type Q7189713
[ANSWERS] cause approximately the same number of processes as trauma
[{'concept': 'Q3249551'}, 'P828', {'concept': 'Q7189713'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:P828 ?s . ?s rdf:type ontology:Q7189713 . ?o rdf:type ontology:Q3249551 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { ?y rdf:type ontology:Q7189713 . resource:Q193078 property:P828 ?y } } . FILTER ( ?i = ?k ) }
vasospasm trauma Spinal stenosis Jugular venous pressure
Trauma, vasospasm and Jugular venous pressure cause approximately the same number of processes as trauma
trauma vasospasm Jugular venous pressure
action approx
action find_reverse_tuple_counts
relation has cause
type physiological condition
type process
action count
action filter_type
action find
entity trauma
relation has cause
type physiological condition
[{'concept': 'process'}, 'has cause', {'concept': 'physiological condition'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:has_cause ?s . ?s rdf:type ontology:physiological_condition . ?o rdf:type ontology:process } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { ?y rdf:type ontology:physiological_condition . resource:trauma property:has_cause ?y } } . FILTER ( ?i = ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q2849606
P828
Q7189713 Q3249551
USER
And also tell me about vasospasm?
(c(Q3249551),P828,c(Q7189713))
action approx
action find_reverse_tuple_counts
relation P828
type Q7189713
type Q3249551
action count
action filter_type
action find
entity Q2849606
relation P828
type Q7189713
[{'concept': 'Q3249551'}, 'P828', {'concept': 'Q7189713'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:P828 ?b . ?b rdf:type ontology:Q7189713 . ?h rdf:type ontology:Q3249551 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Q2849606 property:P828 ?z . ?z rdf:type ontology:Q7189713 } } . FILTER ( ?r = ?c ) }
vasospasm
action approx
action find_reverse_tuple_counts
relation has cause
type physiological condition
type process
action count
action filter_type
action find
entity vasospasm
relation has cause
type physiological condition
[{'concept': 'process'}, 'has cause', {'concept': 'physiological condition'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:has_cause ?b . ?b rdf:type ontology:physiological_condition . ?h rdf:type ontology:process } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:vasospasm property:has_cause ?z . ?z rdf:type ontology:physiological_condition } } . FILTER ( ?r = ?c ) }
[]
physiological condition process
Q193078 Q2849606 Q649122
SYSTEM
trauma, vasospasm, Jugular venous pressure
Q2849606 Q193078 Q1478321 Q649122
(c(Q3249551),P828,c(Q7189713))
action approx
action find_reverse_tuple_counts
relation P828
type Q7189713
type Q3249551
action count
action filter_type
action find
entity Q2849606
relation P828
type Q7189713
[ANSWERS]
[{'concept': 'Q3249551'}, 'P828', {'concept': 'Q7189713'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:P828 ?b . ?b rdf:type ontology:Q7189713 . ?h rdf:type ontology:Q3249551 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:Q2849606 property:P828 ?z . ?z rdf:type ontology:Q7189713 } } . FILTER ( ?r = ?c ) }
vasospasm trauma Spinal stenosis Jugular venous pressure
trauma vasospasm Jugular venous pressure
action approx
action find_reverse_tuple_counts
relation has cause
type physiological condition
type process
action count
action filter_type
action find
entity vasospasm
relation has cause
type physiological condition
[{'concept': 'process'}, 'has cause', {'concept': 'physiological condition'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:has_cause ?b . ?b rdf:type ontology:physiological_condition . ?h rdf:type ontology:process } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { resource:vasospasm property:has_cause ?z . ?z rdf:type ontology:physiological_condition } } . FILTER ( ?r = ?c ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P101
Q3249551 Q502895 Q43229
USER
Which processes are the area of atleast 13 people or organizations ?
(c(Q502895)|c(Q43229),P101,c(Q3249551))
action atleast
action union
action find_reverse_tuple_counts
relation P101
type Q3249551
type Q502895
action find_reverse_tuple_counts
relation P101
type Q3249551
type Q43229
value 13
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q3249551'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?v WHERE { { ?v rdf:type ontology:Q3249551 . ?b rdf:type ontology:Q502895 . ?b property:P101 ?v } UNION { ?b property:P101 ?v . ?v rdf:type ontology:Q3249551 . ?b rdf:type ontology:Q43229 } } GROUP BY ?v } . FILTER ( ?t >= 13 ) }
action atleast
action union
action find_reverse_tuple_counts
relation field of work
type process
type common name
action find_reverse_tuple_counts
relation field of work
type process
type organization
value 13
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'process'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?v WHERE { { ?v rdf:type ontology:process . ?b rdf:type ontology:common_name . ?b property:field_of_work ?v } UNION { ?b property:field_of_work ?v . ?v rdf:type ontology:process . ?b rdf:type ontology:organization } } GROUP BY ?v } . FILTER ( ?t >= 13 ) }
[]
process common name organization
Q11634 Q11629
SYSTEM
art of sculpture, art of painting
Q11634 Q11629
(c(Q502895)|c(Q43229),P101,c(Q3249551))
action atleast
action union
action find_reverse_tuple_counts
relation P101
type Q3249551
type Q502895
action find_reverse_tuple_counts
relation P101
type Q3249551
type Q43229
value 13
[ANSWERS] are the area of atleast 13 people or organizations
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q3249551'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?v WHERE { { ?v rdf:type ontology:Q3249551 . ?b rdf:type ontology:Q502895 . ?b property:P101 ?v } UNION { ?b property:P101 ?v . ?v rdf:type ontology:Q3249551 . ?b rdf:type ontology:Q43229 } } GROUP BY ?v } . FILTER ( ?t >= 13 ) }
art of sculpture art of painting
Art of sculpture and art of painting are the area of atleast 13 people or organizations
art of sculpture art of painting
action atleast
action union
action find_reverse_tuple_counts
relation field of work
type process
type common name
action find_reverse_tuple_counts
relation field of work
type process
type organization
value 13
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'process'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) ?v WHERE { { ?v rdf:type ontology:process . ?b rdf:type ontology:common_name . ?b property:field_of_work ?v } UNION { ?b property:field_of_work ?v . ?v rdf:type ontology:process . ?b rdf:type ontology:organization } } GROUP BY ?v } . FILTER ( ?t >= 13 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3568798 Q649122
P509 P828
Q2057971
USER
Which health problems leads to Jugular venous pressure or lead to the death of William Loose ?
OR((Q649122,P828,c(Q2057971)), (Q3568798,P509,c(Q2057971)))
action filter_type
action union
action find
entity Q649122
relation P828
action find
entity Q3568798
relation P509
type Q2057971
{'OR': [['Q649122', 'P828', {'concept': 'Q2057971'}], ['Q3568798', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q649122 property:P828 ?b } UNION { resource:Q3568798 property:P509 ?b } } . ?b rdf:type ontology:Q2057971 }
William Loose Jugular venous pressure
action filter_type
action union
action find
entity Jugular venous pressure
relation has cause
action find
entity William Loose
relation cause of death
type health problem
{'OR': [['Jugular venous pressure', 'has cause', {'concept': 'health problem'}], ['William Loose', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Jugular_venous_pressure property:has_cause ?b } UNION { resource:William_Loose property:cause_of_death ?b } } . ?b rdf:type ontology:health_problem }
[]
health problem
Q12152 Q181754
SYSTEM
myocardial infarction, heart failure
Q12152 Q181754
OR((Q649122,P828,c(Q2057971)), (Q3568798,P509,c(Q2057971)))
action filter_type
action union
action find
entity Q649122
relation P828
action find
entity Q3568798
relation P509
type Q2057971
Or [ANSWERS] lead to Jugular venous pressure or lead to the death of William Loose
{'OR': [['Q649122', 'P828', {'concept': 'Q2057971'}], ['Q3568798', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q649122 property:P828 ?b } UNION { resource:Q3568798 property:P509 ?b } } . ?b rdf:type ontology:Q2057971 }
myocardial infarction heart failure
Or myocardial infarction and heart failure lead to Jugular venous pressure or lead to the death of William Loose
myocardial infarction heart failure
action filter_type
action union
action find
entity Jugular venous pressure
relation has cause
action find
entity William Loose
relation cause of death
type health problem
{'OR': [['Jugular venous pressure', 'has cause', {'concept': 'health problem'}], ['William Loose', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Jugular_venous_pressure property:has_cause ?b } UNION { resource:William_Loose property:cause_of_death ?b } } . ?b rdf:type ontology:health_problem }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q311719
P509
Q502895
USER
Did Adlai Stevenson II die from those health problems ?
(Q311719,P509,Q12152) (Q311719,P509,Q181754)
action is_in
entity prev_answer
action find
entity Q311719
relation P509
['Q311719', 'P509', 'Q12152'] ['Q311719', 'P509', 'Q181754']
ASK WHERE { VALUES ( ?o ) { ( resource:Q12152 ) ( resource:Q181754 ) } . resource:Q311719 property:P509 ?o }
Adlai Stevenson II
action is_in
entity prev_answer
action find
entity Adlai Stevenson II
relation cause of death
['Adlai Stevenson II', 'cause of death', 'myocardial infarction'] ['Adlai Stevenson II', 'cause of death', 'heart failure']
ASK WHERE { VALUES ( ?o ) { ( resource:myocardial_infarction ) ( resource:heart_failure ) } . resource:Adlai_Stevenson_II property:cause_of_death ?o }
[]
common name
SYSTEM
YES
(Q311719,P509,Q12152) (Q311719,P509,Q181754)
action is_in
entity prev_answer
action find
entity Q311719
relation P509
[ANSWER]
['Q311719', 'P509', 'Q12152'] ['Q311719', 'P509', 'Q181754']
ASK WHERE { VALUES ( ?o ) { ( resource:Q12152 ) ( resource:Q181754 ) } . resource:Q311719 property:P509 ?o }
Yes
action is_in
entity prev_answer
action find
entity Adlai Stevenson II
relation cause of death
['Adlai Stevenson II', 'cause of death', 'myocardial infarction'] ['Adlai Stevenson II', 'cause of death', 'heart failure']
ASK WHERE { VALUES ( ?o ) { ( resource:myocardial_infarction ) ( resource:heart_failure ) } . resource:Adlai_Stevenson_II property:cause_of_death ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3568798
P509
Q2057971
USER
How many health problems caused the death of William Loose ?
(Q3568798,P509,c(Q2057971))
action count
action filter_type
action find
entity Q3568798
relation P509
type Q2057971
['Q3568798', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q3568798 property:P509 ?r . ?r rdf:type ontology:Q2057971 }
William Loose
action count
action filter_type
action find
entity William Loose
relation cause of death
type health problem
['William Loose', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:William_Loose property:cause_of_death ?r . ?r rdf:type ontology:health_problem }
[]
health problem
SYSTEM
1
Q12152
(Q3568798,P509,c(Q2057971))
action count
action filter_type
action find
entity Q3568798
relation P509
type Q2057971
[ANSWER]
['Q3568798', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q3568798 property:P509 ?r . ?r rdf:type ontology:Q2057971 }
myocardial infarction
1
action count
action filter_type
action find
entity William Loose
relation cause of death
type health problem
['William Loose', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:William_Loose property:cause_of_death ?r . ?r rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q523140
P9
Q502895
USER
Who are Margaret Tudor a sibling of ?
(Q523140,P9,c(Q502895))
action filter_type
action find
entity Q523140
relation P9
type Q502895
['Q523140', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q523140 property:P9 ?p . ?p rdf:type ontology:Q502895 }
Margaret Tudor
action filter_type
action find
entity Margaret Tudor
relation sister
type common name
['Margaret Tudor', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Margaret_Tudor property:sister ?p . ?p rdf:type ontology:common_name }
[]
common name
Q4267871 Q588852 Q1079839
SYSTEM
Katherine Tudor, Mary Tudor, Queen of France, Elizabeth Tudor
Q4267871 Q588852 Q1079839
(Q523140,P9,c(Q502895))
action filter_type
action find
entity Q523140
relation P9
type Q502895
Margaret Tudor a sibling of are [ANSWERS]
['Q523140', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q523140 property:P9 ?p . ?p rdf:type ontology:Q502895 }
Katherine Tudor Mary Tudor, Queen of France Elizabeth Tudor
Margaret Tudor a sibling of are Katherine Tudor, Mary Tudor, Queen of France and Elizabeth Tudor
Katherine Tudor Mary Tudor, Queen of France Elizabeth Tudor
action filter_type
action find
entity Margaret Tudor
relation sister
type common name
['Margaret Tudor', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Margaret_Tudor property:sister ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15908154
Q502895
USER
And also tell me about Cheng Zhifan?
(Q15908154,P9,c(Q502895))
action filter_type
action find
entity Q15908154
relation P9
type Q502895
['Q15908154', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q15908154 property:P9 ?n . ?n rdf:type ontology:Q502895 }
Cheng Zhifan
action filter_type
action find
entity Cheng Zhifan
relation sister
type common name
['Cheng Zhifan', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Cheng_Zhifan property:sister ?n . ?n rdf:type ontology:common_name }
[]
common name
Q16075610 Q15240320 Q11074703
SYSTEM
Cheng Jialing, Cheng Youshu, Cheng Luxi
Q16075610 Q15240320 Q11074703
(Q15908154,P9,c(Q502895))
action filter_type
action find
entity Q15908154
relation P9
type Q502895
[ANSWERS]
['Q15908154', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q15908154 property:P9 ?n . ?n rdf:type ontology:Q502895 }
Cheng Jialing Cheng Youshu Cheng Luxi
Cheng Jialing Cheng Youshu Cheng Luxi
action filter_type
action find
entity Cheng Zhifan
relation sister
type common name
['Cheng Zhifan', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Cheng_Zhifan property:sister ?n . ?n rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6781961
P40
Q502895
USER
Do María Cristina Petite have those ones as a child ?
(Q6781961,P40,Q16075610) (Q6781961,P40,Q15240320) (Q6781961,P40,Q11074703)
action is_in
entity prev_answer
action find
entity Q6781961
relation P40
['Q6781961', 'P40', 'Q16075610'] ['Q6781961', 'P40', 'Q15240320'] ['Q6781961', 'P40', 'Q11074703']
ASK WHERE { resource:Q6781961 property:P40 ?f . VALUES ( ?f ) { ( resource:Q16075610 ) ( resource:Q15240320 ) ( resource:Q11074703 ) } }
María Cristina Petite
action is_in
entity prev_answer
action find
entity María Cristina Petite
relation child
['María Cristina Petite', 'child', 'Cheng Jialing'] ['María Cristina Petite', 'child', 'Cheng Youshu'] ['María Cristina Petite', 'child', 'Cheng Luxi']
ASK WHERE { resource:María_Cristina_Petite property:child ?f . VALUES ( ?f ) { ( resource:Cheng_Jialing ) ( resource:Cheng_Youshu ) ( resource:Cheng_Luxi ) } }
[]
common name
SYSTEM
NO
(Q6781961,P40,Q16075610) (Q6781961,P40,Q15240320) (Q6781961,P40,Q11074703)
action is_in
entity prev_answer
action find
entity Q6781961
relation P40
[ANSWER]
['Q6781961', 'P40', 'Q16075610'] ['Q6781961', 'P40', 'Q15240320'] ['Q6781961', 'P40', 'Q11074703']
ASK WHERE { resource:Q6781961 property:P40 ?f . VALUES ( ?f ) { ( resource:Q16075610 ) ( resource:Q15240320 ) ( resource:Q11074703 ) } }
No
action is_in
entity prev_answer
action find
entity María Cristina Petite
relation child
['María Cristina Petite', 'child', 'Cheng Jialing'] ['María Cristina Petite', 'child', 'Cheng Youshu'] ['María Cristina Petite', 'child', 'Cheng Luxi']
ASK WHERE { resource:María_Cristina_Petite property:child ?f . VALUES ( ?f ) { ( resource:Cheng_Jialing ) ( resource:Cheng_Youshu ) ( resource:Cheng_Luxi ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2544561
P725
Q502895 Q95074
USER
Which fictional characters did lesser number of people dub for than Ike ?
(c(Q95074),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q2544561
relation P725
type Q502895
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?q ) WHERE { ?y property:P725 ?w . ?y rdf:type ontology:Q95074 . ?w rdf:type ontology:Q502895 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Q2544561 property:P725 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?q < ?b ) }
Ike
action less
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Ike
relation voice actor
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?q ) WHERE { ?y property:voice_actor ?w . ?y rdf:type ontology:fictional_character . ?w rdf:type ontology:common_name } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Ike property:voice_actor ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?q < ?b ) }
[]
common name fictional character
Q7828 Q7810 Q247120
SYSTEM
Marge Simpson, Homer Simpson, Neo
Q21847055 Q3498590 Q308950 Q28465 Q551327 Q2442950 Q7828 Q3838346 Q8139731 Q247120 Q1529229 Q27493503 Q605125 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q2544561
relation P725
type Q502895
Lesser number of people dubbed for [ANSWERS] than Ike
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?q ) WHERE { ?y property:P725 ?w . ?y rdf:type ontology:Q95074 . ?w rdf:type ontology:Q502895 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Q2544561 property:P725 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?q < ?b ) }
Itsuki Tachibana Chester Cheetah Ash Ketchum Peter Griffin terminator Max Rockatansky Marge Simpson Lucas G-Man Neo Darkwing Duck Desoto GLaDOS Lisa Simpson Homer Simpson Ness
Lesser number of people dubbed for Marge Simpson, Homer Simpson and Neo than Ike
Marge Simpson Homer Simpson Neo
action less
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Ike
relation voice actor
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?q ) WHERE { ?y property:voice_actor ?w . ?y rdf:type ontology:fictional_character . ?w rdf:type ontology:common_name } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Ike property:voice_actor ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?q < ?b ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7810
P725
Q502895
USER
Who was that fictional character dubbed by ?
(Q7810,P725,c(Q502895))
action filter_type
action find
entity Q7810
relation P725
type Q502895
['Q7810', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q7810 property:P725 ?p . ?p rdf:type ontology:Q502895 }
Homer Simpson
action filter_type
action find
entity Homer Simpson
relation voice actor
type common name
['Homer Simpson', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Homer_Simpson property:voice_actor ?p . ?p rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q7810
SYSTEM
Did you mean Homer Simpson ?
Q7828 Q7810 Q247120
(Q7828,P725,c(Q502895)) (Q7810,P725,c(Q502895)) (Q247120,P725,c(Q502895))
[ANSWER]
['Q7828', 'P725', {'concept': 'Q502895'}] ['Q7810', 'P725', {'concept': 'Q502895'}] ['Q247120', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q7810 property:P725 ?p . ?p rdf:type ontology:Q502895 }
Marge Simpson Homer Simpson Neo
Did you mean Homer Simpson ?
Homer Simpson
['Marge Simpson', 'voice actor', {'concept': 'common name'}] ['Homer Simpson', 'voice actor', {'concept': 'common name'}] ['Neo', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Homer_Simpson property:voice_actor ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q7810,P725,c(Q502895))
['Q7810', 'P725', {'concept': 'Q502895'}]
['Homer Simpson', 'voice actor', {'concept': 'common name'}]
[]
Q44442
SYSTEM
Dan Castellaneta
Q44442
(Q7810,P725,c(Q502895))
action filter_type
action find
entity Q7810
relation P725
type Q502895
[ANSWER] that fictional character was dubbed by
['Q7810', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q7810 property:P725 ?p . ?p rdf:type ontology:Q502895 }
Dan Castellaneta
Dan Castellaneta that fictional character was dubbed by
Dan Castellaneta
action filter_type
action find
entity Homer Simpson
relation voice actor
type common name
['Homer Simpson', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Homer_Simpson property:voice_actor ?p . ?p rdf:type ontology:common_name }
[]