Simple Question (Direct)
Simple Question
Q6803149
P734
Q82799
USER
Which name is associated with Jang Hyeon-seong ?
(Q6803149,P734,c(Q82799))
action filter_type
action find
entity Q6803149
relation P734
type Q82799
['Q6803149', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q6803149 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Jang Hyeon-seong
action filter_type
action find
entity Jang Hyeon-seong
relation family name
type name
['Jang Hyeon-seong', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Jang_Hyeon-seong property:family_name ?l . ?l rdf:type ontology:name }
[]
name
Q1078426
SYSTEM
Jang
Q1078426
(Q6803149,P734,c(Q82799))
action filter_type
action find
entity Q6803149
relation P734
type Q82799
[ANSWER] is associated with [ANSWER] Hyeon-seong
['Q6803149', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q6803149 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Jang
Jang is associated with Jang Hyeon-seong
Jang
action filter_type
action find
entity Jang Hyeon-seong
relation family name
type name
['Jang Hyeon-seong', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Jang_Hyeon-seong property:family_name ?l . ?l rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6803149
P21
Q290
USER
Which sex does Jang Hyeon-seong have ?
(Q6803149,P21,c(Q290))
action filter_type
action find
entity Q6803149
relation P21
type Q290
['Q6803149', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q6803149 property:P21 ?w }
Jang Hyeon-seong
action filter_type
action find
entity Jang Hyeon-seong
relation gender
type sex
['Jang Hyeon-seong', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Jang_Hyeon-seong property:gender ?w }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6803149,P21,c(Q290))
action filter_type
action find
entity Q6803149
relation P21
type Q290
Jang Hyeon-seong has a [ANSWER]
['Q6803149', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q6803149 property:P21 ?w }
male
Jang Hyeon-seong has a male
male
action filter_type
action find
entity Jang Hyeon-seong
relation gender
type sex
['Jang Hyeon-seong', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Jang_Hyeon-seong property:gender ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6803149
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Jang Hyeon-seong ?
(Q6803149,P27,c(Q15617994))
action filter_type
action find
entity Q6803149
relation P27
type Q15617994
['Q6803149', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q6803149 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Jang Hyeon-seong
action filter_type
action find
entity Jang Hyeon-seong
relation country of citizenship
type designation for an administrative territorial entity
['Jang Hyeon-seong', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Jang_Hyeon-seong property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q6803149,P27,c(Q15617994))
action filter_type
action find
entity Q6803149
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Jang Hyeon-seong
['Q6803149', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q6803149 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
South Korea
South Korea is the country of citizenship of Jang Hyeon-seong
South Korea
action filter_type
action find
entity Jang Hyeon-seong
relation country of citizenship
type designation for an administrative territorial entity
['Jang Hyeon-seong', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Jang_Hyeon-seong property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q884
P1376
Q515
USER
Which city is the capital of that administrative territory ?
(c(Q515),P1376,Q884)
action filter_type
action find_reverse
entity Q884
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q884']
SELECT DISTINCT ?l WHERE { ?l property:P1376 resource:Q884 . ?l rdf:type ontology:Q515 }
South Korea
action filter_type
action find_reverse
entity South Korea
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'South Korea']
SELECT DISTINCT ?l WHERE { ?l property:capital_of resource:South_Korea . ?l rdf:type ontology:city }
[]
city
Q8684
SYSTEM
Seoul
Q8684
(c(Q515),P1376,Q884)
action filter_type
action find_reverse
entity Q884
relation P1376
type Q515
The capital of that administrative territory is Greater [ANSWER]
[{'concept': 'Q515'}, 'P1376', 'Q884']
SELECT DISTINCT ?l WHERE { ?l property:P1376 resource:Q884 . ?l rdf:type ontology:Q515 }
Seoul
The capital of that administrative territory is Greater Seoul
Seoul
action filter_type
action find_reverse
entity South Korea
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'South Korea']
SELECT DISTINCT ?l WHERE { ?l property:capital_of resource:South_Korea . ?l rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q8684 Q5069153 Q12078202
P190
Q56061
USER
Is that city partner town of Cham Anar-e Sofla and Anghelești ?
(Q8684,P190,Q5069153) (Q8684,P190,Q12078202)
action is_in
entity Q8684
action intersection
action find_reverse
entity Q5069153
relation P190
action find_reverse
entity Q12078202
relation P190
['Q8684', 'P190', 'Q5069153'] ['Q8684', 'P190', 'Q12078202']
ASK WHERE { resource:Q8684 property:P190 resource:Q12078202 . resource:Q8684 property:P190 resource:Q5069153 }
Seoul Cham Anar-e Sofla Anghelești
action is_in
entity Seoul
action intersection
action find_reverse
entity Cham Anar-e Sofla
relation sister city
action find_reverse
entity Anghelești
relation sister city
['Seoul', 'sister city', 'Cham Anar-e Sofla'] ['Seoul', 'sister city', 'Anghelești']
ASK WHERE { resource:Seoul property:sister_city resource:Anghelești . resource:Seoul property:sister_city resource:Cham_Anar-e_Sofla }
[]
administrative territorial entity
SYSTEM
NO
(Q8684,P190,Q5069153) (Q8684,P190,Q12078202)
action is_in
entity Q8684
action intersection
action find_reverse
entity Q5069153
relation P190
action find_reverse
entity Q12078202
relation P190
[ANSWER]
['Q8684', 'P190', 'Q5069153'] ['Q8684', 'P190', 'Q12078202']
ASK WHERE { resource:Q8684 property:P190 resource:Q12078202 . resource:Q8684 property:P190 resource:Q5069153 }
No
action is_in
entity Seoul
action intersection
action find_reverse
entity Cham Anar-e Sofla
relation sister city
action find_reverse
entity Anghelești
relation sister city
['Seoul', 'sister city', 'Cham Anar-e Sofla'] ['Seoul', 'sister city', 'Anghelești']
ASK WHERE { resource:Seoul property:sister_city resource:Anghelești . resource:Seoul property:sister_city resource:Cham_Anar-e_Sofla }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21491355 Q1078426
P734
Q502895
USER
Which people have Jang or Asakura as last name ?
OR((c(Q502895),P734,Q1078426), (c(Q502895),P734,Q21491355))
action filter_type
action union
action find_reverse
entity Q1078426
relation P734
action find_reverse
entity Q21491355
relation P734
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P734', 'Q1078426'], [{'concept': 'Q502895'}, 'P734', 'Q21491355']]}
SELECT DISTINCT ?m WHERE { { { ?m property:P734 resource:Q1078426 } UNION { ?m property:P734 resource:Q21491355 } } . ?m rdf:type ontology:Q502895 }
Asakura Jang
action filter_type
action union
action find_reverse
entity Jang
relation family name
action find_reverse
entity Asakura
relation family name
type common name
{'OR': [[{'concept': 'common name'}, 'family name', 'Jang'], [{'concept': 'common name'}, 'family name', 'Asakura']]}
SELECT DISTINCT ?m WHERE { { { ?m property:family_name resource:Jang } UNION { ?m property:family_name resource:Asakura } } . ?m rdf:type ontology:common_name }
[]
common name
Q12965174 Q11556999 Q16068576 Q11517311 Q11068456 Q1052330 Q11517255 Q3334959 Q11517310 Q11517320
SYSTEM
Some of them are Jang Jun-yeong, Kazuo Asakura, Jang Min-ho, Asakura Kageki, Asakura Norikage, Fumio Asakura, Erika Asakura, Jang Hui-jin, Tomoya Asakura, Hiroyuki Asakura
Q11068695 Q11068456 Q1322768 Q518654 Q483128 Q486634 Q488344 Q5353646 Q16171633 Q3631319 Q11517255 Q11517257 Q11517319 Q11517317 Q11517311 Q11517259 Q11068440 Q11068687 Q11068447 Q6527212 Q11256401 Q12614533 Q12613299 Q12614538 Q468490 Q11068750 Q16262226 Q11068758 Q11068736 Q11517309 Q18048181 Q11517303 Q16068617 Q11068703 Q6527201 Q8919068 Q487340 Q3019508 Q16182805 Q11517320 Q12965173 Q486119 Q17682993 Q12965174 Q11517333 Q11517330 Q17191188 Q11517336 Q6803149 Q6527238 Q11068421 Q5071649 Q16263653 Q859948 Q16170048 Q12965165 Q4803440 Q11068638 Q11517324 Q11517326 Q11068655 Q11517321 Q11517323 Q11068413 Q8835339 Q11517329 Q11677443 Q6527222 Q11068387 Q6643543 Q11677448 Q11677446 Q11677447 Q11677444 Q11677445 Q11677442 Q11517282 Q11517281 Q11517280 Q4803439 Q4803438 Q11068401 Q490324 Q17128868 Q11557003 Q11557002 Q11517263 Q11557007 Q11557006 Q11092508 Q11068393 Q11517291 Q11517292 Q1052330 Q12614774 Q11068711 Q11373862 Q10306816 Q11517264 Q6408528 Q11517260 Q11257176 Q11517343 Q11517340 Q11556998 Q11556999 Q16215842 Q292741 Q5365337 Q3334959 Q46604 Q11068482 Q494190 Q13448927 Q3807035 Q11517276 Q11517277 Q11517274 Q11517275 Q11517272 Q16068576 Q11517310 Q4803443 Q625588 Q494184 Q12965167 Q1773056 Q5349989 Q2575281 Q11068774
OR((c(Q502895),P734,Q1078426), (c(Q502895),P734,Q21491355))
action filter_type
action union
action find_reverse
entity Q1078426
relation P734
action find_reverse
entity Q21491355
relation P734
type Q502895
[ANSWERS] have Jang or Asakura as last name
{'OR': [[{'concept': 'Q502895'}, 'P734', 'Q1078426'], [{'concept': 'Q502895'}, 'P734', 'Q21491355']]}
SELECT DISTINCT ?m WHERE { { { ?m property:P734 resource:Q1078426 } UNION { ?m property:P734 resource:Q21491355 } } . ?m rdf:type ontology:Q502895 }
Asakura Kagefusa Asakura Norikage Asakura Yoshikage Daisuke Asakura Chang Do-yong Jang Hyun-seung Jang wooyoung Aki Asakura Jang Hui-ung Axel Jang Erika Asakura Asakura Kasumi Haruhiko Asakura Masaaki Asakura Asakura Kageki Kotomi Asakura Asakura Aiōmaru Asakura Kagetsuna Asakura Masamoto Asakura Arishige Toshio Asakura Jang Seong-won Lee Hui-won Jang Se-jin Jang Dong-geon Asakura Tsunekage Jang Gi-beom Asakura Sadakage Asakura Ujikage Bun'ichi Asakura Ryōka Asakura Nozomi Asakura Ju Ho-seong Asakura Kagemoto Asakura Arishige Mai Asakura Jang Jin-young Jang Dong-jik Jang Ji-u Hiroyuki Asakura Jang Hyo-jin Jang Youngran Jang Se-hyeon Jang Jun-yeong Misa Asakura Asakura Tōsen Toshio Asakura Bunji Asakura Jang Hyeon-seong Asakura Nobuchika Asakura Yukikage Jang Mi-hui Momo Asakura Asakura Norikage Jang Seok-hyeon Jang Ji-min Asakura Sadakage Asakura Kageyoshi Yuma Asakura Yūya Asakura Asakura Kagetada Mio Asakura Rie Asakura Asakura Iekage Jang Dong-woo Asakura Tōgetsu Hibari Asakura Asakura Shigenari Asakura Nobukage Ayumu Asakura Reiji Asakura Momoko Asakura Shōta Asakura Mina Asakura Mami Asakura Kahori Asakura Tetsuo Asakura Chifude Asakura Kazuo Asakura Asakura Kageakira Asakura Kagetsura Asakura Takakage Jang Won-Sam Kayoko Asakura Takuya Asakura Isamu Asakura Mikan Asakura Yuki Asakura Ayane Asakura Asakura Naomi Asakura Kōkyū Asakura Sueo Takao Asakura Fumio Asakura Jang Hang-seon Asakura Kagetoyo Maru Asakura Jessica Asakura Maria Asakura Asakura Yuu Shiho Asakura Haruka Asakura Kyōko Asakura Asakura Michiko Mutsuko Asakura Kazuo Asakura Jang Eun-jin Jang Ja-yeon Kenta Asakura Jang Hui-jin Jang Mi-in-ae Asakura Kagefuyu Jang Na-ra Asakura Takakage Jang Seong-back Sachi Asakura Katashi Asakura Shinji Asakura Toshimitsu Asakura Asakura Sekaiichi Jang Min-ho Tomoya Asakura Asakura Ujikage Jang Sin-yeong Jang Seo-hui Jang Hye-suk Jang Hyung-seok Eisuke Asakura Asakura Kagetake Asakura Takakage
Jang Jun-yeong, Kazuo Asakura, Jang Min-ho, Asakura Kageki, Asakura Norikage, Fumio Asakura, Erika Asakura, Jang Hui-jin, Tomoya Asakura and Hiroyuki Asakura have Jang or Asakura as last name
Jang Jun-yeong Kazuo Asakura Jang Min-ho Asakura Kageki Asakura Norikage Fumio Asakura Erika Asakura Jang Hui-jin Tomoya Asakura Hiroyuki Asakura
action filter_type
action union
action find_reverse
entity Jang
relation family name
action find_reverse
entity Asakura
relation family name
type common name
{'OR': [[{'concept': 'common name'}, 'family name', 'Jang'], [{'concept': 'common name'}, 'family name', 'Asakura']]}
SELECT DISTINCT ?m WHERE { { { ?m property:family_name resource:Jang } UNION { ?m property:family_name resource:Asakura } } . ?m rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11517320
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q11517320,P19,c(Q56061))
action filter_type
action find
entity Q11517320
relation P19
type Q56061
['Q11517320', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q11517320 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Hiroyuki Asakura
action filter_type
action find
entity Hiroyuki Asakura
relation place of birth
type administrative territorial entity
['Hiroyuki Asakura', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Hiroyuki_Asakura property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q11556999
SYSTEM
Did you mean Kazuo Asakura ?
Q12965174 Q11556999 Q16068576 Q11517311 Q11068456 Q1052330 Q11517255 Q3334959 Q11517310 Q11517320
(Q12965174,P19,c(Q56061)) (Q11556999,P19,c(Q56061)) (Q16068576,P19,c(Q56061)) (Q11517311,P19,c(Q56061)) (Q11068456,P19,c(Q56061)) (Q1052330,P19,c(Q56061)) (Q11517255,P19,c(Q56061)) (Q3334959,P19,c(Q56061)) (Q11517310,P19,c(Q56061)) (Q11517320,P19,c(Q56061))
[ANSWER]
['Q12965174', 'P19', {'concept': 'Q56061'}] ['Q11556999', 'P19', {'concept': 'Q56061'}] ['Q16068576', 'P19', {'concept': 'Q56061'}] ['Q11517311', 'P19', {'concept': 'Q56061'}] ['Q11068456', 'P19', {'concept': 'Q56061'}] ['Q1052330', 'P19', {'concept': 'Q56061'}] ['Q11517255', 'P19', {'concept': 'Q56061'}] ['Q3334959', 'P19', {'concept': 'Q56061'}] ['Q11517310', 'P19', {'concept': 'Q56061'}] ['Q11517320', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q11517320 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Jang Jun-yeong Kazuo Asakura Jang Min-ho Asakura Kageki Asakura Norikage Fumio Asakura Erika Asakura Jang Hui-jin Tomoya Asakura Hiroyuki Asakura
Did you mean Kazuo Asakura ?
Kazuo Asakura
['Jang Jun-yeong', 'place of birth', {'concept': 'administrative territorial entity'}] ['Kazuo Asakura', 'place of birth', {'concept': 'administrative territorial entity'}] ['Jang Min-ho', 'place of birth', {'concept': 'administrative territorial entity'}] ['Asakura Kageki', 'place of birth', {'concept': 'administrative territorial entity'}] ['Asakura Norikage', 'place of birth', {'concept': 'administrative territorial entity'}] ['Fumio Asakura', 'place of birth', {'concept': 'administrative territorial entity'}] ['Erika Asakura', 'place of birth', {'concept': 'administrative territorial entity'}] ['Jang Hui-jin', 'place of birth', {'concept': 'administrative territorial entity'}] ['Tomoya Asakura', 'place of birth', {'concept': 'administrative territorial entity'}] ['Hiroyuki Asakura', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Hiroyuki_Asakura property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Hiroyuki Asakura. Could you tell me the answer for that?
(Q11517320,P19,c(Q56061))
Q11517320
['Q11517320', 'P19', {'concept': 'Q56061'}]
['Hiroyuki Asakura', 'place of birth', {'concept': 'administrative territorial entity'}]
[]
Q169134
SYSTEM
Nara
Q169134
(Q11517320,P19,c(Q56061))
action filter_type
action find
entity Q11517320
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q11517320', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q11517320 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Nara
Nara is the birthplace of that person
Nara
action filter_type
action find
entity Hiroyuki Asakura
relation place of birth
type administrative territorial entity
['Hiroyuki Asakura', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Hiroyuki_Asakura property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q169134 Q5836 Q1018504
P190
Q56061
USER
Is that administrative territory sister town of Toledo and Paris ?
(Q169134,P190,Q5836) (Q169134,P190,Q1018504)
action is_in
entity Q169134
action intersection
action find_reverse
entity Q5836
relation P190
action find_reverse
entity Q1018504
relation P190
['Q169134', 'P190', 'Q5836'] ['Q169134', 'P190', 'Q1018504']
ASK WHERE { resource:Q169134 property:P190 resource:Q5836 . resource:Q169134 property:P190 resource:Q1018504 }
Nara Toledo Paris
action is_in
entity Nara
action intersection
action find_reverse
entity Toledo
relation sister city
action find_reverse
entity Paris
relation sister city
['Nara', 'sister city', 'Toledo'] ['Nara', 'sister city', 'Paris']
ASK WHERE { resource:Nara property:sister_city resource:Toledo . resource:Nara property:sister_city resource:Paris }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q169134,P190,Q5836) (Q169134,P190,Q1018504)
action is_in
entity Q169134
action intersection
action find_reverse
entity Q5836
relation P190
action find_reverse
entity Q1018504
relation P190
[ANSWER]
['Q169134', 'P190', 'Q5836'] ['Q169134', 'P190', 'Q1018504']
ASK WHERE { resource:Q169134 property:P190 resource:Q5836 . resource:Q169134 property:P190 resource:Q1018504 }
YES and NO respectively
action is_in
entity Nara
action intersection
action find_reverse
entity Toledo
relation sister city
action find_reverse
entity Paris
relation sister city
['Nara', 'sister city', 'Toledo'] ['Nara', 'sister city', 'Paris']
ASK WHERE { resource:Nara property:sister_city resource:Toledo . resource:Nara property:sister_city resource:Paris }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4857748 Q11556999
P27
Q15617994
USER
Which administrative territories are Kazuo Asakura or Bapudeva Sastri an inhabitant of ?
OR((Q11556999,P27,c(Q15617994)), (Q4857748,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11556999
relation P27
action find
entity Q4857748
relation P27
type Q15617994
{'OR': [['Q11556999', 'P27', {'concept': 'Q15617994'}], ['Q4857748', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q11556999 property:P27 ?r } UNION { resource:Q4857748 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Bapudeva Sastri Kazuo Asakura
action filter_type
action union
action find
entity Kazuo Asakura
relation country of citizenship
action find
entity Bapudeva Sastri
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Kazuo Asakura', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bapudeva Sastri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Kazuo_Asakura property:country_of_citizenship ?r } UNION { resource:Bapudeva_Sastri property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q668
SYSTEM
Japan, India
Q17 Q668
OR((Q11556999,P27,c(Q15617994)), (Q4857748,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11556999
relation P27
action find
entity Q4857748
relation P27
type Q15617994
[ANSWERS] are Kazuo Asakura or Bapudeva Sastri an inhabitant of
{'OR': [['Q11556999', 'P27', {'concept': 'Q15617994'}], ['Q4857748', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q11556999 property:P27 ?r } UNION { resource:Q4857748 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Japan India
Japan and India are Kazuo Asakura or Bapudeva Sastri an inhabitant of
Japan India
action filter_type
action union
action find
entity Kazuo Asakura
relation country of citizenship
action find
entity Bapudeva Sastri
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Kazuo Asakura', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bapudeva Sastri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Kazuo_Asakura property:country_of_citizenship ?r } UNION { resource:Bapudeva_Sastri property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]