Simple Question (Direct)
Simple Question
Q11585760
P26
Q502895
USER
Who is the spouse of Yoshimi Ishikawa ?
(Q11585760,P26,c(Q502895))
action filter_type
action find
entity Q11585760
relation P26
type Q502895
['Q11585760', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q11585760 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Yoshimi Ishikawa
action filter_type
action find
entity Yoshimi Ishikawa
relation spouse
type common name
['Yoshimi Ishikawa', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Yoshimi_Ishikawa property:spouse ?s . ?s rdf:type ontology:common_name }
[]
common name
Q11547187
SYSTEM
Minako Tonogai
Q11547187
(Q11585760,P26,c(Q502895))
action filter_type
action find
entity Q11585760
relation P26
type Q502895
The spouse of Yoshimi Ishikawa is the [ANSWER]
['Q11585760', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q11585760 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Minako Tonogai
The spouse of Yoshimi Ishikawa is the Minako Tonogai
Minako Tonogai
action filter_type
action find
entity Yoshimi Ishikawa
relation spouse
type common name
['Yoshimi Ishikawa', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Yoshimi_Ishikawa property:spouse ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11585760
P19
Q56061
USER
Which administrative territory was Yoshimi Ishikawa born in ?
(Q11585760,P19,c(Q56061))
action filter_type
action find
entity Q11585760
relation P19
type Q56061
['Q11585760', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q11585760 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Yoshimi Ishikawa
action filter_type
action find
entity Yoshimi Ishikawa
relation place of birth
type administrative territorial entity
['Yoshimi Ishikawa', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Yoshimi_Ishikawa property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1490
SYSTEM
Tokyo
Q1490
(Q11585760,P19,c(Q56061))
action filter_type
action find
entity Q11585760
relation P19
type Q56061
Yoshimi Ishikawa was born in [ANSWER]
['Q11585760', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q11585760 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Tokyo
Yoshimi Ishikawa was born in Tokyo
Tokyo
action filter_type
action find
entity Yoshimi Ishikawa
relation place of birth
type administrative territorial entity
['Yoshimi Ishikawa', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Yoshimi_Ishikawa property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1490
P551
Q502895
USER
Which people dwell at that administrative territory ?
(c(Q502895),P551,Q1490)
action filter_type
action find_reverse
entity Q1490
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1490']
SELECT DISTINCT ?t WHERE { ?t property:P551 resource:Q1490 . ?t rdf:type ontology:Q502895 }
Tokyo
action filter_type
action find_reverse
entity Tokyo
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Tokyo']
SELECT DISTINCT ?t WHERE { ?t property:residence resource:Tokyo . ?t rdf:type ontology:common_name }
[]
common name
Q55400 Q117012 Q1142313
SYSTEM
Hayao Miyazaki, Yoko Ono, Takako Matsu
Q373544 Q1004398 Q546592 Q1618018 Q1001899 Q5339940 Q3783656 Q1197220 Q6959305 Q1009503 Q978594 Q20740569 Q2604291 Q236475 Q3489107 Q715417 Q18211248 Q8055330 Q229104 Q6555861 Q6443887 Q55402 Q55400 Q12058265 Q8054598 Q19359177 Q3196888 Q259884 Q1065383 Q11557673 Q705522 Q1019213 Q4353136 Q17486385 Q6383882 Q1142313 Q1000626 Q26807278 Q2090890 Q117012 Q13512719 Q1041007 Q6809947 Q5402289 Q6443895 Q11349096 Q454229 Q15890426 Q16212539
(c(Q502895),P551,Q1490)
action filter_type
action find_reverse
entity Q1490
relation P551
type Q502895
[ANSWERS] dwell at that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q1490']
SELECT DISTINCT ?t WHERE { ?t property:P551 resource:Q1490 . ?t rdf:type ontology:Q502895 }
Go Soeda Asumi Nakata Isao Tomita Hijikata Yoshi Shu Uemura Edmund Yeo Hatsu Hioki Satomi Ishihara Naho Sugiyama Bunji Sakita Shuzo Matsuoka Anna Smaill Yurika Sema Olivia Munn Shuzo Awaji Takao Suzuki Kyōka Okamura Yorinaga Nakamura Kimiko Date-Krumm Lioness Asuka Kumiko Iijima Yasujirō Ozu Hayao Miyazaki Takeshi Aragaki Yoko Yamada Kakuzō Fujiyama Kimiko Yoshida Origa Fumi Yoshinaga Ayaka Hamasaki Hiroyuki Sanada Honinbo Shuwa Tatsuya Naka Alexander Martin Keisuke Fujiwara Takako Matsu Hiroshi Yanaka Ferdinand von Salis Yuki Kondo Yoko Ono Mari Tanaka Eri Sendai Mei Yamaguchi Esui Kumiko Takizawa Rumiko Varnes Miho Saeki Mark Karpelès Norimi Sakurai
Hayao Miyazaki, Yoko Ono and Takako Matsu dwell at that administrative territory
Hayao Miyazaki Yoko Ono Takako Matsu
action filter_type
action find_reverse
entity Tokyo
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Tokyo']
SELECT DISTINCT ?t WHERE { ?t property:residence resource:Tokyo . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q55400 Q117012 Q1142313
P26
Q502895
USER
Which people are the life partner of Hayao Miyazaki, Yoko Ono and Takako Matsu ?
(Q55400,P26,c(Q502895)) (Q117012,P26,c(Q502895)) (Q1142313,P26,c(Q502895))
action union
action filter_type
action find
entity Q55400
relation P26
type Q502895
action filter_type
action find
entity Q117012
relation P26
type Q502895
action filter_type
action find
entity Q1142313
relation P26
type Q502895
['Q55400', 'P26', {'concept': 'Q502895'}] ['Q117012', 'P26', {'concept': 'Q502895'}] ['Q1142313', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?u ) { ( resource:Q55400 ) ( resource:Q117012 ) } . ?u property:P26 ?b }
Hayao Miyazaki Yoko Ono Takako Matsu
action union
action filter_type
action find
entity Hayao Miyazaki
relation spouse
type common name
action filter_type
action find
entity Yoko Ono
relation spouse
type common name
action filter_type
action find
entity Takako Matsu
relation spouse
type common name
['Hayao Miyazaki', 'spouse', {'concept': 'common name'}] ['Yoko Ono', 'spouse', {'concept': 'common name'}] ['Takako Matsu', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?u ) { ( resource:Hayao_Miyazaki ) ( resource:Yoko_Ono ) } . ?u property:spouse ?b }
[]
common name
Q1203 Q11383223 Q2828975
SYSTEM
John Lennon, Yoshiyuki Sahashi, Akemi Ōta
Q2828975 Q1203 Q1190476 Q4772322 Q11383223
(Q55400,P26,c(Q502895)) (Q117012,P26,c(Q502895)) (Q1142313,P26,c(Q502895))
action union
action filter_type
action find
entity Q55400
relation P26
type Q502895
action filter_type
action find
entity Q117012
relation P26
type Q502895
action filter_type
action find
entity Q1142313
relation P26
type Q502895
[ANSWERS] are the life partner of Hayao Miyazaki, Yoko Ono and Takako Matsu
['Q55400', 'P26', {'concept': 'Q502895'}] ['Q117012', 'P26', {'concept': 'Q502895'}] ['Q1142313', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?u ) { ( resource:Q55400 ) ( resource:Q117012 ) } . ?u property:P26 ?b }
Akemi Ōta John Lennon Toshi Ichiyanagi Anthony Cox Yoshiyuki Sahashi
John Lennon, Yoshiyuki Sahashi and Akemi Ōta are the life partner of Hayao Miyazaki, Yoko Ono and Takako Matsu
John Lennon Yoshiyuki Sahashi Akemi Ōta
action union
action filter_type
action find
entity Hayao Miyazaki
relation spouse
type common name
action filter_type
action find
entity Yoko Ono
relation spouse
type common name
action filter_type
action find
entity Takako Matsu
relation spouse
type common name
['Hayao Miyazaki', 'spouse', {'concept': 'common name'}] ['Yoko Ono', 'spouse', {'concept': 'common name'}] ['Takako Matsu', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?u ) { ( resource:Hayao_Miyazaki ) ( resource:Yoko_Ono ) } . ?u property:spouse ?b }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1203
P57
Q15416
USER
Which television program did that person direct ?
(c(Q15416),P57,Q1203)
action filter_type
action find_reverse
entity Q1203
relation P57
type Q15416
[{'concept': 'Q15416'}, 'P57', 'Q1203']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15416 . ?t property:P57 resource:Q1203 }
John Lennon
action filter_type
action find_reverse
entity John Lennon
relation director
type television program
[{'concept': 'television program'}, 'director', 'John Lennon']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:television_program . ?t property:director resource:John_Lennon }
[]
television program
Clarification for simple ques.
Q1203
SYSTEM
Did you mean John Lennon ?
Q1203 Q11383223 Q2828975
(c(Q15416),P57,Q1203) (c(Q15416),P57,Q11383223) (c(Q15416),P57,Q2828975)
[ANSWER]
[{'concept': 'Q15416'}, 'P57', 'Q1203'] [{'concept': 'Q15416'}, 'P57', 'Q11383223'] [{'concept': 'Q15416'}, 'P57', 'Q2828975']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15416 . ?t property:P57 resource:Q1203 }
John Lennon Yoshiyuki Sahashi Akemi Ōta
Did you mean John Lennon ?
John Lennon
[{'concept': 'television program'}, 'director', 'John Lennon'] [{'concept': 'television program'}, 'director', 'Yoshiyuki Sahashi'] [{'concept': 'television program'}, 'director', 'Akemi Ōta']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:television_program . ?t property:director resource:John_Lennon }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q15416),P57,Q1203)
[{'concept': 'Q15416'}, 'P57', 'Q1203']
[{'concept': 'television program'}, 'director', 'John Lennon']
[]
Q3421626
SYSTEM
Imagine
Q3421626
(c(Q15416),P57,Q1203)
action filter_type
action find_reverse
entity Q1203
relation P57
type Q15416
That person directed [ANSWER]
[{'concept': 'Q15416'}, 'P57', 'Q1203']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15416 . ?t property:P57 resource:Q1203 }
Imagine
That person directed Imagine
Imagine
action filter_type
action find_reverse
entity John Lennon
relation director
type television program
[{'concept': 'television program'}, 'director', 'John Lennon']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:television_program . ?t property:director resource:John_Lennon }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P161
Q502895
USER
How many people starred in that television program ?
(Q3421626,P161,c(Q502895))
action count
action filter_type
action find
entity Q3421626
relation P161
type Q502895
['Q3421626', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d rdf:type ontology:Q502895 . resource:Q3421626 property:P161 ?d }
action count
action filter_type
action find
entity Imagine
relation cast member
type common name
['Imagine', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d rdf:type ontology:common_name . resource:Imagine property:cast_member ?d }
[]
common name
SYSTEM
8
Q67231 Q375356 Q100937 Q193653 Q5218578 Q1203 Q2643 Q117012
(Q3421626,P161,c(Q502895))
action count
action filter_type
action find
entity Q3421626
relation P161
type Q502895
[ANSWER]
['Q3421626', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d rdf:type ontology:Q502895 . resource:Q3421626 property:P161 ?d }
Daniel Richter Dick Cavett Fred Astaire Jack Palance Daniel Richter John Lennon George Harrison Yoko Ono
8
action count
action filter_type
action find
entity Imagine
relation cast member
type common name
['Imagine', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { ?d rdf:type ontology:common_name . resource:Imagine property:cast_member ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1203
P138
Q271669
USER
Which landform is the eponym of John Lennon ?
(c(Q271669),P138,Q1203)
action filter_type
action find_reverse
entity Q1203
relation P138
type Q271669
[{'concept': 'Q271669'}, 'P138', 'Q1203']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q271669 . ?e property:P138 resource:Q1203 }
John Lennon
action filter_type
action find_reverse
entity John Lennon
relation named after
type landform
[{'concept': 'landform'}, 'named after', 'John Lennon']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:landform . ?e property:named_after resource:John_Lennon }
[]
landform
Q24237739
SYSTEM
Lennon
Q24237739
(c(Q271669),P138,Q1203)
action filter_type
action find_reverse
entity Q1203
relation P138
type Q271669
[ANSWER] is the eponym of John [ANSWER]
[{'concept': 'Q271669'}, 'P138', 'Q1203']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q271669 . ?e property:P138 resource:Q1203 }
Lennon
Lennon is the eponym of John Lennon
Lennon
action filter_type
action find_reverse
entity John Lennon
relation named after
type landform
[{'concept': 'landform'}, 'named after', 'John Lennon']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:landform . ?e property:named_after resource:John_Lennon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1203
P361
Q16334295
USER
Which group of humans is John Lennon a part of ?
(Q1203,P361,c(Q16334295))
action filter_type
action find
entity Q1203
relation P361
type Q16334295
['Q1203', 'P361', {'concept': 'Q16334295'}]
SELECT DISTINCT ?m WHERE { resource:Q1203 property:P361 ?m . ?m rdf:type ontology:Q16334295 }
John Lennon
action filter_type
action find
entity John Lennon
relation part of
type group of humans
['John Lennon', 'part of', {'concept': 'group of humans'}]
SELECT DISTINCT ?m WHERE { resource:John_Lennon property:part_of ?m . ?m rdf:type ontology:group_of_humans }
[]
group of humans
Q239177
SYSTEM
Lennon–McCartney
Q239177
(Q1203,P361,c(Q16334295))
action filter_type
action find
entity Q1203
relation P361
type Q16334295
Lennon [ANSWER] is John Lennon a part of
['Q1203', 'P361', {'concept': 'Q16334295'}]
SELECT DISTINCT ?m WHERE { resource:Q1203 property:P361 ?m . ?m rdf:type ontology:Q16334295 }
Lennon–McCartney
Lennon Lennon–McCartney is John Lennon a part of
Lennon–McCartney
action filter_type
action find
entity John Lennon
relation part of
type group of humans
['John Lennon', 'part of', {'concept': 'group of humans'}]
SELECT DISTINCT ?m WHERE { resource:John_Lennon property:part_of ?m . ?m rdf:type ontology:group_of_humans }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1203
P50
Q2342494
USER
Which collectables were written by John Lennon ?
(c(Q2342494),P50,Q1203)
action filter_type
action find_reverse
entity Q1203
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q1203']
SELECT DISTINCT ?s WHERE { ?s property:P50 resource:Q1203 . ?s rdf:type ontology:Q2342494 }
John Lennon
action filter_type
action find_reverse
entity John Lennon
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'John Lennon']
SELECT DISTINCT ?s WHERE { ?s property:author resource:John_Lennon . ?s rdf:type ontology:collectable }
[]
collectable
Q652890 Q2716315 Q7538155
SYSTEM
A Spaniard in the Works, In His Own Write, Skywriting by Word of Mouth
Q652890 Q2716315 Q7538155
(c(Q2342494),P50,Q1203)
action filter_type
action find_reverse
entity Q1203
relation P50
type Q2342494
A Spaniard in the Works, In His Own Write and skywriting by Word of Mouth were written by John Lennon
[{'concept': 'Q2342494'}, 'P50', 'Q1203']
SELECT DISTINCT ?s WHERE { ?s property:P50 resource:Q1203 . ?s rdf:type ontology:Q2342494 }
A Spaniard in the Works In His Own Write Skywriting by Word of Mouth
A Spaniard in the Works, In His Own Write and skywriting by Word of Mouth were written by John Lennon
A Spaniard in the Works In His Own Write Skywriting by Word of Mouth
action filter_type
action find_reverse
entity John Lennon
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'John Lennon']
SELECT DISTINCT ?s WHERE { ?s property:author resource:John_Lennon . ?s rdf:type ontology:collectable }
[]
Clarification
Simple Question|Single Entity|Indirect
Q652890
P364
Q34770
USER
Which language was used originally for the creation of that collectable ?
(Q652890,P364,c(Q34770))
action filter_type
action find
entity Q652890
relation P364
type Q34770
['Q652890', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q652890 property:P364 ?h . ?h rdf:type ontology:Q34770 }
A Spaniard in the Works
action filter_type
action find
entity A Spaniard in the Works
relation original language of work
type language
['A Spaniard in the Works', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:A_Spaniard_in_the_Works property:original_language_of_work ?h . ?h rdf:type ontology:language }
[]
language
Clarification for simple ques.
Q652890
SYSTEM
Did you mean A Spaniard in the Works ?
Q652890 Q2716315 Q7538155
(Q652890,P364,c(Q34770)) (Q2716315,P364,c(Q34770)) (Q7538155,P364,c(Q34770))
[ANSWER]
['Q652890', 'P364', {'concept': 'Q34770'}] ['Q2716315', 'P364', {'concept': 'Q34770'}] ['Q7538155', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q652890 property:P364 ?h . ?h rdf:type ontology:Q34770 }
A Spaniard in the Works In His Own Write Skywriting by Word of Mouth
Did you mean A Spaniard in the Works ?
A Spaniard in the Works
['A Spaniard in the Works', 'original language of work', {'concept': 'language'}] ['In His Own Write', 'original language of work', {'concept': 'language'}] ['Skywriting by Word of Mouth', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:A_Spaniard_in_the_Works property:original_language_of_work ?h . ?h rdf:type ontology:language }
[]
Simple Question (Coreferenced)
USER
Yes
(Q652890,P364,c(Q34770))
['Q652890', 'P364', {'concept': 'Q34770'}]
['A Spaniard in the Works', 'original language of work', {'concept': 'language'}]
[]
Q1860
SYSTEM
English
Q1860
(Q652890,P364,c(Q34770))
action filter_type
action find
entity Q652890
relation P364
type Q34770
[ANSWER] was used originally for the creation of that collectable
['Q652890', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q652890 property:P364 ?h . ?h rdf:type ontology:Q34770 }
English
English was used originally for the creation of that collectable
English
action filter_type
action find
entity A Spaniard in the Works
relation original language of work
type language
['A Spaniard in the Works', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:A_Spaniard_in_the_Works property:original_language_of_work ?h . ?h rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q652890
P136
Q571
USER
Which genre does A Spaniard in the Works belong to ?
(Q652890,P136,c(Q571))
action filter_type
action find
entity Q652890
relation P136
type Q571
['Q652890', 'P136', {'concept': 'Q571'}]
SELECT DISTINCT ?g WHERE { resource:Q652890 property:P136 ?g . ?g rdf:type ontology:Q571 }
A Spaniard in the Works
action filter_type
action find
entity A Spaniard in the Works
relation genre
type book
['A Spaniard in the Works', 'genre', {'concept': 'book'}]
SELECT DISTINCT ?g WHERE { resource:A_Spaniard_in_the_Works property:genre ?g . ?g rdf:type ontology:book }
[]
book
Q1279564
SYSTEM
short story collection
Q1279564
(Q652890,P136,c(Q571))
action filter_type
action find
entity Q652890
relation P136
type Q571
A Spaniard in the Works belongs to [ANSWER]
['Q652890', 'P136', {'concept': 'Q571'}]
SELECT DISTINCT ?g WHERE { resource:Q652890 property:P136 ?g . ?g rdf:type ontology:Q571 }
short story collection
A Spaniard in the Works belongs to short story collection
short story collection
action filter_type
action find
entity A Spaniard in the Works
relation genre
type book
['A Spaniard in the Works', 'genre', {'concept': 'book'}]
SELECT DISTINCT ?g WHERE { resource:A_Spaniard_in_the_Works property:genre ?g . ?g rdf:type ontology:book }
[]