Simple Question (Direct)
Simple Question
Q18406872
P462
Q1075
USER
Which color is Doctor Strange associated with ?
(Q18406872,P462,c(Q1075))
action filter_type
action find
entity Q18406872
relation P462
type Q1075
['Q18406872', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1075 . resource:Q18406872 property:P462 ?h }
Doctor Strange
action filter_type
action find
entity Doctor Strange
relation color
type color
['Doctor Strange', 'color', {'concept': 'color'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:color . resource:Doctor_Strange property:color ?h }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q18406872,P462,c(Q1075))
action filter_type
action find
entity Q18406872
relation P462
type Q1075
Doctor Strange is associated with [ANSWER]
['Q18406872', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1075 . resource:Q18406872 property:P462 ?h }
color
Doctor Strange is associated with color
color
action filter_type
action find
entity Doctor Strange
relation color
type color
['Doctor Strange', 'color', {'concept': 'color'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:color . resource:Doctor_Strange property:color ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18406872
P86
Q502895
USER
Who wrote the music for that work of art ?
(Q22006653,P86,c(Q502895))
action filter_type
action find
entity Q18406872
relation P86
type Q502895
['Q22006653', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q18406872 property:P86 ?w . ?w rdf:type ontology:Q502895 }
Doctor Strange
action filter_type
action find
entity Doctor Strange
relation composer
type common name
['color', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Doctor_Strange property:composer ?w . ?w rdf:type ontology:common_name }
[]
common name
Q155124
SYSTEM
Michael Giacchino
Q155124
(Q22006653,P86,c(Q502895))
action filter_type
action find
entity Q18406872
relation P86
type Q502895
[ANSWER] wrote the music for that work of art
['Q22006653', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q18406872 property:P86 ?w . ?w rdf:type ontology:Q502895 }
Michael Giacchino
Michael Giacchino wrote the music for that work of art
Michael Giacchino
action filter_type
action find
entity Doctor Strange
relation composer
type common name
['color', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Doctor_Strange property:composer ?w . ?w rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q15958700
P725
Q502895 Q15619164
USER
How many abstract beings had approximately the same number of people as the dubbing artist as Dera Mochimazzwi ?
(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 Q15958700
relation P725
type Q15619164
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?d ) WHERE { ?q property:P725 ?l . ?q rdf:type ontology:Q15619164 . ?l rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:Q15958700 property:P725 ?s . ?s rdf:type ontology:Q15619164 } } . FILTER ( ?d = ?g ) }
Dera Mochimazzwi
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 Dera Mochimazzwi
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?d ) WHERE { ?q property:voice_actor ?l . ?q rdf:type ontology:abstract_being . ?l rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:Dera_Mochimazzwi property:voice_actor ?s . ?s rdf:type ontology:abstract_being } } . FILTER ( ?d = ?g ) }
[]
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 Q15958700
relation P725
type Q15619164
[ANSWER]
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?d ) WHERE { ?q property:P725 ?l . ?q rdf:type ontology:Q15619164 . ?l rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:Q15958700 property:P725 ?s . ?s rdf:type ontology:Q15619164 } } . FILTER ( ?d = ?g ) }
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 Dera Mochimazzwi
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?d ) WHERE { ?q property:voice_actor ?l . ?q rdf:type ontology:abstract_being . ?l rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:Dera_Mochimazzwi property:voice_actor ?s . ?s rdf:type ontology:abstract_being } } . FILTER ( ?d = ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1161155
P725
Q502895 Q15619164
USER
And how about MZ/X?
(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 Q1161155
relation P725
type Q15619164
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?a ) WHERE { ?t property:P725 ?e . ?t rdf:type ontology:Q15619164 . ?e rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v rdf:type ontology:Q15619164 . resource:Q1161155 property:P725 ?v } } . FILTER ( ?a = ?m ) }
MZ/X
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 MZ/X
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?a ) WHERE { ?t property:voice_actor ?e . ?t rdf:type ontology:abstract_being . ?e rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v rdf:type ontology:abstract_being . resource:MZ/X property:voice_actor ?v } } . FILTER ( ?a = ?m ) }
[]
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 Q1161155
relation P725
type Q15619164
[ANSWER]
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?a ) WHERE { ?t property:P725 ?e . ?t rdf:type ontology:Q15619164 . ?e rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v rdf:type ontology:Q15619164 . resource:Q1161155 property:P725 ?v } } . FILTER ( ?a = ?m ) }
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 MZ/X
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?a ) WHERE { ?t property:voice_actor ?e . ?t rdf:type ontology:abstract_being . ?e rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v rdf:type ontology:abstract_being . resource:MZ/X property:voice_actor ?v } } . FILTER ( ?a = ?m ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18406872
P840
Q56061
USER
Which are the narrative locations of Doctor Strange ?
(Q18406872,P840,c(Q56061))
action filter_type
action find
entity Q18406872
relation P840
type Q56061
['Q18406872', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q18406872 property:P840 ?d . ?d rdf:type ontology:Q56061 }
Doctor Strange
action filter_type
action find
entity Doctor Strange
relation narrative location
type administrative territorial entity
['Doctor Strange', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Doctor_Strange property:narrative_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3037 Q60
SYSTEM
Kathmandu, New York City
Q3037 Q60
(Q18406872,P840,c(Q56061))
action filter_type
action find
entity Q18406872
relation P840
type Q56061
The narrative locations of Doctor Strange are in [ANSWERS]
['Q18406872', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q18406872 property:P840 ?d . ?d rdf:type ontology:Q56061 }
Kathmandu New York City
The narrative locations of Doctor Strange are in Kathmandu and New York City
Kathmandu New York City
action filter_type
action find
entity Doctor Strange
relation narrative location
type administrative territorial entity
['Doctor Strange', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Doctor_Strange property:narrative_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q18406872
Q376799
USER
And which transport infrastructure?
(Q18406872,P840,c(Q376799))
action filter_type
action find
entity Q18406872
relation P840
type Q376799
['Q18406872', 'P840', {'concept': 'Q376799'}]
SELECT DISTINCT ?j WHERE { resource:Q18406872 property:P840 ?j . ?j rdf:type ontology:Q376799 }
Doctor Strange
action filter_type
action find
entity Doctor Strange
relation narrative location
type transport infrastructure
['Doctor Strange', 'narrative location', {'concept': 'transport infrastructure'}]
SELECT DISTINCT ?j WHERE { resource:Doctor_Strange property:narrative_location ?j . ?j rdf:type ontology:transport_infrastructure }
[]
transport infrastructure
Q2724557
SYSTEM
Bleecker Street
Q2724557
(Q18406872,P840,c(Q376799))
action filter_type
action find
entity Q18406872
relation P840
type Q376799
[ANSWER]
['Q18406872', 'P840', {'concept': 'Q376799'}]
SELECT DISTINCT ?j WHERE { resource:Q18406872 property:P840 ?j . ?j rdf:type ontology:Q376799 }
Bleecker Street
Bleecker Street
action filter_type
action find
entity Doctor Strange
relation narrative location
type transport infrastructure
['Doctor Strange', 'narrative location', {'concept': 'transport infrastructure'}]
SELECT DISTINCT ?j WHERE { resource:Doctor_Strange property:narrative_location ?j . ?j rdf:type ontology:transport_infrastructure }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q18406872
P161
Q502895
USER
How many people starred in Doctor Strange ?
(Q18406872,P161,c(Q502895))
action count
action filter_type
action find
entity Q18406872
relation P161
type Q502895
['Q18406872', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Q18406872 property:P161 ?j . ?j rdf:type ontology:Q502895 }
Doctor Strange
action count
action filter_type
action find
entity Doctor Strange
relation cast member
type common name
['Doctor Strange', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Doctor_Strange property:cast_member ?j . ?j rdf:type ontology:common_name }
[]
common name
SYSTEM
29
Q27624520 Q317343 Q27624466 Q27670352 Q27670379 Q27670333 Q244674 Q27670339 Q73362 Q27670371 Q54314 Q16204431 Q3329808 Q27670385 Q200534 Q27670388 Q27670268 Q190386 Q27624417 Q27670305 Q27670368 Q27624555 Q28310 Q261981 Q294647 Q27624493 Q438445 Q2844564 Q27601640
(Q18406872,P161,c(Q502895))
action count
action filter_type
action find
entity Q18406872
relation P161
type Q502895
[ANSWER]
['Q18406872', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Q18406872 property:P161 ?j . ?j rdf:type ontology:Q502895 }
Topo Wresniwiro Chiwetel Ejiofor Alaa Safi Eben Young Daniel Dow Adam Pelta-Pauls Benedict Cumberbatch Sarah Malin Benjamin Bratt Guillaume Faure Chris Hemsworth Pat Kiernan Benedict Wong Ezra Khan Tilda Swinton Kimberly Van Luin Linda Louise Duan Rachel McAdams Zara Phythian Mark Anthony Brighton Elizabeth Healey Umit Ulgen Scott Adkins Meera Syal Mads Mikkelsen Katrina Durden Michael Stuhlbarg Amy Landecker Kobna Holdbrook-Smith
29
action count
action filter_type
action find
entity Doctor Strange
relation cast member
type common name
['Doctor Strange', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Doctor_Strange property:cast_member ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18406872
P629
Q386724
USER
Which work is an edition or translation of Doctor Strange ?
(c(Q386724),P629,Q18406872)
action filter_type
action find_reverse
entity Q18406872
relation P629
type Q386724
[{'concept': 'Q386724'}, 'P629', 'Q18406872']
SELECT DISTINCT ?h WHERE { ?h property:P629 resource:Q18406872 . ?h rdf:type ontology:Q386724 }
Doctor Strange
action filter_type
action find_reverse
entity Doctor Strange
relation edition or translation of
type work
[{'concept': 'work'}, 'edition or translation of', 'Doctor Strange']
SELECT DISTINCT ?h WHERE { ?h property:edition_or_translation_of resource:Doctor_Strange . ?h rdf:type ontology:work }
[]
work
Q27627540
SYSTEM
Doctor Strange (Doctor Extraño)
Q27627540
(c(Q386724),P629,Q18406872)
action filter_type
action find_reverse
entity Q18406872
relation P629
type Q386724
[ANSWER] is an edition or translation of Doctor Strange
[{'concept': 'Q386724'}, 'P629', 'Q18406872']
SELECT DISTINCT ?h WHERE { ?h property:P629 resource:Q18406872 . ?h rdf:type ontology:Q386724 }
Doctor Strange (Doctor Extraño)
Doctor Strange (Doctor Extraño) is an edition or translation of Doctor Strange
Doctor Strange (Doctor Extraño)
action filter_type
action find_reverse
entity Doctor Strange
relation edition or translation of
type work
[{'concept': 'work'}, 'edition or translation of', 'Doctor Strange']
SELECT DISTINCT ?h WHERE { ?h property:edition_or_translation_of resource:Doctor_Strange . ?h rdf:type ontology:work }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27627540
P57
Q502895
USER
Which person served as the directed of that work ?
(Q27627540,P57,c(Q502895))
action filter_type
action find
entity Q27627540
relation P57
type Q502895
['Q27627540', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q27627540 property:P57 ?a . ?a rdf:type ontology:Q502895 }
Doctor Strange (Doctor Extraño)
action filter_type
action find
entity Doctor Strange (Doctor Extraño)
relation director
type common name
['Doctor Strange (Doctor Extraño)', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Doctor_Strange_(Doctor_Extraño) property:director ?a . ?a rdf:type ontology:common_name }
[]
common name
Q23753030
SYSTEM
Rafael Calvo
Q23753030
(Q27627540,P57,c(Q502895))
action filter_type
action find
entity Q27627540
relation P57
type Q502895
[ANSWER] served as the directed of that work
['Q27627540', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q27627540 property:P57 ?a . ?a rdf:type ontology:Q502895 }
Rafael Calvo
Rafael Calvo served as the directed of that work
Rafael Calvo
action filter_type
action find
entity Doctor Strange (Doctor Extraño)
relation director
type common name
['Doctor Strange (Doctor Extraño)', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Doctor_Strange_(Doctor_Extraño) property:director ?a . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q23753030
P57
Q386724 Q3249551
USER
How many works or processes have Rafael Calvo as their director ?
(c(Q386724),P57,Q23753030) (c(Q3249551),P57,Q23753030)
action count
action union
action filter_type
action find_reverse
entity Q23753030
relation P57
type Q386724
action filter_type
action find_reverse
entity Q23753030
relation P57
type Q3249551
[{'concept': 'Q386724'}, 'P57', 'Q23753030'] [{'concept': 'Q3249551'}, 'P57', 'Q23753030']
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r rdf:type ?b . VALUES ( ?b ) { ( ontology:Q386724 ) ( ontology:Q3249551 ) } }
Rafael Calvo
action count
action union
action filter_type
action find_reverse
entity Rafael Calvo
relation director
type work
action filter_type
action find_reverse
entity Rafael Calvo
relation director
type process
[{'concept': 'work'}, 'director', 'Rafael Calvo'] [{'concept': 'process'}, 'director', 'Rafael Calvo']
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r rdf:type ?b . VALUES ( ?b ) { ( ontology:work ) ( ontology:process ) } }
[]
work process
SYSTEM
3
Q27627540 Q24046091 Q23894983
(c(Q386724),P57,Q23753030) (c(Q3249551),P57,Q23753030)
action count
action union
action filter_type
action find_reverse
entity Q23753030
relation P57
type Q386724
action filter_type
action find_reverse
entity Q23753030
relation P57
type Q3249551
[ANSWER]
[{'concept': 'Q386724'}, 'P57', 'Q23753030'] [{'concept': 'Q3249551'}, 'P57', 'Q23753030']
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r rdf:type ?b . VALUES ( ?b ) { ( ontology:Q386724 ) ( ontology:Q3249551 ) } }
Doctor Strange (Doctor Extraño) Thor Iron Man 2
3
action count
action union
action filter_type
action find_reverse
entity Rafael Calvo
relation director
type work
action filter_type
action find_reverse
entity Rafael Calvo
relation director
type process
[{'concept': 'work'}, 'director', 'Rafael Calvo'] [{'concept': 'process'}, 'director', 'Rafael Calvo']
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r rdf:type ?b . VALUES ( ?b ) { ( ontology:work ) ( ontology:process ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1022
P206
Q337567 Q355304 Q56061
USER
How many administrative territories are located nearby greater number of still waterss or watercourses than Stuttgart ?
(c(Q56061),P206,c(Q337567)|c(Q355304))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q355304
action count
action filter_multi_types
action find
entity Q1022
relation P206
type Q337567
type Q355304
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?z WHERE { VALUES ( ?u ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?l rdf:type ?u } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { VALUES ( ?k ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?g rdf:type ?k } . resource:Q1022 property:P206 ?g } } . FILTER ( ?a > ?j ) }
Stuttgart
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Stuttgart
relation located next to body of water
type still waters
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?z WHERE { VALUES ( ?u ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?l rdf:type ?u } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { VALUES ( ?k ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?g rdf:type ?k } . resource:Stuttgart property:located_next_to_body_of_water ?g } } . FILTER ( ?a > ?j ) }
[]
still waters watercourse administrative territorial entity
SYSTEM
19
Q1395576 Q1715 Q253741 Q1709 Q1963 Q3033 Q1741 Q2103 Q60 Q252466 Q244327 Q1726 Q64 Q50960 Q1394778 Q3012 Q1040 Q100 Q4190
(c(Q56061),P206,c(Q337567)|c(Q355304))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q355304
action count
action filter_multi_types
action find
entity Q1022
relation P206
type Q337567
type Q355304
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?z WHERE { VALUES ( ?u ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?l rdf:type ?u } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { VALUES ( ?k ) { ( ontology:Q337567 ) ( ontology:Q355304 ) } . ?g rdf:type ?k } . resource:Q1022 property:P206 ?g } } . FILTER ( ?a > ?j ) }
Nussdorf Hanover Grinzing Schwerin Khartoum Göttingen Vienna Bochum New York City Treuchtlingen Gorinchem Munich Berlin Demmin Falmey Ulm Karlsruhe Boston Passau
19
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Stuttgart
relation located next to body of water
type still waters
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?z WHERE { VALUES ( ?u ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?l rdf:type ?u } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { VALUES ( ?k ) { ( ontology:still_waters ) ( ontology:watercourse ) } . ?g rdf:type ?k } . resource:Stuttgart property:located_next_to_body_of_water ?g } } . FILTER ( ?a > ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1870405
P206
Q337567 Q355304 Q56061
USER
And what about Lorrha?
(c(Q56061),P206,c(Q337567)|c(Q355304))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q355304
action count
action filter_multi_types
action find
entity Q1870405
relation P206
type Q337567
type Q355304
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?w WHERE { { ?w property:P206 ?u . ?w rdf:type ontology:Q56061 . ?u rdf:type ontology:Q355304 } UNION { ?w property:P206 ?u . ?w rdf:type ontology:Q56061 . ?u rdf:type ontology:Q337567 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Q1870405 property:P206 ?a . { { ?a rdf:type ontology:Q337567 } UNION { ?a rdf:type ontology:Q355304 } } } } . FILTER ( ?y > ?k ) }
Lorrha
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Lorrha
relation located next to body of water
type still waters
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?w WHERE { { ?w property:located_next_to_body_of_water ?u . ?w rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:watercourse } UNION { ?w property:located_next_to_body_of_water ?u . ?w rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:still_waters } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Lorrha property:located_next_to_body_of_water ?a . { { ?a rdf:type ontology:still_waters } UNION { ?a rdf:type ontology:watercourse } } } } . FILTER ( ?y > ?k ) }
[]
still waters watercourse administrative territorial entity
SYSTEM
65
Q1718 Q305067 Q898 Q3711 Q83178 Q1395576 Q1715 Q895123 Q253741 Q934511 Q387502 Q1022 Q251091 Q103255 Q2599767 Q379531 Q793407 Q903595 Q925506 Q1709 Q13403152 Q1963 Q1842 Q740066 Q988658 Q995806 Q3037 Q3033 Q1741 Q987797 Q2090 Q2103 Q60 Q23564 Q3828 Q252466 Q134620 Q1025014 Q244327 Q1737 Q14945 Q1726 Q503640 Q569804 Q1729 Q64 Q61 Q1567437 Q1591499 Q50960 Q3640 Q1394778 Q647 Q727 Q3012 Q140147 Q79848 Q820024 Q220 Q1040 Q100 Q2235 Q216 Q615732 Q4190
(c(Q56061),P206,c(Q337567)|c(Q355304))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q355304
action count
action filter_multi_types
action find
entity Q1870405
relation P206
type Q337567
type Q355304
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?w WHERE { { ?w property:P206 ?u . ?w rdf:type ontology:Q56061 . ?u rdf:type ontology:Q355304 } UNION { ?w property:P206 ?u . ?w rdf:type ontology:Q56061 . ?u rdf:type ontology:Q337567 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Q1870405 property:P206 ?a . { { ?a rdf:type ontology:Q337567 } UNION { ?a rdf:type ontology:Q355304 } } } } . FILTER ( ?y > ?k ) }
Düsseldorf Gniew Omsk Belgrade Almere Nussdorf Hanover Boumba Grinzing Papendrecht Świecie Stuttgart Athy Alatyr Yatakala Heiligenstadt Ayourou Volendam Brok Schwerin Loenen aan de Vecht Khartoum Luxembourg Kinderdijk Połaniec Dobrzyń nad Wisłą Kathmandu Göttingen Vienna Leixlip Nuremberg Bochum New York City Podgorica Dessau-Roßlau Treuchtlingen Jyväskylä Inari Gorinchem Bregenz Merseburg Munich Gunzenhausen Wyszogród Erfurt Berlin Washington, D.C. Hadersdorf-Weidlingau Havelse Demmin Ankara Falmey Rennes Amsterdam Ulm Brest Southampton Kupiškis Rome Karlsruhe Boston Veliky Novgorod Vilnius Breukelen Passau
65
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Lorrha
relation located next to body of water
type still waters
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?w WHERE { { ?w property:located_next_to_body_of_water ?u . ?w rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:watercourse } UNION { ?w property:located_next_to_body_of_water ?u . ?w rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:still_waters } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Lorrha property:located_next_to_body_of_water ?a . { { ?a rdf:type ontology:still_waters } UNION { ?a rdf:type ontology:watercourse } } } } . FILTER ( ?y > ?k ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q19603939 Q386724
USER
Which works depict around 1 names or building components ?
(c(Q386724),P180,c(Q82799)|c(Q19603939))
action approx
action union
action find_tuple_counts
relation P180
type Q386724
type Q82799
action find_tuple_counts
relation P180
type Q386724
type Q19603939
value 1
[{'concept': 'Q386724'}, 'P180', [{'concept': 'Q82799'}, {'concept': 'Q19603939'}]]
SELECT DISTINCT ?k WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) ?k WHERE { { ?k property:P180 ?f . ?k rdf:type ontology:Q386724 . ?f rdf:type ontology:Q82799 } UNION { ?k property:P180 ?f . ?f rdf:type ontology:Q19603939 . ?k rdf:type ontology:Q386724 } } GROUP BY ?k } }
action approx
action union
action find_tuple_counts
relation depicts
type work
type name
action find_tuple_counts
relation depicts
type work
type building component
value 1
[{'concept': 'work'}, 'depicts', [{'concept': 'name'}, {'concept': 'building component'}]]
SELECT DISTINCT ?k WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) ?k WHERE { { ?k property:depicts ?f . ?k rdf:type ontology:work . ?f rdf:type ontology:name } UNION { ?k property:depicts ?f . ?f rdf:type ontology:building_component . ?k rdf:type ontology:work } } GROUP BY ?k } }
[]
name building component work
Q2901063 Q20668011 Q7772874
SYSTEM
Borghese Vase, Funerary stele of Thalea, The Vision of Constantine
Q2901063 Q20668011 Q7772874
(c(Q386724),P180,c(Q82799)|c(Q19603939))
action approx
action union
action find_tuple_counts
relation P180
type Q386724
type Q82799
action find_tuple_counts
relation P180
type Q386724
type Q19603939
value 1
[ANSWERS] depict around 1 names or building components
[{'concept': 'Q386724'}, 'P180', [{'concept': 'Q82799'}, {'concept': 'Q19603939'}]]
SELECT DISTINCT ?k WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) ?k WHERE { { ?k property:P180 ?f . ?k rdf:type ontology:Q386724 . ?f rdf:type ontology:Q82799 } UNION { ?k property:P180 ?f . ?f rdf:type ontology:Q19603939 . ?k rdf:type ontology:Q386724 } } GROUP BY ?k } }
Borghese Vase Funerary stele of Thalea The Vision of Constantine
Borghese Vase, Funerary stele of Thalea and The Vision of Constantine depict around 1 names or building components
Borghese Vase Funerary stele of Thalea The Vision of Constantine
action approx
action union
action find_tuple_counts
relation depicts
type work
type name
action find_tuple_counts
relation depicts
type work
type building component
value 1
[{'concept': 'work'}, 'depicts', [{'concept': 'name'}, {'concept': 'building component'}]]
SELECT DISTINCT ?k WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) ?k WHERE { { ?k property:depicts ?f . ?k rdf:type ontology:work . ?f rdf:type ontology:name } UNION { ?k property:depicts ?f . ?f rdf:type ontology:building_component . ?k rdf:type ontology:work } } GROUP BY ?k } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5233845 Q18406872
P161
Q502895
USER
Which people were casted in Doctor Strange or Pehla Nasha ?
OR((Q18406872,P161,c(Q502895)), (Q5233845,P161,c(Q502895)))
action filter_type
action union
action find
entity Q18406872
relation P161
action find
entity Q5233845
relation P161
type Q502895
{'OR': [['Q18406872', 'P161', {'concept': 'Q502895'}], ['Q5233845', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . { { resource:Q18406872 property:P161 ?b } UNION { resource:Q5233845 property:P161 ?b } } }
Pehla Nasha Doctor Strange
action filter_type
action union
action find
entity Doctor Strange
relation cast member
action find
entity Pehla Nasha
relation cast member
type common name
{'OR': [['Doctor Strange', 'cast member', {'concept': 'common name'}], ['Pehla Nasha', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . { { resource:Doctor_Strange property:cast_member ?b } UNION { resource:Pehla_Nasha property:cast_member ?b } } }
[]
common name
Q27601640 Q261981 Q27670371 Q2001803 Q200534 Q190386 Q27670268 Q16204431 Q786469 Q27670385
SYSTEM
Some of them are Kobna Holdbrook-Smith, Meera Syal, Guillaume Faure, Raveena Tandon, Tilda Swinton, Rachel McAdams, Linda Louise Duan, Pat Kiernan, Pooja Bhatt, Ezra Khan
Q786469 Q3021147 Q27624520 Q317343 Q27624466 Q27670352 Q27670379 Q27670333 Q27670371 Q27670339 Q73362 Q244674 Q54314 Q2844564 Q16204431 Q3329808 Q27670385 Q200534 Q27670388 Q27670268 Q190386 Q27624417 Q27670305 Q27670368 Q27624555 Q28310 Q261981 Q294647 Q27624493 Q438445 Q3123705 Q27601640 Q2001803
OR((Q18406872,P161,c(Q502895)), (Q5233845,P161,c(Q502895)))
action filter_type
action union
action find
entity Q18406872
relation P161
action find
entity Q5233845
relation P161
type Q502895
[ANSWERS] were casted in Doctor Strange or Pehla Nasha
{'OR': [['Q18406872', 'P161', {'concept': 'Q502895'}], ['Q5233845', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . { { resource:Q18406872 property:P161 ?b } UNION { resource:Q5233845 property:P161 ?b } } }
Pooja Bhatt Deepak Tijori Topo Wresniwiro Chiwetel Ejiofor Alaa Safi Eben Young Daniel Dow Adam Pelta-Pauls Guillaume Faure Sarah Malin Benjamin Bratt Benedict Cumberbatch Chris Hemsworth Amy Landecker Pat Kiernan Benedict Wong Ezra Khan Tilda Swinton Kimberly Van Luin Linda Louise Duan Rachel McAdams Zara Phythian Mark Anthony Brighton Elizabeth Healey Umit Ulgen Scott Adkins Meera Syal Mads Mikkelsen Katrina Durden Michael Stuhlbarg Paresh Rawal Kobna Holdbrook-Smith Raveena Tandon
Kobna Holdbrook-Smith, Meera Syal, Guillaume Faure, Raveena Tandon, Tilda Swinton, Rachel McAdams, Linda Louise Duan, Pat Kiernan, Pooja Bhatt and Ezra Khan were casted in Doctor Strange or Pehla Nasha
Kobna Holdbrook-Smith Meera Syal Guillaume Faure Raveena Tandon Tilda Swinton Rachel McAdams Linda Louise Duan Pat Kiernan Pooja Bhatt Ezra Khan
action filter_type
action union
action find
entity Doctor Strange
relation cast member
action find
entity Pehla Nasha
relation cast member
type common name
{'OR': [['Doctor Strange', 'cast member', {'concept': 'common name'}], ['Pehla Nasha', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . { { resource:Doctor_Strange property:cast_member ?b } UNION { resource:Pehla_Nasha property:cast_member ?b } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5233845
P495
Q15617994
USER
Which administrative territory is the origin of Pehla Nasha ?
(Q5233845,P495,c(Q15617994))
action filter_type
action find
entity Q5233845
relation P495
type Q15617994
['Q5233845', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q5233845 property:P495 ?i . ?i rdf:type ontology:Q15617994 }
Pehla Nasha
action filter_type
action find
entity Pehla Nasha
relation country of origin
type designation for an administrative territorial entity
['Pehla Nasha', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Pehla_Nasha property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q5233845,P495,c(Q15617994))
action filter_type
action find
entity Q5233845
relation P495
type Q15617994
In [ANSWER] is the origin of Pehla Nasha
['Q5233845', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q5233845 property:P495 ?i . ?i rdf:type ontology:Q15617994 }
India
In India is the origin of Pehla Nasha
India
action filter_type
action find
entity Pehla Nasha
relation country of origin
type designation for an administrative territorial entity
['Pehla Nasha', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Pehla_Nasha property:country_of_origin ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15104172
Q15617994
USER
And also tell me about Aftershock?
(Q15104172,P495,c(Q15617994))
action filter_type
action find
entity Q15104172
relation P495
type Q15617994
['Q15104172', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q15104172 property:P495 ?q . ?q rdf:type ontology:Q15617994 }
Aftershock
action filter_type
action find
entity Aftershock
relation country of origin
type designation for an administrative territorial entity
['Aftershock', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Aftershock property:country_of_origin ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q15104172,P495,c(Q15617994))
action filter_type
action find
entity Q15104172
relation P495
type Q15617994
[ANSWER]
['Q15104172', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q15104172 property:P495 ?q . ?q rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Aftershock
relation country of origin
type designation for an administrative territorial entity
['Aftershock', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Aftershock property:country_of_origin ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]