Simple Question (Direct)
Simple Question
Q5365488
P1303
Q34379
USER
Which musical instrument can Elliot Griffis perform with ?
(Q5365488,P1303,c(Q34379))
action filter_type
action find
entity Q5365488
relation P1303
type Q34379
['Q5365488', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { resource:Q5365488 property:P1303 ?b . ?b rdf:type ontology:Q34379 }
Elliot Griffis
action filter_type
action find
entity Elliot Griffis
relation instrument
type musical instrument
['Elliot Griffis', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { resource:Elliot_Griffis property:instrument ?b . ?b rdf:type ontology:musical_instrument }
[]
musical instrument
Q5994
SYSTEM
piano
Q5994
(Q5365488,P1303,c(Q34379))
action filter_type
action find
entity Q5365488
relation P1303
type Q34379
Elliot Griffis can perform on [ANSWER]
['Q5365488', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { resource:Q5365488 property:P1303 ?b . ?b rdf:type ontology:Q34379 }
piano
Elliot Griffis can perform on piano
piano
action filter_type
action find
entity Elliot Griffis
relation instrument
type musical instrument
['Elliot Griffis', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { resource:Elliot_Griffis property:instrument ?b . ?b rdf:type ontology:musical_instrument }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5994
P61
Q502895
USER
Which person discovered or invented that musical instrument ?
(Q5994,P61,c(Q502895))
action filter_type
action find
entity Q5994
relation P61
type Q502895
['Q5994', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q5994 property:P61 ?m . ?m rdf:type ontology:Q502895 }
piano
action filter_type
action find
entity piano
relation discoverer or inventor
type common name
['piano', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:piano property:discoverer_or_inventor ?m . ?m rdf:type ontology:common_name }
[]
common name
Q301597
SYSTEM
Bartolomeo Cristofori
Q301597
(Q5994,P61,c(Q502895))
action filter_type
action find
entity Q5994
relation P61
type Q502895
[ANSWER] discovered or invented that musical instrument
['Q5994', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q5994 property:P61 ?m . ?m rdf:type ontology:Q502895 }
Bartolomeo Cristofori
Bartolomeo Cristofori discovered or invented that musical instrument
Bartolomeo Cristofori
action filter_type
action find
entity piano
relation discoverer or inventor
type common name
['piano', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:piano property:discoverer_or_inventor ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q301597
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q301597,P106,c(Q12737077))
action filter_type
action find
entity Q301597
relation P106
type Q12737077
['Q301597', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q301597 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Bartolomeo Cristofori
action filter_type
action find
entity Bartolomeo Cristofori
relation occupation
type occupation
['Bartolomeo Cristofori', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Bartolomeo_Cristofori property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q885122 Q1955150
SYSTEM
piano maker, musical instrument maker
Q885122 Q1955150
(Q301597,P106,c(Q12737077))
action filter_type
action find
entity Q301597
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q301597', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q301597 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
piano maker musical instrument maker
The professions of that person are piano maker and musical instrument maker
piano maker musical instrument maker
action filter_type
action find
entity Bartolomeo Cristofori
relation occupation
type occupation
['Bartolomeo Cristofori', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Bartolomeo_Cristofori property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1955150
P452
Q43229
USER
Which organizations belong to the industry that occupation ?
(c(Q43229),P452,Q1955150)
action filter_type
action find_reverse
entity Q1955150
relation P452
type Q43229
[{'concept': 'Q43229'}, 'P452', 'Q1955150']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q43229 . ?o property:P452 resource:Q1955150 }
musical instrument maker
action filter_type
action find_reverse
entity musical instrument maker
relation industry
type organization
[{'concept': 'organization'}, 'industry', 'musical instrument maker']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:organization . ?o property:industry resource:musical_instrument_maker }
[]
organization
Clarification for simple ques.
Q1955150
SYSTEM
Did you mean musical instrument maker ?
Q885122 Q1955150
(c(Q43229),P452,Q885122) (c(Q43229),P452,Q1955150)
[ANSWER]
[{'concept': 'Q43229'}, 'P452', 'Q885122'] [{'concept': 'Q43229'}, 'P452', 'Q1955150']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q43229 . ?o property:P452 resource:Q1955150 }
piano maker musical instrument maker
Did you mean musical instrument maker ?
musical instrument maker
[{'concept': 'organization'}, 'industry', 'piano maker'] [{'concept': 'organization'}, 'industry', 'musical instrument maker']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:organization . ?o property:industry resource:musical_instrument_maker }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q43229),P452,Q1955150)
[{'concept': 'Q43229'}, 'P452', 'Q1955150']
[{'concept': 'organization'}, 'industry', 'musical instrument maker']
[]
Q13360672 Q1122899 Q756072
SYSTEM
Rieger Orgelbau, Vox Amplification, Atlansia
Q6681974 Q13360672 Q756072 Q16826202 Q15690873 Q1122899
(c(Q43229),P452,Q1955150)
action filter_type
action find_reverse
entity Q1955150
relation P452
type Q43229
[ANSWERS] belong to the industry that occupation
[{'concept': 'Q43229'}, 'P452', 'Q1955150']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q43229 . ?o property:P452 resource:Q1955150 }
Los Angeles Art Organ Company Rieger Orgelbau Atlansia Československé hudební nástroje H. Koulen & Sohn Vox Amplification
Rieger Orgelbau, Vox Amplification and Atlansia belong to the industry that occupation
Rieger Orgelbau Vox Amplification Atlansia
action filter_type
action find_reverse
entity musical instrument maker
relation industry
type organization
[{'concept': 'organization'}, 'industry', 'musical instrument maker']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:organization . ?o property:industry resource:musical_instrument_maker }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1122899
P112
Q502895
USER
What is the name of the founder of that organization ?
(Q1122899,P112,c(Q502895))
action filter_type
action find
entity Q1122899
relation P112
type Q502895
['Q1122899', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q1122899 property:P112 ?y . ?y rdf:type ontology:Q502895 }
Vox Amplification
action filter_type
action find
entity Vox Amplification
relation founder
type common name
['Vox Amplification', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Vox_Amplification property:founder ?y . ?y rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1122899
SYSTEM
Did you mean Vox Amplification ?
Q13360672 Q1122899 Q756072
(Q13360672,P112,c(Q502895)) (Q1122899,P112,c(Q502895)) (Q756072,P112,c(Q502895))
[ANSWER]
['Q13360672', 'P112', {'concept': 'Q502895'}] ['Q1122899', 'P112', {'concept': 'Q502895'}] ['Q756072', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q1122899 property:P112 ?y . ?y rdf:type ontology:Q502895 }
Rieger Orgelbau Vox Amplification Atlansia
Did you mean Vox Amplification ?
Vox Amplification
['Rieger Orgelbau', 'founder', {'concept': 'common name'}] ['Vox Amplification', 'founder', {'concept': 'common name'}] ['Atlansia', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Vox_Amplification property:founder ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1122899,P112,c(Q502895))
['Q1122899', 'P112', {'concept': 'Q502895'}]
['Vox Amplification', 'founder', {'concept': 'common name'}]
[]
Q7794868
SYSTEM
Thomas Walter Jennings
Q7794868
(Q1122899,P112,c(Q502895))
action filter_type
action find
entity Q1122899
relation P112
type Q502895
The name of the founder of that organization is the [ANSWER]
['Q1122899', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q1122899 property:P112 ?y . ?y rdf:type ontology:Q502895 }
Thomas Walter Jennings
The name of the founder of that organization is the Thomas Walter Jennings
Thomas Walter Jennings
action filter_type
action find
entity Vox Amplification
relation founder
type common name
['Vox Amplification', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Vox_Amplification property:founder ?y . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P272
Q43229 Q838948 Q15416
USER
How many organizations produce exactly 1 works of art and television programs ?
(c(Q838948)|c(Q15416),P272,c(Q43229))
action count
action equal
action union
action find_reverse_tuple_counts
relation P272
type Q43229
type Q838948
action find_reverse_tuple_counts
relation P272
type Q43229
type Q15416
value 1
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { FILTER ( ?d = 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?d ) WHERE { VALUES ( ?n ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?u rdf:type ?n } GROUP BY ?b } }
action count
action equal
action union
action find_reverse_tuple_counts
relation production company
type organization
type work of art
action find_reverse_tuple_counts
relation production company
type organization
type television program
value 1
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'production company', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { FILTER ( ?d = 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?d ) WHERE { VALUES ( ?n ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?u rdf:type ?n } GROUP BY ?b } }
[]
organization work of art television program
SYSTEM
286
Q1414304 Q5272768 Q297303 Q10890670 Q4746909 Q637164 Q6982536 Q10854572 Q7233421 Q7273750 Q8042228 Q1145059 Q7699123 Q5322357 Q23738833 Q7824188 Q26966387 Q5183500 Q4765762 Q518624 Q836316 Q15943477 Q6087363 Q5455812 Q5657167 Q2723181 Q1114301 Q7376074 Q7887543 Q10374807 Q132358 Q149947 Q3174592 Q15224941 Q5886050 Q841397 Q683802 Q4354137 Q565594 Q366601 Q5120878 Q2715184 Q7077707 Q5163431 Q16950846 Q35919 Q7915761 Q555273 Q2585499 Q5406845 Q5288523 Q909044 Q5193457 Q4967477 Q4258728 Q4115940 Q7679723 Q5431462 Q719628 Q4633365 Q4346383 Q2113855 Q2418461 Q1150832 Q7263282 Q7530851 Q3051909 Q3532045 Q130171 Q6043991 Q5062819 Q7113030 Q8962119 Q19600200 Q27300 Q5332700 Q83389 Q5009043 Q11133743 Q4353192 Q3268040 Q4204952 Q7187852 Q2866005 Q21903339 Q3064637 Q1521910 Q7280418 Q5149883 Q5183534 Q726081 Q8000558 Q5189388 Q4676621 Q7628195 Q6089452 Q611115 Q7638437 Q7243670 Q5306817 Q7544227 Q5051635 Q7491150 Q4827572 Q7840490 Q4549949 Q4785581 Q2754549 Q4931040 Q7135302 Q5922976 Q4360174 Q4043490 Q3517276 Q2257015 Q1065024 Q7833697 Q388234 Q464767 Q5477854 Q7898381 Q4882800 Q4677110 Q1143147 Q7276644 Q6131902 Q1852854 Q7929267 Q5028680 Q5950024 Q17222692 Q7943939 Q5516982 Q15241938 Q7489279 Q11880282 Q4636579 Q1078203 Q4972541 Q20726510 Q6373523 Q910541 Q2509498 Q7573523 Q1809970 Q9013416 Q7500600 Q5173901 Q2822030 Q7600793 Q6676470 Q600527 Q15321663 Q5757331 Q7796279 Q7127609 Q15208154 Q4925720 Q18378732 Q17067950 Q504715 Q5323811 Q566857 Q7107029 Q8251263 Q4866993 Q20926529 Q5500039 Q6007919 Q7969738 Q4923294 Q5448891 Q7641750 Q1169075 Q7237232 Q487494 Q3296752 Q7907203 Q18162026 Q15242433 Q7503472 Q5421045 Q4774688 Q846463 Q6007673 Q633812 Q2996530 Q10701588 Q7808437 Q6517260 Q958975 Q15242318 Q10941826 Q4430148 Q7916879 Q7157314 Q2931475 Q3700394 Q1783801 Q1076724 Q4973498 Q7924434 Q1140147 Q828545 Q6794165 Q3626661 Q5615727 Q15154276 Q315736 Q7126061 Q935150 Q3808343 Q7284952 Q5222926 Q7628128 Q7585881 Q7586316 Q6517735 Q8031327 Q4930273 Q7196290 Q2972807 Q5205731 Q3339209 Q660288 Q5649237 Q1543058 Q959279 Q5446077 Q7570537 Q34755 Q81965 Q7492287 Q6667106 Q6718457 Q734401 Q3481600 Q282967 Q1916145 Q7099056 Q5029775 Q15211001 Q5421102 Q7554613 Q719998 Q1136885 Q5332686 Q4878657 Q6073094 Q15227703 Q3531832 Q5021336 Q8563183 Q2345853 Q2864832 Q7640524 Q2612238 Q4889752 Q4753681 Q18395520 Q838160 Q6933585 Q6549129 Q3124776 Q7602485 Q7565435 Q6176915 Q4835663 Q4929966 Q7296866 Q3296046 Q7841727 Q5155502 Q3987455 Q7138835 Q227221 Q5120660 Q7648925 Q10939533 Q5433479 Q4743770 Q5895712 Q2469691 Q7072875 Q3117481 Q4139122
(c(Q838948)|c(Q15416),P272,c(Q43229))
action count
action equal
action union
action find_reverse_tuple_counts
relation P272
type Q43229
type Q838948
action find_reverse_tuple_counts
relation P272
type Q43229
type Q15416
value 1
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { FILTER ( ?d = 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?d ) WHERE { VALUES ( ?n ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?u rdf:type ?n } GROUP BY ?b } }
Film Booking Offices of America Dick Clark Productions ASCII Enlight Media Group Amitabh Bachchan Corporation The Baby Einstein Company Navodaya Studio HMV Group Possibility Pictures R. K. Films XIX Entertainment Hellenic Broadcasting Corporation Ten/Four Pictures E1 Entertainment U.S. Sheldon Leonard Productions Toonz Entertainment Los Angeles Media Fund Creative Commercials Anjana Productions Hinduja Group Olympic Lemming Film Producciones Mandarina Five & Two Pictures Hari Om Entertainment Rajshri Productions JCE Movies Limited Rubicon Group Holding United Broadcasting Company Sunbow Entertainment Epoch Co. Midway Games Rotana Group Noodles Production Atresmedia Corporation Fujisankei Communications Group Xilam King World Productions Eni B92 Cinereach BRB Internacional Odessa Filmworks Conspiracy Entertainment Condé Nast Entertainment Lexus Variance Films Koch Media Nex Entertainment Euforia Film Dogwoof Pictures Nagoya Broadcasting Network Culture Convenience Club Bright Shining City Productions Les' Copaque Production Abu Dhabi Media Talkback Fake Empire Productions Amuse 2 Player Productions Bang Zoom! Entertainment UFund Oceanic Preservation Society Studio Filmowe Kadr Pyramid Saimira Siskel/Jacobs Productions Maxeda Top Shelf Productions World Championship Wrestling Intelligent Creatures Centro Digital Pictures Limited Outspoken Media Fox Television Studios Anton Capital Entertainment Dong Woo Animation Echo Films Turkish Radio and Television Corporation CBC Sports KeyEast Carsey-Werner Productions LuxAnimation Soviet Central Television Photon factory films Artémis Productions W. Chump & Sons Ltd Shodensha Hallmark Cards Radical Comics Columbia TriStar Television Creative Power Entertaining Kodansha Wild Brain Crown International Act III Broadcasting Studio Lambert Isuma Swarovski Sun Pictures Primrose Hill Productions Dreamz Unlimited Smash Pictures CatchPlay Shaw Broadcast Services Avalon Group Tribune Entertainment 14 Reels Entertainment Archant Albafilm-Tirana BoB and Partners Co. Ltd. Paramount Animation Hoyts Petersburg Animation Studio MTM Enterprises Telescreen Paradox Entertainment Hearst Trans World Entertainment United Plankton Pictures American Greetings Frame, Set & Match Uplifting Entertainment Believe Pictures Action International Pictures Kansai Telecasting Corporation RGB Entertainment Tele-Communications Inc. Remote Control Productions Vijayalakshmi Art Pictures Campus Studios Hustler Video CoMix Wave Films Vyjayanthi Movies Gaiam Vivendi Entertainment Grizouille Production Shapiro-Glickenhaus Entertainment MTV Oy 3ality Technica Stardust Promotion Broadway Video Indian Paintbrush Kartemquin Films Topps Belvision Studios Spanner Films Raging Stallion Studios Hong Kong Television Network Shooting Star Productions Cosgrove Hall Films Absolute Entertainment Star Magic Five Star Production Slovenská televízia Liaison Cinématographique High Treason Pictures Thorn EMI Palisades Tartan Moteur s'il vous plaît Kantana Group N.T.R. Arts Jaaz Multimedia Cirque du Soleil Entertainment One Films Proximus Group Oslo Kino Boulder Media Limited Basic Pictures America's Test Kitchen Free Range Studios Improvision Warner Music Vision GMM Grammy FilmFair Sunwoo Entertainment Lucasfilm Animation Prabhat Film Company Tesco Dualstar VMC Productions Richwater Films Les Films de Pierre Shree Ashtavinayak Cine Vision Ltd Experience Media Studios Antidote Films Sundream Motion Pictures Imprint Entertainment Archie Comics Cookie Jar Group Tre Vänner Tinopolis Legacy Releasing Asatsu-DK Toloda Sun Entertainment Culture Soho Media Vasoon Animation Peace Arch Entertainment CHUM Limited DHX Media Sony Pictures Imageworks WildStorm Broken Wall Films Viacom 18 Cris Morena Group SeaWorld Parks & Entertainment Maverick ANPI Guild Home Video Télécip Tokyopop Pakshiraja Studios Reliance Anil Dhirubhai Ambani Group Jim Henson Home Entertainment Rainstorm Entertainment Darius Films Studio 2000 Sri Lakshmi Prasanna Pictures Sri Venkateswara Cine Chitra Legend Films Women Make Movies Bluebox Limited Pinnacle Entertainment Cineplex Entertainment DNA Productions Nexus Factory Viz Media Hannover House Sveriges Radio ERTU Fever Media Southern Television Kickstarter General Motors Shed Productions Workpoint Entertainment MTI Home Video Sony Pictures Home Entertainment Shaw Media Agnès b. MediaNews Group Optomen Canadian Bioscope Company Neon Productions Experimental Cinema of the Philippines Sohail Khan Productions Tallinnfilm Sanrio Echo Bridge Home Entertainment Becker Entertainment Ironbound Films JBA Production Modern Theatres Caligari Corporation Final Cut for Real 2waytraffic La Sept Sunn Classic Pictures Mega Brands, Inc. Dygra Films Andell Holdings Wunderbar Films Hunan Broadcasting System Mukta Arts Lime Pictures Japan Home Video Start Desenhos Animados South African Breweries Jellyfish BIGFlix Blue Underground Raw Feed Marvel Productions Triggerfish Animation Studios Company 3 The Halcyon Company Parkwood Entertainment 365 Cinecom Sushi Typhoon Teamwork Motion Pictures Famous Players Film Company American Film Company Hong Ying Animation Benelux Film Distributors OP Eiga M6 Group Glavkino
286
action count
action equal
action union
action find_reverse_tuple_counts
relation production company
type organization
type work of art
action find_reverse_tuple_counts
relation production company
type organization
type television program
value 1
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'production company', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { FILTER ( ?d = 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?d ) WHERE { VALUES ( ?n ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?u rdf:type ?n } GROUP BY ?b } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q5398426
USER
Which television series had their voice dubbing done by max number of people ?
(c(Q5398426),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q5398426
type Q502895
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?m ) { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?j ) WHERE { ?y property:P725 ?p . ?y rdf:type ontology:Q5398426 . ?p rdf:type ontology:Q502895 } GROUP BY ?y } } . { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?r ) WHERE { ?s rdf:type ontology:Q5398426 . ?c rdf:type ontology:Q502895 . ?s property:P725 ?c } GROUP BY ?s } . FILTER ( ?r = ?m ) }
action argmax
action find_tuple_counts
relation voice actor
type television series
type common name
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?m ) { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?j ) WHERE { ?y property:voice_actor ?p . ?y rdf:type ontology:television_series . ?p rdf:type ontology:common_name } GROUP BY ?y } } . { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?r ) WHERE { ?s rdf:type ontology:television_series . ?c rdf:type ontology:common_name . ?s property:voice_actor ?c } GROUP BY ?s } . FILTER ( ?r = ?m ) }
[]
common name television series
Q386361
SYSTEM
Devil May Cry: The Animated Series
Q386361
(c(Q5398426),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q5398426
type Q502895
[ANSWER] had their voice dubbing done by max number of people
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?m ) { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?j ) WHERE { ?y property:P725 ?p . ?y rdf:type ontology:Q5398426 . ?p rdf:type ontology:Q502895 } GROUP BY ?y } } . { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?r ) WHERE { ?s rdf:type ontology:Q5398426 . ?c rdf:type ontology:Q502895 . ?s property:P725 ?c } GROUP BY ?s } . FILTER ( ?r = ?m ) }
Devil May Cry: The Animated Series
Devil May Cry: The Animated Series had their voice dubbing done by max number of people
Devil May Cry: The Animated Series
action argmax
action find_tuple_counts
relation voice actor
type television series
type common name
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?m ) { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?j ) WHERE { ?y property:voice_actor ?p . ?y rdf:type ontology:television_series . ?p rdf:type ontology:common_name } GROUP BY ?y } } . { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?r ) WHERE { ?s rdf:type ontology:television_series . ?c rdf:type ontology:common_name . ?s property:voice_actor ?c } GROUP BY ?s } . FILTER ( ?r = ?m ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23542835 Q386361
P58
Q502895
USER
Which people were the screenwriters for Devil May Cry: The Animated Series or A Bride For Rip Van Winkle ?
OR((Q386361,P58,c(Q502895)), (Q23542835,P58,c(Q502895)))
action filter_type
action union
action find
entity Q386361
relation P58
action find
entity Q23542835
relation P58
type Q502895
{'OR': [['Q386361', 'P58', {'concept': 'Q502895'}], ['Q23542835', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . { ?x property:P58 ?m . VALUES ( ?x ) { ( resource:Q386361 ) ( resource:Q23542835 ) } } }
A Bride For Rip Van Winkle Devil May Cry: The Animated Series
action filter_type
action union
action find
entity Devil May Cry: The Animated Series
relation screenwriter
action find
entity A Bride For Rip Van Winkle
relation screenwriter
type common name
{'OR': [['Devil May Cry: The Animated Series', 'screenwriter', {'concept': 'common name'}], ['A Bride For Rip Van Winkle', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . { ?x property:screenwriter ?m . VALUES ( ?x ) { ( resource:Devil_May_Cry:_The_Animated_Series ) ( resource:A_Bride_For_Rip_Van_Winkle ) } } }
[]
common name
Q11619284 Q1323347 Q9034266
SYSTEM
Shōtarō Suga, Shunji Iwai, Ichirō Sakaki
Q11619284 Q1323347 Q9034266
OR((Q386361,P58,c(Q502895)), (Q23542835,P58,c(Q502895)))
action filter_type
action union
action find
entity Q386361
relation P58
action find
entity Q23542835
relation P58
type Q502895
The [ANSWERS] were the screenwriters for Devil May Cry: The Animated Series or A Bride For Rip Van Winkle
{'OR': [['Q386361', 'P58', {'concept': 'Q502895'}], ['Q23542835', 'P58', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . { ?x property:P58 ?m . VALUES ( ?x ) { ( resource:Q386361 ) ( resource:Q23542835 ) } } }
Shōtarō Suga Shunji Iwai Ichirō Sakaki
The Shōtarō Suga, Shunji Iwai and Ichirō Sakaki were the screenwriters for Devil May Cry: The Animated Series or A Bride For Rip Van Winkle
Shōtarō Suga Shunji Iwai Ichirō Sakaki
action filter_type
action union
action find
entity Devil May Cry: The Animated Series
relation screenwriter
action find
entity A Bride For Rip Van Winkle
relation screenwriter
type common name
{'OR': [['Devil May Cry: The Animated Series', 'screenwriter', {'concept': 'common name'}], ['A Bride For Rip Van Winkle', 'screenwriter', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . { ?x property:screenwriter ?m . VALUES ( ?x ) { ( resource:Devil_May_Cry:_The_Animated_Series ) ( resource:A_Bride_For_Rip_Van_Winkle ) } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1323347
P162
Q838948
USER
Which works of art have been produced by Shunji Iwai ?
(c(Q838948),P162,Q1323347)
action filter_type
action find_reverse
entity Q1323347
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q1323347']
SELECT DISTINCT ?i WHERE { ?i property:P162 resource:Q1323347 . ?i rdf:type ontology:Q838948 }
Shunji Iwai
action filter_type
action find_reverse
entity Shunji Iwai
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Shunji Iwai']
SELECT DISTINCT ?i WHERE { ?i property:producer resource:Shunji_Iwai . ?i rdf:type ontology:work_of_art }
[]
work of art
Q4902517 Q1192488 Q851159
SYSTEM
Vampire, Hana and Alice, Bandage
Q851159 Q373205 Q4902517 Q1192488
(c(Q838948),P162,Q1323347)
action filter_type
action find_reverse
entity Q1323347
relation P162
type Q838948
And [ANSWERS] have been produced by Shunji Iwai
[{'concept': 'Q838948'}, 'P162', 'Q1323347']
SELECT DISTINCT ?i WHERE { ?i property:P162 resource:Q1323347 . ?i rdf:type ontology:Q838948 }
Bandage Rainbow Song Vampire Hana and Alice
And Vampire, Hana and Alice and Bandage have been produced by Shunji Iwai
Vampire Hana and Alice Bandage
action filter_type
action find_reverse
entity Shunji Iwai
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Shunji Iwai']
SELECT DISTINCT ?i WHERE { ?i property:producer resource:Shunji_Iwai . ?i rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1323347
P57
Q838948
USER
Which works of art are Shunji Iwai a director of ?
(c(Q838948),P57,Q1323347)
action filter_type
action find_reverse
entity Q1323347
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q1323347']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q838948 . ?r property:P57 resource:Q1323347 }
Shunji Iwai
action filter_type
action find_reverse
entity Shunji Iwai
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Shunji Iwai']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:work_of_art . ?r property:director resource:Shunji_Iwai }
[]
work of art
Q44935 Q1036921 Q4902517
SYSTEM
New York, I Love You, Swallowtail Butterfly, Vampire
Q1072582 Q4902517 Q44935 Q958125 Q1036921 Q5557159 Q18389392 Q1192488 Q1054710 Q1329381 Q7744910 Q1888621 Q23542835
(c(Q838948),P57,Q1323347)
action filter_type
action find_reverse
entity Q1323347
relation P57
type Q838948
New York, I love You, Swallowtail Butterfly and Vampire are Shunji Iwai a director of
[{'concept': 'Q838948'}, 'P57', 'Q1323347']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q838948 . ?r property:P57 resource:Q1323347 }
April Story Vampire New York, I Love You Love Letter Swallowtail Butterfly Ghost Soup The Case of Hana & Alice Hana and Alice Fireworks, Should We See It from the Side or the Bottom? All about Lily Chou-Chou The Kon Ichikawa Story Picnic A Bride For Rip Van Winkle
New York, I love You, Swallowtail Butterfly and Vampire are Shunji Iwai a director of
New York, I Love You Swallowtail Butterfly Vampire
action filter_type
action find_reverse
entity Shunji Iwai
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Shunji Iwai']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:work_of_art . ?r property:director resource:Shunji_Iwai }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q44935 Q1036921 Q4902517
P136
Q1792379
USER
What can be considered as category for New York, I Love You, Swallowtail Butterfly and Vampire ?
(Q44935,P136,c(Q1792379)) (Q1036921,P136,c(Q1792379)) (Q4902517,P136,c(Q1792379))
action union
action filter_type
action find
entity Q44935
relation P136
type Q1792379
action filter_type
action find
entity Q1036921
relation P136
type Q1792379
action filter_type
action find
entity Q4902517
relation P136
type Q1792379
['Q44935', 'P136', {'concept': 'Q1792379'}] ['Q1036921', 'P136', {'concept': 'Q1792379'}] ['Q4902517', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { ?f property:P136 ?o . VALUES ( ?f ) { ( resource:Q44935 ) ( resource:Q1036921 ) } }
New York, I Love You Swallowtail Butterfly Vampire
action union
action filter_type
action find
entity New York, I Love You
relation genre
type art genre
action filter_type
action find
entity Swallowtail Butterfly
relation genre
type art genre
action filter_type
action find
entity Vampire
relation genre
type art genre
['New York, I Love You', 'genre', {'concept': 'art genre'}] ['Swallowtail Butterfly', 'genre', {'concept': 'art genre'}] ['Vampire', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { ?f property:genre ?o . VALUES ( ?f ) { ( resource:New_York,_I_Love_You ) ( resource:Swallowtail_Butterfly ) } }
[]
art genre
Q1054574 Q2137852 Q336144
SYSTEM
romance film, vampire film, anthology film
Q336144 Q860626 Q1054574 Q130232 Q959790 Q200092 Q2137852
(Q44935,P136,c(Q1792379)) (Q1036921,P136,c(Q1792379)) (Q4902517,P136,c(Q1792379))
action union
action filter_type
action find
entity Q44935
relation P136
type Q1792379
action filter_type
action find
entity Q1036921
relation P136
type Q1792379
action filter_type
action find
entity Q4902517
relation P136
type Q1792379
[ANSWERS] can be considered as category for New York, I Love You, Swallowtail Butterfly and Vampire
['Q44935', 'P136', {'concept': 'Q1792379'}] ['Q1036921', 'P136', {'concept': 'Q1792379'}] ['Q4902517', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { ?f property:P136 ?o . VALUES ( ?f ) { ( resource:Q44935 ) ( resource:Q1036921 ) } }
anthology film romantic comedy romance film drama film crime film horror film vampire film
Romance film, vampire film and anthology film can be considered as category for New York, I Love You, Swallowtail Butterfly and Vampire
romance film vampire film anthology film
action union
action filter_type
action find
entity New York, I Love You
relation genre
type art genre
action filter_type
action find
entity Swallowtail Butterfly
relation genre
type art genre
action filter_type
action find
entity Vampire
relation genre
type art genre
['New York, I Love You', 'genre', {'concept': 'art genre'}] ['Swallowtail Butterfly', 'genre', {'concept': 'art genre'}] ['Vampire', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { ?f property:genre ?o . VALUES ( ?f ) { ( resource:New_York,_I_Love_You ) ( resource:Swallowtail_Butterfly ) } }
[]