Simple Question (Direct)
Simple Question
Q5340359
P641
Q349
USER
Which sport was Edu Sales a part of ?
(Q5340359,P641,c(Q349))
action filter_type
action find
entity Q5340359
relation P641
type Q349
['Q5340359', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q5340359 property:P641 ?i . ?i rdf:type ontology:Q349 }
Edu Sales
action filter_type
action find
entity Edu Sales
relation sport
type sport
['Edu Sales', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Edu_Sales property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5340359,P641,c(Q349))
action filter_type
action find
entity Q5340359
relation P641
type Q349
Edu Sales was in [ANSWER]
['Q5340359', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q5340359 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
Edu Sales was in association football
association football
action filter_type
action find
entity Edu Sales
relation sport
type sport
['Edu Sales', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Edu_Sales property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Which territory is the origin of that sport ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?o WHERE { resource:Q2736 property:P495 ?o . ?o rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:association_football property:country_of_origin ?o . ?o rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
[ANSWER] is the origin of that sport
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?o WHERE { resource:Q2736 property:P495 ?o . ?o rdf:type ontology:Q1496967 }
England
England is the origin of that sport
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:association_football property:country_of_origin ?o . ?o rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P551
Q502895
USER
Which people dwell at that territory ?
(c(Q502895),P551,Q21)
action filter_type
action find_reverse
entity Q21
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q21']
SELECT DISTINCT ?y WHERE { ?y property:P551 resource:Q21 . ?y rdf:type ontology:Q502895 }
England
action filter_type
action find_reverse
entity England
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'England']
SELECT DISTINCT ?y WHERE { ?y property:residence resource:England . ?y rdf:type ontology:common_name }
[]
common name
Q7085 Q12908 Q935
SYSTEM
Niels Bohr, George Soros, Isaac Newton
Q19721999 Q7085 Q17297597 Q15632055 Q1331681 Q12908 Q189144 Q544951 Q7086769 Q171363 Q27740159 Q3198512 Q21151748 Q16065895 Q21069418 Q6097409 Q117139 Q8006910 Q2877725 Q15429884 Q213712 Q14277 Q76948 Q6914744 Q19629253 Q935 Q5538701 Q20810758
(c(Q502895),P551,Q21)
action filter_type
action find_reverse
entity Q21
relation P551
type Q502895
[ANSWERS] dwell at that territory
[{'concept': 'Q502895'}, 'P551', 'Q21']
SELECT DISTINCT ?y WHERE { ?y property:P551 resource:Q21 . ?y rdf:type ontology:Q502895 }
Coco Piris Niels Bohr Charles de Coux Christie Fuller Ella Briggs George Soros Walter Raleigh Moshoeshoe II of Lesotho Oli Thompson Viggo Mortensen Barbara Ferland Gundulf Rosemary Stjernstedt Maria Caterina Rosalbina Caradori-Allan Frédéric Albrecht Ivan Sansom Wiz Khalifa William Close Baba de Faucigny-Lucinge Mary Elizabeth Hawker Rudolf von Laban William Herschel Caroline Herschel Mortimer Menpes Jacques Dessalines Isaac Newton George E. A. Hallett Leopold William Jerome Fane De Salis
Niels Bohr, George Soros and Isaac Newton dwell at that territory
Niels Bohr George Soros Isaac Newton
action filter_type
action find_reverse
entity England
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'England']
SELECT DISTINCT ?y WHERE { ?y property:residence resource:England . ?y rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7085
P1066
Q502895
USER
Which person is a pupil of that one ?
(c(Q502895),P1066,Q7085)
action filter_type
action find_reverse
entity Q7085
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q7085']
SELECT DISTINCT ?s WHERE { ?s property:P1066 resource:Q7085 . ?s rdf:type ontology:Q502895 }
Niels Bohr
action filter_type
action find_reverse
entity Niels Bohr
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Niels Bohr']
SELECT DISTINCT ?s WHERE { ?s property:student_of resource:Niels_Bohr . ?s rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q12908
SYSTEM
Did you mean George Soros ?
Q7085 Q12908 Q935
(c(Q502895),P1066,Q7085) (c(Q502895),P1066,Q12908) (c(Q502895),P1066,Q935)
[ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q7085'] [{'concept': 'Q502895'}, 'P1066', 'Q12908'] [{'concept': 'Q502895'}, 'P1066', 'Q935']
SELECT DISTINCT ?s WHERE { ?s property:P1066 resource:Q7085 . ?s rdf:type ontology:Q502895 }
Niels Bohr George Soros Isaac Newton
Did you mean George Soros ?
George Soros
[{'concept': 'common name'}, 'student of', 'Niels Bohr'] [{'concept': 'common name'}, 'student of', 'George Soros'] [{'concept': 'common name'}, 'student of', 'Isaac Newton']
SELECT DISTINCT ?s WHERE { ?s property:student_of resource:Niels_Bohr . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Niels Bohr. Could you tell me the answer for that?
(c(Q502895),P1066,Q7085)
Q7085
[{'concept': 'Q502895'}, 'P1066', 'Q7085']
[{'concept': 'common name'}, 'student of', 'Niels Bohr']
[]
Q451225
SYSTEM
Hans Kramers
Q451225
(c(Q502895),P1066,Q7085)
action filter_type
action find_reverse
entity Q7085
relation P1066
type Q502895
[ANSWER] is a pupil of that one
[{'concept': 'Q502895'}, 'P1066', 'Q7085']
SELECT DISTINCT ?s WHERE { ?s property:P1066 resource:Q7085 . ?s rdf:type ontology:Q502895 }
Hans Kramers
Hans Kramers is a pupil of that one
Hans Kramers
action filter_type
action find_reverse
entity Niels Bohr
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Niels Bohr']
SELECT DISTINCT ?s WHERE { ?s property:student_of resource:Niels_Bohr . ?s rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q130232 Q21
P840 P136
Q838948
USER
Which works of art have their narrative set in England and do not have genre named drama film ?
AND((c(Q838948),P840,Q21), NOT((c(Q838948),P136,Q130232)))
action filter_type
action difference
action find_reverse
entity Q21
relation P840
action find_reverse
entity Q130232
relation P136
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P840', 'Q21'], {'NOT': [[{'concept': 'Q838948'}, 'P136', 'Q130232']]}]}
SELECT DISTINCT ?k WHERE { ?k property:P840 resource:Q21 . FILTER NOT EXISTS { ?k property:P136 resource:Q130232 } . ?k rdf:type ontology:Q838948 }
drama film England
action filter_type
action difference
action find_reverse
entity England
relation narrative location
action find_reverse
entity drama film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'narrative location', 'England'], {'NOT': [[{'concept': 'work of art'}, 'genre', 'drama film']]}]}
SELECT DISTINCT ?k WHERE { ?k property:narrative_location resource:England . FILTER NOT EXISTS { ?k property:genre resource:drama_film } . ?k rdf:type ontology:work_of_art }
[]
work of art
Q303095 Q7991338 Q5464753 Q7492059 Q5118151 Q1422466 Q7731840 Q1360769 Q198560 Q3428213
SYSTEM
Some of them are Tonight and Every Night, What Next?, Follow the Lady, She Shall Have Music, Churchill: The Hollywood Years, The Red Beret, The Elusive Pimpernel, The Importance of Being Earnest, A Few Best Men, Night Caller from Outer Space
Q7736269 Q3423452 Q5036696 Q7736264 Q3567280 Q12125820 Q7998655 Q161977 Q3822472 Q3968241 Q6945093 Q2251564 Q2454282 Q6383112 Q2784028 Q3499652 Q1425815 Q3283372 Q15634634 Q15634633 Q7750066 Q3417830 Q1915354 Q5037284 Q3835884 Q249235 Q12125092 Q646723 Q332093 Q7512122 Q17017833 Q16569099 Q16992029 Q6091062 Q7245733 Q392697 Q7766019 Q6665253 Q848388 Q7765194 Q6037984 Q4765663 Q6843005 Q1582892 Q639629 Q5557199 Q5889203 Q632699 Q3211989 Q7516470 Q5737241 Q17019954 Q3422993 Q7991338 Q12126565 Q4750030 Q1754270 Q3417758 Q945138 Q700871 Q7833578 Q1219023 Q523249 Q7746360 Q1615432 Q1422466 Q7721501 Q7366209 Q1168471 Q7751268 Q7717866 Q2323927 Q16169136 Q7272299 Q7722011 Q7742840 Q2269754 Q18708994 Q700694 Q7062179 Q1311434 Q5468207 Q7749936 Q1545838 Q5135725 Q3182263 Q7774401 Q6090430 Q8022583 Q1315185 Q1703765 Q161678 Q1217369 Q7750734 Q7406551 Q7749079 Q18708902 Q7992642 Q7992641 Q603440 Q7444499 Q3878105 Q6007423 Q6091389 Q200396 Q7084566 Q7710787 Q7084569 Q3012116 Q3057927 Q7062143 Q7062142 Q18636511 Q508336 Q6051698 Q5287925 Q972300 Q6516911 Q882945 Q1702231 Q1320416 Q7444170 Q5118151 Q7830080 Q3426138 Q6422414 Q8057331 Q7162359 Q1319302 Q733968 Q2702903 Q2421441 Q5057048 Q7044506 Q5340838 Q2020736 Q6803062 Q6820402 Q2308427 Q7602382 Q4659320 Q5299683 Q3797816 Q129283 Q15105174 Q135932 Q319184 Q2023726 Q3414281 Q7435666 Q5475537 Q17022129 Q17020505 Q3823565 Q1215103 Q249151 Q4659024 Q6697715 Q3425459 Q644372 Q102438 Q7560226 Q15059365 Q7677874 Q2093029 Q2475973 Q6675438 Q7777444 Q4656208 Q5110687 Q2081750 Q6407103 Q16992913 Q7738531 Q1674814 Q1278386 Q19598898 Q7234953 Q141359 Q4962720 Q5273484 Q102448 Q2306978 Q7977877 Q4024827 Q16997406 Q1462145 Q7816362 Q3837493 Q16002550 Q7768792 Q1431878 Q188384 Q8058267 Q6115019 Q3427367 Q5236678 Q710850 Q7168062 Q2805417 Q3703151 Q195525 Q1326026 Q4728910 Q6902699 Q2253718 Q198560 Q18924406 Q18924407 Q7740655 Q627157 Q107724 Q7405341 Q19571238 Q4854230 Q339425 Q5446705 Q8036649 Q7207417 Q831004 Q7162528 Q18154994 Q7679685 Q782669 Q16911914 Q302927 Q7898046 Q2698384 Q12100269 Q7746278 Q578312 Q3449470 Q1121579 Q500304 Q5158515 Q1051032 Q7758413 Q1426318 Q180279 Q232009 Q3428213 Q879029 Q16858746 Q6383001 Q7492059 Q244398 Q5464753 Q5282226 Q3415465 Q617246 Q1196570 Q5022152 Q1217787 Q6510577 Q858047 Q5247617 Q12129030 Q3234529 Q18708916 Q6680118 Q8027957 Q165392 Q5756656 Q207921 Q630132 Q7992657 Q1198865 Q14952548 Q1171720 Q1758119 Q7768163 Q7768515 Q114115 Q1382283 Q1854561 Q4019451 Q1170622 Q3795529 Q1613495 Q1781432 Q1360769 Q6544801 Q4198249 Q604928 Q5188855 Q1219599 Q7332938 Q6533126 Q383854 Q6698078 Q1701661 Q7815086 Q7737023 Q2411296 Q19598882 Q102225 Q7738182 Q7757964 Q1980455 Q1517263 Q652215 Q2249404 Q194413 Q679833 Q7760130 Q7549541 Q7549542 Q500359 Q2194153 Q18758160 Q903930 Q1465864 Q19598958 Q5173906 Q7735020 Q7713795 Q7756798 Q466514 Q15922024 Q1962672 Q7616400 Q330612 Q12121757 Q1759282 Q7736581 Q2486237 Q5151218 Q1213196 Q18708881 Q7763155 Q285584 Q7432352 Q174385 Q4659765 Q7784986 Q6053604 Q7993340 Q205532 Q4854896 Q7751286 Q161687 Q5915907 Q19598880 Q7797620 Q7797623 Q19598884 Q1195342 Q19598888 Q1197712 Q769337 Q3849362 Q8058498 Q5377954 Q15624215 Q5089322 Q2053049 Q17021515 Q7167979 Q921042 Q7749917 Q2667715 Q7775507 Q4947288 Q7859334 Q7846410 Q6899147 Q19571849 Q17021952 Q453556 Q19580405 Q1629310 Q15040710 Q19572975 Q15043364 Q6803039 Q2870511 Q7458401 Q7737707 Q6773060 Q3595075 Q3798256 Q1346745 Q642559 Q4229315 Q4101104 Q1338008 Q1538224 Q12135581 Q18924417 Q2025578 Q7242452 Q878908 Q4656074 Q570973 Q12126544 Q313315 Q7855854 Q1304578 Q3203198 Q4877917 Q7774080 Q7737335 Q4788803 Q5072388 Q7100753 Q913389 Q1194469 Q303095 Q714721 Q428380 Q7458614 Q3213435 Q1890531 Q12127522 Q12127523 Q1214440 Q2983171 Q1219434 Q18639171 Q16249294 Q2703859 Q18709069 Q7884161 Q1194224 Q7797619 Q1219179 Q620731 Q4916119 Q4127985 Q1468455 Q7761313 Q7443135 Q2056924 Q7561161 Q243643 Q1193606 Q7960402 Q18636537 Q5306599 Q12124847 Q813724 Q16948011 Q1366919 Q5291958 Q12148786 Q467290 Q7722855 Q1166360 Q17426163 Q4895390 Q3506526 Q7762039 Q4840821 Q7798840 Q7205497 Q303495 Q7428089 Q1170086 Q5246479 Q1213044 Q102235 Q8051839 Q93443 Q5437571 Q6382952 Q7720414 Q4656768 Q5648056 Q2629089 Q590352 Q4807100 Q3521320 Q7855105 Q5139708 Q18353425 Q6263519 Q3879246 Q16995182 Q12124788 Q12125812 Q81145 Q7821651 Q7821653 Q7757057 Q4104532 Q7443769 Q16208964 Q6411840 Q490632 Q8069479 Q741167 Q5188291 Q1189728 Q5288154 Q5166548 Q7572672 Q17060803 Q7731840 Q1199728 Q931739 Q1334948 Q7749905 Q7760448 Q5391720 Q7337698 Q3793972 Q1318050 Q714989 Q93432 Q3213588 Q7560700 Q164417 Q722379 Q581501 Q474470 Q3521133 Q1341293 Q1622883 Q219392 Q5557149 Q7769915 Q5875200 Q7093566 Q6503133 Q7714590 Q7198573 Q779545 Q5599126 Q7529875 Q3494117 Q7744457 Q17066595 Q839825 Q950865 Q1562580 Q16255613 Q16679709 Q5967035 Q5447929 Q102244 Q16957446 Q19363674 Q12126410 Q3080331 Q785249 Q2681286 Q830295 Q6928576 Q456017 Q14949827 Q5160040 Q12126639 Q3824650 Q7756520 Q4817975 Q8037359 Q2263399 Q7632197 Q2415507 Q7748946 Q3490812 Q846483 Q4880295 Q5260104 Q1419980 Q633307 Q1674807 Q568123
AND((c(Q838948),P840,Q21), NOT((c(Q838948),P136,Q130232)))
action filter_type
action difference
action find_reverse
entity Q21
relation P840
action find_reverse
entity Q130232
relation P136
type Q838948
[ANSWERS]
{'AND': [[{'concept': 'Q838948'}, 'P840', 'Q21'], {'NOT': [[{'concept': 'Q838948'}, 'P136', 'Q130232']]}]}
SELECT DISTINCT ?k WHERE { ?k property:P840 resource:Q21 . FILTER NOT EXISTS { ?k property:P136 resource:Q130232 } . ?k rdf:type ontology:Q838948 }
The Ghost Goes Gear The Wrong Box Captain John Smith and Pocahontas The Ghost Camera Went the Day Well? Look Up and Laugh Widecombe Fair The Story of Alexander Graham Bell The Black Arrow Stanley's Dragon My Brother's Keeper In una notte di chiaro di luna St Trinian's 2: The Legend of Fritton's Gold Keep Your Seats, Please I'm All Right Jack Stolen Face Captain Blood Seven Seas to Calais Splinters in the Navy You'd Be Surprised! The Man from Toronto The Old Dark House The Calling Car of Dreams The Unholy Night Peter's Friends Inquest Bring Me the Head of Mavis Davis Confetti Sightseers Play Up the Band Little Dorrit The Fall of the House of Usher It's a Cop Prison Breaker The Man Who Knew Too Little The Sport of Kings Lock Up Your Daughters Foreign Correspondent The Son of Dr. Jekyll Inside the Room Anita and Me Midshipman Easy The Girl with the Pistol The Puzzle of the Red Orchid Ghost Train Home to Danger Tom and Jerry: The Fast and the Furry Rage in Heaven Silver Top Here Comes the Sun Splinters Love from a Stranger What Next? Night of the Garter An Ideal Husband Young Winston Blue Blood Bedknobs and Broomsticks Death at a Funeral The Tunnel The Merry Wives of Windsor Nanny McPhee The Laughing Lady Tales from the Crypt The Red Beret The Case of Lady Camber Rookery Nook A Glass of Water The Midas Touch The Bigamist Merlin and the War of the Dragons The Higher Command Quinneys The Challenge The Jack of Diamonds The Black Rose The Lilac Sunbonnet The Eagle Has Landed Not Quite a Lady Bon Voyage, Charlie Brown (and Don't Come Back!!) Foreign Affaires The Man Who Forgot Night Must Fall Cloudburst John Paul Jones The Wheels of Chance It's Not Cricket Willy McBean and his Magic Machine Steamboy Mumsy, Nanny, Sonny and Girly Harry Potter and the Deathly Hallows – Part 1 Jane Eyre The Mayor's Nest Salvage The Loves of Mary, Queen of Scots The Black Sheep When Knights Were Bold When Knights Were Bold Double Trouble Secrets of Scotland Yard Non perdiamo la testa Important People It's in the Air Sherlock Holmes Old Mother Riley's Circus Thark Old Mother Riley, MP The Captain's Table Satan's Slave Not Now, Darling Not Now, Comrade The Imperfect Lady First Men in the Moon International Lady Dodging the Dole Venus Left Right and Centre Der rote Kreis John Wycliffe: The Morning Star Killer Elite Secret of Stamboul Churchill: The Hollywood Years Town on Trial The Iron Maiden Knights Must Fall You Know What Sailors Are Penda's Fen The Life and Death of Colonel Blimp Performance On a Clear Day You Can See Forever This Above All Cedie No Monkey Business Educated Evans Captain Kronos – Vampire Hunter Me and My Pal Merry Andrew Speed Stars on Parade A Safe Proposition Double Confession Nightmare King Ralph The Christmas Candle The Invisible Man Son of Fury: The Story of Benjamin Blake Once a Lady Awaydays Scotland Yard Investigator Four Sided Triangle Stranger Things Sexton Blake and the Mademoiselle The Moonstone Eye of the Needle The Tournament A Prince of Lovers Luck of the Turf Blood on Satan's Claw Princess Caraboo Harry Potter and the Philosopher's Stone Something in the City Black Sea Take a Girl Like You Restoration A Yank at Oxford Looking on the Bright Side Theatre Royal A Cuckoo in the Nest Christie Johnstone Byzantium Kill Her Gently Glad Tidings The Guns of Loos Carry On Jack Easy Virtue All Roads Lead to Calvary Potiphar's Wife Oliver! Brewster's Millions Dick Turpin's Ride Harry Potter and the Prisoner of Azkaban O Lucky Man! We Women Zorro in the Court of England Mary Tudor Indiscreet Tom Jones The Sky Hawk All That Glitters The Third Eye Shipwrecked Orlando Young Man's Fancy Jack Says The First Mrs. Fraser David Livingstone The Dam Busters Perfect Understanding A Run for Your Money David Copperfield Quartet Tess All In Monster Butler The Devil-Ship Pirates A Few Best Men Over the Garden Wall Over the Garden Wall The House of Temperley The Collector Thunderball Sally in Our Alley Charity Ann Band Waggon Random Harvest Fiddlers Three World of the Dead: The Zombie Diaries Poet's Pub Im Banne des Unheimlichen Pendulum Drift Pride and Prejudice and Zombies Talk of the Devil Plymouth Adventure Red Kingdom Rising Carry On Dick Up for the Derby Goodbye, Mr. Chips A Night Like This The Late Edwina Black Body of Lies The Airship Destroyer Abbott and Costello Meet Dr. Jekyll and Mr. Hyde Those Magnificent Men in their Flying Machines Concert for George The Italian Job The Private Secretary Time Bandits Never Say Never Again Harry Potter and the Deathly Hallows – Part 2 Night Caller from Outer Space Yaadein The Ceremony of Innocence Keep It Up Downstairs She Shall Have Music Stardust Follow the Lady Dishonour Bright Terror Good Morning, Boys The Avenger Calling All Stars The Time Machine Leave It to Smith The Canterbury Tales Death on the Set The Bishop Misbehaves Pearls of the Crown The Children of Gibeon Lord of the Manor With All Her Heart Gosford Park High Seas Chariots of Fire Women in Love When London Sleeps The Green Archer Scandal at the Fledermaus The Fourth Protocol Ali G Indahouse The Tavern Knight The Terror Henry V Everyone Stares Millions The Dover Road Trog The Highwayman Highlander: The Search for Vengeance Solomon Kane The Importance of Being Earnest Life Goes On From Time to Time The Black Abbot Crossroads to Crime The Dead Eyes of London Riding High Let the People Sing Treasure Island Lucky to Me Lady Windermere's Fan Tom Brown's Schooldays The Golden Dawn Fear in the Night A Fair Impostor Harry Potter and the Goblet of Fire The Green Man The Power of Right Neues vom Hexer Long Time Dead Lady Chatterley's Lover Scrooge Pearl Harbor Black Death The Reluctant Widow So This Is London So This Is London À nous les petites Anglaises Escape The Lady in the Van RED 2 Wish You Were Here Driven Cosh Boy The Four Just Men The Angelus The Peterville Diamond The Duchess Tiger House The Day They Robbed the Bank of England Stiff Upper Lips Dragonheart The Flying Fool Alfred the Great The Girl in a Swing Housefull Come On George! The Curse of the Hidden Vault All Men Are Liars The Secret of St. Ives Just Visiting School for Randle Alice in Wonderland A Spot of Bother Third Time Lucky International Squadron Where There's a Will The Wolfman Bang! You're Dead The Middle Watch Harry Potter and the Half-Blood Prince Housemaster A Bachelor Husband Three Men in a Boat Three Men in a Cart A Little Bit of Fluff The Mackintosh Man A Peep Behind the Scenes The Invisible Man Returns A Private Function Holy Matrimony Young Woodley England, My England Lucy Cheer Boys Cheer Sherlock Holmes Faces Death Strings Perfect Friday Inspector Clouseau The Man Who Changed His Name Kinky Boots The Woman Who Did Bosko's Picture Show Two Wives for Henry Trouble Brewing Money Isn't Everything Fun at St. Fanny's Take a Chance The Naked Truth It Is for England Billion Dollar Brain Overhill Meg the Lady Porichoi Me and Marlborough O.H.M.S. Sex Lives of the Potato Men The Great Defender Marry the Girl Tezz Escape to Glory If.... EuroTrip The Village Squire King of the Wind Emma National Lampoon's European Vacation You Must Be Joking! Stormy Weather The Viking Prey Do Not Disturb A Connecticut Yankee Ripley Under Ground Night Boat to Dublin Tom Jones Turned Out Nice Again The Ghost and Mrs. Muir Eagle Squadron Beauty and the Barge The Wedding Video The Goose Steps Out Aren't Men Beasts! Channel Crossing Orders Is Orders Howards End The Hound of the Baskervilles Tonight and Every Night The Muppet Christmas Carol The English Marriage Sexton Blake and the Hooded Terror The Valley of Fear The Ruling Class Sky West and Crooked Skylarks The Little Drummer Girl I Can't Think Straight The Strange Countess Democracy Chris Columbus, Jr. Prick Up Your Ears The Scarlet Wooing Uneasy Virtue Tower of London Three Men in a Boat The Romantic Englishwoman The Dresser Birds of a Feather U.F.O. Black Knight The Rocks of Valpre Second Best Bed A Dandy in Aspic Song of the Forge Sherlock Holmes: A Game of Shadows Der Frosch mit der Maske Wait and See Signpost to Murder Dreaming Hoots Mon! Becket East Lynne The Importance of Being Earnest Don't Take It to Heart The Barton Mystery An American Werewolf in London The Church Mouse Darling Downhill Bert and Dickie Sweet Kitty Bellairs The Sailor's Return Badger's Green Thumbs Up Plunder Reach for the Sky Save a Little Sunshine Phantom of the Paradise Dean Spanley The Anniversary Harry Potter and the Order of the Phoenix Yellow Stockings St Trinian's Father Brown, Detective Keep Fit The Bruce A Fire Has Been Arranged Hangman's Wharf Titanic: Blood and Steel Wild Child Ask a Policeman The House in Nightmare Park Turkey Time Cocktails Night Was Our Friend John Wesley Lady Godiva Rides Again It's a Grand Old World His Grace Gives Notice The Long Haul The Eagle Tons of Money Tons of Money The Picture of Dorian Gray The Limping Man Second to None Bell-Bottom George King Lear Arabesque Zero The Court Jester Cross Currents Wuthering Heights Dog Altogether Convict 99 Spaced Out Zombie Undead The Elusive Pimpernel The Uninvited Hunted Robin Hood: Men in Tights The Man Who Bought London The Return of the Frog Nowhere to Go River Patrol The Bandit of Sherwood Forest Far from the Madding Crowd Battle of Britain And When Did You Last See Your Father? Jack London Son of the Guardsman Corpse Bride The World's End The Madness of King George Me Without You The Great Game Farinelli A Touch of Class Housefull 2 Ghost Ship The Traitor Hobson's Choice One of the Best Law and Disorder The Artistic Temperament Pit of Darkness The Children Great Expectations Sir or Madam Sporting Love The King's Highway Where's George? Wilde Doctor Dolittle H. G. Wells' The War of the Worlds True Love The Pickwick Papers I'm an Explosive Fighting Stock Harry Potter and the Chamber of Secrets Chick Love and Friendship My Old Duchess The New Adventures of Tarzan Nanny McPhee and the Big Bang War of the Worlds: Goliath The Best Exotic Marigold Hotel Mr. Denning Drives North Amazing Grace Dusty Ermine Confessions of a Window Cleaner Noose for a Lady Tower of London The Pendragon Legend Attack of the Normans Would You Believe It! Laughter in Paradise Subterfuge The Zombie Diaries The Love Nest Things Are Looking Up Munster, Go Home! Before They Were Dubz Department Store Sleuth The Libertine Follow That Camel Dracula
The Importance of being Earnest, A Few Best Men and Night Caller from Outer Space have their narrative set in England and do not have genre named drama film
Tonight and Every Night What Next? Follow the Lady She Shall Have Music Churchill: The Hollywood Years The Red Beret The Elusive Pimpernel The Importance of Being Earnest A Few Best Men Night Caller from Outer Space
action filter_type
action difference
action find_reverse
entity England
relation narrative location
action find_reverse
entity drama film
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'narrative location', 'England'], {'NOT': [[{'concept': 'work of art'}, 'genre', 'drama film']]}]}
SELECT DISTINCT ?k WHERE { ?k property:narrative_location resource:England . FILTER NOT EXISTS { ?k property:genre resource:drama_film } . ?k rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3428213
P86
Q502895
USER
Which person composed that work of art ?
(Q3428213,P86,c(Q502895))
action filter_type
action find
entity Q3428213
relation P86
type Q502895
['Q3428213', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q3428213 property:P86 ?n . ?n rdf:type ontology:Q502895 }
Night Caller from Outer Space
action filter_type
action find
entity Night Caller from Outer Space
relation composer
type common name
['Night Caller from Outer Space', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Night_Caller_from_Outer_Space property:composer ?n . ?n rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q5118151
SYSTEM
Did you mean Churchill: The Hollywood Years ?
Q303095 Q7991338 Q5464753 Q7492059 Q5118151 Q1422466 Q7731840 Q1360769 Q198560 Q3428213
(Q303095,P86,c(Q502895)) (Q7991338,P86,c(Q502895)) (Q5464753,P86,c(Q502895)) (Q7492059,P86,c(Q502895)) (Q5118151,P86,c(Q502895)) (Q1422466,P86,c(Q502895)) (Q7731840,P86,c(Q502895)) (Q1360769,P86,c(Q502895)) (Q198560,P86,c(Q502895)) (Q3428213,P86,c(Q502895))
[ANSWER]
['Q303095', 'P86', {'concept': 'Q502895'}] ['Q7991338', 'P86', {'concept': 'Q502895'}] ['Q5464753', 'P86', {'concept': 'Q502895'}] ['Q7492059', 'P86', {'concept': 'Q502895'}] ['Q5118151', 'P86', {'concept': 'Q502895'}] ['Q1422466', 'P86', {'concept': 'Q502895'}] ['Q7731840', 'P86', {'concept': 'Q502895'}] ['Q1360769', 'P86', {'concept': 'Q502895'}] ['Q198560', 'P86', {'concept': 'Q502895'}] ['Q3428213', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q3428213 property:P86 ?n . ?n rdf:type ontology:Q502895 }
Tonight and Every Night What Next? Follow the Lady She Shall Have Music Churchill: The Hollywood Years The Red Beret The Elusive Pimpernel The Importance of Being Earnest A Few Best Men Night Caller from Outer Space
Did you mean Churchill: The Hollywood Years ?
Churchill: The Hollywood Years
['Tonight and Every Night', 'composer', {'concept': 'common name'}] ['What Next?', 'composer', {'concept': 'common name'}] ['Follow the Lady', 'composer', {'concept': 'common name'}] ['She Shall Have Music', 'composer', {'concept': 'common name'}] ['Churchill: The Hollywood Years', 'composer', {'concept': 'common name'}] ['The Red Beret', 'composer', {'concept': 'common name'}] ['The Elusive Pimpernel', 'composer', {'concept': 'common name'}] ['The Importance of Being Earnest', 'composer', {'concept': 'common name'}] ['A Few Best Men', 'composer', {'concept': 'common name'}] ['Night Caller from Outer Space', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Night_Caller_from_Outer_Space property:composer ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Night Caller from Outer Space. Could you tell me the answer for that?
(Q3428213,P86,c(Q502895))
Q3428213
['Q3428213', 'P86', {'concept': 'Q502895'}]
['Night Caller from Outer Space', 'composer', {'concept': 'common name'}]
[]
Q21597887
SYSTEM
Johnny Gregory
Q21597887
(Q3428213,P86,c(Q502895))
action filter_type
action find
entity Q3428213
relation P86
type Q502895
[ANSWER] composed that work of art
['Q3428213', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q3428213 property:P86 ?n . ?n rdf:type ontology:Q502895 }
Johnny Gregory
Johnny Gregory composed that work of art
Johnny Gregory
action filter_type
action find
entity Night Caller from Outer Space
relation composer
type common name
['Night Caller from Outer Space', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Night_Caller_from_Outer_Space property:composer ?n . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q15961987
USER
Which television genres did min number of people dub for ?
(c(Q15961987),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q15961987
type Q502895
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?v ) { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?l ) WHERE { ?f property:P725 ?i . ?f rdf:type ontology:Q15961987 . ?i rdf:type ontology:Q502895 } GROUP BY ?f } } . { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?e ) WHERE { ?p property:P725 ?w . ?p rdf:type ontology:Q15961987 . ?w rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?e = ?v ) }
action argmin
action find_tuple_counts
relation voice actor
type television genre
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?v ) { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?l ) WHERE { ?f property:voice_actor ?i . ?f rdf:type ontology:television_genre . ?i rdf:type ontology:common_name } GROUP BY ?f } } . { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?e ) WHERE { ?p property:voice_actor ?w . ?p rdf:type ontology:television_genre . ?w rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?e = ?v ) }
[]
common name television genre
Q11572 Q847219 Q917543
SYSTEM
Avatar: The Last Airbender, Pururun! Shizuku-chan, The Garfield Show
Q11572 Q847219 Q917543
(c(Q15961987),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q15961987
type Q502895
Min number of people dubbed in [ANSWERS]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?v ) { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?l ) WHERE { ?f property:P725 ?i . ?f rdf:type ontology:Q15961987 . ?i rdf:type ontology:Q502895 } GROUP BY ?f } } . { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?e ) WHERE { ?p property:P725 ?w . ?p rdf:type ontology:Q15961987 . ?w rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?e = ?v ) }
Avatar: The Last Airbender Pururun! Shizuku-chan The Garfield Show
Min number of people dubbed in Avatar: The Last Airbender, Pururun! Shizuku-chan and The Garfield Show
Avatar: The Last Airbender Pururun! Shizuku-chan The Garfield Show
action argmin
action find_tuple_counts
relation voice actor
type television genre
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?v ) { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?l ) WHERE { ?f property:voice_actor ?i . ?f rdf:type ontology:television_genre . ?i rdf:type ontology:common_name } GROUP BY ?f } } . { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?e ) WHERE { ?p property:voice_actor ?w . ?p rdf:type ontology:television_genre . ?w rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?e = ?v ) }
[]