Simple Question (Direct)
Simple Question
Q244878
P58
Q502895
USER
Who served as the screenwriter for High and Low ?
(Q244878,P58,c(Q502895))
action filter_type
action find
entity Q244878
relation P58
type Q502895
['Q244878', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q244878 property:P58 ?q }
High and Low
action filter_type
action find
entity High and Low
relation screenwriter
type common name
['High and Low', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:High_and_Low property:screenwriter ?q }
[]
common name
Q3135269
SYSTEM
Hideo Oguni
Q3135269
(Q244878,P58,c(Q502895))
action filter_type
action find
entity Q244878
relation P58
type Q502895
As [ANSWER] served as the screenwriter for High and Low
['Q244878', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q244878 property:P58 ?q }
Hideo Oguni
As Hideo Oguni served as the screenwriter for High and Low
Hideo Oguni
action filter_type
action find
entity High and Low
relation screenwriter
type common name
['High and Low', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:High_and_Low property:screenwriter ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3135269
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q3135269,P19,c(Q56061))
action filter_type
action find
entity Q3135269
relation P19
type Q56061
['Q3135269', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q3135269 property:P19 ?d }
Hideo Oguni
action filter_type
action find
entity Hideo Oguni
relation place of birth
type administrative territorial entity
['Hideo Oguni', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Hideo_Oguni property:place_of_birth ?d }
[]
administrative territorial entity
Q191914
SYSTEM
Hachinohe
Q191914
(Q3135269,P19,c(Q56061))
action filter_type
action find
entity Q3135269
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q3135269', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q3135269 property:P19 ?d }
Hachinohe
Hachinohe is the birthplace of that person
Hachinohe
action filter_type
action find
entity Hideo Oguni
relation place of birth
type administrative territorial entity
['Hideo Oguni', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Hideo_Oguni property:place_of_birth ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q191914
P504
Q2235308
USER
Which ship type has that administrative territory as its base harbour ?
(c(Q2235308),P504,Q191914)
action filter_type
action find_reverse
entity Q191914
relation P504
type Q2235308
[{'concept': 'Q2235308'}, 'P504', 'Q191914']
SELECT DISTINCT ?v WHERE { ?v property:P504 resource:Q191914 . ?v rdf:type ontology:Q2235308 }
Hachinohe
action filter_type
action find_reverse
entity Hachinohe
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Hachinohe']
SELECT DISTINCT ?v WHERE { ?v property:home_port resource:Hachinohe . ?v rdf:type ontology:ship_type }
[]
ship type
Q2119418
SYSTEM
Ryou-Un Maru
Q2119418
(c(Q2235308),P504,Q191914)
action filter_type
action find_reverse
entity Q191914
relation P504
type Q2235308
[ANSWER] has that administrative territory as its base harbour
[{'concept': 'Q2235308'}, 'P504', 'Q191914']
SELECT DISTINCT ?v WHERE { ?v property:P504 resource:Q191914 . ?v rdf:type ontology:Q2235308 }
Ryou-Un Maru
Ryou-Un Maru has that administrative territory as its base harbour
Ryou-Un Maru
action filter_type
action find_reverse
entity Hachinohe
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Hachinohe']
SELECT DISTINCT ?v WHERE { ?v property:home_port resource:Hachinohe . ?v rdf:type ontology:ship_type }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q191914
P19 P21
Q502895
USER
Which people have location of birth at Hachinohe and are a male ?
AND((c(Q502895),P19,Q191914), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q191914
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q191914'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y property:P21 resource:Q6581097 . ?y property:P19 resource:Q191914 . ?y rdf:type ontology:Q502895 }
male Hachinohe
action filter_type
action intersection
action find_reverse
entity Hachinohe
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Hachinohe'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y property:gender resource:male . ?y property:place_of_birth resource:Hachinohe . ?y rdf:type ontology:common_name }
[]
common name
Q1767709 Q11395739 Q6389192 Q2602599 Q22669198 Q11518755 Q2032789 Q11487020 Q432342 Q11432050
SYSTEM
Some of them are Kihei Tomioka, Yoshiaki Demachi, Kengo Hanazawa, Yūto Hara, Sasaki Tainan, Yūsuke Kimura, Yamato Tamura, Shikimori Kandayū V, Masami Tanabu, Ishimatsu Ōkubo
Q11405074 Q11465195 Q2602599 Q11463349 Q49998 Q22669198 Q1767709 Q11463341 Q11548777 Q11439149 Q11401330 Q1931273 Q11577513 Q11432050 Q5575554 Q432342 Q11401489 Q11518856 Q11395739 Q11551713 Q3135269 Q11382092 Q11560449 Q11575859 Q11518755 Q11429227 Q17213262 Q11487020 Q11449878 Q6389192 Q11562413 Q11399568 Q7464180 Q1391311 Q18336972 Q3194483 Q2032789
AND((c(Q502895),P19,Q191914), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q191914
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have location of birth at Hachinohe and are a male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q191914'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y property:P21 resource:Q6581097 . ?y property:P19 resource:Q191914 . ?y rdf:type ontology:Q502895 }
Shūetsu Tōkaichi Fujio Ozaki Yūto Hara Hiroyasu Ogasawara Tadamori Oshima Sasaki Tainan Kihei Tomioka Takeo Ogasawara Yutaka Mizumoto Yoshio Ōtani Hiroshi Kitashiro Michio Hashimoto Tsutomu Tagashira Ishimatsu Ōkubo Goblin Masami Tanabu Yōichi Kitayama Kimura Shōnosuke XXXIII Yoshiaki Demachi Shūichi Ikeda Hideo Oguni Nobutsuna Sasaki Fumiyuki Kiyononada Yoshitake Tanaka Yūsuke Kimura Takashi Masunari Akio Kyōya Shikimori Kandayū V Tsunehiro Uno Kengo Hanazawa Yūto Watanabe Shigehiro Katō Masato Ushio Takayuki Miura Ken'ya Sasaki Kazuma Takahashi Yamato Tamura
Kihei Tomioka, Yoshiaki Demachi, Kengo Hanazawa, Yūto Hara, Sasaki Tainan, Yūsuke Kimura, Yamato Tamura, Shikimori Kandayū V, Masami Tanabu and Ishimatsu Ōkubo have location of birth at Hachinohe and are a male
Kihei Tomioka Yoshiaki Demachi Kengo Hanazawa Yūto Hara Sasaki Tainan Yūsuke Kimura Yamato Tamura Shikimori Kandayū V Masami Tanabu Ishimatsu Ōkubo
action filter_type
action intersection
action find_reverse
entity Hachinohe
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Hachinohe'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y property:gender resource:male . ?y property:place_of_birth resource:Hachinohe . ?y rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1131605 Q2032789
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Yamato Tamura or do Alexandreio Melathron belong to ?
OR((Q2032789,P27,c(Q15617994)), (Q1131605,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2032789
relation P27
action find
entity Q1131605
relation P17
type Q15617994
{'OR': [['Q2032789', 'P27', {'concept': 'Q15617994'}], ['Q1131605', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q2032789 property:P27 ?i } UNION { resource:Q1131605 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Alexandreio Melathron Yamato Tamura
action filter_type
action union
action find
entity Yamato Tamura
relation country of citizenship
action find
entity Alexandreio Melathron
relation country
type designation for an administrative territorial entity
{'OR': [['Yamato Tamura', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Alexandreio Melathron', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Yamato_Tamura property:country_of_citizenship ?i } UNION { resource:Alexandreio_Melathron property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q41
SYSTEM
Japan, Greece
Q17 Q41
OR((Q2032789,P27,c(Q15617994)), (Q1131605,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2032789
relation P27
action find
entity Q1131605
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of Yamato Tamura or do Alexandreio Melathron belong to
{'OR': [['Q2032789', 'P27', {'concept': 'Q15617994'}], ['Q1131605', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q2032789 property:P27 ?i } UNION { resource:Q1131605 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Japan Greece
Japan and Greece are the countries of citizenship of Yamato Tamura or do Alexandreio Melathron belong to
Japan Greece
action filter_type
action union
action find
entity Yamato Tamura
relation country of citizenship
action find
entity Alexandreio Melathron
relation country
type designation for an administrative territorial entity
{'OR': [['Yamato Tamura', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Alexandreio Melathron', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Yamato_Tamura property:country_of_citizenship ?i } UNION { resource:Alexandreio_Melathron property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2845067
P840
Q166142
USER
Do Anacreon: Reconstruction 4021 have their setting located at those administrative territories ?
(Q2845067,P840,Q17) (Q2845067,P840,Q41)
action is_in
entity prev_answer
action find
entity Q2845067
relation P840
['Q2845067', 'P840', 'Q17'] ['Q2845067', 'P840', 'Q41']
ASK WHERE { VALUES ( ?o ) { ( resource:Q17 ) ( resource:Q41 ) } . resource:Q2845067 property:P840 ?o }
Anacreon: Reconstruction 4021
action is_in
entity prev_answer
action find
entity Anacreon: Reconstruction 4021
relation narrative location
['Anacreon: Reconstruction 4021', 'narrative location', 'Japan'] ['Anacreon: Reconstruction 4021', 'narrative location', 'Greece']
ASK WHERE { VALUES ( ?o ) { ( resource:Japan ) ( resource:Greece ) } . resource:Anacreon:_Reconstruction_4021 property:narrative_location ?o }
[]
application
SYSTEM
NO
(Q2845067,P840,Q17) (Q2845067,P840,Q41)
action is_in
entity prev_answer
action find
entity Q2845067
relation P840
[ANSWER]
['Q2845067', 'P840', 'Q17'] ['Q2845067', 'P840', 'Q41']
ASK WHERE { VALUES ( ?o ) { ( resource:Q17 ) ( resource:Q41 ) } . resource:Q2845067 property:P840 ?o }
No
action is_in
entity prev_answer
action find
entity Anacreon: Reconstruction 4021
relation narrative location
['Anacreon: Reconstruction 4021', 'narrative location', 'Japan'] ['Anacreon: Reconstruction 4021', 'narrative location', 'Greece']
ASK WHERE { VALUES ( ?o ) { ( resource:Japan ) ( resource:Greece ) } . resource:Anacreon:_Reconstruction_4021 property:narrative_location ?o }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q11395739 Q49432 Q17
P27
Q15617994
USER
Is Yoshiaki Demachi a citizen of Neddemin and Japan ?
(Q11395739,P27,Q49432) (Q11395739,P27,Q17)
action is_in
entity Q11395739
action intersection
action find_reverse
entity Q49432
relation P27
action find_reverse
entity Q17
relation P27
['Q11395739', 'P27', 'Q49432'] ['Q11395739', 'P27', 'Q17']
ASK WHERE { resource:Q11395739 property:P27 resource:Q49432 . resource:Q11395739 property:P27 resource:Q17 }
Yoshiaki Demachi Neddemin Japan
action is_in
entity Yoshiaki Demachi
action intersection
action find_reverse
entity Neddemin
relation country of citizenship
action find_reverse
entity Japan
relation country of citizenship
['Yoshiaki Demachi', 'country of citizenship', 'Neddemin'] ['Yoshiaki Demachi', 'country of citizenship', 'Japan']
ASK WHERE { resource:Yoshiaki_Demachi property:country_of_citizenship resource:Neddemin . resource:Yoshiaki_Demachi property:country_of_citizenship resource:Japan }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q11395739,P27,Q49432) (Q11395739,P27,Q17)
action is_in
entity Q11395739
action intersection
action find_reverse
entity Q49432
relation P27
action find_reverse
entity Q17
relation P27
[ANSWER]
['Q11395739', 'P27', 'Q49432'] ['Q11395739', 'P27', 'Q17']
ASK WHERE { resource:Q11395739 property:P27 resource:Q49432 . resource:Q11395739 property:P27 resource:Q17 }
NO and YES respectively
action is_in
entity Yoshiaki Demachi
action intersection
action find_reverse
entity Neddemin
relation country of citizenship
action find_reverse
entity Japan
relation country of citizenship
['Yoshiaki Demachi', 'country of citizenship', 'Neddemin'] ['Yoshiaki Demachi', 'country of citizenship', 'Japan']
ASK WHERE { resource:Yoshiaki_Demachi property:country_of_citizenship resource:Neddemin . resource:Yoshiaki_Demachi property:country_of_citizenship resource:Japan }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q432342 Q1048377
P19
Q56061
USER
Was Masami Tanabu born at Cassinga ?
(Q432342,P19,Q1048377)
action is_in
entity Q1048377
action find
entity Q432342
relation P19
['Q432342', 'P19', 'Q1048377']
ASK WHERE { resource:Q432342 property:P19 resource:Q1048377 }
Masami Tanabu Cassinga
action is_in
entity Cassinga
action find
entity Masami Tanabu
relation place of birth
['Masami Tanabu', 'place of birth', 'Cassinga']
ASK WHERE { resource:Masami_Tanabu property:place_of_birth resource:Cassinga }
[]
administrative territorial entity
SYSTEM
NO
(Q432342,P19,Q1048377)
action is_in
entity Q1048377
action find
entity Q432342
relation P19
[ANSWER]
['Q432342', 'P19', 'Q1048377']
ASK WHERE { resource:Q432342 property:P19 resource:Q1048377 }
No
action is_in
entity Cassinga
action find
entity Masami Tanabu
relation place of birth
['Masami Tanabu', 'place of birth', 'Cassinga']
ASK WHERE { resource:Masami_Tanabu property:place_of_birth resource:Cassinga }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6956393 Q17
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Japan and are Na In situated in ?
AND((Q17,P530,c(Q15617994)), (Q6956393,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q17
relation P530
action find
entity Q6956393
relation P17
type Q15617994
{'AND': [['Q17', 'P530', {'concept': 'Q15617994'}], ['Q6956393', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { resource:Q17 property:P530 ?m . resource:Q6956393 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Na In Japan
action filter_type
action intersection
action find
entity Japan
relation diplomatic relation
action find
entity Na In
relation country
type designation for an administrative territorial entity
{'AND': [['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Na In', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { resource:Japan property:diplomatic_relation ?m . resource:Na_In property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q869
SYSTEM
Thailand
Q869
AND((Q17,P530,c(Q15617994)), (Q6956393,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q17
relation P530
action find
entity Q6956393
relation P17
type Q15617994
[ANSWER] have diplomatic relationships with Japan and are Na In situated in
{'AND': [['Q17', 'P530', {'concept': 'Q15617994'}], ['Q6956393', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { resource:Q17 property:P530 ?m . resource:Q6956393 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Thailand
Thailand have diplomatic relationships with Japan and are Na In situated in
Thailand
action filter_type
action intersection
action find
entity Japan
relation diplomatic relation
action find
entity Na In
relation country
type designation for an administrative territorial entity
{'AND': [['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Na In', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { resource:Japan property:diplomatic_relation ?m . resource:Na_In property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]