Simple Question (Direct)
Simple Question
Q11301860
P27
Q15617994
USER
Which administrative territory does Kota belong to ?
(Q11301860,P27,c(Q15617994))
action filter_type
action find
entity Q11301860
relation P27
type Q15617994
['Q11301860', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q11301860 property:P27 ?h }
Kota
action filter_type
action find
entity Kota
relation country of citizenship
type designation for an administrative territorial entity
['Kota', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kota property:country_of_citizenship ?h }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q11301860,P27,c(Q15617994))
action filter_type
action find
entity Q11301860
relation P27
type Q15617994
Kota belongs to [ANSWER]
['Q11301860', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q11301860 property:P27 ?h }
Japan
Kota belongs to Japan
Japan
action filter_type
action find
entity Kota
relation country of citizenship
type designation for an administrative territorial entity
['Kota', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kota property:country_of_citizenship ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11301860
P106
Q12737077
USER
What are the job of that person ?
(Q17,P106,c(Q12737077))
action filter_type
action find
entity Q11301860
relation P106
type Q12737077
['Q17', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q11301860 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Kota
action filter_type
action find
entity Kota
relation occupation
type occupation
['Japan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Kota property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q639669 Q333634 Q6430706
SYSTEM
musician, translator, critic
Q639669 Q333634 Q6430706 Q33999 Q36180
(Q17,P106,c(Q12737077))
action filter_type
action find
entity Q11301860
relation P106
type Q12737077
The job of that person are the [ANSWERS]
['Q17', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q11301860 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
musician translator critic actor writer
The job of that person are the musician, translator and critic
musician translator critic
action filter_type
action find
entity Kota
relation occupation
type occupation
['Japan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Kota property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11301860
P19
Q56061
USER
Which administrative territory is the birthplace of Kota ?
(Q11301860,P19,c(Q56061))
action filter_type
action find
entity Q11301860
relation P19
type Q56061
['Q11301860', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q11301860 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Kota
action filter_type
action find
entity Kota
relation place of birth
type administrative territorial entity
['Kota', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Kota property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1490
SYSTEM
Tokyo
Q1490
(Q11301860,P19,c(Q56061))
action filter_type
action find
entity Q11301860
relation P19
type Q56061
U [ANSWER] is the birthplace of Kota
['Q11301860', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q11301860 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Tokyo
U Tokyo is the birthplace of Kota
Tokyo
action filter_type
action find
entity Kota
relation place of birth
type administrative territorial entity
['Kota', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Kota property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1490
P551
Q502895
USER
Who lives in 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 ?s WHERE { ?s property:P551 resource:Q1490 . ?s 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 ?s WHERE { ?s property:residence resource:Tokyo . ?s 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] live in that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q1490']
SELECT DISTINCT ?s WHERE { ?s property:P551 resource:Q1490 . ?s 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 live in 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 ?s WHERE { ?s property:residence resource:Tokyo . ?s rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1490
P551 P21
Q502895
USER
Which people dwell at Tokyo and are a male ?
AND((c(Q502895),P551,Q1490), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1490
relation P551
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P551', 'Q1490'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?h WHERE { ?h property:P551 resource:Q1490 . ?h property:P21 resource:Q6581097 . ?h rdf:type ontology:Q502895 }
male Tokyo
action filter_type
action intersection
action find_reverse
entity Tokyo
relation residence
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'residence', 'Tokyo'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?h WHERE { ?h property:residence resource:Tokyo . ?h property:gender resource:male . ?h rdf:type ontology:common_name }
[]
common name
Q715417 Q6383882 Q3489107 Q19359177 Q978594 Q1001899 Q55402 Q2090890 Q55400 Q5339940
SYSTEM
Some of them are Takao Suzuki, Keisuke Fujiwara, Shuzo Awaji, Kakuzō Fujiyama, Shuzo Matsuoka, Shu Uemura, Yasujirō Ozu, Yuki Kondo, Hayao Miyazaki, Edmund Yeo
Q373544 Q546592 Q1618018 Q1001899 Q5339940 Q3783656 Q1009503 Q978594 Q8055330 Q705522 Q1000626 Q55402 Q55400 Q12058265 Q715417 Q1019213 Q4353136 Q17486385 Q6383882 Q26807278 Q2090890 Q19359177 Q3489107 Q15890426
AND((c(Q502895),P551,Q1490), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1490
relation P551
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] dwell at Tokyo and are a male
{'AND': [[{'concept': 'Q502895'}, 'P551', 'Q1490'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?h WHERE { ?h property:P551 resource:Q1490 . ?h property:P21 resource:Q6581097 . ?h rdf:type ontology:Q502895 }
Go Soeda Isao Tomita Hijikata Yoshi Shu Uemura Edmund Yeo Hatsu Hioki Bunji Sakita Shuzo Matsuoka Yorinaga Nakamura Hiroyuki Sanada Hiroshi Yanaka Yasujirō Ozu Hayao Miyazaki Takeshi Aragaki Takao Suzuki Honinbo Shuwa Tatsuya Naka Alexander Martin Keisuke Fujiwara Ferdinand von Salis Yuki Kondo Kakuzō Fujiyama Shuzo Awaji Mark Karpelès
Takao Suzuki, Keisuke Fujiwara, Shuzo Awaji, Kakuzō Fujiyama, Shuzo Matsuoka, Shu Uemura, Yasujirō Ozu, Yuki Kondo, Hayao Miyazaki and Edmund Yeo dwell at Tokyo and are a male
Takao Suzuki Keisuke Fujiwara Shuzo Awaji Kakuzō Fujiyama Shuzo Matsuoka Shu Uemura Yasujirō Ozu Yuki Kondo Hayao Miyazaki Edmund Yeo
action filter_type
action intersection
action find_reverse
entity Tokyo
relation residence
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'residence', 'Tokyo'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?h WHERE { ?h property:residence resource:Tokyo . ?h property:gender resource:male . ?h rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q780513 Q2090890
P27 P17
Q15617994
USER
Which administrative territories are Yuki Kondo an inhabitant of or are Slovak presidential election, 1999 present in ?
OR((Q2090890,P27,c(Q15617994)), (Q780513,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2090890
relation P27
action find
entity Q780513
relation P17
type Q15617994
{'OR': [['Q2090890', 'P27', {'concept': 'Q15617994'}], ['Q780513', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q2090890 property:P27 ?a } UNION { resource:Q780513 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Slovak presidential election, 1999 Yuki Kondo
action filter_type
action union
action find
entity Yuki Kondo
relation country of citizenship
action find
entity Slovak presidential election, 1999
relation country
type designation for an administrative territorial entity
{'OR': [['Yuki Kondo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Slovak presidential election, 1999', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Yuki_Kondo property:country_of_citizenship ?a } UNION { resource:Slovak_presidential_election,_1999 property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q214
SYSTEM
Japan, Slovakia
Q17 Q214
OR((Q2090890,P27,c(Q15617994)), (Q780513,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2090890
relation P27
action find
entity Q780513
relation P17
type Q15617994
[ANSWERS] are Yuki Kondo an inhabitant of or are Slovak presidential election, 1999 present in
{'OR': [['Q2090890', 'P27', {'concept': 'Q15617994'}], ['Q780513', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q2090890 property:P27 ?a } UNION { resource:Q780513 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Japan Slovakia
Japan and Slovakia are Yuki Kondo an inhabitant of or are Slovak presidential election, 1999 present in
Japan Slovakia
action filter_type
action union
action find
entity Yuki Kondo
relation country of citizenship
action find
entity Slovak presidential election, 1999
relation country
type designation for an administrative territorial entity
{'OR': [['Yuki Kondo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Slovak presidential election, 1999', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Yuki_Kondo property:country_of_citizenship ?a } UNION { resource:Slovak_presidential_election,_1999 property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55400
P737
Q502895
USER
Who were the people who influenced Hayao Miyazaki ?
(Q55400,P737,c(Q502895))
action filter_type
action find
entity Q55400
relation P737
type Q502895
['Q55400', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q55400 property:P737 ?w . ?w rdf:type ontology:Q502895 }
Hayao Miyazaki
action filter_type
action find
entity Hayao Miyazaki
relation influenced by
type common name
['Hayao Miyazaki', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Hayao_Miyazaki property:influenced_by ?w . ?w rdf:type ontology:common_name }
[]
common name
Q181659 Q193300 Q2908
SYSTEM
Ursula K. Le Guin, Osamu Tezuka, Antoine de Saint-Exupéry
Q193300 Q11468284 Q309240 Q181659 Q2908
(Q55400,P737,c(Q502895))
action filter_type
action find
entity Q55400
relation P737
type Q502895
The people influenced Hayao Miyazaki were [ANSWERS]
['Q55400', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q55400 property:P737 ?w . ?w rdf:type ontology:Q502895 }
Osamu Tezuka Sōji Yamakawa Jean Giraud Ursula K. Le Guin Antoine de Saint-Exupéry
The people influenced Hayao Miyazaki were Ursula K. Le Guin, Osamu Tezuka and Antoine de Saint-Exupéry
Ursula K. Le Guin Osamu Tezuka Antoine de Saint-Exupéry
action filter_type
action find
entity Hayao Miyazaki
relation influenced by
type common name
['Hayao Miyazaki', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Hayao_Miyazaki property:influenced_by ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q181659 Q193300 Q2908
P27
Q15617994
USER
Which administrative territories are Ursula K. Le Guin, Osamu Tezuka and Antoine de Saint-Exupéry a civilian of ?
(Q181659,P27,c(Q15617994)) (Q193300,P27,c(Q15617994)) (Q2908,P27,c(Q15617994))
action union
action filter_type
action find
entity Q181659
relation P27
type Q15617994
action filter_type
action find
entity Q193300
relation P27
type Q15617994
action filter_type
action find
entity Q2908
relation P27
type Q15617994
['Q181659', 'P27', {'concept': 'Q15617994'}] ['Q193300', 'P27', {'concept': 'Q15617994'}] ['Q2908', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:Q15617994 . resource:Q181659 property:P27 ?g } UNION { ?g rdf:type ontology:Q15617994 . resource:Q193300 property:P27 ?g } }
Ursula K. Le Guin Osamu Tezuka Antoine de Saint-Exupéry
action union
action filter_type
action find
entity Ursula K. Le Guin
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Osamu Tezuka
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Antoine de Saint-Exupéry
relation country of citizenship
type designation for an administrative territorial entity
['Ursula K. Le Guin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Osamu Tezuka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Antoine de Saint-Exupéry', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ursula_K._Le_Guin property:country_of_citizenship ?g } UNION { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Osamu_Tezuka property:country_of_citizenship ?g } }
[]
designation for an administrative territorial entity
Q30 Q17 Q142
SYSTEM
United States of America, Japan, France
Q30 Q17 Q142
(Q181659,P27,c(Q15617994)) (Q193300,P27,c(Q15617994)) (Q2908,P27,c(Q15617994))
action union
action filter_type
action find
entity Q181659
relation P27
type Q15617994
action filter_type
action find
entity Q193300
relation P27
type Q15617994
action filter_type
action find
entity Q2908
relation P27
type Q15617994
[ANSWERS] are Ursula K. Le Guin, Osamu Tezuka and Antoine de Saint-Exupéry a civilian of
['Q181659', 'P27', {'concept': 'Q15617994'}] ['Q193300', 'P27', {'concept': 'Q15617994'}] ['Q2908', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:Q15617994 . resource:Q181659 property:P27 ?g } UNION { ?g rdf:type ontology:Q15617994 . resource:Q193300 property:P27 ?g } }
United States of America Japan France
United States of America, Japan and France are Ursula K. Le Guin, Osamu Tezuka and Antoine de Saint-Exupéry a civilian of
United States of America Japan France
action union
action filter_type
action find
entity Ursula K. Le Guin
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Osamu Tezuka
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Antoine de Saint-Exupéry
relation country of citizenship
type designation for an administrative territorial entity
['Ursula K. Le Guin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Osamu Tezuka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Antoine de Saint-Exupéry', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ursula_K._Le_Guin property:country_of_citizenship ?g } UNION { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Osamu_Tezuka property:country_of_citizenship ?g } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q181659
P40
Q502895
USER
Whose child are that one ?
(c(Q502895),P40,Q181659)
action filter_type
action find_reverse
entity Q181659
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q181659']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P40 resource:Q181659 }
Ursula K. Le Guin
action filter_type
action find_reverse
entity Ursula K. Le Guin
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ursula K. Le Guin']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:child resource:Ursula_K._Le_Guin }
[]
common name
Clarification for simple ques.
Q181659
SYSTEM
Did you mean Ursula K. Le Guin ?
Q30 Q17 Q142
(c(Q502895),P40,Q30) (c(Q502895),P40,Q17) (c(Q502895),P40,Q142)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q30'] [{'concept': 'Q502895'}, 'P40', 'Q17'] [{'concept': 'Q502895'}, 'P40', 'Q142']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P40 resource:Q181659 }
United States of America Japan France
Did you mean Ursula K. Le Guin ?
Ursula K. Le Guin
[{'concept': 'common name'}, 'child', 'United States of America'] [{'concept': 'common name'}, 'child', 'Japan'] [{'concept': 'common name'}, 'child', 'France']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:child resource:Ursula_K._Le_Guin }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P40,Q181659)
[{'concept': 'Q502895'}, 'P40', 'Q181659']
[{'concept': 'common name'}, 'child', 'Ursula K. Le Guin']
[]
Q311538 Q604535
SYSTEM
Alfred L. Kroeber, Theodora Kroeber
Q311538 Q604535
(c(Q502895),P40,Q181659)
action filter_type
action find_reverse
entity Q181659
relation P40
type Q502895
[ANSWERS] are that one
[{'concept': 'Q502895'}, 'P40', 'Q181659']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P40 resource:Q181659 }
Alfred L. Kroeber Theodora Kroeber
Alfred L. Kroeber and Theodora Kroeber are that one
Alfred L. Kroeber Theodora Kroeber
action filter_type
action find_reverse
entity Ursula K. Le Guin
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ursula K. Le Guin']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:child resource:Ursula_K._Le_Guin }
[]