Simple Question (Direct)
Simple Question
Q3546867
P264
Q334453
USER
Who sponsored the recoding of Hanako Ōshima ?
(Q3546867,P264,c(Q334453))
action filter_type
action find
entity Q3546867
relation P264
type Q334453
['Q3546867', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?i WHERE { resource:Q3546867 property:P264 ?i . ?i rdf:type ontology:Q334453 }
Hanako Ōshima
action filter_type
action find
entity Hanako Ōshima
relation record label
type division
['Hanako Ōshima', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?i WHERE { resource:Hanako_Ōshima property:record_label ?i . ?i rdf:type ontology:division }
[]
division
Q1365614
SYSTEM
EMI Music Japan
Q1365614
(Q3546867,P264,c(Q334453))
action filter_type
action find
entity Q3546867
relation P264
type Q334453
[ANSWER] sponsored the recoding of Hanako Ōshima
['Q3546867', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?i WHERE { resource:Q3546867 property:P264 ?i . ?i rdf:type ontology:Q334453 }
EMI Music Japan
EMI Music Japan sponsored the recoding of Hanako Ōshima
EMI Music Japan
action filter_type
action find
entity Hanako Ōshima
relation record label
type division
['Hanako Ōshima', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?i WHERE { resource:Hanako_Ōshima property:record_label ?i . ?i rdf:type ontology:division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3546867
P25
Q502895
USER
Who was the mom of Hanako Ōshima ?
(Q3546867,P25,c(Q502895))
action filter_type
action find
entity Q3546867
relation P25
type Q502895
['Q3546867', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3546867 property:P25 ?f . ?f rdf:type ontology:Q502895 }
Hanako Ōshima
action filter_type
action find
entity Hanako Ōshima
relation mother
type common name
['Hanako Ōshima', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Hanako_Ōshima property:mother ?f . ?f rdf:type ontology:common_name }
[]
common name
Q3543386
SYSTEM
Yukiko Kashiwagi
Q3543386
(Q3546867,P25,c(Q502895))
action filter_type
action find
entity Q3546867
relation P25
type Q502895
The mom of Hanako Ōshima was Princess [ANSWER]
['Q3546867', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3546867 property:P25 ?f . ?f rdf:type ontology:Q502895 }
Yukiko Kashiwagi
The mom of Hanako Ōshima was Princess Yukiko Kashiwagi
Yukiko Kashiwagi
action filter_type
action find
entity Hanako Ōshima
relation mother
type common name
['Hanako Ōshima', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Hanako_Ōshima property:mother ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3546867
P22
Q502895
USER
Who was the father of Hanako Ōshima ?
(Q3546867,P22,c(Q502895))
action filter_type
action find
entity Q3546867
relation P22
type Q502895
['Q3546867', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q3546867 property:P22 ?j }
Hanako Ōshima
action filter_type
action find
entity Hanako Ōshima
relation father
type common name
['Hanako Ōshima', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Hanako_Ōshima property:father ?j }
[]
common name
Q313081
SYSTEM
Kyū Sakamoto
Q313081
(Q3546867,P22,c(Q502895))
action filter_type
action find
entity Q3546867
relation P22
type Q502895
The father of Hanako Ōshima was named [ANSWER]
['Q3546867', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q3546867 property:P22 ?j }
Kyū Sakamoto
The father of Hanako Ōshima was named Kyū Sakamoto
Kyū Sakamoto
action filter_type
action find
entity Hanako Ōshima
relation father
type common name
['Hanako Ōshima', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Hanako_Ōshima property:father ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3546867
P40
Q502895
USER
Who have Hanako Ōshima as an offspring ?
(c(Q502895),P40,Q3546867)
action filter_type
action find_reverse
entity Q3546867
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q3546867']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P40 resource:Q3546867 }
Hanako Ōshima
action filter_type
action find_reverse
entity Hanako Ōshima
relation child
type common name
[{'concept': 'common name'}, 'child', 'Hanako Ōshima']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:child resource:Hanako_Ōshima }
[]
common name
Q3543386 Q313081
SYSTEM
Yukiko Kashiwagi, Kyū Sakamoto
Q3543386 Q313081
(c(Q502895),P40,Q3546867)
action filter_type
action find_reverse
entity Q3546867
relation P40
type Q502895
[ANSWERS] have Hanako Ōshima as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q3546867']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P40 resource:Q3546867 }
Yukiko Kashiwagi Kyū Sakamoto
Yukiko Kashiwagi and Kyū Sakamoto have Hanako Ōshima as an offspring
Yukiko Kashiwagi Kyū Sakamoto
action filter_type
action find_reverse
entity Hanako Ōshima
relation child
type common name
[{'concept': 'common name'}, 'child', 'Hanako Ōshima']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:child resource:Hanako_Ōshima }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3543386 Q313081
P21
Q290
USER
What are the sex of those people ?
(Q3543386,P21,c(Q290)) (Q313081,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q3543386', 'P21', {'concept': 'Q290'}] ['Q313081', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?r property:P21 ?q . ?q rdf:type ontology:Q290 . VALUES ( ?r ) { ( resource:Q3543386 ) ( resource:Q313081 ) } }
Yukiko Kashiwagi Kyū Sakamoto
action filter_type
action find
entity prev_answer
relation gender
type sex
['Yukiko Kashiwagi', 'gender', {'concept': 'sex'}] ['Kyū Sakamoto', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?r property:gender ?q . ?q rdf:type ontology:sex . VALUES ( ?r ) { ( resource:Yukiko_Kashiwagi ) ( resource:Kyū_Sakamoto ) } }
[]
sex
Q6581072 Q6581097
SYSTEM
female, male
Q6581072 Q6581097
(Q3543386,P21,c(Q290)) (Q313081,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
The sex of those people are a [ANSWERS]
['Q3543386', 'P21', {'concept': 'Q290'}] ['Q313081', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?r property:P21 ?q . ?q rdf:type ontology:Q290 . VALUES ( ?r ) { ( resource:Q3543386 ) ( resource:Q313081 ) } }
female male
The sex of those people are a female and male
female male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Yukiko Kashiwagi', 'gender', {'concept': 'sex'}] ['Kyū Sakamoto', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?r property:gender ?q . ?q rdf:type ontology:sex . VALUES ( ?r ) { ( resource:Yukiko_Kashiwagi ) ( resource:Kyū_Sakamoto ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q313081
P161
Q838948
USER
What are the name of works of art staring Kyū Sakamoto ?
(c(Q838948),P161,Q313081)
action filter_type
action find_reverse
entity Q313081
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q313081']
SELECT DISTINCT ?f WHERE { ?f property:P161 resource:Q313081 . ?f rdf:type ontology:Q838948 }
Kyū Sakamoto
action filter_type
action find_reverse
entity Kyū Sakamoto
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Kyū Sakamoto']
SELECT DISTINCT ?f WHERE { ?f property:cast_member resource:Kyū_Sakamoto . ?f rdf:type ontology:work_of_art }
[]
work of art
Q846685 Q3003209 Q6452650
SYSTEM
Gulliver's Travels Beyond the Moon, Takekurabe, Kyu-chan no Dekkai Yume
Q3003209 Q6452650 Q5961415 Q846685
(c(Q838948),P161,Q313081)
action filter_type
action find_reverse
entity Q313081
relation P161
type Q838948
The name of works of art staring Kyū Sakamoto are [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q313081']
SELECT DISTINCT ?f WHERE { ?f property:P161 resource:Q313081 . ?f rdf:type ontology:Q838948 }
Takekurabe Kyu-chan no Dekkai Yume Shichiji ni aimashō Gulliver's Travels Beyond the Moon
The name of works of art staring Kyū Sakamoto are Gulliver's Travels Beyond the Moon, Takekurabe and Kyu-chan no Dekkai Yume
Gulliver's Travels Beyond the Moon Takekurabe Kyu-chan no Dekkai Yume
action filter_type
action find_reverse
entity Kyū Sakamoto
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Kyū Sakamoto']
SELECT DISTINCT ?f WHERE { ?f property:cast_member resource:Kyū_Sakamoto . ?f rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q313081
P26
Q502895
USER
Which person is the spouse of Kyū Sakamoto ?
(Q313081,P26,c(Q502895))
action filter_type
action find
entity Q313081
relation P26
type Q502895
['Q313081', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q313081 property:P26 ?j . ?j rdf:type ontology:Q502895 }
Kyū Sakamoto
action filter_type
action find
entity Kyū Sakamoto
relation spouse
type common name
['Kyū Sakamoto', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Kyū_Sakamoto property:spouse ?j . ?j rdf:type ontology:common_name }
[]
common name
Q3543386
SYSTEM
Yukiko Kashiwagi
Q3543386
(Q313081,P26,c(Q502895))
action filter_type
action find
entity Q313081
relation P26
type Q502895
[ANSWER] is the spouse of Kyū Sakamoto
['Q313081', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q313081 property:P26 ?j . ?j rdf:type ontology:Q502895 }
Yukiko Kashiwagi
Yukiko Kashiwagi is the spouse of Kyū Sakamoto
Yukiko Kashiwagi
action filter_type
action find
entity Kyū Sakamoto
relation spouse
type common name
['Kyū Sakamoto', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Kyū_Sakamoto property:spouse ?j . ?j rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3543386 Q16543340
P26
Q502895
USER
Is Carlos Meneses the spouse of that one ?
(Q16543340,P26,Q3543386)
action is_in
entity Q16543340
action find
entity Q3543386
relation P26
['Q16543340', 'P26', 'Q3543386']
ASK WHERE { resource:Q3543386 property:P26 resource:Q16543340 }
Yukiko Kashiwagi Carlos Meneses
action is_in
entity Carlos Meneses
action find
entity Yukiko Kashiwagi
relation spouse
['Carlos Meneses', 'spouse', 'Yukiko Kashiwagi']
ASK WHERE { resource:Yukiko_Kashiwagi property:spouse resource:Carlos_Meneses }
[]
common name
SYSTEM
NO
(Q16543340,P26,Q3543386)
action is_in
entity Q16543340
action find
entity Q3543386
relation P26
[ANSWER]
['Q16543340', 'P26', 'Q3543386']
ASK WHERE { resource:Q3543386 property:P26 resource:Q16543340 }
No
action is_in
entity Carlos Meneses
action find
entity Yukiko Kashiwagi
relation spouse
['Carlos Meneses', 'spouse', 'Yukiko Kashiwagi']
ASK WHERE { resource:Yukiko_Kashiwagi property:spouse resource:Carlos_Meneses }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q16970 Q15617994
USER
Which people are the patron saint of approximately 25 churches and administrative territories ?
(c(Q16970)|c(Q15617994),P417,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
value 25
[[{'concept': 'Q16970'}, {'concept': 'Q15617994'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?f ) WHERE { { ?k rdf:type ontology:Q502895 . ?t rdf:type ontology:Q16970 . ?t property:P417 ?k } UNION { ?t property:P417 ?k . ?t rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q502895 } } GROUP BY ?k } . FILTER ( ?f = 25 ) }
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
value 25
[[{'concept': 'church'}, {'concept': 'designation for an administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?f ) WHERE { { ?k rdf:type ontology:common_name . ?t rdf:type ontology:church . ?t property:patron_saint ?k } UNION { ?t property:patron_saint ?k . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:common_name } } GROUP BY ?k } . FILTER ( ?f = 25 ) }
[]
common name church designation for an administrative territorial entity
Q40662 Q44269 Q43982
SYSTEM
John the Baptist, Saint Nicholas, Bartholomew the Apostle
Q48438 Q44269 Q43982 Q40662 Q17590
(c(Q16970)|c(Q15617994),P417,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
value 25
[ANSWERS] are the patron saint of approximately 25 churches and administrative territories
[[{'concept': 'Q16970'}, {'concept': 'Q15617994'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?f ) WHERE { { ?k rdf:type ontology:Q502895 . ?t rdf:type ontology:Q16970 . ?t property:P417 ?k } UNION { ?t property:P417 ?k . ?t rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q502895 } } GROUP BY ?k } . FILTER ( ?f = 25 ) }
Saint George Saint Nicholas Bartholomew the Apostle John the Baptist Lawrence of Rome
John the Baptist, Saint Nicholas and Bartholomew the Apostle are the patron saint of approximately 25 churches and administrative territories
John the Baptist Saint Nicholas Bartholomew the Apostle
action approx
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
value 25
[[{'concept': 'church'}, {'concept': 'designation for an administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?f ) WHERE { { ?k rdf:type ontology:common_name . ?t rdf:type ontology:church . ?t property:patron_saint ?k } UNION { ?t property:patron_saint ?k . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:common_name } } GROUP BY ?k } . FILTER ( ?f = 25 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15961987
USER
Which television genres had atmost 10 people as the dubbing artist ?
(c(Q15961987),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 10
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?g ) WHERE { ?z property:P725 ?e . ?z rdf:type ontology:Q15961987 . ?e rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?g <= 10 ) }
action atmost
action find_tuple_counts
relation voice actor
type television genre
type common name
value 10
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?g ) WHERE { ?z property:voice_actor ?e . ?z rdf:type ontology:television_genre . ?e rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?g <= 10 ) }
[]
common name television genre
Q886 Q11572 Q53093
SYSTEM
The Simpsons, Avatar: The Last Airbender, Adventure Time
Q11572 Q24034511 Q11296848 Q7615342 Q3235151 Q576501 Q847219 Q53093 Q753848 Q5415 Q886 Q917543 Q2750339
(c(Q15961987),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 10
[ANSWERS] had atmost 10 people as the dubbing artist
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?g ) WHERE { ?z property:P725 ?e . ?z rdf:type ontology:Q15961987 . ?e rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?g <= 10 ) }
Avatar: The Last Airbender Voltron: Legendary Defender Kiteretsu Daihyakka Steven Universe VeggieTales Garfield and Friends Pururun! Shizuku-chan Adventure Time TaleSpin My Little Pony: Friendship Is Magic The Simpsons The Garfield Show Hellsing Ultimate
The Simpsons, Avatar: The Last Airbender and Adventure Time had atmost 10 people as the dubbing artist
The Simpsons Avatar: The Last Airbender Adventure Time
action atmost
action find_tuple_counts
relation voice actor
type television genre
type common name
value 10
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?g ) WHERE { ?z property:voice_actor ?e . ?z rdf:type ontology:television_genre . ?e rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?g <= 10 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P361
Q15416
USER
How many television programs are parts of that television genre ?
(c(Q15416),P361,Q53093)
[{'concept': 'Q15416'}, 'P361', 'Q53093']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P361 resource:Q17985416 . ?z rdf:type ontology:Q15416 }
[{'concept': 'television program'}, 'part of', 'Adventure Time']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:part_of resource:Adventure_Time . ?z rdf:type ontology:television_program }
[]
television program
Quantitative|Count|Single entity type|Clarification
Q11572
SYSTEM
Did you mean Avatar: The Last Airbender ?
(c(Q15416),P361,Q886) (c(Q15416),P361,Q11572) (c(Q15416),P361,Q53093)
[ANSWER]
[{'concept': 'Q15416'}, 'P361', 'Q886'] [{'concept': 'Q15416'}, 'P361', 'Q11572'] [{'concept': 'Q15416'}, 'P361', 'Q53093']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P361 resource:Q17985416 . ?z rdf:type ontology:Q15416 }
Did you mean Avatar: The Last Airbender ?
Avatar: The Last Airbender
[{'concept': 'television program'}, 'part of', 'The Simpsons'] [{'concept': 'television program'}, 'part of', 'Avatar: The Last Airbender'] [{'concept': 'television program'}, 'part of', 'Adventure Time']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:part_of resource:Adventure_Time . ?z rdf:type ontology:television_program }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Adventure Time. Could you tell me the answer for that?
(c(Q15416),P361,Q53093)
Q53093
[{'concept': 'Q15416'}, 'P361', 'Q53093']
[{'concept': 'television program'}, 'part of', 'Adventure Time']
[]
SYSTEM
8
Q20656730 Q16512988 Q4686551 Q17985416 Q4686548 Q4686549 Q4686550 Q4686552
(c(Q15416),P361,Q53093)
[ANSWER]
[{'concept': 'Q15416'}, 'P361', 'Q53093']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P361 resource:Q17985416 . ?z rdf:type ontology:Q15416 }
Adventure Time Adventure Time (season 6) fourth season of Adventure Time Adventure Time Adventure Time (season 1) Second Season of Adventure Time third season of Adventure Time fifth season of Adventure Time
8
[{'concept': 'television program'}, 'part of', 'Adventure Time']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:part_of resource:Adventure_Time . ?z rdf:type ontology:television_program }
[]