Simple Question (Direct)
Simple Question
Q22946172
P449
Q4830453
USER
Where was The Exorcist originally aired ?
(Q22946172,P449,c(Q4830453))
action filter_type
action find
entity Q22946172
relation P449
type Q4830453
['Q22946172', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?h WHERE { resource:Q22946172 property:P449 ?h . ?h rdf:type ontology:Q4830453 }
The Exorcist
action filter_type
action find
entity The Exorcist
relation original network
type business enterprise
['The Exorcist', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?h WHERE { resource:The_Exorcist property:original_network ?h . ?h rdf:type ontology:business_enterprise }
[]
business enterprise
Q166419
SYSTEM
Fox Broadcasting Company
Q166419
(Q22946172,P449,c(Q4830453))
action filter_type
action find
entity Q22946172
relation P449
type Q4830453
Originally The Exorcist was aired on [ANSWER]
['Q22946172', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?h WHERE { resource:Q22946172 property:P449 ?h . ?h rdf:type ontology:Q4830453 }
Fox Broadcasting Company
Originally The Exorcist was aired on Fox Broadcasting Company
Fox Broadcasting Company
action filter_type
action find
entity The Exorcist
relation original network
type business enterprise
['The Exorcist', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?h WHERE { resource:The_Exorcist property:original_network ?h . ?h rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q166419
P272
Q838948
USER
Which work of art had that business enterprise as the production company ?
(c(Q838948),P272,Q166419)
action filter_type
action find_reverse
entity Q166419
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q166419']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q838948 . ?z property:P272 resource:Q166419 }
Fox Broadcasting Company
action filter_type
action find_reverse
entity Fox Broadcasting Company
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Fox Broadcasting Company']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:work_of_art . ?z property:production_company resource:Fox_Broadcasting_Company }
[]
work of art
Q1134762
SYSTEM
Vanishing Point
Q1134762
(c(Q838948),P272,Q166419)
action filter_type
action find_reverse
entity Q166419
relation P272
type Q838948
[ANSWER] had that business enterprise as the production company
[{'concept': 'Q838948'}, 'P272', 'Q166419']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q838948 . ?z property:P272 resource:Q166419 }
Vanishing Point
Vanishing Point had that business enterprise as the production company
Vanishing Point
action filter_type
action find_reverse
entity Fox Broadcasting Company
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Fox Broadcasting Company']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:work_of_art . ?z property:production_company resource:Fox_Broadcasting_Company }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P669
Q83620 Q34442 Q4830453
USER
How many business enterprises are located on atmost 1 thoroughfares and roads ?
(c(Q4830453),P669,c(Q83620)|c(Q34442))
action count
action atmost
action union
action find_tuple_counts
relation P669
type Q4830453
type Q83620
action find_tuple_counts
relation P669
type Q4830453
type Q34442
value 1
[{'concept': 'Q4830453'}, 'P669', [{'concept': 'Q83620'}, {'concept': 'Q34442'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?o ) WHERE { { ?g rdf:type ontology:Q4830453 . ?t rdf:type ontology:Q83620 . ?g property:P669 ?t } UNION { ?g property:P669 ?t . ?g rdf:type ontology:Q4830453 . ?t rdf:type ontology:Q34442 } } GROUP BY ?g } . FILTER ( ?o <= 1 ) }
action count
action atmost
action union
action find_tuple_counts
relation located on street
type business enterprise
type thoroughfare
action find_tuple_counts
relation located on street
type business enterprise
type road
value 1
[{'concept': 'business enterprise'}, 'located on street', [{'concept': 'thoroughfare'}, {'concept': 'road'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?o ) WHERE { { ?g rdf:type ontology:business_enterprise . ?t rdf:type ontology:thoroughfare . ?g property:located_on_street ?t } UNION { ?g property:located_on_street ?t . ?g rdf:type ontology:business_enterprise . ?t rdf:type ontology:road } } GROUP BY ?g } . FILTER ( ?o <= 1 ) }
[]
thoroughfare road business enterprise
SYSTEM
81
Q1445889 Q1814421 Q20639997 Q7923183 Q868676 Q21572088 Q8170993 Q21091929 Q478198 Q7942714 Q2611788 Q618114 Q4642366 Q6405710 Q21936680 Q1338260 Q18510527 Q15213226 Q82844 Q15213228 Q6455598 Q2933008 Q23766764 Q21855786 Q14256548 Q5244479 Q23831010 Q8030339 Q16899836 Q6737029 Q3279981 Q6455605 Q16707726 Q7428154 Q1810254 Q23010011 Q2749941 Q4414294 Q20747576 Q21571745 Q16323650 Q6507353 Q5278252 Q2001137 Q2304666 Q1025686 Q17300203 Q1025688 Q6455533 Q23013754 Q15043405 Q6465803 Q2329566 Q22343504 Q22998530 Q15213237 Q6420169 Q3079972 Q2894308 Q20871303 Q2521084 Q751293 Q5997415 Q17303726 Q21571874 Q6906314 Q7477293 Q17233276 Q24090630 Q171475 Q2896854 Q1071456 Q15260209 Q3394227 Q5492658 Q48592 Q21857804 Q6506699 Q21561336 Q21571760 Q21561334
(c(Q4830453),P669,c(Q83620)|c(Q34442))
action count
action atmost
action union
action find_tuple_counts
relation P669
type Q4830453
type Q83620
action find_tuple_counts
relation P669
type Q4830453
type Q34442
value 1
[ANSWER]
[{'concept': 'Q4830453'}, 'P669', [{'concept': 'Q83620'}, {'concept': 'Q34442'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?o ) WHERE { { ?g rdf:type ontology:Q4830453 . ?t rdf:type ontology:Q83620 . ?g property:P669 ?t } UNION { ?g property:P669 ?t . ?g rdf:type ontology:Q4830453 . ?t rdf:type ontology:Q34442 } } GROUP BY ?g } . FILTER ( ?o <= 1 ) }
ラ・クーポール Parkheuvel La Bici / Eetcafe 't Fietske Veselka Café de la Rotonde Kokotxa 't Koetshuis Blok's Restaurant InterContinental Amstel Amsterdam Vreugd en Rust Katz's Delicatessen 21 Club 68–86 Bar and Restaurant Kiev Restaurant Krog's Fish Restaurant Tour d'Argent The Landmark Tavern De Gieser Wildeman Olo De Heer Kocken L'Arpège Café de la Paix MR Restaurant Puk Restaurant Kasteel Heemstede De Kromme Dissel Restaurant Godt Wollerich Schathoes Verhildersum Maison Cartier Maison dorée L'As du Fallafel Crocker's Folly Savelberg Le Train Bleu Joelia The Dorchester Kraantje Lek 't Vlasbloemeken Etxanobe Grønbech & Churchill Le Mérinos d'Or Dingo Bar De Stenen Tafel De Kromme Watergang Café de Flore Wolfslaar Café de la Nouvelle Athènes L'Ambroisie Studio Kokkeriet La Vilette Carelshaven Zarzo Restaurant Relæ De Molen Klein Paardenburg Fouquet's Carnegie Deli Auberge Kasteel Wittem Café Procope Ile de France Au chien qui fume Zortziko Montreal Pool Room Dikker & Thijs Het Jachthuis Hoog Soeren S & J Fuller Herberg Onder de Linden Le Grand Véfour Chez Chartier Muller Polidor Frantzén Noma Sct. Oluf Le Chateaubriand Zarate Nerua Aizian
81
action count
action atmost
action union
action find_tuple_counts
relation located on street
type business enterprise
type thoroughfare
action find_tuple_counts
relation located on street
type business enterprise
type road
value 1
[{'concept': 'business enterprise'}, 'located on street', [{'concept': 'thoroughfare'}, {'concept': 'road'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?o ) WHERE { { ?g rdf:type ontology:business_enterprise . ?t rdf:type ontology:thoroughfare . ?g property:located_on_street ?t } UNION { ?g property:located_on_street ?t . ?g rdf:type ontology:business_enterprise . ?t rdf:type ontology:road } } GROUP BY ?g } . FILTER ( ?o <= 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q166419
P449 P495
Q15416
USER
Which television programs were the television programs that were originally telecasted by Fox Broadcasting Company and originate at United States of America ?
AND((c(Q15416),P449,Q166419), (c(Q15416),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q166419
relation P449
action find_reverse
entity Q30
relation P495
type Q15416
{'AND': [[{'concept': 'Q15416'}, 'P449', 'Q166419'], [{'concept': 'Q15416'}, 'P495', 'Q30']]}
SELECT DISTINCT ?b WHERE { ?b property:P449 resource:Q166419 . ?b property:P495 resource:Q30 . ?b rdf:type ontology:Q15416 }
United States of America Fox Broadcasting Company
action filter_type
action intersection
action find_reverse
entity Fox Broadcasting Company
relation original network
action find_reverse
entity United States of America
relation country of origin
type television program
{'AND': [[{'concept': 'television program'}, 'original network', 'Fox Broadcasting Company'], [{'concept': 'television program'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?b WHERE { ?b property:original_network resource:Fox_Broadcasting_Company . ?b property:country_of_origin resource:United_States_of_America . ?b rdf:type ontology:television_program }
[]
television program
Q5208006 Q5174583 Q1917985 Q2544069 Q62564 Q94713 Q217271 Q7728038 Q5375587 Q13217606
SYSTEM
Some of them are Daddy Dearest, Cosmos: A Spacetime Odyssey, My Big Fat Obnoxious Fiance, Keen Eddie, The Mindy Project, Terminator: The Sarah Connor Chronicles, season 3 of 24, The Crew, Encounters, Almost Human
Q2305986 Q946806 Q980954 Q80044 Q3862549 Q175627 Q3959059 Q786090 Q1064766 Q260213 Q1048363 Q1210824 Q3814874 Q19842935 Q8964141 Q1714150 Q1139174 Q1090807 Q2669902 Q3283367 Q3965503 Q6899198 Q16996367 Q16992512 Q3368434 Q1999260 Q1189631 Q1998151 Q23558 Q6911189 Q837622 Q7773395 Q950686 Q1467732 Q674233 Q217273 Q217271 Q4985991 Q643994 Q1908594 Q2531243 Q2296287 Q7091416 Q3283065 Q2365988 Q1327957 Q682214 Q3283173 Q568093 Q1190808 Q3224719 Q7380004 Q4691083 Q498663 Q1477859 Q1530081 Q1299293 Q218591 Q10852915 Q1340065 Q4907844 Q3297839 Q2742622 Q13219920 Q6369449 Q3284340 Q6896480 Q1657257 Q6918547 Q5174583 Q3987522 Q2012833 Q7830193 Q217266 Q3794862 Q19264077 Q16949292 Q7642285 Q7383945 Q7279259 Q5500047 Q7721548 Q5469384 Q687329 Q6806690 Q2571162 Q3866713 Q6859739 Q966757 Q3973563 Q474246 Q208072 Q7979431 Q3307360 Q3222108 Q3644775 Q982786 Q4897043 Q2633079 Q673517 Q729265 Q19900623 Q214016 Q3988779 Q734904 Q201052 Q15072924 Q6952487 Q684833 Q7997411 Q3772456 Q3815 Q7728038 Q15102520 Q16890790 Q248972 Q7512111 Q2327796 Q7353650 Q2723345 Q8000736 Q5914776 Q62564 Q2823636 Q962225 Q217279 Q7443163 Q15070582 Q13417243 Q4634534 Q17029455 Q13417246 Q13417244 Q967812 Q1252173 Q16735880 Q5208006 Q6954074 Q2336020 Q5375587 Q3211503 Q1218201 Q15483532 Q16838997 Q152178 Q25182 Q1012139 Q6503625 Q467565 Q516510 Q7736166 Q844059 Q7761469 Q17007751 Q194427 Q7679883 Q2920660 Q1216882 Q5302911 Q1190075 Q3038561 Q2164808 Q377738 Q940089 Q6945025 Q302087 Q1126525 Q7722025 Q20735584 Q2058447 Q6953774 Q463655 Q2913369 Q117590 Q3795102 Q797907 Q1074990 Q3897505 Q26233770 Q4905562 Q752102 Q2544069 Q5476841 Q2842870 Q3552995 Q24070370 Q8067624 Q4117016 Q973173 Q19904556 Q3682106 Q2690493 Q207803 Q2740800 Q15102517 Q94713 Q652626 Q1715205 Q3283336 Q7677710 Q1247377 Q3083436 Q2269054 Q4744282 Q2438494 Q3045566 Q632022 Q19904394 Q2632082 Q1325997 Q18810169 Q16954099 Q3051963 Q34669 Q762025 Q217277 Q4743993 Q697388 Q7839803 Q6875373 Q17014829 Q22946172 Q7713467 Q753762 Q834560 Q16516337 Q13217606 Q1917985 Q1143570 Q1201030 Q846645 Q894582 Q3835569 Q2744 Q242596 Q2984085 Q2601130 Q22023183 Q3986748 Q39719 Q208647 Q7932637 Q5151776 Q4726458 Q4975654 Q569934 Q1543227 Q1511098 Q3086757 Q16993210 Q5476652 Q1502600 Q7105828 Q1397802 Q3089017 Q5689123 Q3210494 Q21450483 Q3230775 Q1784093 Q1424364 Q2697049 Q1783207 Q336240 Q7803245 Q16873776 Q16548477 Q550238 Q15726959 Q578623 Q244803 Q925013 Q3773363 Q16996771 Q4943812 Q16867394 Q3978549 Q2111975 Q2909304 Q696289 Q3519927 Q1066317 Q6547284 Q1198068 Q2048631 Q2836862 Q4869960 Q4807075 Q7722378 Q593857 Q217283 Q6712143 Q598492 Q4998843 Q17035167 Q16991908 Q7758103 Q11598 Q1996959 Q589187 Q17632816 Q5212796 Q6691646 Q379004 Q2072871 Q910579 Q19520525 Q7992822 Q1984036 Q56194 Q15072804 Q1400206 Q2616676 Q865612 Q613834 Q6886649 Q11622
AND((c(Q15416),P449,Q166419), (c(Q15416),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q166419
relation P449
action find_reverse
entity Q30
relation P495
type Q15416
[ANSWERS] were the television programs that were originally telecasted by Fox Broadcasting Company and originate at United States of America
{'AND': [[{'concept': 'Q15416'}, 'P449', 'Q166419'], [{'concept': 'Q15416'}, 'P495', 'Q30']]}
SELECT DISTINCT ?b WHERE { ?b property:P449 resource:Q166419 . ?b property:P495 resource:Q30 . ?b rdf:type ontology:Q15416 }
Opposite Sex Touch Duet Prison Break Monty Day 8 Shaky Ground Silver Surfer MADtv Breaking the Magician's Code: Magic's Biggest Secrets Finally Revealed Party of Five The Adventures of Brisco County, Jr. Key West Houdini and Doyle Girls Club (TV series) Justice Killer Instinct MasterChef Pasadena The Sinbad Show South Central Money Talks News I Wanna Marry "Harry" Empire Past Life Breaking In The Following Power Rangers Zeo House More to Love Stargate Infinity The Wanda Sykes Show Skin Oliver Beene North Shore season 4 of 24 season 3 of 24 Buffy the Animated Series Power Rangers in Space Get a Life Kitchen Nightmares The Chicago Code On the Lot Do Not Disturb Harsh Realm The Avengers: United They Stand It's Your Chance of a Lifetime Happy Hour Virtuality Mental Andy Richter Controls the Universe Running Wilde Against the Law Ben and Kate Millennium Traffic Light 'Til Death Terra Nova Hole in the Wall X-MEN Bill & Ted's Excellent Adventures MasterChef Junior Attack of the Killer Tomatoes Sleepy Hollow Karen's Song Partners Molloy Point Pleasant Motown Live Cosmos: A Spacetime Odyssey The Heights Toonsylvania Townsend Television season 2 of 24 Pocket Dragon Adventures World's Funniest Fails Love Cruise Super Dave: Daredevil for Hire Ryan Caulfield: Year One Rachel Gunn, R.N. Free Ride The Casino Forever Eden Kindred: The Embraced Medicine Ball Droopy, Master Detective Mowgli: The New Adventures of the Jungle Book Million Dollar Challenge The Goodwin Games Still Life Get Real That '70s Show Weekend Marketplace Method & Red Brimstone The Outsiders The Oaks Best of the Worst Sit Down, Shut Up Batman: The Animated Series Space: Above and Beyond Second Chance 21 Jump Street The Plucky Duck Show K-Ville American Idol Gang Related (TV series) NASCAR Racers Life with Louie Who Wants to Marry a Multi-Millionaire? Glory Days Fringe The Crew Surviving Jack Hieroglyph (TV series) Tom and Jerry Kids Sightings Time of Your Life Roc Mad Jack the Pirate Wild Oats House of Buggin' The Mindy Project Action The Wedding Bells season 6 of 24 Second Chance Us & Them Dads 30 Seconds to Fame Riot Enlisted Brooklyn Nine-Nine John Doe Hotel Hell 26th season of The Simpsons Daddy Dearest NHL on Fox The Visitor Encounters Little Shop The Lone Gunmen 24: Live Another Day Fox NFL Sunday Glee Lie to Me Hell's Kitchen Lawless America's Most Wanted Nanny 911 The George Carlin Show New Girl The Rookie Mulaney The O.C. Talkshow with Spike Feresten Profit The Tracey Ullman Show Down and Out in Beverly Hills The Mob Doctor Little Drac Titus The Inside The X Factor My Big Fat Obnoxious Boss Beyond Belief: Fact or Fiction Roar The Chamber Knock Knock Live Popeye's Voyage: The Quest for Pappy NFL on Fox Undeclared Significant Others Beverly Hills, 90210 Danger Theatre Cops Parker Lewis Can't Lose Klutter! Voices That Care Big Deal Booker Keen Eddie Fox News Sunday American Chronicles VR.5 Lethal Weapon (TV series) Zazoo U Celebrity Duets Reunion Rosewood L.A. Firefighters Get Smart Bones The Return of Jezebel James Rake (2013 TV series) Terminator: The Sarah Connor Chronicles Ned & Stacey Vanished The Jury Take Me Out New Amsterdam The PJs Night Visions American Juniors In Living Color Are You Smarter than a 5th Grader? Dollhouse Minority Report Sons of Tucson Greg the Bunny Scream Queens Murder in Small Town X Swamp Thing Raising Hope The Mystic Knights of Tir Na Nog season 5 of 24 American High Tru Calling TriBeCa Misery Loves Company My Wildest Dreams The Exorcist The American Embassy The X-Files (season 1) Alcatraz Million Dollar Money Drop Almost Human My Big Fat Obnoxious Fiance Futurama (season 3) Eek! The Cat Canterbury's Law Boston Public Living Single The X-Files Malcolm in the Middle Drive Pacific Palisades MasterChef, U.S. season 7 The Edge New York Undercover Married... with Children Vinnie & Bobby Comic Strip Live Alien Racers Brothers Spider-Man Grounded for Life Human Target FreakyLinks Gracepoint Fox College Football Student Bodies Osbournes Reloaded Fastlane I Hate My Teenage Daughter Head Cases Werewolf The Rocky Horror Picture Show The New Adventures of Beans Baxter Joe Millionaire Jonny Zero Normal, Ohio Saturday Night's Main Event Doctor Who Bratz (TV series) Red Band Society Backstrom Melrose Place Gotham Dark Angel Ally McBeal Unhitched Good Grief In the Flow with Affion Crockett Boot Camp Wayward Pines Bakersfield P.D. Back to You Boldly Going Nowhere The Simple Life The Ben Stiller Show Standoff Likely Suspects The Finder Stacked Mighty Morphin Alien Rangers BattleTech: The Animated Series Ask Harriet The Chevy Chase Show Wonderfalls season 7 of 24 M.A.N.T.I.S. Models Inc. Buried Treasure Weird Loners Does Someone Have to Go? The Preston Episodes Arrested Development Strange Luck Sliders The Invaders Damon Love and Marriage The War at Home The $treet The Good Guys Lucifer When Women Rule the World Lone Star 24 Class of '96 Alien Nation Where on Earth Is Carmen Sandiego? So You Think You Can Dance The Secret Files of the Spy Dogs Mobbed Firefly
Daddy Dearest, Cosmos: A Spacetime Odyssey, My Big Fat Obnoxious Fiance, Keen Eddie, The Mindy Project, Terminator: The Sarah Connor Chronicles, season 3 of 24, The Crew, Encounters and Almost Human were the television programs that were originally telecasted by Fox Broadcasting Company and originate at United States of America
Daddy Dearest Cosmos: A Spacetime Odyssey My Big Fat Obnoxious Fiance Keen Eddie The Mindy Project Terminator: The Sarah Connor Chronicles season 3 of 24 The Crew Encounters Almost Human
action filter_type
action intersection
action find_reverse
entity Fox Broadcasting Company
relation original network
action find_reverse
entity United States of America
relation country of origin
type television program
{'AND': [[{'concept': 'television program'}, 'original network', 'Fox Broadcasting Company'], [{'concept': 'television program'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?b WHERE { ?b property:original_network resource:Fox_Broadcasting_Company . ?b property:country_of_origin resource:United_States_of_America . ?b rdf:type ontology:television_program }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q15731902
P1445
Q15416 Q386724
USER
Which works are set up by approximately the same number of television programs as Aladdin media franchise ?
(c(Q386724),P1445,c(Q15416))
action approx
action find_tuple_counts
relation P1445
type Q386724
type Q15416
action count
action filter_type
action find
entity Q15731902
relation P1445
type Q386724
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?e ) WHERE { ?p property:P1445 ?k . ?p rdf:type ontology:Q386724 . ?k rdf:type ontology:Q15416 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:Q15731902 property:P1445 ?a . ?a rdf:type ontology:Q386724 } } . FILTER ( ?e = ?z ) }
Aladdin media franchise
action approx
action find_tuple_counts
relation fictional universe described in
type work
type television program
action count
action filter_type
action find
entity Aladdin media franchise
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?e ) WHERE { ?p property:fictional_universe_described_in ?k . ?p rdf:type ontology:work . ?k rdf:type ontology:television_program } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:Aladdin_media_franchise property:fictional_universe_described_in ?a . ?a rdf:type ontology:work } } . FILTER ( ?e = ?z ) }
[]
television program work
Q384426 Q15731902 Q11927
SYSTEM
Pirates of the Caribbean, Aladdin media franchise, Stargate
Q15731902 Q11927 Q3177580 Q384426
(c(Q386724),P1445,c(Q15416))
action approx
action find_tuple_counts
relation P1445
type Q386724
type Q15416
action count
action filter_type
action find
entity Q15731902
relation P1445
type Q386724
[ANSWERS] are set up by approximately the same number of television programs as Aladdin media franchise
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?e ) WHERE { ?p property:P1445 ?k . ?p rdf:type ontology:Q386724 . ?k rdf:type ontology:Q15416 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:Q15731902 property:P1445 ?a . ?a rdf:type ontology:Q386724 } } . FILTER ( ?e = ?z ) }
Aladdin media franchise Stargate The Walking Dead Pirates of the Caribbean
Pirates of the Caribbean, Aladdin media franchise and Stargate are set up by approximately the same number of television programs as Aladdin media franchise
Pirates of the Caribbean Aladdin media franchise Stargate
action approx
action find_tuple_counts
relation fictional universe described in
type work
type television program
action count
action filter_type
action find
entity Aladdin media franchise
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?k ) AS ?e ) WHERE { ?p property:fictional_universe_described_in ?k . ?p rdf:type ontology:work . ?k rdf:type ontology:television_program } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:Aladdin_media_franchise property:fictional_universe_described_in ?a . ?a rdf:type ontology:work } } . FILTER ( ?e = ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1203222
P1445
Q15416 Q386724
USER
And also tell me about Shrek?
(c(Q386724),P1445,c(Q15416))
action approx
action find_tuple_counts
relation P1445
type Q386724
type Q15416
action count
action filter_type
action find
entity Q1203222
relation P1445
type Q386724
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?d ) WHERE { ?k property:P1445 ?q . ?k rdf:type ontology:Q386724 . ?q rdf:type ontology:Q15416 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Q1203222 property:P1445 ?b . ?b rdf:type ontology:Q386724 } } . FILTER ( ?d = ?v ) }
Shrek
action approx
action find_tuple_counts
relation fictional universe described in
type work
type television program
action count
action filter_type
action find
entity Shrek
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?d ) WHERE { ?k property:fictional_universe_described_in ?q . ?k rdf:type ontology:work . ?q rdf:type ontology:television_program } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Shrek property:fictional_universe_described_in ?b . ?b rdf:type ontology:work } } . FILTER ( ?d = ?v ) }
[]
television program work
Q1203222 Q3177580
SYSTEM
Shrek, The Walking Dead
Q1203222 Q3177580
(c(Q386724),P1445,c(Q15416))
action approx
action find_tuple_counts
relation P1445
type Q386724
type Q15416
action count
action filter_type
action find
entity Q1203222
relation P1445
type Q386724
[ANSWERS]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?d ) WHERE { ?k property:P1445 ?q . ?k rdf:type ontology:Q386724 . ?q rdf:type ontology:Q15416 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Q1203222 property:P1445 ?b . ?b rdf:type ontology:Q386724 } } . FILTER ( ?d = ?v ) }
Shrek The Walking Dead
Shrek The Walking Dead
action approx
action find_tuple_counts
relation fictional universe described in
type work
type television program
action count
action filter_type
action find
entity Shrek
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?d ) WHERE { ?k property:fictional_universe_described_in ?q . ?k rdf:type ontology:work . ?q rdf:type ontology:television_program } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Shrek property:fictional_universe_described_in ?b . ?b rdf:type ontology:work } } . FILTER ( ?d = ?v ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1203222 Q1375
P1441
Q15707583
USER
How many fictional taxons are present in Shrek or Dungeons & Dragons ?
(c(Q15707583),P1441,Q1203222) (c(Q15707583),P1441,Q1375)
action count
action union
action filter_type
action find_reverse
entity Q1203222
relation P1441
type Q15707583
action filter_type
action find_reverse
entity Q1375
relation P1441
type Q15707583
[{'concept': 'Q15707583'}, 'P1441', 'Q1203222'] [{'concept': 'Q15707583'}, 'P1441', 'Q1375']
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { ?i property:P1441 resource:Q1203222 . ?i rdf:type ontology:Q15707583 } UNION { ?i property:P1441 resource:Q1375 . ?i rdf:type ontology:Q15707583 } }
Shrek Dungeons & Dragons
action count
action union
action filter_type
action find_reverse
entity Shrek
relation present in work
type fictional taxon
action filter_type
action find_reverse
entity Dungeons & Dragons
relation present in work
type fictional taxon
[{'concept': 'fictional taxon'}, 'present in work', 'Shrek'] [{'concept': 'fictional taxon'}, 'present in work', 'Dungeons & Dragons']
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { ?i property:present_in_work resource:Shrek . ?i rdf:type ontology:fictional_taxon } UNION { ?i property:present_in_work resource:Dungeons_&_Dragons . ?i rdf:type ontology:fictional_taxon } }
[]
fictional taxon
SYSTEM
8
Q1089054 Q5446120 Q13581004 Q4390702 Q3621819 Q6543175 Q3772698 Q6527819
(c(Q15707583),P1441,Q1203222) (c(Q15707583),P1441,Q1375)
action count
action union
action filter_type
action find_reverse
entity Q1203222
relation P1441
type Q15707583
action filter_type
action find_reverse
entity Q1375
relation P1441
type Q15707583
[ANSWER]
[{'concept': 'Q15707583'}, 'P1441', 'Q1203222'] [{'concept': 'Q15707583'}, 'P1441', 'Q1375']
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { ?i property:P1441 resource:Q1203222 . ?i rdf:type ontology:Q15707583 } UNION { ?i property:P1441 resource:Q1375 . ?i rdf:type ontology:Q15707583 } }
undead Fey giant character race in Dungeons & Dragons archon lich Goblin Leprechaun
8
action count
action union
action filter_type
action find_reverse
entity Shrek
relation present in work
type fictional taxon
action filter_type
action find_reverse
entity Dungeons & Dragons
relation present in work
type fictional taxon
[{'concept': 'fictional taxon'}, 'present in work', 'Shrek'] [{'concept': 'fictional taxon'}, 'present in work', 'Dungeons & Dragons']
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { ?i property:present_in_work resource:Shrek . ?i rdf:type ontology:fictional_taxon } UNION { ?i property:present_in_work resource:Dungeons_&_Dragons . ?i rdf:type ontology:fictional_taxon } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q166419
P664
Q1656682
USER
Who event did Fox Broadcasting Company serve as the organizer for ?
(c(Q1656682),P664,Q166419)
action filter_type
action find_reverse
entity Q166419
relation P664
type Q1656682
[{'concept': 'Q1656682'}, 'P664', 'Q166419']
SELECT DISTINCT ?h WHERE { ?h property:P664 resource:Q166419 . ?h rdf:type ontology:Q1656682 }
Fox Broadcasting Company
action filter_type
action find_reverse
entity Fox Broadcasting Company
relation organizer
type event
[{'concept': 'event'}, 'organizer', 'Fox Broadcasting Company']
SELECT DISTINCT ?h WHERE { ?h property:organizer resource:Fox_Broadcasting_Company . ?h rdf:type ontology:event }
[]
event
Q391629
SYSTEM
Teen Choice Awards
Q391629
(c(Q1656682),P664,Q166419)
action filter_type
action find_reverse
entity Q166419
relation P664
type Q1656682
Fox Broadcasting Company served as the organizer for the [ANSWER] event
[{'concept': 'Q1656682'}, 'P664', 'Q166419']
SELECT DISTINCT ?h WHERE { ?h property:P664 resource:Q166419 . ?h rdf:type ontology:Q1656682 }
Teen Choice Awards
Fox Broadcasting Company served as the organizer for the Teen Choice Awards event
Teen Choice Awards
action filter_type
action find_reverse
entity Fox Broadcasting Company
relation organizer
type event
[{'concept': 'event'}, 'organizer', 'Fox Broadcasting Company']
SELECT DISTINCT ?h WHERE { ?h property:organizer resource:Fox_Broadcasting_Company . ?h rdf:type ontology:event }
[]