Simple Question (Direct)
Simple Question
Q2915485
P136
Q1792379
USER
What can be considered as category for O Jerusalem ?
(Q2915485,P136,c(Q1792379))
action filter_type
action find
entity Q2915485
relation P136
type Q1792379
['Q2915485', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?a WHERE { resource:Q2915485 property:P136 ?a . ?a rdf:type ontology:Q1792379 }
O Jerusalem
action filter_type
action find
entity O Jerusalem
relation genre
type art genre
['O Jerusalem', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?a WHERE { resource:O_Jerusalem property:genre ?a . ?a rdf:type ontology:art_genre }
[]
art genre
Q130232
SYSTEM
drama film
Q130232
(Q2915485,P136,c(Q1792379))
action filter_type
action find
entity Q2915485
relation P136
type Q1792379
The [ANSWER] can be considered as category for O Jerusalem
['Q2915485', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?a WHERE { resource:Q2915485 property:P136 ?a . ?a rdf:type ontology:Q1792379 }
drama film
The drama film can be considered as category for O Jerusalem
drama film
action filter_type
action find
entity O Jerusalem
relation genre
type art genre
['O Jerusalem', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?a WHERE { resource:O_Jerusalem property:genre ?a . ?a rdf:type ontology:art_genre }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1441
Q838948 Q95074 Q15707583
USER
Which works of art contain min number of fictional characters and fictional taxons ?
(c(Q95074)|c(Q15707583),P1441,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15707583
[[{'concept': 'Q95074'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?f = ?q ) . { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?f ) WHERE { ?s rdf:type ?v . VALUES ( ?v ) { ( ontology:Q95074 ) ( ontology:Q15707583 ) } } GROUP BY ?u } . { SELECT DISTINCT ( MIN ( ?b ) AS ?q ) { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?b ) WHERE { { ?y property:P1441 ?j . ?j rdf:type ontology:Q838948 . ?y rdf:type ontology:Q95074 } UNION { ?y property:P1441 ?j . ?j rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15707583 } } GROUP BY ?j } } }
action argmin
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional character
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional taxon
[[{'concept': 'fictional character'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?f = ?q ) . { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?f ) WHERE { ?s rdf:type ?v . VALUES ( ?v ) { ( ontology:fictional_character ) ( ontology:fictional_taxon ) } } GROUP BY ?u } . { SELECT DISTINCT ( MIN ( ?b ) AS ?q ) { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?b ) WHERE { { ?y property:present_in_work ?j . ?j rdf:type ontology:work_of_art . ?y rdf:type ontology:fictional_character } UNION { ?y property:present_in_work ?j . ?j rdf:type ontology:work_of_art . ?y rdf:type ontology:fictional_taxon } } GROUP BY ?j } } }
[]
work of art fictional character fictional taxon
Q134773 Q104123 Q466611
SYSTEM
Forrest Gump, Pulp Fiction, The Incredible Hulk
Q86440 Q3512046 Q1002100 Q164813 Q190588 Q6072886 Q4205355 Q2875 Q28234 Q1140272 Q15220567 Q941944 Q195261 Q1507513 Q7750966 Q3273477 Q204398 Q327713 Q309289 Q130283 Q512415 Q182692 Q2566505 Q786019 Q46717 Q25043 Q18822138 Q215750 Q171453 Q15990861 Q1171556 Q181803 Q388360 Q54274 Q5095462 Q7756461 Q1139454 Q102754 Q7742105 Q484675 Q158759 Q26154237 Q842106 Q332387 Q16937096 Q24815 Q22957393 Q4655870 Q134773 Q27587130 Q58972 Q458629 Q388319 Q15304052 Q332368 Q7283713 Q230558 Q1196177 Q230552 Q886675 Q385798 Q1765358 Q108543 Q506418 Q3211484 Q132351 Q628154 Q28891 Q1248487 Q2527293 Q1293934 Q181598 Q431140 Q384508 Q15043347 Q934036 Q2891244 Q107894 Q1229857 Q51416 Q784444 Q714941 Q200873 Q177930 Q2806739 Q1196264 Q4253250 Q64110 Q592457 Q370326 Q741878 Q83186 Q743194 Q18031184 Q27061795 Q7707180 Q475693 Q218458 Q181795 Q42051 Q2345 Q464933 Q195710 Q466611 Q171669 Q6481017 Q20921603 Q161087 Q659037 Q1355072 Q17509388 Q881000 Q436988 Q939143 Q1192536 Q23010088 Q212792 Q14775069 Q431660 Q844836 Q426828 Q1140762 Q883197 Q1232349 Q72276 Q1147689 Q24272881 Q16781911 Q8561227 Q1420651 Q320423 Q467053 Q2855777 Q2207300 Q302490 Q1364029 Q1271824 Q961492 Q903819 Q2497086 Q183304 Q7561043 Q841114 Q844296 Q836298 Q50861 Q3039787 Q631855 Q1433571 Q106871 Q505790 Q759383 Q471746 Q1050533 Q1649282 Q538438 Q16997069 Q748030 Q106571 Q2363062 Q18402 Q130851 Q222939 Q951949 Q2386746 Q212145 Q221236 Q977372 Q483941 Q10350033 Q105702 Q245227 Q4189330 Q1102396 Q220713 Q26970 Q309366 Q1166264 Q137109 Q2340655 Q1167434 Q303040 Q1710012 Q220591 Q466781 Q334780 Q1471358 Q1048916 Q785461 Q650063 Q181540 Q14942871 Q1469426 Q2836733 Q494048 Q105598 Q4208812 Q107724 Q4208814 Q19842746 Q2247470 Q2296376 Q1248429 Q19089 Q1046295 Q1749553 Q466423 Q23823458 Q1304560 Q1595630 Q1962426 Q7774950 Q41567 Q2608065 Q548303 Q24871 Q753907 Q2568261 Q1102220 Q124612 Q160618 Q180279 Q1971726 Q1122571 Q550558 Q635632 Q497850 Q3031303 Q1075182 Q165325 Q543403 Q1198611 Q1059703 Q176568 Q1325828 Q641492 Q165713 Q626483 Q26833 Q746733 Q740143 Q167726 Q156539 Q518863 Q106440 Q641362 Q33191 Q123742 Q2293972 Q1217234 Q18067135 Q665446 Q1758112 Q4941 Q19590955 Q302174 Q3754344 Q245172 Q18200409 Q104814 Q3311826 Q387674 Q337078 Q536139 Q637021 Q169082 Q7741587 Q26904729 Q21403132 Q507994 Q1125262 Q1639322 Q332330 Q20711488 Q969098 Q726464 Q14513321 Q206400 Q284641 Q114819 Q19689203 Q83656 Q1306939 Q105624 Q1057015 Q807742 Q27566067 Q8873426 Q109331 Q1540124 Q207698 Q3739484 Q80379 Q5901134 Q1749311 Q2081291 Q1158528 Q1209853 Q1888547 Q107761 Q18786433 Q207916 Q174385 Q23780734 Q971630 Q490464 Q170250 Q421777 Q161687 Q47075 Q184843 Q272064 Q156597 Q263460 Q1316253 Q153723 Q105993 Q110206 Q1193096 Q7558541 Q22000000 Q554843 Q776302 Q949228 Q302682 Q5466971 Q23781129 Q729782 Q1125566 Q525128 Q18703028 Q19481099 Q2003850 Q1211716 Q6402953 Q532006 Q691611 Q2090255 Q2529482 Q16254109 Q628851 Q27204 Q515931 Q2836545 Q1330582 Q477865 Q753298 Q156608 Q1616185 Q107226 Q181086 Q590098 Q1141727 Q662342 Q288173 Q19648591 Q2419344 Q2257944 Q502153 Q307620 Q1354162 Q470665 Q3024211 Q1193324 Q504697 Q184768 Q15005 Q318975 Q1168778 Q275120 Q636038 Q154581 Q1224659 Q226944 Q777591 Q624603 Q107914 Q773293 Q329127 Q1105359 Q13582568 Q3114616 Q15713892 Q248775 Q280186 Q13091172 Q819972 Q221211 Q4752758 Q474033 Q30931 Q47221 Q15624215 Q1189436 Q868483 Q277080 Q3522637 Q58439 Q17738 Q19264018 Q118713 Q268824 Q673153 Q1305497 Q458852 Q3522995 Q1187607 Q835650 Q1583966 Q18815806 Q237572 Q495954 Q211009 Q3519310 Q3282983 Q478626 Q106316 Q815550 Q18170549 Q7913393 Q858508 Q209170 Q3282491 Q749624 Q591272 Q1741232 Q24953 Q388873 Q158559 Q205447 Q833292 Q1146570 Q612323 Q3489000 Q174811 Q151904 Q7768400 Q339693 Q103569 Q25167044 Q1617874 Q3298599 Q2306995 Q590216 Q2364439 Q458314 Q156519 Q1471230 Q1057584 Q3120992 Q612740 Q1757288 Q192979 Q1367163 Q1609444 Q15715647 Q17103010 Q608261 Q309086 Q223163 Q1467237 Q226773 Q1759684 Q183555 Q102244 Q190050 Q1196673 Q673198 Q1322906 Q7752052 Q464716 Q1140085 Q587921 Q1249536 Q567298 Q722682 Q18167809 Q2406987 Q1192024 Q18602670 Q1192189 Q722267 Q1178292 Q181069 Q104123 Q15040681 Q3476432 Q263930
(c(Q95074)|c(Q15707583),P1441,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15707583
[ANSWERS] contain min number of fictional characters and fictional taxons
[[{'concept': 'Q95074'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?f = ?q ) . { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?f ) WHERE { ?s rdf:type ?v . VALUES ( ?v ) { ( ontology:Q95074 ) ( ontology:Q15707583 ) } } GROUP BY ?u } . { SELECT DISTINCT ( MIN ( ?b ) AS ?q ) { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?b ) WHERE { { ?y property:P1441 ?j . ?j rdf:type ontology:Q838948 . ?y rdf:type ontology:Q95074 } UNION { ?y property:P1441 ?j . ?j rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15707583 } } GROUP BY ?j } } }
The Tempest Jurassic World Miracle at St. Anna Perfume: The Story of a Murderer Love Actually Perros callejeros Ethan Frome Gone with the Wind Les Misérables Soul Food Run All Night Popeye Business is business Tremors 3: Back to Perfection The Memorandum Ma and Pa Kettle Octopussy Men in Black 3 The Man with the Golden Gun Macbeth Macross Frontier Apocalypse Now Father of the Bride The Haunting Pirates of the Caribbean: The Curse of the Black Pearl Monty Python and the Holy Grail Creed Julius Caesar Transformers Za-la-mort Cradle Will Rock Star Wars Episode VI: Return of the Jedi National Treasure: Book of Secrets Pirates of the Caribbean: At World's End Chicago The Pee-wee Herman Show The Straight Story Dr. No The Innocent Léon: The Professional Unknown Descendants 2 A Streetcar Named Desire The Taming of the Shrew Pride Citizen Kane Ant-Man and the Wasp A Chinese Tall Story Forrest Gump Sworn to Silence Masters of the Universe Billy Elliot Star Trek: Nemesis Pokémon the Movie: Diancie and the Cocoon of Destruction A View to a Kill Raid Homeward Bound: The Incredible Journey Son of Flubber Back to the Future Part III My Bloody Valentine Under Siege Captain America: The Winter Soldier Alien 3 The Princess Bride Me Two The Usual Suspects Mission: Impossible – Ghost Protocol Wreck-It Ralph Satisfaction The Creature Walks Among Us Fright Night II King Lear Hocus Pocus Las adolescentes Million Dollar Arm Fiddler on the Roof Una Película de Huevos On Her Majesty's Secret Service Old Dogs Men in Black G-Force Love Is a Many-Splendored Thing The Lost World: Jurassic Park Enemy of the State Deadline The Good Mother Journey to the West: Conquering the Demons 20,000 Leagues Under the Sea The Enforcer Eraser Good Morning, Vietnam Romeo and Juliet The Winter's Tale The Finest Hours The Wacky World of Dr. Morgus Tevye and His Seven Daughters Oldboy 25th Hour The Empire Strikes Back Star Wars: Episode III – Revenge of the Sith 12 Angry Men Ocean's 11 Krull The Incredible Hulk One Flew Over the Cuckoo's Nest Lamb Queen of Katwe Pirates of the Caribbean: Dead Man's Chest Angels in the Outfield Under Siege 2: Dark Territory ABCD: Any Body Can Dance 2 Blacula Operation Dumbo Drop Spamalot Biggles: Adventures in Time Spider-Man: Homecoming Bolt Clouds of Sils Maria Godzilla: Final Wars The Merry Wives of Windsor Donnie Darko Sister Act 2: Back in the Habit Blaze Henry IV, Part 2 A Good Day to Die Hard The Grey Mary Poppins Returns Taken 3 Divergent Tombstone The Spy Who Loved Me A Bridge Too Far Non-Stop Summer Magic The Mission Peter Pan Cleopatra Jones OSS 117: Lost in Rio Breakfast on Pluto Under Suspicion Troilus and Cressida Final Destination Transporter 2 One Good Cop The Omen Live Free or Die Hard Glengarry Glen Ross Henry IV, Part 1 Tremors 2: Aftershocks Die Hard with a Vengeance Mission: Impossible II A Prayer for the Dying The A-Team Catch-22 Duet for One Shining Through The Divergent Series: Insurgent The 13th Warrior From Russia with Love 3 Ninjas La Strada Much Ado About Nothing Jumanji Cuore di cane The Possessed The World Is Not Enough Star Trek: First Contact New York Stories Schindler's List Pirates of the Caribbean: Dead Men Tell No Tales Dr. Strangelove The Prince of Egypt Kamen Rider Blade: Missing Ace That Darn Cat! American Pie Joy Ride National Treasure Darkman The Shaggy Dog Inside Llewyn Davis Phantasm III: Lord of the Dead American Reunion Joy Ride 2: Dead Ahead Hannah Montana: The Movie All the President's Men Moonraker Jack Cyrano de Bergerac Sudden Impact The Seagull Quantum of Solace Exodus: Gods and Kings The Santa Clause 2 Alice on the Farm The Bourne Legacy Die Hard How the Steel Was Tempered Thunderball How the Steel Was Tempered Teenage Mutant Ninja Turtles: Out of the Shadows Snow White and the Seven Dwarfs The Joy Luck Club Police Academy GoldenEye The Princess Diaries Everest American Wedding I, Daniel Blake Father of the Bride Part II Phantasm IV: Oblivion A Low Down Dirty Shame The Wildest Dream Hamlet The Lego Movie The Tailor of Panama Avatar Lysistrata Les Mauvais Bergers Jurassic Park III Creature from the Black Lagoon Brokeback Mountain Never Say Never Again Suspect The Unbearable Lightness of Being The Muppets Ocean's Thirteen The Santa Clause The Kingdom of Solomon Chloe Kill Bill Volume 1 Dead Silence The Absent-Minded Professor One Magic Christmas The Forbidden Kingdom The Santa Clause 3: The Escape Clause Herbie: Fully Loaded Star Wars: Episode I – The Phantom Menace Tron Othello The Ten Commandments Husbands and Wives Jurassic Park Highlander The Omen Goldfinger Monsters University People Like Us Cloverfield Pee-Wee's Big Adventure The Parent Trap Bridge of Spies Measure for Measure Ender's Game Skyfall Rogue One: A Star Wars Story I Know What You Did Last Summer The Opium Den Prince of Persia: The Sands of Time A Monster Calls Aliens Mickey's Follies Final Fantasy VII: Advent Children The Big Lebowski Phantasm II The Golden Compass 10 Things I Hate About You The Impossible Kid Le Chemin de crête Agent 00 The Hunt for Red October Mad Max 2 Our American Cousin For Your Eyes Only Harry Potter and the Cursed Child Phèdre Bedtime Stories Warcraft The Merchant of Venice Timon of Athens Dune The BFG Kinsey I'll Be Home for Christmas The Bourne Identity Taken 2 Omen III: The Final Conflict The Commuter Voyage to the Bottom of the Sea Back to the Future Part II Three Men and a Baby Kingdom of Heaven The Adventures of Buratino The Hobbit: An Unexpected Journey Ant-Man Tremors 4: The Legend Begins The Apple Dumpling Gang Damien: Omen II Dick Tracy Hondo You Only Live Twice Victoria Tomorrow Never Dies Alice in Wonderland Black Panther The Delta Force Enchanted Bicentennial Man Napoleon and Samantha Harry Potter and the Half-Blood Prince Scarface Blade Runner The Living Daylights Men in Black II The Dead Pool Solomon and Sheba Inglourious Basterds Die Hard 2 Dirty Harry Les Misérables Solomon & Sheba Circus of Love Ernest Saves Christmas Sister Act Sholay Oscar For Your Height Only Captain Marvel The Parent Trap Duck Soup Mighty Joe Young Now You See Me: The Second Act Jason Bourne Next of Kin The Bounty Khumba Les Vacances de Monsieur Hulot Serenity So Dear to My Heart Chimes at Midnight Phantasm: Ravager Mirror Mirror Live and Let Die Willow Alice Cans the Cannibals Keeping the Faith The Sorcerer's Apprentice Uncle Vanya The Bourne Supremacy Tom and Huck The Bourne Ultimatum A Clockwork Orange Ultimate Avengers 2 Rob Roy K-19: The Widowmaker Mission: Impossible III The Divergent Series: Allegiant Revenge of the Creature She's Gotta Have It The Snow Maiden Heart of a Dog Seraphim Falls Secretariat La Cité de la peur The Disappearance of Haruhi Suzumiya WarGames The Godfather Part II Woe from Wit Atlantis: The Lost Empire The House by the Cemetery Captain America: The First Avenger Gun Shy Gangs of New York Digimon Adventure: Bokura no War Game! The Shaggy D.A. For Love of the Game Snow White and the Huntsman Diamonds Are Forever The Bible: In the Beginning American Pie 2 Cocktail A Million Ways to Die in the West Hannibal Rising Pan Mad Max Disney's The Kid Big Hero 6 The Transporter Twelfth Night Anchorman: The Legend Continues Battleship Die Another Day Taxi Driver Lucy OSS 117: Cairo, Nest of Spies A Chinese Odyssey Taken The Secret Life of Walter Mitty Teenage Mutant Ninja Turtles Star Wars Episode IV: A New Hope Tremors 5: Bloodline Freaky Friday Fright Night Same Old Song Freaky Friday Magnum Force Third Person Edge of Tomorrow Tremors Underdog Pokémon the Movie: Hoopa and the Clash of Ages As You Like It Henry V Van Helsing Tex O Auto da Compadecida Starship Troopers Dead Poets Society Transporter 3 The Transporter Legacy Van Helsing: The London Assignment Sky High Mary Poppins Trigun: Badlands Rumble Tuck Everlasting Casino Royale Mission: Impossible Monty Python’s Life of Brian After.Life Man of the House Ocean's Eleven Night of the Seagulls Howard the Duck Nell The Big Man Up Casino Royale The Ten Commandments Mafia! Alien Wreck-It Ralph 2 High Spirits Mathias Sandorf The Dukes of Hazzard Oz: The Great and Powerful Big Top Pee-wee Alien: Resurrection Around the World in 80 Days History of the World, Part I Crossing the Bridge Gus Phantasm Mad Max: Fury Road Clash of the Titans Swiss Family Robinson Herbie Rides Again Survivor Za La Mort Assemblywomen Licence to Kill The Emperor's New Groove Ruby Cairo Wrath of the Titans Atragon Pirates of the Caribbean: On Stranger Tides Harry Potter and the Chamber of Secrets Fight Club Leap of Faith Star Trek: Insurrection Centurion The Monkey King Phenomenon Crimson Tide Garfield: A Tail of Two Kitties The Scarlet Pimpernel The Last Trapper Hannibal The Prophet Squanto: A Warrior's Tale Gone Fishin' Spectre The Other Man Beverly Hills Cop Before and After Star Wars Episode II: Attack of the Clones Pulp Fiction Fright Night 2: New Blood Scream Blacula Scream The Next Three Days
Forrest Gump, Pulp Fiction and The Incredible Hulk contain min number of fictional characters and fictional taxons
Forrest Gump Pulp Fiction The Incredible Hulk
action argmin
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional character
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional taxon
[[{'concept': 'fictional character'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?f = ?q ) . { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?f ) WHERE { ?s rdf:type ?v . VALUES ( ?v ) { ( ontology:fictional_character ) ( ontology:fictional_taxon ) } } GROUP BY ?u } . { SELECT DISTINCT ( MIN ( ?b ) AS ?q ) { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?b ) WHERE { { ?y property:present_in_work ?j . ?j rdf:type ontology:work_of_art . ?y rdf:type ontology:fictional_character } UNION { ?y property:present_in_work ?j . ?j rdf:type ontology:work_of_art . ?y rdf:type ontology:fictional_taxon } } GROUP BY ?j } } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q23010088 Q466611
P1441
Q6619679
USER
Which fictional humanoids appear in The Incredible Hulk and Spider-Man: Homecoming ?
AND((c(Q6619679),P1441,Q466611), (c(Q6619679),P1441,Q23010088))
action filter_type
action intersection
action find_reverse
entity Q466611
relation P1441
action find_reverse
entity Q23010088
relation P1441
type Q6619679
{'AND': [[{'concept': 'Q6619679'}, 'P1441', 'Q466611'], [{'concept': 'Q6619679'}, 'P1441', 'Q23010088']]}
SELECT DISTINCT ?d WHERE { ?d property:P1441 resource:Q23010088 . ?d property:P1441 resource:Q466611 . ?d rdf:type ontology:Q6619679 }
Spider-Man: Homecoming The Incredible Hulk
action filter_type
action intersection
action find_reverse
entity The Incredible Hulk
relation present in work
action find_reverse
entity Spider-Man: Homecoming
relation present in work
type fictional humanoid
{'AND': [[{'concept': 'fictional humanoid'}, 'present in work', 'The Incredible Hulk'], [{'concept': 'fictional humanoid'}, 'present in work', 'Spider-Man: Homecoming']]}
SELECT DISTINCT ?d WHERE { ?d property:present_in_work resource:Spider-Man:_Homecoming . ?d property:present_in_work resource:The_Incredible_Hulk . ?d rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q23894967
SYSTEM
Tony Stark / Iron Man
Q23894967
AND((c(Q6619679),P1441,Q466611), (c(Q6619679),P1441,Q23010088))
action filter_type
action intersection
action find_reverse
entity Q466611
relation P1441
action find_reverse
entity Q23010088
relation P1441
type Q6619679
[ANSWER] appear in The Incredible Hulk and Spider-Man: Homecoming
{'AND': [[{'concept': 'Q6619679'}, 'P1441', 'Q466611'], [{'concept': 'Q6619679'}, 'P1441', 'Q23010088']]}
SELECT DISTINCT ?d WHERE { ?d property:P1441 resource:Q23010088 . ?d property:P1441 resource:Q466611 . ?d rdf:type ontology:Q6619679 }
Tony Stark / Iron Man
Tony Stark / Iron Man appear in The Incredible Hulk and Spider-Man: Homecoming
Tony Stark / Iron Man
action filter_type
action intersection
action find_reverse
entity The Incredible Hulk
relation present in work
action find_reverse
entity Spider-Man: Homecoming
relation present in work
type fictional humanoid
{'AND': [[{'concept': 'fictional humanoid'}, 'present in work', 'The Incredible Hulk'], [{'concept': 'fictional humanoid'}, 'present in work', 'Spider-Man: Homecoming']]}
SELECT DISTINCT ?d WHERE { ?d property:present_in_work resource:Spider-Man:_Homecoming . ?d property:present_in_work resource:The_Incredible_Hulk . ?d rdf:type ontology:fictional_humanoid }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1080
Q3275581 Q36649 Q6619679
USER
Which fictional humanoids appear in atleast 1 shared universes and visual artss ?
(c(Q6619679),P1080,c(Q3275581)|c(Q36649))
action atleast
action union
action find_tuple_counts
relation P1080
type Q6619679
type Q3275581
action find_tuple_counts
relation P1080
type Q6619679
type Q36649
value 1
[{'concept': 'Q6619679'}, 'P1080', [{'concept': 'Q3275581'}, {'concept': 'Q36649'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?h WHERE { { ?h property:P1080 ?q . ?h rdf:type ontology:Q6619679 . ?q rdf:type ontology:Q3275581 } UNION { ?h property:P1080 ?q . ?h rdf:type ontology:Q6619679 . ?q rdf:type ontology:Q36649 } } GROUP BY ?h } . FILTER ( ?t >= 1 ) }
action atleast
action union
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type shared universe
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type visual arts
value 1
[{'concept': 'fictional humanoid'}, 'from fictional universe', [{'concept': 'shared universe'}, {'concept': 'visual arts'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?h WHERE { { ?h property:from_fictional_universe ?q . ?h rdf:type ontology:fictional_humanoid . ?q rdf:type ontology:shared_universe } UNION { ?h property:from_fictional_universe ?q . ?h rdf:type ontology:fictional_humanoid . ?q rdf:type ontology:visual_arts } } GROUP BY ?h } . FILTER ( ?t >= 1 ) }
[]
shared universe visual arts fictional humanoid
Q23894967 Q23900446 Q23900377
SYSTEM
Tony Stark / Iron Man, Howard Stark, Nick Fury
Q24046150 Q23900407 Q23894967 Q24073696 Q1056953 Q24027982 Q26261996 Q24027859 Q24083294 Q27067863 Q24040935 Q24046118 Q24040742 Q23851951 Q23991694 Q24068405 Q24068402 Q24068383 Q24276092 Q3149148 Q24276097 Q24004885 Q24276119 Q7468126 Q23900470 Q27101792 Q27147335 Q24027955 Q24573094 Q24040949 Q6679806 Q23900377 Q24050065 Q23895063 Q6910820 Q27670271 Q24068355 Q27670356 Q23842323 Q23750571 Q23894605 Q23894608 Q15702161 Q23851900 Q24083312 Q24073681 Q24276100 Q5584641 Q27067914 Q1072331 Q27670318 Q27670314 Q27045831 Q27670381 Q27670387 Q27670389 Q24045752 Q27067866 Q24026703 Q26809707 Q27670364 Q26268850 Q26268859 Q24073665 Q24275986 Q24273019 Q24273017 Q23852090 Q24068218 Q24068211 Q24068213 Q24068214 Q24034679 Q24022542 Q24022098 Q24068397 Q23304703 Q24040958 Q27057308 Q23900437 Q27092482 Q24073725 Q27067859 Q24073715 Q23842775 Q24027376 Q24073719 Q24068252 Q24068241 Q23842703 Q24027972 Q24040968 Q24265423 Q24040913 Q24068391 Q23895076 Q27468455 Q24050117 Q23842900 Q24045741 Q24045748 Q27147410 Q27670370 Q27670374 Q23991271 Q27062173 Q24200251 Q24275991 Q23836625 Q24510074 Q2619064 Q23852015 Q27057203 Q2519237 Q20979384 Q27057298 Q21042559 Q24050133 Q23836618 Q24068411 Q24022345 Q24276086 Q24027486 Q24026688 Q1977902 Q24068387 Q24043637 Q26268873 Q24022457 Q24034722 Q23991129 Q23900446 Q26758863 Q24046106 Q24004905 Q23900364 Q23842987 Q23852160 Q27670335 Q27057247 Q27670340 Q7940668
(c(Q6619679),P1080,c(Q3275581)|c(Q36649))
action atleast
action union
action find_tuple_counts
relation P1080
type Q6619679
type Q3275581
action find_tuple_counts
relation P1080
type Q6619679
type Q36649
value 1
[ANSWERS] appear in atleast 1 shared universes and visual artss
[{'concept': 'Q6619679'}, 'P1080', [{'concept': 'Q3275581'}, {'concept': 'Q36649'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?h WHERE { { ?h property:P1080 ?q . ?h rdf:type ontology:Q6619679 . ?q rdf:type ontology:Q3275581 } UNION { ?h property:P1080 ?q . ?h rdf:type ontology:Q6619679 . ?q rdf:type ontology:Q36649 } } GROUP BY ?h } . FILTER ( ?t >= 1 ) }
Heimdall Christine Everhart Tony Stark / Iron Man Strawberry Vendor Minsc Leo Fitz Phineas Mason Carol Danvers / Captain Marvel Jasper Sitwell Writer Maria Stark Loki Brock Rumlow / Crossbones Humvee Driver Bucky Barnes / Winter Soldier Expo Cop Rebecca General Meade Maggie Imoen Dave T'Challa / Black Panther Castillo Alustriel Silverhand Happy Hogan Pietro Maximoff / Quicksilver Zuri Melinda May Scott Calvin Miriam Nasher Alagondar Nick Fury Peter Quill / Star-Lord Natasha Romanoff / Black Widow Mordenkainen Tina Minoru French Photographer Dr. Weiss BOPE Officer Major Allen Michelle Flash Thompson Montolio Debrouchee Female Medical Assistant Isabela Alvarez Chess Roberts Kurt Gord the Rogue Janet van Dyne / Wasp Elminster Dr. Patel Daniel Drumm M'Baku / Man-Ape Mugger Kamar-Taj Librarian Bullet Patient's Wife Wong Bartender Scott Lang / Ant-Man Liz Allan Physical Therapist Erik Killmonger Nakia Bambi Arbogast Darren Cross Michael Banks Jane Banks Large Woman Security Force #2 U.S. Marshal Detective Lemieux Security Force #1 Peggy Carter Wanda Maximoff / Scarlet Witch Steve Rogers AV Operator Ángela Vidal FedEx Driver Dale Senator Stern Ulysses Klaue Jack Pym Tech Gate Guard Hammer Expo Tech Handsome Soldier Thaddeus Ross French Waiter Russian Newscaster Expo Fan Medic Soldier Skye Karpov Hank Pym Everett K. Ross Anton Vanko Justin Hammer Claire Template Bruce Banner / Hulk Command Van Soldier The Ancient One Dr. Nicodemus West W'Kabi Concerned Doctor Reluctant Surgeon May Parker Robbie Reyes / Ghost Rider Johann Schmidt Paxton Little Boy School principal Artemis Entreri Sterns Lab Soldier Cassie Lang Wulfgar Jemma Simmons Car Driver Darcy Lewis Hope van Dyne / Wasp Gunner Rebeka Sam Wilson / Falcon Luis Sharon Carter / Agent 13 Clint Barton / Hawkeye Khelben "Blackstaff" Arunsun 10 Rings Gangster Mordo Okoye Zemo Dr. Stephen Strange Peter Parker / Spider-Man Howard Stark Ayo Jane Foster T'Chaka Ivan Vanko Ross's Aide Hopscotch Girl Nurse Billy Mitchell Carson Dr. Garrison Volothamp Geddarm
Tony Stark / Iron Man, Howard Stark and Nick Fury appear in atleast 1 shared universes and visual artss
Tony Stark / Iron Man Howard Stark Nick Fury
action atleast
action union
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type shared universe
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type visual arts
value 1
[{'concept': 'fictional humanoid'}, 'from fictional universe', [{'concept': 'shared universe'}, {'concept': 'visual arts'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) ?h WHERE { { ?h property:from_fictional_universe ?q . ?h rdf:type ontology:fictional_humanoid . ?q rdf:type ontology:shared_universe } UNION { ?h property:from_fictional_universe ?q . ?h rdf:type ontology:fictional_humanoid . ?q rdf:type ontology:visual_arts } } GROUP BY ?h } . FILTER ( ?t >= 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q734834
P941
Q838948 Q11424 Q15709879
USER
Which works of art were more number of films and artwork series inspired by than Ghent Altarpiece ?
(c(Q11424)|c(Q15709879),P941,c(Q838948))
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q734834
relation P941
type Q11424
type Q15709879
[[{'concept': 'Q11424'}, {'concept': 'Q15709879'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:P941 resource:Q734834 . { VALUES ( ?i ) { ( ontology:Q11424 ) ( ontology:Q15709879 ) } . ?s rdf:type ?i } } } . FILTER ( ?e > ?u ) . { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?e ) WHERE { ?g rdf:type ?m . VALUES ( ?m ) { ( ontology:Q11424 ) ( ontology:Q15709879 ) } } GROUP BY ?t } }
Ghent Altarpiece
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
action find_reverse_tuple_counts
relation inspired by
type work of art
type artwork series
action count
action filter_multi_types
action find_reverse
entity Ghent Altarpiece
relation inspired by
type film
type artwork series
[[{'concept': 'film'}, {'concept': 'artwork series'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:inspired_by resource:Ghent_Altarpiece . { VALUES ( ?i ) { ( ontology:film ) ( ontology:artwork_series ) } . ?s rdf:type ?i } } } . FILTER ( ?e > ?u ) . { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?e ) WHERE { ?g rdf:type ?m . VALUES ( ?m ) { ( ontology:film ) ( ontology:artwork_series ) } } GROUP BY ?t } }
[]
work of art film artwork series
Q1217787 Q41567 Q83186
SYSTEM
The Time Machine, Hamlet, Romeo and Juliet
Q1217787 Q2568137 Q1432001 Q41567 Q7445655 Q4936847 Q83186
(c(Q11424)|c(Q15709879),P941,c(Q838948))
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15709879
action count
action filter_multi_types
action find_reverse
entity Q734834
relation P941
type Q11424
type Q15709879
[ANSWERS] were more number of films and artwork series inspired by than Ghent Altarpiece
[[{'concept': 'Q11424'}, {'concept': 'Q15709879'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:P941 resource:Q734834 . { VALUES ( ?i ) { ( ontology:Q11424 ) ( ontology:Q15709879 ) } . ?s rdf:type ?i } } } . FILTER ( ?e > ?u ) . { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?e ) WHERE { ?g rdf:type ?m . VALUES ( ?m ) { ( ontology:Q11424 ) ( ontology:Q15709879 ) } } GROUP BY ?t } }
The Time Machine How to Explain Pictures to a Dead Hare Torquato Tasso Hamlet Seedbed Body Pressure Romeo and Juliet
The Time Machine, Hamlet and Romeo and Juliet were more number of films and artwork series inspired by than Ghent Altarpiece
The Time Machine Hamlet Romeo and Juliet
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
action find_reverse_tuple_counts
relation inspired by
type work of art
type artwork series
action count
action filter_multi_types
action find_reverse
entity Ghent Altarpiece
relation inspired by
type film
type artwork series
[[{'concept': 'film'}, {'concept': 'artwork series'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:inspired_by resource:Ghent_Altarpiece . { VALUES ( ?i ) { ( ontology:film ) ( ontology:artwork_series ) } . ?s rdf:type ?i } } } . FILTER ( ?e > ?u ) . { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?e ) WHERE { ?g rdf:type ?m . VALUES ( ?m ) { ( ontology:film ) ( ontology:artwork_series ) } } GROUP BY ?t } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P50
Q502895
USER
How many people authored that work of art ?
(Q41567,P50,c(Q502895))
['Q41567', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q934705 property:Q482980 ?z . ?z rdf:type ontology:Q502895 }
['Hamlet', 'author', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Hamlet property:author ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q41567
SYSTEM
Did you mean Hamlet ?
(Q1217787,P50,c(Q502895)) (Q41567,P50,c(Q502895)) (Q83186,P50,c(Q502895))
[ANSWER]
['Q1217787', 'P50', {'concept': 'Q502895'}] ['Q41567', 'P50', {'concept': 'Q502895'}] ['Q83186', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q934705 property:Q482980 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Hamlet ?
Hamlet
['The Time Machine', 'author', {'concept': 'common name'}] ['Hamlet', 'author', {'concept': 'common name'}] ['Romeo and Juliet', 'author', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Hamlet property:author ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q41567,P50,c(Q502895))
['Q41567', 'P50', {'concept': 'Q502895'}]
['Hamlet', 'author', {'concept': 'common name'}]
[]
SYSTEM
1
Q692
(Q41567,P50,c(Q502895))
[ANSWER]
['Q41567', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q934705 property:Q482980 ?z . ?z rdf:type ontology:Q502895 }
William Shakespeare
1
['Hamlet', 'author', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Hamlet property:author ?z . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q134773
P800 P21
Q502895
USER
Which people have Forrest Gump as a notable work and have the gender as male ?
AND((c(Q502895),P800,Q134773), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q134773
relation P800
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q134773'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?s WHERE { ?s property:P800 resource:Q134773 . ?s property:P21 resource:Q6581097 . ?s rdf:type ontology:Q502895 }
male Forrest Gump
action filter_type
action intersection
action find_reverse
entity Forrest Gump
relation notable work
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', 'Forrest Gump'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?s WHERE { ?s property:notable_work resource:Forrest_Gump . ?s property:gender resource:male . ?s rdf:type ontology:common_name }
[]
common name
Q942932 Q187364
SYSTEM
Eric Roth, Robert Zemeckis
Q942932 Q187364
AND((c(Q502895),P800,Q134773), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q134773
relation P800
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Forrest Gump as a notable work and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q134773'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?s WHERE { ?s property:P800 resource:Q134773 . ?s property:P21 resource:Q6581097 . ?s rdf:type ontology:Q502895 }
Eric Roth Robert Zemeckis
Eric Roth and Robert Zemeckis have Forrest Gump as a notable work and have the gender as male
Eric Roth Robert Zemeckis
action filter_type
action intersection
action find_reverse
entity Forrest Gump
relation notable work
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', 'Forrest Gump'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?s WHERE { ?s property:notable_work resource:Forrest_Gump . ?s property:gender resource:male . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q23900446
P1441
Q838948
USER
How many works of art are Howard Stark shown in ?
(Q23900446,P1441,c(Q838948))
action count
action filter_type
action find
entity Q23900446
relation P1441
type Q838948
['Q23900446', 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q23900446 property:P1441 ?b . ?b rdf:type ontology:Q838948 }
Howard Stark
action count
action filter_type
action find
entity Howard Stark
relation present in work
type work of art
['Howard Stark', 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Howard_Stark property:present_in_work ?b . ?b rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
5
Q18407657 Q275120 Q205028 Q5901134 Q192724
(Q23900446,P1441,c(Q838948))
action count
action filter_type
action find
entity Q23900446
relation P1441
type Q838948
[ANSWER]
['Q23900446', 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q23900446 property:P1441 ?b . ?b rdf:type ontology:Q838948 }
Captain America: Civil War Captain America: The First Avenger Iron Man 2 Ant-Man Iron Man
5
action count
action filter_type
action find
entity Howard Stark
relation present in work
type work of art
['Howard Stark', 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Howard_Stark property:present_in_work ?b . ?b rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21060192
P735
Q378408
USER
What is forename of W. Winter ?
(Q21060192,P735,c(Q378408))
action filter_type
action find
entity Q21060192
relation P735
type Q378408
['Q21060192', 'P735', {'concept': 'Q378408'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q378408 . resource:Q21060192 property:P735 ?p }
W. Winter
action filter_type
action find
entity W. Winter
relation given name
type initial
['W. Winter', 'given name', {'concept': 'initial'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:initial . resource:W._Winter property:given_name ?p }
[]
initial
Q19803523
SYSTEM
W.
Q19803523
(Q21060192,P735,c(Q378408))
action filter_type
action find
entity Q21060192
relation P735
type Q378408
[ANSWER] is forename of [ANSWER] Winter
['Q21060192', 'P735', {'concept': 'Q378408'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q378408 . resource:Q21060192 property:P735 ?p }
W.
W. is forename of W. Winter
W.
action filter_type
action find
entity W. Winter
relation given name
type initial
['W. Winter', 'given name', {'concept': 'initial'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:initial . resource:W._Winter property:given_name ?p }
[]