Simple Question (Direct)
Simple Question
Q1702059
P102
Q7210356
USER
Which party is John W. Hulbert affiliated with ?
(Q1702059,P102,c(Q7210356))
action filter_type
action find
entity Q1702059
relation P102
type Q7210356
['Q1702059', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q7210356 . resource:Q1702059 property:P102 ?g }
John W. Hulbert
action filter_type
action find
entity John W. Hulbert
relation member of political party
type political organization
['John W. Hulbert', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_organization . resource:John_W._Hulbert property:member_of_political_party ?g }
[]
political organization
Q42189
SYSTEM
Federalist Party
Q42189
(Q1702059,P102,c(Q7210356))
action filter_type
action find
entity Q1702059
relation P102
type Q7210356
John W. Hulbert is affiliated with [ANSWER]
['Q1702059', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q7210356 . resource:Q1702059 property:P102 ?g }
Federalist Party
John W. Hulbert is affiliated with Federalist Party
Federalist Party
action filter_type
action find
entity John W. Hulbert
relation member of political party
type political organization
['John W. Hulbert', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_organization . resource:John_W._Hulbert property:member_of_political_party ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1702059
P39
Q12737077
USER
Which occupation was a position for which that person was appointed ?
(Q42189,P39,c(Q12737077))
action filter_type
action find
entity Q1702059
relation P39
type Q12737077
['Q42189', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1702059 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
John W. Hulbert
action filter_type
action find
entity John W. Hulbert
relation position held
type occupation
['Federalist Party', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:John_W._Hulbert property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q13218630
SYSTEM
United States representative
Q13218630
(Q42189,P39,c(Q12737077))
action filter_type
action find
entity Q1702059
relation P39
type Q12737077
The [ANSWER] was a position for which that person was appointed
['Q42189', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1702059 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
United States representative
The United States representative was a position for which that person was appointed
United States representative
action filter_type
action find
entity John W. Hulbert
relation position held
type occupation
['Federalist Party', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:John_W._Hulbert property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13218630
P1001
Q15617994
USER
Which administrative territory comes under the jurisdiction of that occupation ?
(Q13218630,P1001,c(Q15617994))
action filter_type
action find
entity Q13218630
relation P1001
type Q15617994
['Q13218630', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q13218630 property:P1001 ?q . ?q rdf:type ontology:Q15617994 }
United States representative
action filter_type
action find
entity United States representative
relation applies to jurisdiction
type designation for an administrative territorial entity
['United States representative', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:United_States_representative property:applies_to_jurisdiction ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q13218630,P1001,c(Q15617994))
action filter_type
action find
entity Q13218630
relation P1001
type Q15617994
The [ANSWER] comes under the jurisdiction of that occupation
['Q13218630', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q13218630 property:P1001 ?q . ?q rdf:type ontology:Q15617994 }
United States of America
The United States of America comes under the jurisdiction of that occupation
United States of America
action filter_type
action find
entity United States representative
relation applies to jurisdiction
type designation for an administrative territorial entity
['United States representative', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:United_States_representative property:applies_to_jurisdiction ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P840
Q838948
USER
Which works of art have their setting located at that administrative territory ?
(c(Q838948),P840,Q30)
action filter_type
action find_reverse
entity Q30
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q30']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q838948 . ?d property:P840 resource:Q30 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'United States of America']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work_of_art . ?d property:narrative_location resource:United_States_of_America }
[]
work of art
Q1339523 Q5887360 Q1192783
SYSTEM
Courage Under Fire, Guardians of the Galaxy, Le clan des siciliens
Q1445622 Q15040754 Q953231 Q1602612 Q951002 Q352431 Q1170322 Q12126585 Q388506 Q11611022 Q2298220 Q469708 Q2438601 Q182254 Q1984885 Q451250 Q325204 Q1266142 Q1085302 Q3976041 Q490375 Q6879164 Q473861 Q4007150 Q2101653 Q1521934 Q3793183 Q1196699 Q13653730 Q16253364 Q4413366 Q1540554 Q5793574 Q12126017 Q3482906 Q5871798 Q565143 Q1459428 Q738052 Q7417858 Q333558 Q574583 Q942657 Q1199777 Q4875602 Q692367 Q116734 Q3934349 Q3427986 Q39956 Q1195956 Q7600909 Q3212060 Q19309311 Q1978253 Q1733779 Q131840 Q232166 Q16242153 Q937934 Q477370 Q869993 Q157044 Q1962163 Q702270 Q392825 Q1723325 Q4443241 Q3504799 Q4742739 Q1537670 Q7721017 Q7250018 Q3480269 Q775140 Q2368040 Q797970 Q7291396 Q926845 Q4159327 Q1528731 Q7439317 Q16250532 Q5245253 Q3652038 Q7900011 Q7219297 Q3812382 Q1120732 Q15917312 Q3233113 Q4820305 Q1632128 Q276772 Q1429111 Q1118503 Q2409672 Q5418420 Q3520573 Q638883 Q5250084 Q4004117 Q230488 Q2055033 Q1620043 Q1319963 Q4829820 Q823137 Q6536210 Q1093026 Q153484 Q6881927 Q758591 Q558927 Q11860556 Q3640592 Q16827842 Q4271817 Q1710012 Q116187 Q2267587 Q2885834 Q3752432 Q3795091 Q232175 Q826451 Q5439352 Q192115 Q1192783 Q1131221 Q3535610 Q3818961 Q776037 Q1269017 Q1168778 Q12101183 Q848785 Q7823964 Q963045 Q324013 Q1627096 Q833502 Q3024977 Q280094 Q174811 Q1493714 Q558795 Q6130409 Q4004300 Q4659823 Q6451967 Q7722390 Q2690260 Q1214819 Q1605596 Q3024999 Q5044761 Q694770 Q3902478 Q18150696 Q2251564 Q1246152 Q942134 Q1141731 Q6544857 Q2492221 Q1534418 Q180638 Q868706 Q758592 Q16950129 Q5274998 Q3905599 Q1902007 Q3867388 Q1140738 Q3808688 Q4752657 Q5002116 Q323592 Q1759154 Q6204157 Q12125890 Q4729722 Q1217883 Q3667377 Q2901398 Q4742921 Q3226852 Q1305391 Q641897 Q5995253 Q7791238 Q7111521 Q3821632 Q161400 Q1219927 Q1376285 Q2260885 Q315356 Q16251048 Q3683691 Q7737002 Q325574 Q701977 Q319783 Q3182263 Q880236 Q4812497 Q1957691 Q1375493 Q232007 Q7771695 Q4121945 Q1197465 Q401721 Q7782781 Q3926963 Q325836 Q1215668 Q2905622 Q616780 Q617833 Q3176321 Q13422940 Q18154863 Q4916136 Q771408 Q16249942 Q13418416 Q4400743 Q1481667 Q2707950 Q26970 Q43925 Q3373131 Q3317837 Q6383509 Q6419759 Q1687806 Q467379 Q5135339 Q112747 Q1088880 Q368136 Q367216 Q3861013 Q222064 Q4854546 Q1723175 Q327681 Q3844588 Q850096 Q3411014 Q961235 Q990766 Q1409481 Q1339523 Q5449972 Q50861 Q7845818 Q967238 Q3522385 Q505297 Q1740639 Q1757053 Q999502 Q331265 Q1180803 Q5246911 Q3714724 Q316555 Q12103990 Q2249387 Q5129294 Q3828989 Q174284 Q1216820 Q25858 Q3978547 Q429144 Q3492321 Q5887360 Q564802 Q7714226 Q2869573 Q6123360 Q7453162 Q168853 Q1382283 Q1702797 Q1128499 Q1253121 Q7770062 Q668928 Q1861395 Q880141 Q778161 Q4742560 Q4661023 Q2346325 Q3689349 Q12109062 Q3820004 Q1484012 Q5261193 Q4880863 Q1763191 Q3039240 Q2134996 Q12126156 Q2421355
(c(Q838948),P840,Q30)
action filter_type
action find_reverse
entity Q30
relation P840
type Q838948
[ANSWERS] have their setting located at that administrative territory
[{'concept': 'Q838948'}, 'P840', 'Q30']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q838948 . ?d property:P840 resource:Q30 }
Pardes Lune de miel Leningrad Cowboys Meet Moses All This, and Heaven Too Funny Games Adaptation The Silence of the Hams Nikos the Impaler Hollywood-Monster Undeclared War Us Two It's All About Love Dead Body on Broadway The Simpsons Movie Love Is a Funny Thing The End of Violence Joey Meschugge Witchery The Visitor Road to Salina Mississippi Hare Killer Condom Holiday in America Intensive Care Ghosthouse First Action Hero The House on the Edge of the Park No Risk, No Gain Mother of George Sexual Dependency Only You Red Cockroaches Man on the Train Siao Yu Hitcher In The Dark H.P. Lovecraft's: Necronomicon Virus The Road Sangaree Absurd The Hunger Games: Catching Fire Miami Supercops Der verlorene Sohn Be There or Be Square The State of Things Gendarme in New York The Summertime Killer Restons groupés Iron Eagle Murderers Club of Brooklyn Star Spangled to Death La Putain respectueuse Spy for Germany Phileine Says Sorry L.A. Without a Map Eleni Crime Busters Second Time Around Alexander Hamilton Heart of America A Goofy Movie The Hours Undefeatable Pushing Hands Jobs Sergeant Berry The Flying Liftboy Supersonic Man America America An Extremely Goofy Movie The Call of the Wild Proof of the Man Peter-No-Tail in Americat Day of Atonement Un Argentino en New York Hitch-Hike Rancid Our Italian Husband The Children Brother 2 Scrub Me Mama with a Boogie Beat Four Dead Line Camping del Terrore Urban Safari Someone Else's America Kaante The Beast in the Heart Treasure Hunt Warriors of Virtue Auf Wiedersehen Stop-Loss Dredd Flodders in America From Corleone to Brooklyn Cruel Jaws Evil Ed The Delta Tom and Jerry: The Magic Ring Deep Blood Ripped Off Ghost Story Stake Land Great White The Heart Is Deceitful Above All Things Awara Paagal Deewana Beyond the Limits Lewis & Clark: The Journey of the Corps of Discovery City of the Living Dead Resident Evil Mitr, My Friend Even Angels Eat Beans Superfantagenio Going to Kansas City Bix Bollywood Beats Love at Times Square Joy Ride 2: Dead Ahead Thieves and Robbers Monster Shark Barsaat Fratelli e sorelle The Repenter Go for It Killing Birds Fear X Sin City Le clan des siciliens Copkiller Seven Sundays Little Funny Guy No Retreat, No Surrender 3: Blood Brothers Death and Diamonds The House by the Cemetery Arcadia Jarhead Too Tired to Die Bad Day at Black Rock Twentynine Palms Blastfighter The Orchestra Conductor Two Men in Manhattan Deranged Up Tales of Ordinary Madness Clue Slugs Run for Your Wife Haze Kyoko The Chicago 8 Squadra antimafia Magnet of Doom Manhattan Night of Murder The Time of Their Lives Carolina Alice in the Cities 1931: Once Upon a Time in New York Holding Hope In una notte di chiaro di luna Home of the Brave My Name Is Tanino Manderlay Life Is Cheap... But Toilet Paper Is Expensive Girl of the Golden West Going Home Odds and Evens Tekken Anche gli angeli tirano di destro Ballistic Kiss Dies rigorose Leben Pirates of Treasure Island Marlene Murder Rock The Crocodile Hunter: Collision Course Lady for a Night Anchor Baby Buster's Bedroom Little Senegal The Beautiful Country Jo Bole So Nihaal Love Walked In All That Falls Has Wings The Pod People Beyond the Door Ringing Bell American Adobo Pieces Another Man, Another Chance The Outside Man Ijé Thomas Jefferson Out of Control Beyond Darkness Resident Evil: Apocalypse The Roaring Twenties Tread Softly Anguish Schultze Gets the Blues Magic Magic 3D Light Blast The Golden Boat Deadlock Alone in the Dark Rambo: First Blood Part II John Paul Jones Emanuelle in America At the Edge of the Law Pacific Palisades Man Hunt Silence Like Glass The Unruly Hare House of Jericho Death in the Red Jaguar Friendship! There Was a Little Girl Touch of Death Sons of Satan Die Rechnung – eiskalt serviert Blackwoods Stage Fright We're No Angels Jeans 'Merika Tekken 2: Kazuya's Revenge Birdseye Highlander II: The Quickening Doctor Bello Chasing Girls The Russian Question Five Million Look for an Heir Secret Agent Super Dragon Joy Ride Steal And Now My Love Model Shop Kehtaa Hai Dil Baar Baar Klassenverhältnisse Jerry Cotton They Call Me Renegade Closed for the Season Trouble with the Curve I'm Photogenic Città violenta Bride of the Monster Monster Dog Hilde Bandhak Open Season Dogville Manhattan Baby Why Did You Pick On Me? Puss in Boots Brother Alien Terror Fire and Ice Courage Under Fire Finding Rin Tin Tin Live Free or Die Hard Tropical Snow Macabre The Quickie Lucky Luciano Khiladiyon Ka Khiladi Tentacles Um Null Uhr schnappt die Falle zu Street People Dead End Dear Mr. Wonderful How Did a Nice Girl Like You Get Into This Business? The NeverEnding Story A Further Gesture Street of No Return Claudine's Return Door to Silence Raiders of the Lost Ark Dead Woman from Beverly Hills Kings of the Sun Screw Loose Sacco and Vanzetti Southern Fried Rabbit Guardians of the Galaxy The Emigrants The Argues: The Movie Vendetta dal futuro Jai Chiranjeeva Serenade for Two Spies Factotum Everyone Stares Perdita Durango Daybreakers Down The Gua Sha Treatment The Sheriff and the Satellite Kid Scarlet Diva Black Cat Touch of Evil America's Medicated Kids Aa Ab Laut Chalen Roujin Z The Rip-Off Condition Red The Man with Icy Eyes Operazione Goldman Der Preis fürs Überleben Behind the Mask The Amateur Dream Boy The Supernaturals Mesa of Lost Women Night Flight from Moscow
Courage Under Fire, Guardians of the Galaxy and Le clan des siciliens have their setting located at that administrative territory
Courage Under Fire Guardians of the Galaxy Le clan des siciliens
action filter_type
action find_reverse
entity United States of America
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'United States of America']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:work_of_art . ?d property:narrative_location resource:United_States_of_America }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1339523
P344
Q502895
USER
Who is the cinematographer of that work of art ?
(Q1339523,P344,c(Q502895))
action filter_type
action find
entity Q1339523
relation P344
type Q502895
['Q1339523', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q1339523 property:P344 ?f . ?f rdf:type ontology:Q502895 }
Courage Under Fire
action filter_type
action find
entity Courage Under Fire
relation director of photography
type common name
['Courage Under Fire', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Courage_Under_Fire property:director_of_photography ?f . ?f rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q5887360
SYSTEM
Did you mean Guardians of the Galaxy ?
Q1339523 Q5887360 Q1192783
(Q1339523,P344,c(Q502895)) (Q5887360,P344,c(Q502895)) (Q1192783,P344,c(Q502895))
[ANSWER]
['Q1339523', 'P344', {'concept': 'Q502895'}] ['Q5887360', 'P344', {'concept': 'Q502895'}] ['Q1192783', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q1339523 property:P344 ?f . ?f rdf:type ontology:Q502895 }
Courage Under Fire Guardians of the Galaxy Le clan des siciliens
Did you mean Guardians of the Galaxy ?
Guardians of the Galaxy
['Courage Under Fire', 'director of photography', {'concept': 'common name'}] ['Guardians of the Galaxy', 'director of photography', {'concept': 'common name'}] ['Le clan des siciliens', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Courage_Under_Fire property:director_of_photography ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Courage Under Fire. Could you tell me the answer for that?
(Q1339523,P344,c(Q502895))
Q1339523
['Q1339523', 'P344', {'concept': 'Q502895'}]
['Courage Under Fire', 'director of photography', {'concept': 'common name'}]
[]
Q460277
SYSTEM
Roger Deakins
Q460277
(Q1339523,P344,c(Q502895))
action filter_type
action find
entity Q1339523
relation P344
type Q502895
The cinematographer of that work of art is the [ANSWER]
['Q1339523', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q1339523 property:P344 ?f . ?f rdf:type ontology:Q502895 }
Roger Deakins
The cinematographer of that work of art is the Roger Deakins
Roger Deakins
action filter_type
action find
entity Courage Under Fire
relation director of photography
type common name
['Courage Under Fire', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Courage_Under_Fire property:director_of_photography ?f . ?f rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q5398426
USER
Which television series have been dubbed by min number of people ?
(c(Q5398426),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q5398426
type Q502895
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?b ) { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?l ) WHERE { ?g property:P725 ?k . ?g rdf:type ontology:Q5398426 . ?k rdf:type ontology:Q502895 } GROUP BY ?g } } . { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?y ) WHERE { ?d property:P725 ?p . ?d rdf:type ontology:Q5398426 . ?p rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?y = ?b ) }
action argmin
action find_tuple_counts
relation voice actor
type television series
type common name
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?b ) { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?l ) WHERE { ?g property:voice_actor ?k . ?g rdf:type ontology:television_series . ?k rdf:type ontology:common_name } GROUP BY ?g } } . { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?y ) WHERE { ?d property:voice_actor ?p . ?d rdf:type ontology:television_series . ?p rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?y = ?b ) }
[]
common name television series
Q483803 Q1065178 Q1013388
SYSTEM
Daily Lives of High School Boys, Sketchbook, Telepathy Shōjo Ran Jiken Note
Q2564733 Q15148562 Q1317227 Q2583218 Q1723828 Q184352 Q7445961 Q2349865 Q3211469 Q483557 Q95063 Q2633652 Q483803 Q2791605 Q1314527 Q1107025 Q1107521 Q483724 Q1141789 Q844599 Q582630 Q1837327 Q24045770 Q15574647 Q539284 Q425550 Q182476 Q1060695 Q1191236 Q2318266 Q482551 Q900553 Q1132147 Q1816558 Q1055370 Q492884 Q3271710 Q2030675 Q1834 Q182662 Q7094371 Q2855268 Q2539006 Q645307 Q5356268 Q2522289 Q1191938 Q1159317 Q736163 Q698229 Q696524 Q9385099 Q1523630 Q642944 Q701372 Q1058984 Q865498 Q2539030 Q1580513 Q488438 Q854973 Q482872 Q484259 Q1143991 Q11255631 Q862850 Q5158632 Q483375 Q431930 Q699819 Q170019 Q268512 Q1141838 Q1554117 Q1348627 Q596883 Q2390297 Q385129 Q2756199 Q536416 Q987783 Q185012 Q6941258 Q137002 Q10890355 Q5653026 Q11519613 Q717382 Q11179499 Q810437 Q2088696 Q1087664 Q11387159 Q611650 Q1091743 Q1309696 Q944258 Q484515 Q1188003 Q493744 Q368608 Q709673 Q540497 Q830771 Q868899 Q2482070 Q199224 Q1778816 Q713975 Q1013388 Q333687 Q1317129 Q482466 Q1186628 Q1141816 Q632746 Q1514362 Q1194085 Q2566529 Q708174 Q1073660 Q776574 Q4251500 Q275676 Q196214 Q1750516 Q2663915 Q2584248 Q7820714 Q495919 Q143830 Q764135 Q485199 Q614495 Q608660 Q703031 Q2083163 Q1200040 Q700203 Q1202553 Q593049 Q705053 Q11571242 Q308035 Q931319 Q540997 Q1743797 Q11147846 Q491841 Q590129 Q2499784 Q485753 Q735669 Q1790241 Q1477323 Q1091195 Q91802 Q1186554 Q2043633 Q2578383 Q1137447 Q1051427 Q2418770 Q3211549 Q2419200 Q527398 Q2634885 Q5680972 Q1742099 Q1257981 Q702014 Q1065178 Q1209267 Q385161 Q14318175
(c(Q5398426),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q5398426
type Q502895
[ANSWERS] have been dubbed by min number of people
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?b ) { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?l ) WHERE { ?g property:P725 ?k . ?g rdf:type ontology:Q5398426 . ?k rdf:type ontology:Q502895 } GROUP BY ?g } } . { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?y ) WHERE { ?d property:P725 ?p . ?d rdf:type ontology:Q5398426 . ?p rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?y = ?b ) }
Idaten Jump Hamatora I Don't Like You at All, Big Brother! Senyu Kannagi: Crazy Shrine Maidens Ore no Kanojo to Osananajimi ga Shuraba Sugiru Encouragement of Climb Hiwou War Chronicles I Couldn’t Become a Hero, So I Reluctantly Decided to Get a Job. Level E Planetes Place to Place Daily Lives of High School Boys Valvrave the Liberator Sumomomo Momomo A Penguin's Troubles Natsuiro Kiseki MM! Fate/Zero Sayonara Zetsubō Sensei Sgt. Frog Jinrui wa Suitaishimashita Beyblade Tesagure! Bukatsu-mono Kaleido Star Steel Angel Kurumi Code:Breaker Ginga e Kickoff!! Infinite Ryvius Oniisama e... Kämpfer Yurumates Lilpri Monochrome Factor Mushishi The "Hentai" Prince and the Stony Cat. Senki Zesshō Symphogear Witchblade Death Note The Flowers of Evil Onmyō Taisenki GJ-bu Blue Seed Di Gi Charat No-Rin I My Me! Strawberry Eggs Kyō no Go no Ni Dance in the Vampire Bund Blue Drop Kenichi: The Mightiest Disciple MÄR Kyōkai no Kanata Occult Academy Negima! Magister Negi Magi Wedding Peach Kingdom Powerpuff Girls Z Gate Keepers Say 'I love you' Kokoro Connect Yoshinaga-san Chi no Gargoyle Wandering Son Kamisama Hajimemashita Night Wizard! Z/X Reborn! Kagihime Monogatari Eikyū Alice Rondo The Sacred Blacksmith Noein El-Hazard D.Gray-man Sacred Seven Maid Sama! Guin Saga Nabari no Ou Immortal Grand Prix Black Heaven Sankarea Ixion Saga DT First Love Limited Wan Wan Celeb Soreyuke! Tetsunoshin Mondai-Ji-tachi ga Isekai Kara Kuru Sō Desu yo? Mushi-Uta Recorder and Randsell Shining Hearts: Shiawase no Pan Happy Seven Mikakunin de Shinkōkei Madō King Granzort Black Bullet Basquash! Suzuka Chrome Shelled Regios Kenzen Robo Daimidaler Karneval Double-J Living for the Day After Tomorrow Yumeiro Patissiere Dragon Crisis! Cardfight!! Vanguard Anyamaru Tantei Kiruminzuu Campione! Bakusō Kyōdai Let's & Go!! Kenkō Zenrakei Suieibu Umishō Highschool of the Dead Pandora Hearts Miss Machiko Cuticle Detective Inaba Koi Kaze Nintama Rantarō Telepathy Shōjo Ran Jiken Note Chō Soku Henkei Gyrozetter Haré+Guu Maria-sama ga Miteru Moshidora Fushigiboshi no Futagohime Bakugan Battle Brawlers Princess Resurrection Nura: Rise of the Yokai Clan Himawari! Mashin Hero Wataru Tamayura Persona : Trinity Soul Kocchi Muite! Miiko Digimon Fusion Is This a Zombie? Kamen no Maid Guy Dazzle Akikan! Tona-Gura! Blue Exorcist Detective School Q Gin Tama Someday's Dreamers Sekirei Needless Baby and Me Teekyu Nagasarete Airantou Mirmo! Suite PreCure Minami-ke Otome Yōkai Zakuro Inugami-san to Nekoyama-san XxxHolic Manyū Hiken-chō Net Ghost PiPoPa Kissxsis Noragami Kono Naka ni Hitori, Imōto ga Iru! Mobile Suit Victory Gundam Red Garden Mayoi Neko Overrun! Dragon Ball GT Rumic Theater Speed Grapher Chu-Bra!! Aria And Yet The Town Moves Majestic Prince Coppelion Emma Goshūshō-sama Ninomiya-kun Fancy Lala Hakkenden: Eight Dogs of the East Tokimeki Memorial Only Love MegaMan NT Warrior Jewelpet The Devil Is a Part-Timer! Jing: King of Bandits Birdy the Mighty Little Women II: Jo's Boys Sketchbook Kaiketsu Zorori Ōkami-san Riddle Story of Devil
Daily Lives of High School Boys, Sketchbook and Telepathy Shōjo Ran Jiken Note have been dubbed by min number of people
Daily Lives of High School Boys Sketchbook Telepathy Shōjo Ran Jiken Note
action argmin
action find_tuple_counts
relation voice actor
type television series
type common name
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?b ) { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?l ) WHERE { ?g property:voice_actor ?k . ?g rdf:type ontology:television_series . ?k rdf:type ontology:common_name } GROUP BY ?g } } . { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?y ) WHERE { ?d property:voice_actor ?p . ?d rdf:type ontology:television_series . ?p rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?y = ?b ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q305956 Q13218630
P27 P17
Q15617994
USER
Which administrative territories do United States representative belong to or are Abbas El Fassi a civilian of ?
OR((Q13218630,P17,c(Q15617994)), (Q305956,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q13218630
relation P17
action find
entity Q305956
relation P27
type Q15617994
{'OR': [['Q13218630', 'P17', {'concept': 'Q15617994'}], ['Q305956', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q13218630 property:P17 ?r } UNION { resource:Q305956 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Abbas El Fassi United States representative
action filter_type
action union
action find
entity United States representative
relation country
action find
entity Abbas El Fassi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United States representative', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Abbas El Fassi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:United_States_representative property:country ?r } UNION { resource:Abbas_El_Fassi property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q1028
SYSTEM
United States of America, Morocco
Q30 Q1028
OR((Q13218630,P17,c(Q15617994)), (Q305956,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q13218630
relation P17
action find
entity Q305956
relation P27
type Q15617994
United States representative belong to the [ANSWERS] or are Abbas El Fassi a civilian of
{'OR': [['Q13218630', 'P17', {'concept': 'Q15617994'}], ['Q305956', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q13218630 property:P17 ?r } UNION { resource:Q305956 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
United States of America Morocco
United States representative belong to the United States of America and Morocco or are Abbas El Fassi a civilian of
United States of America Morocco
action filter_type
action union
action find
entity United States representative
relation country
action find
entity Abbas El Fassi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United States representative', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Abbas El Fassi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:United_States_representative property:country ?r } UNION { resource:Abbas_El_Fassi property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q30
P47
Q15617994
USER
Which administrative territories have a shared border with that one ?
(Q30,P47,c(Q15617994))
action filter_type
action find
entity Q30
relation P47
type Q15617994
['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q30 property:P47 ?a . ?a rdf:type ontology:Q15617994 }
United States of America
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:United_States_of_America property:shares_border_with ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1028
SYSTEM
Did you mean Morocco ?
Q30 Q1028
(Q30,P47,c(Q15617994)) (Q1028,P47,c(Q15617994))
[ANSWER]
['Q30', 'P47', {'concept': 'Q15617994'}] ['Q1028', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q30 property:P47 ?a . ?a rdf:type ontology:Q15617994 }
United States of America Morocco
Did you mean Morocco ?
Morocco
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Morocco', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:United_States_of_America property:shares_border_with ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant United States of America. Could you tell me the answer for that?
(Q30,P47,c(Q15617994))
Q30
['Q30', 'P47', {'concept': 'Q15617994'}]
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
[]
Q17 Q96 Q159
SYSTEM
Japan, Mexico, Russia
Q702 Q804 Q159 Q96 Q17 Q786 Q241 Q683 Q710 Q678 Q717 Q790
(Q30,P47,c(Q15617994))
action filter_type
action find
entity Q30
relation P47
type Q15617994
[ANSWERS] have a shared border with that one
['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q30 property:P47 ?a . ?a rdf:type ontology:Q15617994 }
Federated States of Micronesia Panama Russia Mexico Japan Dominican Republic Cuba Samoa Kiribati Tonga Venezuela Haiti
Japan, Mexico and Russia have a shared border with that one
Japan Mexico Russia
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:United_States_of_America property:shares_border_with ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q17 Q96 Q159
P36
Q56061
USER
Which administrative territories are the capitals of Japan, Mexico and Russia ?
(Q17,P36,c(Q56061)) (Q96,P36,c(Q56061)) (Q159,P36,c(Q56061))
action union
action filter_type
action find
entity Q17
relation P36
type Q56061
action filter_type
action find
entity Q96
relation P36
type Q56061
action filter_type
action find
entity Q159
relation P36
type Q56061
['Q17', 'P36', {'concept': 'Q56061'}] ['Q96', 'P36', {'concept': 'Q56061'}] ['Q159', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { resource:Q17 property:P36 ?g . ?g rdf:type ontology:Q56061 } UNION { resource:Q96 property:P36 ?g . ?g rdf:type ontology:Q56061 } }
Japan Mexico Russia
action union
action filter_type
action find
entity Japan
relation capital
type administrative territorial entity
action filter_type
action find
entity Mexico
relation capital
type administrative territorial entity
action filter_type
action find
entity Russia
relation capital
type administrative territorial entity
['Japan', 'capital', {'concept': 'administrative territorial entity'}] ['Mexico', 'capital', {'concept': 'administrative territorial entity'}] ['Russia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { resource:Japan property:capital ?g . ?g rdf:type ontology:administrative_territorial_entity } UNION { resource:Mexico property:capital ?g . ?g rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q649 Q1489 Q1490
SYSTEM
Moscow, Mexico City, Tokyo
Q215646 Q1490 Q1489 Q649
(Q17,P36,c(Q56061)) (Q96,P36,c(Q56061)) (Q159,P36,c(Q56061))
action union
action filter_type
action find
entity Q17
relation P36
type Q56061
action filter_type
action find
entity Q96
relation P36
type Q56061
action filter_type
action find
entity Q159
relation P36
type Q56061
[ANSWERS] are the capitals of Japan, Mexico and Russia
['Q17', 'P36', {'concept': 'Q56061'}] ['Q96', 'P36', {'concept': 'Q56061'}] ['Q159', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { resource:Q17 property:P36 ?g . ?g rdf:type ontology:Q56061 } UNION { resource:Q96 property:P36 ?g . ?g rdf:type ontology:Q56061 } }
Edo Tokyo Mexico City Moscow
Moscow, Mexico City and Tokyo are the capitals of Japan, Mexico and Russia
Moscow Mexico City Tokyo
action union
action filter_type
action find
entity Japan
relation capital
type administrative territorial entity
action filter_type
action find
entity Mexico
relation capital
type administrative territorial entity
action filter_type
action find
entity Russia
relation capital
type administrative territorial entity
['Japan', 'capital', {'concept': 'administrative territorial entity'}] ['Mexico', 'capital', {'concept': 'administrative territorial entity'}] ['Russia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { resource:Japan property:capital ?g . ?g rdf:type ontology:administrative_territorial_entity } UNION { resource:Mexico property:capital ?g . ?g rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P710
Q198
USER
Which war has Japan as its participant ?
(c(Q198),P710,Q649) (c(Q198),P710,Q1489) (c(Q198),P710,Q1490)
action filter_type
action find_reverse
entity Q17
relation P710
type Q198
[{'concept': 'Q198'}, 'P710', 'Q649'] [{'concept': 'Q198'}, 'P710', 'Q1489'] [{'concept': 'Q198'}, 'P710', 'Q1490']
SELECT DISTINCT ?q WHERE { ?q property:P710 resource:Q17 . ?q rdf:type ontology:Q198 }
Japan
action filter_type
action find_reverse
entity Japan
relation participant
type war
[{'concept': 'war'}, 'participant', 'Moscow'] [{'concept': 'war'}, 'participant', 'Mexico City'] [{'concept': 'war'}, 'participant', 'Tokyo']
SELECT DISTINCT ?q WHERE { ?q property:participant resource:Japan . ?q rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(c(Q198),P710,Q649) (c(Q198),P710,Q1489) (c(Q198),P710,Q1490)
action filter_type
action find_reverse
entity Q17
relation P710
type Q198
In [ANSWER] has Japan as its participant
[{'concept': 'Q198'}, 'P710', 'Q649'] [{'concept': 'Q198'}, 'P710', 'Q1489'] [{'concept': 'Q198'}, 'P710', 'Q1490']
SELECT DISTINCT ?q WHERE { ?q property:P710 resource:Q17 . ?q rdf:type ontology:Q198 }
World War II
In World War II has Japan as its participant
World War II
action filter_type
action find_reverse
entity Japan
relation participant
type war
[{'concept': 'war'}, 'participant', 'Moscow'] [{'concept': 'war'}, 'participant', 'Mexico City'] [{'concept': 'war'}, 'participant', 'Tokyo']
SELECT DISTINCT ?q WHERE { ?q property:participant resource:Japan . ?q rdf:type ontology:war }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q362 Q18415646
P710
Q502895
USER
How many people participated in World War II or Imperial election of May 1400 ?
(Q362,P710,c(Q502895)) (Q18415646,P710,c(Q502895))
action count
action union
action filter_type
action find
entity Q362
relation P710
type Q502895
action filter_type
action find
entity Q18415646
relation P710
type Q502895
['Q362', 'P710', {'concept': 'Q502895'}] ['Q18415646', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { resource:Q362 property:P710 ?d . ?d rdf:type ontology:Q502895 } UNION { resource:Q18415646 property:P710 ?d . ?d rdf:type ontology:Q502895 } }
World War II Imperial election of May 1400
action count
action union
action filter_type
action find
entity World War II
relation participant
type common name
action filter_type
action find
entity Imperial election of May 1400
relation participant
type common name
['World War II', 'participant', {'concept': 'common name'}] ['Imperial election of May 1400', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { resource:World_War_II property:participant ?d . ?d rdf:type ontology:common_name } UNION { resource:Imperial_election_of_May_1400 property:participant ?d . ?d rdf:type ontology:common_name } }
[]
common name
SYSTEM
6
Q71720 Q57326 Q2563015 Q1459981 Q651948 Q158181
(Q362,P710,c(Q502895)) (Q18415646,P710,c(Q502895))
action count
action union
action filter_type
action find
entity Q362
relation P710
type Q502895
action filter_type
action find
entity Q18415646
relation P710
type Q502895
[ANSWER]
['Q362', 'P710', {'concept': 'Q502895'}] ['Q18415646', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { resource:Q362 property:P710 ?d . ?d rdf:type ontology:Q502895 } UNION { resource:Q18415646 property:P710 ?d . ?d rdf:type ontology:Q502895 } }
John of Nassau-Wiesbaden-Idstein Rupert, King of Germany Werner von Falkenstein Friedrich III. von Saarwerden Rudolf III, Duke of Saxe-Wittenberg Jobst of Moravia
6
action count
action union
action filter_type
action find
entity World War II
relation participant
type common name
action filter_type
action find
entity Imperial election of May 1400
relation participant
type common name
['World War II', 'participant', {'concept': 'common name'}] ['Imperial election of May 1400', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { resource:World_War_II property:participant ?d . ?d rdf:type ontology:common_name } UNION { resource:Imperial_election_of_May_1400 property:participant ?d . ?d rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P163
Q14660
USER
Which flag is associated with Russia ?
(Q159,P163,c(Q14660))
action filter_type
action find
entity Q159
relation P163
type Q14660
['Q159', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?k WHERE { resource:Q159 property:P163 ?k . ?k rdf:type ontology:Q14660 }
Russia
action filter_type
action find
entity Russia
relation flag
type flag
['Russia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?k WHERE { resource:Russia property:flag ?k . ?k rdf:type ontology:flag }
[]
flag
Q16611
SYSTEM
flag of Russia
Q16611
(Q159,P163,c(Q14660))
action filter_type
action find
entity Q159
relation P163
type Q14660
On [ANSWER] is associated with Russia
['Q159', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?k WHERE { resource:Q159 property:P163 ?k . ?k rdf:type ontology:Q14660 }
flag of Russia
On flag of Russia is associated with Russia
flag of Russia
action filter_type
action find
entity Russia
relation flag
type flag
['Russia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?k WHERE { resource:Russia property:flag ?k . ?k rdf:type ontology:flag }
[]