Simple Question (Direct)
Simple Question
Q207482
P344
Q502895
USER
Who is the cinematographer of 1941 ?
(Q207482,P344,c(Q502895))
action filter_type
action find
entity Q207482
relation P344
type Q502895
['Q207482', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q207482 property:P344 ?z . ?z rdf:type ontology:Q502895 }
1941
action filter_type
action find
entity 1941
relation director of photography
type common name
['1941', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:1941 property:director_of_photography ?z . ?z rdf:type ontology:common_name }
[]
common name
Q489559
SYSTEM
William A. Fraker
Q489559
(Q207482,P344,c(Q502895))
action filter_type
action find
entity Q207482
relation P344
type Q502895
The cinematographer of 1941 is the [ANSWER]
['Q207482', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q207482 property:P344 ?z . ?z rdf:type ontology:Q502895 }
William A. Fraker
The cinematographer of 1941 is the William A. Fraker
William A. Fraker
action filter_type
action find
entity 1941
relation director of photography
type common name
['1941', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:1941 property:director_of_photography ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q207482
P921
Q350604
USER
What was the main subject of that work of art 's work ?
(Q489559,P921,c(Q350604))
action filter_type
action find
entity Q207482
relation P921
type Q350604
['Q489559', 'P921', {'concept': 'Q350604'}]
SELECT DISTINCT ?b WHERE { resource:Q207482 property:P921 ?b . ?b rdf:type ontology:Q350604 }
1941
action filter_type
action find
entity 1941
relation main subject
type armed conflict
['William A. Fraker', 'main subject', {'concept': 'armed conflict'}]
SELECT DISTINCT ?b WHERE { resource:1941 property:main_subject ?b . ?b rdf:type ontology:armed_conflict }
[]
armed conflict
Q184425
SYSTEM
Pacific War
Q184425
(Q489559,P921,c(Q350604))
action filter_type
action find
entity Q207482
relation P921
type Q350604
The main subject of that work of art's work was the [ANSWER]
['Q489559', 'P921', {'concept': 'Q350604'}]
SELECT DISTINCT ?b WHERE { resource:Q207482 property:P921 ?b . ?b rdf:type ontology:Q350604 }
Pacific War
The main subject of that work of art's work was the Pacific War
Pacific War
action filter_type
action find
entity 1941
relation main subject
type armed conflict
['William A. Fraker', 'main subject', {'concept': 'armed conflict'}]
SELECT DISTINCT ?b WHERE { resource:1941 property:main_subject ?b . ?b rdf:type ontology:armed_conflict }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q207482
P161
Q502895
USER
Who starred in 1941 ?
(Q207482,P161,c(Q502895))
action filter_type
action find
entity Q207482
relation P161
type Q502895
['Q207482', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q207482 property:P161 ?s . ?s rdf:type ontology:Q502895 }
1941
action filter_type
action find
entity 1941
relation cast member
type common name
['1941', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:1941 property:cast_member ?s . ?s rdf:type ontology:common_name }
[]
common name
Q270324 Q105221 Q180338
SYSTEM
Patti LuPone, Dan Aykroyd, Christopher Lee
Q95043 Q3026290 Q237659 Q589753 Q178552 Q51564 Q611266 Q352730 Q218532 Q266942 Q747824 Q3148130 Q1330714 Q427120 Q3900088 Q270324 Q283328 Q355153 Q1277039 Q23858 Q37001 Q180338 Q709133 Q449324 Q978706 Q105221 Q4212 Q712457 Q461691
(Q207482,P161,c(Q502895))
action filter_type
action find
entity Q207482
relation P161
type Q502895
[ANSWERS] starred in 1941
['Q207482', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q207482 property:P161 ?s . ?s rdf:type ontology:Q502895 }
James Caan Dianne Kay Penny Marshall Lionel Stander Mickey Rourke John Landis Dub Taylor Treat Williams John Candy Lorraine Gary Eddie Deezen Ignatius Wolfington Elisha Cook, Jr. Bobby Di Cicco Perry Lang Patti LuPone Nancy Allen Robert Stack Slim Pickens John Belushi Toshirō Mifune Christopher Lee Warren Oates Wendie Jo Sperber Murray Hamilton Dan Aykroyd Ned Beatty Tim Matheson Frank McRae
Patti LuPone, Dan Aykroyd and Christopher Lee starred in 1941
Patti LuPone Dan Aykroyd Christopher Lee
action filter_type
action find
entity 1941
relation cast member
type common name
['1941', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:1941 property:cast_member ?s . ?s rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q682371
P725
Q502895 Q15619164
USER
How many abstract beings have been dubbed by around the same number of people as Index ?
(c(Q15619164),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q682371
relation P725
type Q15619164
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ontology:Q502895 . ?a rdf:type ontology:Q15619164 . ?a property:P725 ?f } GROUP BY ?a } . FILTER ( ?g = ?y ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Q682371 property:P725 ?h . ?h rdf:type ontology:Q15619164 } } }
Index
action count
action approx
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Index
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ontology:common_name . ?a rdf:type ontology:abstract_being . ?a property:voice_actor ?f } GROUP BY ?a } . FILTER ( ?g = ?y ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Index property:voice_actor ?h . ?h rdf:type ontology:abstract_being } } }
[]
common name abstract being
SYSTEM
119
Q21009638 Q15537062 Q819724 Q22079436 Q15502715 Q21006905 Q15055569 Q11339793 Q820011 Q819644 Q15648502 Q15725453 Q15502566 Q638630 Q15728188 Q15648510 Q1134585 Q15728185 Q820088 Q4701169 Q15884361 Q15956614 Q21036253 Q2079562 Q10343913 Q1161155 Q819500 Q27691284 Q3805994 Q15632347 Q15632342 Q15632343 Q2270749 Q11331437 Q15632348 Q819748 Q21027734 Q15502591 Q682371 Q15990697 Q15958700 Q15502577 Q2779377 Q819519 Q2558257 Q15520173 Q15712269 Q15502620 Q977511 Q17628767 Q15710705 Q27334870 Q27265636 Q49352 Q552682 Q5957609 Q728718 Q15502538 Q15490560 Q3631585 Q16040855 Q27300001 Q849700 Q15502637 Q27613927 Q819804 Q282514 Q3858633 Q16995485 Q18292066 Q844697 Q15502733 Q15956634 Q15970363 Q3605971 Q1076302 Q15502526 Q21030278 Q15990717 Q613241 Q2291154 Q15966747 Q3482136 Q18292143 Q18934600 Q27493776 Q2151996 Q3201327 Q2663645 Q819544 Q15961663 Q3479120 Q909655 Q16005386 Q16003600 Q2566378 Q15731593 Q17634983 Q2291498 Q849758 Q27680001 Q2332475 Q1200192 Q6076547 Q2082802 Q4000019 Q15502552 Q3937809 Q15502464 Q3966728 Q4874693 Q2738631 Q819851 Q15846552 Q5480 Q935079 Q18468944 Q15537046 Q14429586
(c(Q15619164),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q682371
relation P725
type Q15619164
[ANSWER]
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ontology:Q502895 . ?a rdf:type ontology:Q15619164 . ?a property:P725 ?f } GROUP BY ?a } . FILTER ( ?g = ?y ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Q682371 property:P725 ?h . ?h rdf:type ontology:Q15619164 } } }
Beltino Toad Manami Tamura Lady Vashj Maz Kanata Nana Nishigaki Lionel Fusco Jeremiah Gottwald My Melody Sylvanas Windrunner Kael'thas Sunstrider Haruka Takayama Queen Chrysalis Ayano Sugiura Larry Laffer Renge Miyauchi Yuu Sonoda Hiroshi Nohara Hotaru Ichijo Thrall Akira Okuzaki Honoka Kōsaka Tamako Kitashirakawa Tricky SHODAN Palutena MZ/X Grom Hellscream Alma Diaz Jacqueline Natla Haruka Nishida Kana Nakamachi Amano Saki Pit Pikmin Mika Kujiin Maiev Shadowsong Young Link Sakurako Ohmuro Index Kotone Noda Dera Mochimazzwi Chitose Ikeda Mimi Tachikawa Gul'dan Rose Ui Hirasawa Mitsuki Sonoda Rise Matsumoto Shizuka Minamoto Diablo Discord Miku Hatsune Append (Dark) Len Kagamine Gena the Crocodile Hatsune Miku Rin Kagamine Rukia Kuchiki Yui Funami Sawako Yamanaka Azusa Nakano Pico Adam Jensen Deathwing Akane Akaza Thomas Burke Malfurion Stormrage Alucard Mio Akiyama Hiro Takachiho Sora Takenouchi Shinichi Kudo Mirakurun Mochizō Ōji Larson Conway Aerie Isaac Kleiner Kyōko Toshinō Toon Link Konari Koshigaya el niño rata Kratos Seiji Amasawa Alexander Anderson Koushirou "Izzy" Izumi Asuna Yūki Miku Hatsune Append (Sweet) Constance Harm Kōzō Fuyutsuki Krystal Illidan Stormrage Shijuku Tsukishima Seras Victoria Kagamine Rin/Len Kazuho Miyauchi Lizuka Yuzu Garrosh Hellscream Shizuku Minami Christopher Thorndyke Taichi Yagami Vol'jin Danny Burke Yamato "Matt" Ishida Midna Pip Bernadotte Sakura Kinomoto Tsumugi Kotobuki Chinatsu Yoshikawa Ritsu Tainaka Akari Akaza Spike Bayonetta Anna Williams Mannoroth Natsumi Koshigaya Bart Simpson SpongeBob SquarePants Kirito Kirino Kosaka Panther Caroso
119
action count
action approx
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Index
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ontology:common_name . ?a rdf:type ontology:abstract_being . ?a property:voice_actor ?f } GROUP BY ?a } . FILTER ( ?g = ?y ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { resource:Index property:voice_actor ?h . ?h rdf:type ontology:abstract_being } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q819724
P725
Q502895 Q15619164
USER
And how about Lady Vashj?
(c(Q15619164),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q819724
relation P725
type Q15619164
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?m ) WHERE { ?a property:P725 ?k . ?a rdf:type ontology:Q15619164 . ?k rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Q819724 property:P725 ?d . ?d rdf:type ontology:Q15619164 } } . FILTER ( ?m = ?i ) }
Lady Vashj
action count
action approx
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Lady Vashj
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?m ) WHERE { ?a property:voice_actor ?k . ?a rdf:type ontology:abstract_being . ?k rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Lady_Vashj property:voice_actor ?d . ?d rdf:type ontology:abstract_being } } . FILTER ( ?m = ?i ) }
[]
common name abstract being
SYSTEM
119
Q21009638 Q15537062 Q819724 Q22079436 Q15502715 Q21006905 Q15055569 Q11339793 Q820011 Q819644 Q15648502 Q15725453 Q15502566 Q638630 Q15728188 Q15648510 Q1134585 Q15728185 Q820088 Q4701169 Q15884361 Q15956614 Q21036253 Q2079562 Q10343913 Q1161155 Q819500 Q27691284 Q3805994 Q15632347 Q15632342 Q15632343 Q2270749 Q11331437 Q15632348 Q819748 Q21027734 Q15502591 Q682371 Q15990697 Q15958700 Q15502577 Q2779377 Q819519 Q2558257 Q15520173 Q15712269 Q15502620 Q977511 Q17628767 Q15710705 Q27334870 Q27265636 Q49352 Q552682 Q5957609 Q728718 Q15502538 Q15490560 Q3631585 Q16040855 Q27300001 Q849700 Q15502637 Q27613927 Q819804 Q282514 Q3858633 Q16995485 Q18292066 Q844697 Q15502733 Q15956634 Q15970363 Q3605971 Q1076302 Q15502526 Q21030278 Q15990717 Q613241 Q2291154 Q15966747 Q3482136 Q18292143 Q18934600 Q27493776 Q2151996 Q3201327 Q2663645 Q819544 Q15961663 Q3479120 Q909655 Q16005386 Q16003600 Q2566378 Q15731593 Q17634983 Q2291498 Q849758 Q27680001 Q2332475 Q1200192 Q6076547 Q2082802 Q4000019 Q15502552 Q3937809 Q15502464 Q3966728 Q4874693 Q2738631 Q819851 Q15846552 Q5480 Q935079 Q18468944 Q15537046 Q14429586
(c(Q15619164),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q819724
relation P725
type Q15619164
[ANSWER]
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?m ) WHERE { ?a property:P725 ?k . ?a rdf:type ontology:Q15619164 . ?k rdf:type ontology:Q502895 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Q819724 property:P725 ?d . ?d rdf:type ontology:Q15619164 } } . FILTER ( ?m = ?i ) }
Beltino Toad Manami Tamura Lady Vashj Maz Kanata Nana Nishigaki Lionel Fusco Jeremiah Gottwald My Melody Sylvanas Windrunner Kael'thas Sunstrider Haruka Takayama Queen Chrysalis Ayano Sugiura Larry Laffer Renge Miyauchi Yuu Sonoda Hiroshi Nohara Hotaru Ichijo Thrall Akira Okuzaki Honoka Kōsaka Tamako Kitashirakawa Tricky SHODAN Palutena MZ/X Grom Hellscream Alma Diaz Jacqueline Natla Haruka Nishida Kana Nakamachi Amano Saki Pit Pikmin Mika Kujiin Maiev Shadowsong Young Link Sakurako Ohmuro Index Kotone Noda Dera Mochimazzwi Chitose Ikeda Mimi Tachikawa Gul'dan Rose Ui Hirasawa Mitsuki Sonoda Rise Matsumoto Shizuka Minamoto Diablo Discord Miku Hatsune Append (Dark) Len Kagamine Gena the Crocodile Hatsune Miku Rin Kagamine Rukia Kuchiki Yui Funami Sawako Yamanaka Azusa Nakano Pico Adam Jensen Deathwing Akane Akaza Thomas Burke Malfurion Stormrage Alucard Mio Akiyama Hiro Takachiho Sora Takenouchi Shinichi Kudo Mirakurun Mochizō Ōji Larson Conway Aerie Isaac Kleiner Kyōko Toshinō Toon Link Konari Koshigaya el niño rata Kratos Seiji Amasawa Alexander Anderson Koushirou "Izzy" Izumi Asuna Yūki Miku Hatsune Append (Sweet) Constance Harm Kōzō Fuyutsuki Krystal Illidan Stormrage Shijuku Tsukishima Seras Victoria Kagamine Rin/Len Kazuho Miyauchi Lizuka Yuzu Garrosh Hellscream Shizuku Minami Christopher Thorndyke Taichi Yagami Vol'jin Danny Burke Yamato "Matt" Ishida Midna Pip Bernadotte Sakura Kinomoto Tsumugi Kotobuki Chinatsu Yoshikawa Ritsu Tainaka Akari Akaza Spike Bayonetta Anna Williams Mannoroth Natsumi Koshigaya Bart Simpson SpongeBob SquarePants Kirito Kirino Kosaka Panther Caroso
119
action count
action approx
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Lady Vashj
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?m ) WHERE { ?a property:voice_actor ?k . ?a rdf:type ontology:abstract_being . ?k rdf:type ontology:common_name } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Lady_Vashj property:voice_actor ?d . ?d rdf:type ontology:abstract_being } } . FILTER ( ?m = ?i ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q185724 Q270324
P1346
Q618779
USER
Which awards were won by Patti LuPone or Mike Myers ?
OR((c(Q618779),P1346,Q270324), (c(Q618779),P1346,Q185724))
action filter_type
action union
action find_reverse
entity Q270324
relation P1346
action find_reverse
entity Q185724
relation P1346
type Q618779
{'OR': [[{'concept': 'Q618779'}, 'P1346', 'Q270324'], [{'concept': 'Q618779'}, 'P1346', 'Q185724']]}
SELECT DISTINCT ?l WHERE { { { ?l property:P1346 resource:Q270324 } UNION { ?l property:P1346 resource:Q185724 } } . ?l rdf:type ontology:Q618779 }
Mike Myers Patti LuPone
action filter_type
action union
action find_reverse
entity Patti LuPone
relation winner
action find_reverse
entity Mike Myers
relation winner
type award
{'OR': [[{'concept': 'award'}, 'winner', 'Patti LuPone'], [{'concept': 'award'}, 'winner', 'Mike Myers']]}
SELECT DISTINCT ?l WHERE { { { ?l property:winner resource:Patti_LuPone } UNION { ?l property:winner resource:Mike_Myers } } . ?l rdf:type ontology:award }
[]
award
Q5305703 Q1780634 Q518675 Q922396
SYSTEM
Drama Desk Award for Outstanding Actress in a Musical, Golden Raspberry Award for Worst Picture, Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture, Broadcast Film Critics Association Award for Best Cast
Q5305703 Q1780634 Q518675 Q922396
OR((c(Q618779),P1346,Q270324), (c(Q618779),P1346,Q185724))
action filter_type
action union
action find_reverse
entity Q270324
relation P1346
action find_reverse
entity Q185724
relation P1346
type Q618779
Nominations [ANSWERS] were won by Patti LuPone or Mike Myers
{'OR': [[{'concept': 'Q618779'}, 'P1346', 'Q270324'], [{'concept': 'Q618779'}, 'P1346', 'Q185724']]}
SELECT DISTINCT ?l WHERE { { { ?l property:P1346 resource:Q270324 } UNION { ?l property:P1346 resource:Q185724 } } . ?l rdf:type ontology:Q618779 }
Drama Desk Award for Outstanding Actress in a Musical Golden Raspberry Award for Worst Picture Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture Broadcast Film Critics Association Award for Best Cast
Nominations Drama Desk Award for Outstanding Actress in a Musical, Golden Raspberry Award for Worst Picture, Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture and Broadcast Film Critics Association Award for Best Cast were won by Patti LuPone or Mike Myers
Drama Desk Award for Outstanding Actress in a Musical Golden Raspberry Award for Worst Picture Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture Broadcast Film Critics Association Award for Best Cast
action filter_type
action union
action find_reverse
entity Patti LuPone
relation winner
action find_reverse
entity Mike Myers
relation winner
type award
{'OR': [[{'concept': 'award'}, 'winner', 'Patti LuPone'], [{'concept': 'award'}, 'winner', 'Mike Myers']]}
SELECT DISTINCT ?l WHERE { { { ?l property:winner resource:Patti_LuPone } UNION { ?l property:winner resource:Mike_Myers } } . ?l rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19201560 Q270324
P276 P551
Q56061
USER
Which administrative territories did Patti LuPone reside or are the place where Goudenregenlaan are located ?
OR((Q270324,P551,c(Q56061)), (Q19201560,P276,c(Q56061)))
action filter_type
action union
action find
entity Q270324
relation P551
action find
entity Q19201560
relation P276
type Q56061
{'OR': [['Q270324', 'P551', {'concept': 'Q56061'}], ['Q19201560', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q270324 property:P551 ?h } UNION { resource:Q19201560 property:P276 ?h } } . ?h rdf:type ontology:Q56061 }
Goudenregenlaan Patti LuPone
action filter_type
action union
action find
entity Patti LuPone
relation residence
action find
entity Goudenregenlaan
relation location
type administrative territorial entity
{'OR': [['Patti LuPone', 'residence', {'concept': 'administrative territorial entity'}], ['Goudenregenlaan', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Patti_LuPone property:residence ?h } UNION { resource:Goudenregenlaan property:location ?h } } . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2258603 Q84
SYSTEM
Waalre-dorp, London
Q2258603 Q84
OR((Q270324,P551,c(Q56061)), (Q19201560,P276,c(Q56061)))
action filter_type
action union
action find
entity Q270324
relation P551
action find
entity Q19201560
relation P276
type Q56061
Patti LuPone resided in [ANSWERS] or are the place where Goudenregenlaan are located
{'OR': [['Q270324', 'P551', {'concept': 'Q56061'}], ['Q19201560', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q270324 property:P551 ?h } UNION { resource:Q19201560 property:P276 ?h } } . ?h rdf:type ontology:Q56061 }
Waalre-dorp London
Patti LuPone resided in Waalre-dorp and London or are the place where Goudenregenlaan are located
Waalre-dorp London
action filter_type
action union
action find
entity Patti LuPone
relation residence
action find
entity Goudenregenlaan
relation location
type administrative territorial entity
{'OR': [['Patti LuPone', 'residence', {'concept': 'administrative territorial entity'}], ['Goudenregenlaan', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Patti_LuPone property:residence ?h } UNION { resource:Goudenregenlaan property:location ?h } } . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q180338
P175
Q95074
USER
Who performed Christopher Lee ?
(c(Q95074),P175,Q180338)
action filter_type
action find_reverse
entity Q180338
relation P175
type Q95074
[{'concept': 'Q95074'}, 'P175', 'Q180338']
SELECT DISTINCT ?t WHERE { ?t property:P175 resource:Q180338 . ?t rdf:type ontology:Q95074 }
Christopher Lee
action filter_type
action find_reverse
entity Christopher Lee
relation performer
type fictional character
[{'concept': 'fictional character'}, 'performer', 'Christopher Lee']
SELECT DISTINCT ?t WHERE { ?t property:performer resource:Christopher_Lee . ?t rdf:type ontology:fictional_character }
[]
fictional character
Q4653 Q1616457
SYSTEM
Sherlock Holmes, Mycroft Holmes
Q4653 Q1616457
(c(Q95074),P175,Q180338)
action filter_type
action find_reverse
entity Q180338
relation P175
type Q95074
[ANSWERS] performed Christopher Lee
[{'concept': 'Q95074'}, 'P175', 'Q180338']
SELECT DISTINCT ?t WHERE { ?t property:P175 resource:Q180338 . ?t rdf:type ontology:Q95074 }
Sherlock Holmes Mycroft Holmes
Sherlock Holmes and Mycroft Holmes performed Christopher Lee
Sherlock Holmes Mycroft Holmes
action filter_type
action find_reverse
entity Christopher Lee
relation performer
type fictional character
[{'concept': 'fictional character'}, 'performer', 'Christopher Lee']
SELECT DISTINCT ?t WHERE { ?t property:performer resource:Christopher_Lee . ?t rdf:type ontology:fictional_character }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1616457
P7
Q95074
USER
Who is a sibling of that one ?
(c(Q95074),P7,Q1616457)
action filter_type
action find
entity Q1616457
relation P7
type Q95074
[{'concept': 'Q95074'}, 'P7', 'Q1616457']
SELECT DISTINCT ?l WHERE { resource:Q1616457 property:P7 ?l . ?l rdf:type ontology:Q95074 }
Mycroft Holmes
action filter_type
action find
entity Mycroft Holmes
relation brother
type fictional character
[{'concept': 'fictional character'}, 'brother', 'Mycroft Holmes']
SELECT DISTINCT ?l WHERE { resource:Mycroft_Holmes property:brother ?l . ?l rdf:type ontology:fictional_character }
[]
fictional character
Clarification for simple ques.
Q4653
SYSTEM
Did you mean Sherlock Holmes ?
Q4653 Q1616457
(c(Q95074),P7,Q4653) (c(Q95074),P7,Q1616457)
[ANSWER]
[{'concept': 'Q95074'}, 'P7', 'Q4653'] [{'concept': 'Q95074'}, 'P7', 'Q1616457']
SELECT DISTINCT ?l WHERE { resource:Q1616457 property:P7 ?l . ?l rdf:type ontology:Q95074 }
Sherlock Holmes Mycroft Holmes
Did you mean Sherlock Holmes ?
Sherlock Holmes
[{'concept': 'fictional character'}, 'brother', 'Sherlock Holmes'] [{'concept': 'fictional character'}, 'brother', 'Mycroft Holmes']
SELECT DISTINCT ?l WHERE { resource:Mycroft_Holmes property:brother ?l . ?l rdf:type ontology:fictional_character }
[]
Simple Question (Coreferenced)
USER
No, I meant Mycroft Holmes. Could you tell me the answer for that?
(c(Q95074),P7,Q1616457)
Q1616457
[{'concept': 'Q95074'}, 'P7', 'Q1616457']
[{'concept': 'fictional character'}, 'brother', 'Mycroft Holmes']
[]
Q4653
SYSTEM
Sherlock Holmes
Q4653
(c(Q95074),P7,Q1616457)
action filter_type
action find
entity Q1616457
relation P7
type Q95074
A sibling of that one is the [ANSWER]
[{'concept': 'Q95074'}, 'P7', 'Q1616457']
SELECT DISTINCT ?l WHERE { resource:Q1616457 property:P7 ?l . ?l rdf:type ontology:Q95074 }
Sherlock Holmes
A sibling of that one is the Sherlock Holmes
Sherlock Holmes
action filter_type
action find
entity Mycroft Holmes
relation brother
type fictional character
[{'concept': 'fictional character'}, 'brother', 'Mycroft Holmes']
SELECT DISTINCT ?l WHERE { resource:Mycroft_Holmes property:brother ?l . ?l rdf:type ontology:fictional_character }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4653 Q7516
P175
Q502895
USER
Was Jonny Lee Miller performed by Sherlock Holmes ?
(Q4653,P175,Q7516)
action is_in
entity Q7516
action find
entity Q4653
relation P175
['Q4653', 'P175', 'Q7516']
ASK WHERE { resource:Q4653 property:P175 resource:Q7516 }
Sherlock Holmes Jonny Lee Miller
action is_in
entity Jonny Lee Miller
action find
entity Sherlock Holmes
relation performer
['Sherlock Holmes', 'performer', 'Jonny Lee Miller']
ASK WHERE { resource:Sherlock_Holmes property:performer resource:Jonny_Lee_Miller }
[]
common name
SYSTEM
YES
(Q4653,P175,Q7516)
action is_in
entity Q7516
action find
entity Q4653
relation P175
[ANSWER]
['Q4653', 'P175', 'Q7516']
ASK WHERE { resource:Q4653 property:P175 resource:Q7516 }
Yes
action is_in
entity Jonny Lee Miller
action find
entity Sherlock Holmes
relation performer
['Sherlock Holmes', 'performer', 'Jonny Lee Miller']
ASK WHERE { resource:Sherlock_Holmes property:performer resource:Jonny_Lee_Miller }
[]