Simple Question (Direct)
Simple Question
Q1232389
P21
Q290
USER
Which sex does Dmitri Kazionov belong to ?
(Q1232389,P21,c(Q290))
action filter_type
action find
entity Q1232389
relation P21
type Q290
['Q1232389', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q1232389 property:P21 ?o . ?o rdf:type ontology:Q290 }
Dmitri Kazionov
action filter_type
action find
entity Dmitri Kazionov
relation gender
type sex
['Dmitri Kazionov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Dmitri_Kazionov property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1232389,P21,c(Q290))
action filter_type
action find
entity Q1232389
relation P21
type Q290
Dmitri Kazionov belongs to [ANSWER]
['Q1232389', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q1232389 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
Dmitri Kazionov belongs to male
male
action filter_type
action find
entity Dmitri Kazionov
relation gender
type sex
['Dmitri Kazionov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Dmitri_Kazionov property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1232389
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q1232389
relation P19
type Q56061
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1232389 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Dmitri Kazionov
action filter_type
action find
entity Dmitri Kazionov
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Dmitri_Kazionov property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q1232389
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1232389 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Moscow
Moscow is the place of birth of that person
Moscow
action filter_type
action find
entity Dmitri Kazionov
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Dmitri_Kazionov property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q649
P119
Q502895
USER
Who has that administrative territory as his/her tomb ?
(c(Q502895),P119,Q649)
action filter_type
action find_reverse
entity Q649
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q649']
SELECT DISTINCT ?t WHERE { ?t property:P119 resource:Q649 . ?t rdf:type ontology:Q502895 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Moscow']
SELECT DISTINCT ?t WHERE { ?t property:place_of_burial resource:Moscow . ?t rdf:type ontology:common_name }
[]
common name
Q14980
SYSTEM
Dmitry of Uglich
Q14980
(c(Q502895),P119,Q649)
action filter_type
action find_reverse
entity Q649
relation P119
type Q502895
[ANSWER] has that administrative territory as his/her tomb
[{'concept': 'Q502895'}, 'P119', 'Q649']
SELECT DISTINCT ?t WHERE { ?t property:P119 resource:Q649 . ?t rdf:type ontology:Q502895 }
Dmitry of Uglich
Dmitry of Uglich has that administrative territory as his/her tomb
Dmitry of Uglich
action filter_type
action find_reverse
entity Moscow
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Moscow']
SELECT DISTINCT ?t WHERE { ?t property:place_of_burial resource:Moscow . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14980
P411
Q82799
USER
Which name is held by that person ?
(Q14980,P411,c(Q82799))
action filter_type
action find
entity Q14980
relation P411
type Q82799
['Q14980', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q82799 . resource:Q14980 property:P411 ?z }
Dmitry of Uglich
action filter_type
action find
entity Dmitry of Uglich
relation canonization status
type name
['Dmitry of Uglich', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:name . resource:Dmitry_of_Uglich property:canonization_status ?z }
[]
name
Q43115
SYSTEM
saint
Q43115
(Q14980,P411,c(Q82799))
action filter_type
action find
entity Q14980
relation P411
type Q82799
Is [ANSWER] is held by that person
['Q14980', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q82799 . resource:Q14980 property:P411 ?z }
saint
Is saint is held by that person
saint
action filter_type
action find
entity Dmitry of Uglich
relation canonization status
type name
['Dmitry of Uglich', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:name . resource:Dmitry_of_Uglich property:canonization_status ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14980
P40
Q502895
USER
Whose child are that one ?
(c(Q502895),P40,Q43115)
action filter_type
action find_reverse
entity Q14980
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q43115']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q14980 . ?x rdf:type ontology:Q502895 }
Dmitry of Uglich
action filter_type
action find_reverse
entity Dmitry of Uglich
relation child
type common name
[{'concept': 'common name'}, 'child', 'saint']
SELECT DISTINCT ?x WHERE { ?x property:child resource:Dmitry_of_Uglich . ?x rdf:type ontology:common_name }
[]
common name
Q7996 Q151623
SYSTEM
Ivan the Terrible, Maria Nagaya
Q7996 Q151623
(c(Q502895),P40,Q43115)
action filter_type
action find_reverse
entity Q14980
relation P40
type Q502895
[ANSWERS] are that one
[{'concept': 'Q502895'}, 'P40', 'Q43115']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q14980 . ?x rdf:type ontology:Q502895 }
Ivan the Terrible Maria Nagaya
Ivan the Terrible and Maria Nagaya are that one
Ivan the Terrible Maria Nagaya
action filter_type
action find_reverse
entity Dmitry of Uglich
relation child
type common name
[{'concept': 'common name'}, 'child', 'saint']
SELECT DISTINCT ?x WHERE { ?x property:child resource:Dmitry_of_Uglich . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q5398426
USER
How many television series did exactly 33 people do the dubbing for ?
(c(Q5398426),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 33
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?e ) WHERE { ?q property:P725 ?b . ?q rdf:type ontology:Q5398426 . ?b rdf:type ontology:Q502895 } GROUP BY ?q } . FILTER ( ?e = 33 ) }
action count
action equal
action find_tuple_counts
relation voice actor
type television series
type common name
value 33
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?e ) WHERE { ?q property:voice_actor ?b . ?q rdf:type ontology:television_series . ?b rdf:type ontology:common_name } GROUP BY ?q } . FILTER ( ?e = 33 ) }
[]
common name television series
SYSTEM
1
Q386361
(c(Q5398426),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 33
[ANSWER]
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?e ) WHERE { ?q property:P725 ?b . ?q rdf:type ontology:Q5398426 . ?b rdf:type ontology:Q502895 } GROUP BY ?q } . FILTER ( ?e = 33 ) }
Devil May Cry: The Animated Series
1
action count
action equal
action find_tuple_counts
relation voice actor
type television series
type common name
value 33
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?e ) WHERE { ?q property:voice_actor ?b . ?q rdf:type ontology:television_series . ?b rdf:type ontology:common_name } GROUP BY ?q } . FILTER ( ?e = 33 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q917543
P725
Q502895 Q15961987
USER
Which television genres had greater number of people as the dubbing artist than The Garfield Show ?
(c(Q15961987),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q917543
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?w ) WHERE { ?n property:P725 ?p . ?n rdf:type ontology:Q15961987 . ?p rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Q917543 property:P725 ?g . ?g rdf:type ontology:Q15961987 } } . FILTER ( ?w > ?x ) }
The Garfield Show
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Garfield Show
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?w ) WHERE { ?n property:voice_actor ?p . ?n rdf:type ontology:television_genre . ?p rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:The_Garfield_Show property:voice_actor ?g . ?g rdf:type ontology:television_genre } } . FILTER ( ?w > ?x ) }
[]
common name television genre
Q886 Q53093 Q5415
SYSTEM
The Simpsons, Adventure Time, My Little Pony: Friendship Is Magic
Q24034511 Q11296848 Q7615342 Q3235151 Q576501 Q22773153 Q18790 Q53093 Q753848 Q5415 Q886 Q2750339
(c(Q15961987),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q917543
relation P725
type Q15961987
The Simpsons, Adventure Time and My Little Pony: Friendship is Magic had greater number of people as the dubbing artist than The Garfield Show
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?w ) WHERE { ?n property:P725 ?p . ?n rdf:type ontology:Q15961987 . ?p rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Q917543 property:P725 ?g . ?g rdf:type ontology:Q15961987 } } . FILTER ( ?w > ?x ) }
Voltron: Legendary Defender Kiteretsu Daihyakka Steven Universe VeggieTales Garfield and Friends Milo Murphy's Law The Legend of Korra Adventure Time TaleSpin My Little Pony: Friendship Is Magic The Simpsons Hellsing Ultimate
The Simpsons, Adventure Time and My Little Pony: Friendship is Magic had greater number of people as the dubbing artist than The Garfield Show
The Simpsons Adventure Time My Little Pony: Friendship Is Magic
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity The Garfield Show
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?w ) WHERE { ?n property:voice_actor ?p . ?n rdf:type ontology:television_genre . ?p rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:The_Garfield_Show property:voice_actor ?g . ?g rdf:type ontology:television_genre } } . FILTER ( ?w > ?x ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q886 Q53093 Q5415
P495
Q15617994
USER
Which administrative territories are the countries of origin of those television genres ?
(Q886,P495,c(Q15617994)) (Q53093,P495,c(Q15617994)) (Q5415,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
['Q886', 'P495', {'concept': 'Q15617994'}] ['Q53093', 'P495', {'concept': 'Q15617994'}] ['Q5415', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . VALUES ( ?e ) { ( resource:Q24034511 ) ( resource:Q11296848 ) ( resource:Q7615342 ) } . ?e property:P495 ?l }
The Simpsons Adventure Time My Little Pony: Friendship Is Magic
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['The Simpsons', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Adventure Time', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['My Little Pony: Friendship Is Magic', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?e ) { ( resource:Voltron:_Legendary_Defender ) ( resource:Kiteretsu_Daihyakka ) ( resource:Steven_Universe ) } . ?e property:country_of_origin ?l }
[]
designation for an administrative territorial entity
Q30 Q30 Q30
SYSTEM
United States of America
Q30 Q30 Q30
(Q886,P495,c(Q15617994)) (Q53093,P495,c(Q15617994)) (Q5415,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are the countries of origin of those television genres
['Q886', 'P495', {'concept': 'Q15617994'}] ['Q53093', 'P495', {'concept': 'Q15617994'}] ['Q5415', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . VALUES ( ?e ) { ( resource:Q24034511 ) ( resource:Q11296848 ) ( resource:Q7615342 ) } . ?e property:P495 ?l }
United States of America United States of America United States of America
United States of America, United States of America and United States of America are the countries of origin of those television genres
United States of America United States of America United States of America
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['The Simpsons', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Adventure Time', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['My Little Pony: Friendship Is Magic', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?e ) { ( resource:Voltron:_Legendary_Defender ) ( resource:Kiteretsu_Daihyakka ) ( resource:Steven_Universe ) } . ?e property:country_of_origin ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7996
P170
Q781132
USER
Which military branch was created by Ivan the Terrible ?
(c(Q781132),P170,Q7996)
action filter_type
action find_reverse
entity Q7996
relation P170
type Q781132
[{'concept': 'Q781132'}, 'P170', 'Q7996']
SELECT DISTINCT ?y WHERE { ?y property:P170 resource:Q7996 . ?y rdf:type ontology:Q781132 }
Ivan the Terrible
action filter_type
action find_reverse
entity Ivan the Terrible
relation creator
type military branch
[{'concept': 'military branch'}, 'creator', 'Ivan the Terrible']
SELECT DISTINCT ?y WHERE { ?y property:creator resource:Ivan_the_Terrible . ?y rdf:type ontology:military_branch }
[]
military branch
Q9284402
SYSTEM
Don Cossacks
Q9284402
(c(Q781132),P170,Q7996)
action filter_type
action find_reverse
entity Q7996
relation P170
type Q781132
[ANSWER] was created by Ivan the Terrible
[{'concept': 'Q781132'}, 'P170', 'Q7996']
SELECT DISTINCT ?y WHERE { ?y property:P170 resource:Q7996 . ?y rdf:type ontology:Q781132 }
Don Cossacks
Don Cossacks was created by Ivan the Terrible
Don Cossacks
action filter_type
action find_reverse
entity Ivan the Terrible
relation creator
type military branch
[{'concept': 'military branch'}, 'creator', 'Ivan the Terrible']
SELECT DISTINCT ?y WHERE { ?y property:creator resource:Ivan_the_Terrible . ?y rdf:type ontology:military_branch }
[]