Simple Question (Direct)
Simple Question
Q32338
P551
Q56061
USER
Where did Leonard Kleinrock live ?
(Q32338,P551,c(Q56061))
action filter_type
action find
entity Q32338
relation P551
type Q56061
['Q32338', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q32338 property:P551 ?v . ?v rdf:type ontology:Q56061 }
Leonard Kleinrock
action filter_type
action find
entity Leonard Kleinrock
relation residence
type administrative territorial entity
['Leonard Kleinrock', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Leonard_Kleinrock property:residence ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q65 Q60
SYSTEM
Los Angeles, New York City
Q65 Q60
(Q32338,P551,c(Q56061))
action filter_type
action find
entity Q32338
relation P551
type Q56061
Leonard Kleinrock lived in [ANSWERS]
['Q32338', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q32338 property:P551 ?v . ?v rdf:type ontology:Q56061 }
Los Angeles New York City
Leonard Kleinrock lived in Los Angeles and New York City
Los Angeles New York City
action filter_type
action find
entity Leonard Kleinrock
relation residence
type administrative territorial entity
['Leonard Kleinrock', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Leonard_Kleinrock property:residence ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q60
P190
Q56061
USER
Which administrative territories are twin town of that one ?
(c(Q56061),P190,Q60)
action filter_type
action find_reverse
entity Q60
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q60']
SELECT DISTINCT ?f WHERE { ?f property:P190 resource:Q60 . ?f rdf:type ontology:Q56061 }
New York City
action filter_type
action find_reverse
entity New York City
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'New York City']
SELECT DISTINCT ?f WHERE { ?f property:sister_city resource:New_York_City . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q60
SYSTEM
Did you mean New York City ?
Q65 Q60
(c(Q56061),P190,Q65) (c(Q56061),P190,Q60)
[ANSWER]
[{'concept': 'Q56061'}, 'P190', 'Q65'] [{'concept': 'Q56061'}, 'P190', 'Q60']
SELECT DISTINCT ?f WHERE { ?f property:P190 resource:Q60 . ?f rdf:type ontology:Q56061 }
Los Angeles New York City
Did you mean New York City ?
New York City
[{'concept': 'administrative territorial entity'}, 'sister city', 'Los Angeles'] [{'concept': 'administrative territorial entity'}, 'sister city', 'New York City']
SELECT DISTINCT ?f WHERE { ?f property:sister_city resource:New_York_City . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q56061),P190,Q60)
[{'concept': 'Q56061'}, 'P190', 'Q60']
[{'concept': 'administrative territorial entity'}, 'sister city', 'New York City']
[]
Q2807 Q956 Q1781
SYSTEM
Madrid, Beijing, Budapest
Q3630 Q3561 Q34820 Q33935 Q612 Q585 Q2807 Q956 Q1781 Q84 Q85 Q1490 Q1218 Q34647 Q51103
(c(Q56061),P190,Q60)
action filter_type
action find_reverse
entity Q60
relation P190
type Q56061
[ANSWERS] are twin town of that one
[{'concept': 'Q56061'}, 'P190', 'Q60']
SELECT DISTINCT ?f WHERE { ?f property:P190 resource:Q60 . ?f rdf:type ontology:Q56061 }
Jakarta Algiers Santo Domingo Tel Aviv Dubai Oslo Madrid Beijing Budapest London Cairo Tokyo Jerusalem Johannesburg Cali
Madrid, Beijing and Budapest are twin town of that one
Madrid Beijing Budapest
action filter_type
action find_reverse
entity New York City
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'New York City']
SELECT DISTINCT ?f WHERE { ?f property:sister_city resource:New_York_City . ?f rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q181425 Q956
P161 P915
Q838948
USER
Which works of art were filmed at Beijing and have Chow Yun-fat in their star cast ?
AND((c(Q838948),P915,Q956), (c(Q838948),P161,Q181425))
action filter_type
action intersection
action find_reverse
entity Q956
relation P915
action find_reverse
entity Q181425
relation P161
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P915', 'Q956'], [{'concept': 'Q838948'}, 'P161', 'Q181425']]}
SELECT DISTINCT ?h WHERE { ?h property:P915 resource:Q956 . ?h property:P161 resource:Q181425 . ?h rdf:type ontology:Q838948 }
Chow Yun-fat Beijing
action filter_type
action intersection
action find_reverse
entity Beijing
relation filming location
action find_reverse
entity Chow Yun-fat
relation cast member
type work of art
{'AND': [[{'concept': 'work of art'}, 'filming location', 'Beijing'], [{'concept': 'work of art'}, 'cast member', 'Chow Yun-fat']]}
SELECT DISTINCT ?h WHERE { ?h property:filming_location resource:Beijing . ?h property:cast_member resource:Chow_Yun-fat . ?h rdf:type ontology:work_of_art }
[]
work of art
Q2633399 Q7752052
SYSTEM
Let the Bullets Fly, The Monkey King
Q2633399 Q7752052
AND((c(Q838948),P915,Q956), (c(Q838948),P161,Q181425))
action filter_type
action intersection
action find_reverse
entity Q956
relation P915
action find_reverse
entity Q181425
relation P161
type Q838948
Let the Bullets fly and The Monkey King were filmed at Beijing and have Chow Yun-fat in their star cast
{'AND': [[{'concept': 'Q838948'}, 'P915', 'Q956'], [{'concept': 'Q838948'}, 'P161', 'Q181425']]}
SELECT DISTINCT ?h WHERE { ?h property:P915 resource:Q956 . ?h property:P161 resource:Q181425 . ?h rdf:type ontology:Q838948 }
Let the Bullets Fly The Monkey King
Let the Bullets fly and The Monkey King were filmed at Beijing and have Chow Yun-fat in their star cast
Let the Bullets Fly The Monkey King
action filter_type
action intersection
action find_reverse
entity Beijing
relation filming location
action find_reverse
entity Chow Yun-fat
relation cast member
type work of art
{'AND': [[{'concept': 'work of art'}, 'filming location', 'Beijing'], [{'concept': 'work of art'}, 'cast member', 'Chow Yun-fat']]}
SELECT DISTINCT ?h WHERE { ?h property:filming_location resource:Beijing . ?h property:cast_member resource:Chow_Yun-fat . ?h rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q24585 Q2633399
P57
Q502895
USER
Which people directed Let the Bullets Fly or July 14 ?
OR((Q2633399,P57,c(Q502895)), (Q24585,P57,c(Q502895)))
action filter_type
action union
action find
entity Q2633399
relation P57
action find
entity Q24585
relation P57
type Q502895
{'OR': [['Q2633399', 'P57', {'concept': 'Q502895'}], ['Q24585', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q2633399 property:P57 ?k } UNION { resource:Q24585 property:P57 ?k } } . ?k rdf:type ontology:Q502895 }
July 14 Let the Bullets Fly
action filter_type
action union
action find
entity Let the Bullets Fly
relation director
action find
entity July 14
relation director
type common name
{'OR': [['Let the Bullets Fly', 'director', {'concept': 'common name'}], ['July 14', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Let_the_Bullets_Fly property:director ?k } UNION { resource:July_14 property:director ?k } } . ?k rdf:type ontology:common_name }
[]
common name
Q55388 Q716069
SYSTEM
René Clair, Jiang Wen
Q55388 Q716069
OR((Q2633399,P57,c(Q502895)), (Q24585,P57,c(Q502895)))
action filter_type
action union
action find
entity Q2633399
relation P57
action find
entity Q24585
relation P57
type Q502895
[ANSWERS] directed Let the Bullets fly or July 14
{'OR': [['Q2633399', 'P57', {'concept': 'Q502895'}], ['Q24585', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q2633399 property:P57 ?k } UNION { resource:Q24585 property:P57 ?k } } . ?k rdf:type ontology:Q502895 }
René Clair Jiang Wen
René Clair and Jiang Wen directed Let the Bullets fly or July 14
René Clair Jiang Wen
action filter_type
action union
action find
entity Let the Bullets Fly
relation director
action find
entity July 14
relation director
type common name
{'OR': [['Let the Bullets Fly', 'director', {'concept': 'common name'}], ['July 14', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Let_the_Bullets_Fly property:director ?k } UNION { resource:July_14 property:director ?k } } . ?k rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1425428 Q65
P840
Q15416
USER
Which television programs have their narrative set in Los Angeles or Newcastle upon Tyne ?
OR((c(Q15416),P840,Q65), (c(Q15416),P840,Q1425428))
action filter_type
action union
action find_reverse
entity Q65
relation P840
action find_reverse
entity Q1425428
relation P840
type Q15416
{'OR': [[{'concept': 'Q15416'}, 'P840', 'Q65'], [{'concept': 'Q15416'}, 'P840', 'Q1425428']]}
SELECT DISTINCT ?m WHERE { { ?m property:P840 ?s . VALUES ( ?s ) { ( resource:Q1425428 ) ( resource:Q65 ) } } . ?m rdf:type ontology:Q15416 }
Newcastle upon Tyne Los Angeles
action filter_type
action union
action find_reverse
entity Los Angeles
relation narrative location
action find_reverse
entity Newcastle upon Tyne
relation narrative location
type television program
{'OR': [[{'concept': 'television program'}, 'narrative location', 'Los Angeles'], [{'concept': 'television program'}, 'narrative location', 'Newcastle upon Tyne']]}
SELECT DISTINCT ?m WHERE { { ?m property:narrative_location ?s . VALUES ( ?s ) { ( resource:Newcastle_upon_Tyne ) ( resource:Los_Angeles ) } } . ?m rdf:type ontology:television_program }
[]
television program
Q1609589 Q7734759 Q629502 Q3281226 Q5048522 Q4939832 Q3783940 Q1278637 Q1970559 Q328519
SYSTEM
Some of them are The Girls Next Door, The Ford Show, Notes from the Underbelly, 10 Items or Less, Casey Jones, Bollywood Hero, Heart of the City, The Wild Wild West, Watch Over Me, Tequila and Bonetti
Q640535 Q1244389 Q7771677 Q1248618 Q4006133 Q5755738 Q3933556 Q4006031 Q210517 Q2669902 Q584745 Q16862534 Q623222 Q3030792 Q549348 Q1247693 Q390076 Q165356 Q10381158 Q212156 Q1248114 Q1682635 Q7334021 Q602148 Q5619404 Q16853893 Q651840 Q264221 Q265152 Q7354703 Q1150589 Q2498045 Q1714150 Q7747342 Q1247605 Q15131236 Q3025493 Q759477 Q45063 Q1164120 Q7980754 Q16929933 Q7756387 Q275726 Q15072924 Q1249629 Q6305435 Q2073894 Q2317069 Q82729 Q6313229 Q1278637 Q16843553 Q1116894 Q5178028 Q4850558 Q674118 Q3992554 Q937913 Q1525054 Q1578746 Q1248509 Q7734937 Q5051644 Q632022 Q7991095 Q1247732 Q7371660 Q2296203 Q1248480 Q2480163 Q5701091 Q245996 Q1247907 Q599472 Q5071861 Q4939832 Q253205 Q13415854 Q7728566 Q5691791 Q431795 Q2778277 Q7617936 Q1248625 Q592800 Q3281226 Q9080558 Q1121222 Q3666661 Q213343 Q1208153 Q1735699 Q5466856 Q1248395 Q3411005 Q3284050 Q7712175 Q13217606 Q216792 Q5032089 Q1831165 Q242596 Q1198457 Q2468339 Q13435422 Q7417603 Q2579964 Q930904 Q7013571 Q980954 Q2635815 Q7825739 Q3922578 Q23577 Q1734710 Q1591437 Q808420 Q478037 Q1337659 Q7990769 Q7771841 Q250767 Q2056371 Q203837 Q15072910 Q6084 Q17304975 Q6770433 Q4004229 Q3853754 Q3786947 Q1217808 Q3783940 Q1185057 Q34659 Q2119304 Q3870087 Q844059 Q5935931 Q464123 Q8216948 Q12858963 Q131758 Q3111060 Q283660 Q717769 Q1247463 Q5236861 Q470111 Q893042 Q862031 Q689821 Q1541739 Q223320 Q210503 Q326143 Q498663 Q1412649 Q1346564 Q1156746 Q137741 Q18925 Q16992200 Q216919 Q676544 Q1090828 Q221230 Q2457012 Q625770 Q3968478 Q3402471 Q3235094 Q8076399 Q7602579 Q1549157 Q3798486 Q219942 Q7269624 Q3650739 Q1027398 Q5123562 Q2996695 Q4402206 Q3234742 Q665960 Q3933342 Q309063 Q1347219 Q7330482 Q3494768 Q16827161 Q1074990 Q1858443 Q5015043 Q794761 Q194427 Q6886649 Q1996624 Q1301221 Q187239 Q6928472 Q18203048 Q2913369 Q1304435 Q2404067 Q7828241 Q2586737 Q15212431 Q16844915 Q218281 Q2061869 Q753466 Q16983503 Q5417935 Q3623819 Q2070469 Q328519 Q4899556 Q1346961 Q1031098 Q3178241 Q547744 Q1797743 Q3259699 Q5975103 Q4867659 Q7914497 Q7922398 Q476857 Q941419 Q676371 Q7756023 Q17108355 Q2946304 Q11598 Q1637497 Q5433181 Q1970559 Q862066 Q550238 Q371207 Q3607036 Q23722 Q1987517 Q948696 Q1247170 Q2760492 Q83401 Q15736089 Q598492 Q498265 Q1066317 Q1026823 Q4691890 Q5033155 Q3319885 Q965430 Q17026745 Q1164745 Q3379046 Q1164742 Q7831694 Q283393 Q15102517 Q15995149 Q3107406 Q2185598 Q838136 Q3566986 Q3805531 Q3965503 Q868835 Q3964853 Q5692553 Q5463445 Q930765 Q2659146 Q15046568 Q16156976 Q2559315 Q7443312 Q940102 Q3686441 Q17514104 Q5665142 Q7991728 Q34669 Q738219 Q16893352 Q629502 Q1247212 Q5321343 Q5467117 Q3953862 Q5068927 Q2502496 Q7962522 Q839437 Q5003587 Q7033241 Q1339627 Q582053 Q471350 Q5087330 Q5287537 Q738447 Q906077 Q7493661 Q4979855 Q1033458 Q589187 Q2823636 Q6690808 Q7715211 Q1247529 Q9384627 Q5935 Q1585055 Q617274 Q13405335 Q16868584 Q581369 Q3259696 Q7699056 Q1086390 Q18153715 Q1678853 Q3769219 Q4840305 Q4840306 Q4840309 Q6404926 Q6896480 Q179837 Q319817 Q1747260 Q6457073 Q5447780 Q4921772 Q377738 Q169074 Q7300942 Q901850 Q4003239 Q3774164 Q7198549 Q7753610 Q540370 Q4836959 Q1526781 Q278078 Q537952 Q738660 Q11753903 Q5251828 Q2056556 Q613334 Q3776720 Q6377169 Q1609589 Q4959571 Q82226 Q8028222 Q3714806 Q17036343 Q16868393 Q3598220 Q1216066 Q2318414 Q6683843 Q5246926 Q16756 Q7766807 Q17182372 Q5160027 Q3299486 Q202727 Q3519718 Q2656586 Q2293 Q15078509 Q13360887 Q653537 Q17108340 Q134127 Q624607 Q1942437 Q2057359 Q15995167 Q5693220 Q2268830 Q7576283 Q2327249 Q1400206 Q1023688 Q946806 Q80044 Q14684125 Q8539 Q4840303 Q3711989 Q4840304 Q2297720 Q1638106 Q4336346 Q7716051 Q5048522 Q4899553 Q2408149 Q7719795 Q18157123 Q217276 Q115874 Q53922 Q1304135 Q1190808 Q3222064 Q6803007 Q5436995 Q7824446 Q832431 Q830555 Q917117 Q939301 Q212807 Q7242297 Q4006071 Q1061843 Q16524263 Q2072344 Q2547953 Q780983 Q5004103 Q7712339 Q2528793 Q5191788 Q3283385 Q3520112 Q3532233 Q15921494 Q23609 Q12107040 Q3790434 Q18155570 Q17457913 Q4118779 Q4672593 Q2777792 Q1103347 Q3401837 Q5247295 Q635717 Q899746 Q1969464 Q7270231 Q1305660 Q1771438 Q2104456 Q5574770 Q3735939 Q13794921 Q7761469 Q318649 Q1595431 Q974077 Q17011717 Q6510750 Q2049283 Q464099 Q7335426 Q4746812 Q5437729 Q1806765 Q13382613 Q4686607 Q1257038 Q281936 Q16632676 Q7607980 Q260654 Q3682106 Q5535610 Q4640606 Q7759667 Q4004277 Q2482685 Q189267 Q7624074 Q5207955 Q5286161 Q7768034 Q590158 Q2601130 Q7756982 Q2960406 Q3682178 Q1166152 Q202141 Q6896787 Q1397802 Q7992952 Q13418646 Q4899549 Q268543 Q3997972 Q7734759 Q1145002 Q1189754 Q17014382 Q3985569 Q16949801 Q1369397 Q1076940 Q4533 Q6456193 Q5057755 Q3965121 Q1138559 Q6533731 Q163851 Q3512733 Q7729551 Q56194 Q3566575
OR((c(Q15416),P840,Q65), (c(Q15416),P840,Q1425428))
action filter_type
action union
action find_reverse
entity Q65
relation P840
action find_reverse
entity Q1425428
relation P840
type Q15416
[ANSWERS]
{'OR': [[{'concept': 'Q15416'}, 'P840', 'Q65'], [{'concept': 'Q15416'}, 'P840', 'Q1425428']]}
SELECT DISTINCT ?m WHERE { { ?m property:P840 ?s . VALUES ( ?s ) { ( resource:Q1425428 ) ( resource:Q65 ) } } . ?m rdf:type ontology:Q15416 }
Knots Landing What About Brian The Unpoppables The Newlywed Game Storefront Lawyers High Incident Resurrection Blvd. Walking Tall Summerland Pasadena Day Break How To Get Away With Murder Sam & Cat Surviving Suburbia Melrose Place Laverne & Shirley Brothers & Sisters Perry Mason The Assistants Angel Chico and the Man Jane by Design Riker How to Rock Gunsmoke IV: The Long Ride Breaking Amish ¡Anita, no te rajes! ALF The Shield Rock Star Denise Richards: It's Complicated L.A. Heat Justice The Likely Lads Adam-12 Growing Up Fisher Devious Maids Unhappily Ever After Riptide Kendra Welcome to The Captain Sunset Limousine The Paula Poundstone Show Happily Divorced Gang Related (TV series) Police Story Jukebox Jury It's Like, You Know... Lincoln Heights The Bold and the Beautiful Junior Doctors: Your Life in Their Hands The Wild Wild West Blunt Talk Eleventh Hour Couples Therapy Baldwin Hills Sweet Valley High Toma Doogie Howser, M.D. Friend Me Richard Diamond, Private Detective Room 222 The Fosters Catch 21 Dollhouse What Ever Happened to Baby Jane? Quincy Rove LA The L.A. Complex Burke's Law Paradise Heist Three's Company My Favorite Martian Switched at Birth Change of Heart Bollywood Hero Entourage Intelligence The D.A. HeartBeat Studio 60 on the Sunset Strip Prey Stockard Channing in Just Friends The Mod Squad Common Law 10 Items or Less Sunset Tan Mighty Ducks Charlie Grace Look: The Series Diagnosis: Murder Miss Match For Richer, for Poorer Sanford and Son Push Girls Sons & Daughters The Academy Almost Human The L Word Candy Girls The Mystery of Natalie Wood Malcolm in the Middle South of Nowhere Jem Stagecoach West (TV series) Sanford Arms Ray Donovan Huff New York Goes to Hollywood Duet Men of a Certain Age Tori & Dean: Home Sweet Hollywood Rafferty Dexter Paper Dolls Wire in the Blood Barnaby Jones The Comeback Emily's Reasons Why Not What's Happening!! The Users The Brady Bunch Relativity Awkward South of Sunset NCIS: Los Angeles Mystery Girls Mark Wright's Hollywood Nights Accidental Family Medical Center Hotel Malibu Switch Heart of the City Delvecchio My Name Is Earl Rob It's a Living New Girl Hull High The A-Team Beverly Hills, 90210 franchise Love Games: Bad Girls Need Love Too Desperate Housewives Party Down The Rockford Files Luck Emergency! The Apprentice Medium Boomtown The Bill Cosby Show American Horror Story: Murder House Hart to Hart Baywatch Shark Californication Ben and Kate Rags to riches Hollywood Heights Southland Police Woman I'm in the Band East Los High Six Feet Under The Unit 100 Deeds for Eddie McDowd Nip/Tuck Huge The Langoliers State of Mind Almost Perfect Tracy Beaker Returns ¡Viva Hollywood! Starting Over House of Lies Nightingales Sonny with a Chance Quayside California Fever Geordie Shore City of Angels Cop Rock Rainbow Drive Auf Wiedersehen, Pet 7 Lives Exposed Rescue 8 The Fresh Prince of Bel-Air The Hills Richie Brockelman, Private Eye Square Pegs Bette Parker Lewis Can't Lose Over There C Bear and Jamal Big Time Rush The O.C. Mobbed Road Rules Gigantic Zeke and Luther Mr. Box Office Black Jesus Significant Others Highway to Heaven Ridiculousness Totally T-Boz Wendell & Vinnie The Wanted Life Bosch Zoey 101 Popular Raines Bad Judge Everything's Relative Chopper One Enos Tequila and Bonetti Beverly Hills Nannies Moonlight Valentine Spy Game Animaniacs Crash Robbery Homicide Division ITV News Tyne Tees Basketball Wives LA Vanderpump Rules Veronica Clare FlashForward Life Remington Steele The Paper Lads Toned Up Century City Arrested Development Grosse Pointe Family Man Watch Over Me Phil of the Future Melrose Place Columbo Shades of L.A. Curb Your Enthusiasm B. J. and the Bear The Closer The New Adventures of Old Christine The Geena Davis Show Heroes Getting On Models Inc. The New Normal Standoff Saved by the Bell Age of Love Canoga Park Cursed Black Widow Rush The Event Philip Marlowe, Private Eye Episodes Tracy Beaker Survival Files Private Practice Rake (2013 TV series) Husbands The Tonight Show with Jay Leno LAX Cha$e Web Therapy Private Eye South Central Leverage Sonny Spoon Heartbeat Flying High Paris The Fall Guy Reunion Hollywood Exes Dr. 90210 Second Generation Wayans Amazing Stories Condo Dig Harris and Company Whatever Happened to the Likely Lads? Raising Hope Major Crimes Stalker Notes from the Underbelly L.A. Law E!'s Pam: Girl on the Loose! For the People Second Chances Challenge of a Lifetime Leave It to Lamas Walking the Halls The Outer Limits Buzzin' Night Calls Martial Law The Big Valley Moonlighting Chasing The Saturdays Doctors' Hospital Yes, Dear Dirt Shell Game Brutally Normal Cannon Sliders Action Love Is in the Heir season 10 of The Bachelor Mannix Murder One Numb3rs Hardcastle and McCormick Charlie's Angels Welcome to the Family Black-ish Bonkers City of Angels Tempting Fate The Munsters The San Pedro Beach Bums Jake and the Fatman Julia season 2 of Bad Girls Club season 3 of Bad Girls Club season 6 of Bad Girls Club Kids Don't Tell Molloy Out of This World Joey The Smith Family LAPD: Life on the Beat Fight for Fame Black Saddle The Inside 10 Things I Hate About You Real Husbands of Hollywood Mistresses Jigsaw John Grady Pit Boss The New Gidget Night Stalker B InTune TV Girlfriends Privileged Anger Management The Colbys L.A. Doctors Degrassi Goes Hollywood Gimme a Break! Awake Griff Kathy The Girls Next Door Breaking Point Ellen Without Her Consent Downtown We've Got Each Other Cristela 240-Robert Tenspeed and Brown Shoe Carpoolers Lost Angels Dear Phoebe Modern Family The Story of Tracy Beaker Famous in 12 Confessions of a Teen Idol Matt Houston Meego Spin and Marty The Real L Word Chuck Hello Ladies Trophy Wife Firehouse The Tim Conway Show See Dad Run Law & Order: LA Moesha The Protector In the Motherhood Heat Wave Run's House Spender Beverly Hills Teens Alien Nation CHiPs Touch Prison Break The Real World: Hollywood The Big Bang Theory season 1 of Bad Girls Club The Antagonists season 4 of Bad Girls Club The Greatest American Hero Hunter Vera The Beast Casey Jones Beverly Hills Fabulous Son of the Beach The Bradys You're the Worst Jonas L.A. Zorro: La Espada y la Rosa American Horror Story Go On Mental Dad's Home Me Too! Fast Times season 2 of Top Chef Better Off Ted Starstruck L.A. Takedown Wanted Alias Pretty Wild Unscripted el puti Bad Teacher Sidekicks Virtua Fighter Zorro Byker Grove The Adam Carolla Project Franklin & Bash Ctrl Sanford The Brian Benben Show Torchwood: Miracle Day Legends Weeds Children of the Night The Ropers Viva Valdez Aquarius Hollywood 7 Accidental Friendship Fame L.A. Clueless Rescue 77 Death at Love House Lizzie McGuire Cybill Fashion House Queen Bees In the House The Cleaner Porno Valley Go Fish Executive Suite Sharknado The Rookie Ghost Whisperer Sleeper Cell Duckman Mad Movies with the L.A. Connection Leaving L.A. Pandemic El Rostro de Analía Riot Amish in the City Fathers and Sons Up All Night Back in the Game Adventures in Hollyhood Ice Our Friends in the North Saint George (TV series) Step It Up and Dance Joan of Arcadia L.A. Firefighters Geordie Racer 55 Degrees North The Real World: Los Angeles The Machine Gunners The Naked Truth Two and a Half Men Strip Mall Daddy's Girls Do Not Fold, Spindle, or Mutilate The Talk The Secret Life of the American Teenager Pacific Palisades The Phone The Red Skelton Show Code Red Dark Blue Criminal Minds Moloney Fastlane When the Boat Comes In We Are Men Beverly Hills Buntz 77 Sunset Strip Trauma Center The Ford Show The Osbournes Windfall Transparent MTV's The 70s House Cold Justice The Tyra Banks Show V Victorious L.A. 7 Celebrity Rehab Presents Sober House United States Drop Dead Diva Letters from Three Lovers 10-8: Officers on Duty Tabitha The Deep End 24 Wasteland
The Wild West, watch Over Me and Tequila and Bonetti have their narrative set in Los Angeles or Newcastle upon Tyne
The Girls Next Door The Ford Show Notes from the Underbelly 10 Items or Less Casey Jones Bollywood Hero Heart of the City The Wild Wild West Watch Over Me Tequila and Bonetti
action filter_type
action union
action find_reverse
entity Los Angeles
relation narrative location
action find_reverse
entity Newcastle upon Tyne
relation narrative location
type television program
{'OR': [[{'concept': 'television program'}, 'narrative location', 'Los Angeles'], [{'concept': 'television program'}, 'narrative location', 'Newcastle upon Tyne']]}
SELECT DISTINCT ?m WHERE { { ?m property:narrative_location ?s . VALUES ( ?s ) { ( resource:Newcastle_upon_Tyne ) ( resource:Los_Angeles ) } } . ?m rdf:type ontology:television_program }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q15416 Q386724
USER
Which works represents a fictional universe described in min number of television programs ?
(c(Q386724),P1445,c(Q15416))
action argmin
action find_tuple_counts
relation P1445
type Q386724
type Q15416
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?x ) WHERE { ?r rdf:type ontology:Q386724 . ?b rdf:type ontology:Q15416 . ?r property:P1445 ?b } GROUP BY ?r } . FILTER ( ?x = ?q ) . { SELECT DISTINCT ( MIN ( ?l ) AS ?q ) { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?l ) WHERE { ?y property:P1445 ?p . ?y rdf:type ontology:Q386724 . ?p rdf:type ontology:Q15416 } GROUP BY ?y } } }
action argmin
action find_tuple_counts
relation fictional universe described in
type work
type television program
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?x ) WHERE { ?r rdf:type ontology:work . ?b rdf:type ontology:television_program . ?r property:fictional_universe_described_in ?b } GROUP BY ?r } . FILTER ( ?x = ?q ) . { SELECT DISTINCT ( MIN ( ?l ) AS ?q ) { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?l ) WHERE { ?y property:fictional_universe_described_in ?p . ?y rdf:type ontology:work . ?p rdf:type ontology:television_program } GROUP BY ?y } } }
[]
television program work
Q384426
SYSTEM
Pirates of the Caribbean
Q384426
(c(Q386724),P1445,c(Q15416))
action argmin
action find_tuple_counts
relation P1445
type Q386724
type Q15416
[ANSWER] represents a fictional universe described in min number of television programs
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?x ) WHERE { ?r rdf:type ontology:Q386724 . ?b rdf:type ontology:Q15416 . ?r property:P1445 ?b } GROUP BY ?r } . FILTER ( ?x = ?q ) . { SELECT DISTINCT ( MIN ( ?l ) AS ?q ) { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?l ) WHERE { ?y property:P1445 ?p . ?y rdf:type ontology:Q386724 . ?p rdf:type ontology:Q15416 } GROUP BY ?y } } }
Pirates of the Caribbean
Pirates of the Caribbean represents a fictional universe described in min number of television programs
Pirates of the Caribbean
action argmin
action find_tuple_counts
relation fictional universe described in
type work
type television program
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?x ) WHERE { ?r rdf:type ontology:work . ?b rdf:type ontology:television_program . ?r property:fictional_universe_described_in ?b } GROUP BY ?r } . FILTER ( ?x = ?q ) . { SELECT DISTINCT ( MIN ( ?l ) AS ?q ) { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?l ) WHERE { ?y property:fictional_universe_described_in ?p . ?y rdf:type ontology:work . ?p rdf:type ontology:television_program } GROUP BY ?y } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q82799 Q811430 Q386724
USER
Which works depict max number of names or constructions ?
(c(Q386724),P180,c(Q82799)|c(Q811430))
action argmax
action union
action find_tuple_counts
relation P180
type Q386724
type Q82799
action find_tuple_counts
relation P180
type Q386724
type Q811430
[{'concept': 'Q386724'}, 'P180', [{'concept': 'Q82799'}, {'concept': 'Q811430'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?d WHERE { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:Q82799 ) ( ontology:Q811430 ) } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?r WHERE { { ?r property:P180 ?a . ?a rdf:type ontology:Q811430 . ?r rdf:type ontology:Q386724 } UNION { ?r property:P180 ?a . ?a rdf:type ontology:Q82799 . ?r rdf:type ontology:Q386724 } } GROUP BY ?r } . FILTER ( ?u = ?h ) }
action argmax
action union
action find_tuple_counts
relation depicts
type work
type name
action find_tuple_counts
relation depicts
type work
type construction
[{'concept': 'work'}, 'depicts', [{'concept': 'name'}, {'concept': 'construction'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?d WHERE { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:name ) ( ontology:construction ) } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?r WHERE { { ?r property:depicts ?a . ?a rdf:type ontology:construction . ?r rdf:type ontology:work } UNION { ?r property:depicts ?a . ?a rdf:type ontology:name . ?r rdf:type ontology:work } } GROUP BY ?r } . FILTER ( ?u = ?h ) }
[]
name construction work
Q20667952
SYSTEM
Hunt scene, known as "Alexander's hunt"
Q20667952
(c(Q386724),P180,c(Q82799)|c(Q811430))
action argmax
action union
action find_tuple_counts
relation P180
type Q386724
type Q82799
action find_tuple_counts
relation P180
type Q386724
type Q811430
[ANSWER] depict max number of names or constructions
[{'concept': 'Q386724'}, 'P180', [{'concept': 'Q82799'}, {'concept': 'Q811430'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?d WHERE { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:Q82799 ) ( ontology:Q811430 ) } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?r WHERE { { ?r property:P180 ?a . ?a rdf:type ontology:Q811430 . ?r rdf:type ontology:Q386724 } UNION { ?r property:P180 ?a . ?a rdf:type ontology:Q82799 . ?r rdf:type ontology:Q386724 } } GROUP BY ?r } . FILTER ( ?u = ?h ) }
Hunt scene, known as "Alexander's hunt"
Hunt scene, known as "Alexander's hunt" depict max number of names or constructions
Hunt scene, known as "Alexander's hunt"
action argmax
action union
action find_tuple_counts
relation depicts
type work
type name
action find_tuple_counts
relation depicts
type work
type construction
[{'concept': 'work'}, 'depicts', [{'concept': 'name'}, {'concept': 'construction'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) ?d WHERE { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:name ) ( ontology:construction ) } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) ?r WHERE { { ?r property:depicts ?a . ?a rdf:type ontology:construction . ?r rdf:type ontology:work } UNION { ?r property:depicts ?a . ?a rdf:type ontology:name . ?r rdf:type ontology:work } } GROUP BY ?r } . FILTER ( ?u = ?h ) }
[]