Simple Question (Direct)
Simple Question
Q3437259
P58
Q502895
USER
Who served as the screenwriter for Robot Stories ?
(Q3437259,P58,c(Q502895))
action filter_type
action find
entity Q3437259
relation P58
type Q502895
['Q3437259', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q3437259 property:P58 ?h . ?h rdf:type ontology:Q502895 }
Robot Stories
action filter_type
action find
entity Robot Stories
relation screenwriter
type common name
['Robot Stories', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Robot_Stories property:screenwriter ?h . ?h rdf:type ontology:common_name }
[]
common name
Q1992698
SYSTEM
Greg Pak
Q1992698
(Q3437259,P58,c(Q502895))
action filter_type
action find
entity Q3437259
relation P58
type Q502895
[ANSWER] served as the screenwriter for Robot Stories
['Q3437259', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q3437259 property:P58 ?h . ?h rdf:type ontology:Q502895 }
Greg Pak
Greg Pak served as the screenwriter for Robot Stories
Greg Pak
action filter_type
action find
entity Robot Stories
relation screenwriter
type common name
['Robot Stories', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Robot_Stories property:screenwriter ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3437259
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q1992698,P136,c(Q1792379))
action filter_type
action find
entity Q3437259
relation P136
type Q1792379
['Q1992698', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?m WHERE { resource:Q3437259 property:P136 ?m . ?m rdf:type ontology:Q1792379 }
Robot Stories
action filter_type
action find
entity Robot Stories
relation genre
type art genre
['Greg Pak', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?m WHERE { resource:Robot_Stories property:genre ?m . ?m rdf:type ontology:art_genre }
[]
art genre
Q471839
SYSTEM
science fiction film
Q471839
(Q1992698,P136,c(Q1792379))
action filter_type
action find
entity Q3437259
relation P136
type Q1792379
[ANSWER] can be considered as category for that work of art
['Q1992698', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?m WHERE { resource:Q3437259 property:P136 ?m . ?m rdf:type ontology:Q1792379 }
science fiction film
Science fiction film can be considered as category for that work of art
science fiction film
action filter_type
action find
entity Robot Stories
relation genre
type art genre
['Greg Pak', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?m WHERE { resource:Robot_Stories property:genre ?m . ?m rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1992698
P21
Q290
USER
What is the sex of Greg Pak ?
(Q1992698,P21,c(Q290))
action filter_type
action find
entity Q1992698
relation P21
type Q290
['Q1992698', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q1992698 property:P21 ?y . ?y rdf:type ontology:Q290 }
Greg Pak
action filter_type
action find
entity Greg Pak
relation gender
type sex
['Greg Pak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Greg_Pak property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1992698,P21,c(Q290))
action filter_type
action find
entity Q1992698
relation P21
type Q290
The sex of Greg Pak is a [ANSWER]
['Q1992698', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q1992698 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
The sex of Greg Pak is a male
male
action filter_type
action find
entity Greg Pak
relation gender
type sex
['Greg Pak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Greg_Pak property:gender ?y . ?y rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P21
Q40231 Q16335296
USER
How many elections and historical professions have the gender as that sex ?
(c(Q40231),P21,Q6581097) (c(Q16335296),P21,Q6581097) (c(Q40231),P21,Q6581097) (c(Q16335296),P21,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q40231
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q16335296
[{'concept': 'Q40231'}, 'P21', 'Q6581097'] [{'concept': 'Q16335296'}, 'P21', 'Q6581097'] [{'concept': 'Q40231'}, 'P21', 'Q6581097'] [{'concept': 'Q16335296'}, 'P21', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { ?y property:P21 resource:Q6581097 . ?y rdf:type ontology:Q40231 } UNION { ?y property:P21 resource:Q6581097 . ?y rdf:type ontology:Q16335296 } }
action count
action union
action filter_type
action find_reverse
entity male
relation gender
type election
action filter_type
action find_reverse
entity male
relation gender
type historical profession
[{'concept': 'election'}, 'gender', 'male'] [{'concept': 'historical profession'}, 'gender', 'male'] [{'concept': 'election'}, 'gender', 'male'] [{'concept': 'historical profession'}, 'gender', 'male']
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { ?y property:gender resource:male . ?y rdf:type ontology:election } UNION { ?y property:gender resource:male . ?y rdf:type ontology:historical_profession } }
[]
election historical profession
SYSTEM
1 elections and 1 historical professions
Q12313022 Q16953733
(c(Q40231),P21,Q6581097) (c(Q16335296),P21,Q6581097) (c(Q40231),P21,Q6581097) (c(Q16335296),P21,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q40231
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q16335296
[ANSWER]
[{'concept': 'Q40231'}, 'P21', 'Q6581097'] [{'concept': 'Q16335296'}, 'P21', 'Q6581097'] [{'concept': 'Q40231'}, 'P21', 'Q6581097'] [{'concept': 'Q16335296'}, 'P21', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { ?y property:P21 resource:Q6581097 . ?y rdf:type ontology:Q40231 } UNION { ?y property:P21 resource:Q6581097 . ?y rdf:type ontology:Q16335296 } }
Fritz Brun Brighton by-election, 1905
1 elections and 1 historical professions
action count
action union
action filter_type
action find_reverse
entity male
relation gender
type election
action filter_type
action find_reverse
entity male
relation gender
type historical profession
[{'concept': 'election'}, 'gender', 'male'] [{'concept': 'historical profession'}, 'gender', 'male'] [{'concept': 'election'}, 'gender', 'male'] [{'concept': 'historical profession'}, 'gender', 'male']
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { ?y property:gender resource:male . ?y rdf:type ontology:election } UNION { ?y property:gender resource:male . ?y rdf:type ontology:historical_profession } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q838948 Q6619679 Q95074
USER
How many works of art do atmost 43 fictional humanoids and fictional characters appear ?
(c(Q6619679)|c(Q95074),P1441,c(Q838948))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q6619679
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
value 43
[[{'concept': 'Q6619679'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) ?o WHERE { { ?c property:P1441 ?o . ?o rdf:type ontology:Q838948 . ?c rdf:type ontology:Q95074 } UNION { ?c property:P1441 ?o . ?o rdf:type ontology:Q838948 . ?c rdf:type ontology:Q6619679 } } GROUP BY ?o } . FILTER ( ?j <= 43 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional humanoid
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional character
value 43
[[{'concept': 'fictional humanoid'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) ?o WHERE { { ?c property:present_in_work ?o . ?o rdf:type ontology:work_of_art . ?c rdf:type ontology:fictional_character } UNION { ?c property:present_in_work ?o . ?o rdf:type ontology:work_of_art . ?c rdf:type ontology:fictional_humanoid } } GROUP BY ?o } . FILTER ( ?j <= 43 ) }
[]
work of art fictional humanoid fictional character
SYSTEM
555
Q86440 Q3512046 Q1002100 Q164813 Q190588 Q4008453 Q6072886 Q4205355 Q2875 Q28234 Q1140272 Q15220567 Q941944 Q195261 Q1507513 Q221947 Q7750966 Q3273477 Q204398 Q327713 Q309289 Q22665878 Q130283 Q512415 Q1388653 Q182692 Q2566505 Q786019 Q46717 Q25043 Q18822138 Q215750 Q171453 Q15990861 Q1171556 Q181803 Q388360 Q54274 Q5095462 Q7756461 Q1139454 Q102754 Q7742105 Q484675 Q922006 Q158759 Q26154237 Q842106 Q719915 Q205028 Q332387 Q16937096 Q24815 Q22957393 Q537407 Q4655870 Q134773 Q27587130 Q477365 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 Q5887360 Q2806739 Q1196264 Q4253250 Q64110 Q592457 Q146673 Q370326 Q741878 Q83186 Q743194 Q18031184 Q27061795 Q7707180 Q475693 Q218458 Q181795 Q42051 Q2345 Q464933 Q195710 Q466611 Q1332299 Q171669 Q6481017 Q20921603 Q161087 Q659037 Q1355072 Q1740704 Q17509388 Q881000 Q436988 Q939143 Q1192536 Q23010088 Q212792 Q14775069 Q431660 Q844836 Q133654 Q426828 Q1140762 Q883197 Q1232349 Q72276 Q1147689 Q24272881 Q16781911 Q8561227 Q1420651 Q753899 Q320423 Q467053 Q2855777 Q2207300 Q302490 Q1364029 Q919649 Q1271824 Q961492 Q903819 Q2497086 Q183304 Q7561043 Q841114 Q844296 Q836298 Q50861 Q3039787 Q631855 Q1433571 Q106871 Q568928 Q179215 Q505790 Q759383 Q471746 Q17485699 Q1050533 Q1649282 Q1325217 Q538438 Q16997069 Q748030 Q106571 Q174284 Q2363062 Q18402 Q1962005 Q130851 Q222939 Q951949 Q2386746 Q212145 Q221236 Q977372 Q483941 Q19946102 Q10350033 Q105702 Q245227 Q4189330 Q1102396 Q220713 Q26970 Q309366 Q1166264 Q137109 Q2340655 Q1167434 Q303040 Q1710012 Q220591 Q182373 Q24278982 Q466781 Q334780 Q7764815 Q1471358 Q1048916 Q165847 Q785461 Q650063 Q181540 Q14942871 Q1469426 Q2836733 Q15140437 Q219421 Q18786473 Q494048 Q105598 Q4208812 Q107724 Q4208814 Q182218 Q185658 Q19842746 Q2247470 Q2296376 Q1248429 Q20001199 Q19089 Q1046295 Q1749553 Q18406872 Q466423 Q23823458 Q1304560 Q1595630 Q1962426 Q1962032 Q7774950 Q41567 Q2608065 Q548303 Q217020 Q24871 Q753907 Q2568261 Q1102220 Q124612 Q160618 Q180279 Q1971726 Q1122571 Q886719 Q550558 Q635632 Q497850 Q3031303 Q1075182 Q165325 Q543403 Q1198611 Q1059703 Q176568 Q1325828 Q641492 Q1702819 Q165713 Q626483 Q26833 Q746733 Q740143 Q167726 Q156539 Q518863 Q106440 Q641362 Q33191 Q123742 Q2293972 Q1217234 Q18067135 Q665446 Q1758112 Q1810461 Q4941 Q19590955 Q302174 Q3754344 Q245172 Q18200409 Q104814 Q3311826 Q387674 Q337078 Q536139 Q637021 Q169082 Q7741587 Q26904729 Q21403132 Q810012 Q507994 Q1125262 Q1639322 Q332330 Q20711488 Q969098 Q726464 Q14513321 Q206400 Q284641 Q114819 Q19689203 Q83656 Q1306939 Q105624 Q1057015 Q274167 Q807742 Q27566067 Q8873426 Q109331 Q1540124 Q207698 Q3739484 Q80379 Q5901134 Q1749311 Q2081291 Q379873 Q1158528 Q1209853 Q1888547 Q588470 Q107761 Q18786433 Q207916 Q174385 Q23780734 Q971630 Q490464 Q170250 Q421777 Q161687 Q11060926 Q47075 Q14171368 Q184843 Q272064 Q156597 Q263460 Q715374 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 Q6074 Q1330582 Q477865 Q19032697 Q753298 Q156608 Q1616185 Q107226 Q181086 Q590098 Q1141727 Q662342 Q288173 Q19648591 Q2419344 Q2257944 Q502153 Q307620 Q1354162 Q470665 Q3024211 Q1193324 Q192142 Q504697 Q184768 Q209538 Q15005 Q318975 Q1168778 Q275120 Q636038 Q154581 Q1224659 Q9125658 Q226944 Q777591 Q624603 Q107914 Q773293 Q329127 Q1105359 Q13582568 Q3114616 Q164963 Q15713892 Q248775 Q280186 Q13091172 Q819972 Q221211 Q4752758 Q474033 Q30931 Q47221 Q15624215 Q1189436 Q868483 Q3985991 Q277080 Q3522637 Q58439 Q17738 Q19264018 Q118713 Q268824 Q673153 Q1305497 Q458852 Q3522995 Q1187607 Q835650 Q1583966 Q104871 Q18815806 Q237572 Q495954 Q211009 Q3519310 Q3282983 Q478626 Q106316 Q815550 Q18170549 Q7913393 Q162255 Q858508 Q209170 Q3282491 Q749624 Q591272 Q1741232 Q170564 Q24953 Q388873 Q158559 Q205447 Q833292 Q1146570 Q612323 Q3489000 Q174811 Q1201853 Q151904 Q7768400 Q339693 Q16857406 Q103569 Q25167044 Q1617874 Q3298599 Q2306995 Q590216 Q2364439 Q458314 Q156519 Q23781155 Q1471230 Q192724 Q1057584 Q3120992 Q612740 Q1757288 Q192979 Q1367163 Q1609444 Q15715647 Q17103010 Q608261 Q309086 Q223163 Q1467237 Q226773 Q1759684 Q183555 Q171300 Q102244 Q190050 Q1196673 Q673198 Q3224298 Q1322906 Q172271 Q7752052 Q8594 Q464716 Q1140085 Q587921 Q1249536 Q567298 Q722682 Q18167809 Q2406987 Q1192024 Q18602670 Q1192189 Q179411 Q722267 Q1178292 Q181069 Q23780914 Q104123 Q15046091 Q15040681 Q3476432 Q263930
(c(Q6619679)|c(Q95074),P1441,c(Q838948))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q6619679
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
value 43
[ANSWER]
[[{'concept': 'Q6619679'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) ?o WHERE { { ?c property:P1441 ?o . ?o rdf:type ontology:Q838948 . ?c rdf:type ontology:Q95074 } UNION { ?c property:P1441 ?o . ?o rdf:type ontology:Q838948 . ?c rdf:type ontology:Q6619679 } } GROUP BY ?o } . FILTER ( ?j <= 43 ) }
The Tempest Jurassic World Miracle at St. Anna Perfume: The Story of a Murderer Love Actually Vampirella 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 Jungle Book 2 The Memorandum Ma and Pa Kettle Octopussy Men in Black 3 The Man with the Golden Gun Thor: Ragnarok Macbeth Macross Frontier Pacific Rim 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 Race to Witch Mountain Unknown Descendants 2 A Streetcar Named Desire The Hobbit: The Desolation of Smaug Iron Man 2 The Taming of the Shrew Pride Citizen Kane Ant-Man and the Wasp Mulan A Chinese Tall Story Forrest Gump Sworn to Silence 101 Dalmatians II: Patch's London Adventure 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 Guardians of the Galaxy Deadline The Good Mother Journey to the West: Conquering the Demons 20,000 Leagues Under the Sea The Enforcer Basic Instinct 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 Pete's Dragon 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 The Rocketeer 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 The Silence of the Lambs 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 Scott Pilgrim vs. the World The Spy Who Loved Me A Bridge Too Far Non-Stop Summer Magic The Mission Peter Pan The Hobbit: The Battle of the Five Armies 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 Garfield: The Movie Indiana Jones and the Temple of Doom Mission: Impossible II A Prayer for the Dying The A-Team Alice Through the Looking Glass Catch-22 Duet for One Flubber Shining Through The Divergent Series: Insurgent The 13th Warrior From Russia with Love Raiders of the Lost Ark 3 Ninjas La Strada Bloodfist II 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 Beauty and the Beast 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 Indiana Jones and the Kingdom of the Crystal Skull Indiana Jones 5 All the President's Men Moonraker The Sleepy Twinkle Star Jack Cyrano de Bergerac 102 Dalmatians Sudden Impact The Seagull Quantum of Solace Exodus: Gods and Kings The Santa Clause 2 Alice on the Farm Terminator Genisys The Mask Pete's Dragon The Bourne Legacy Die Hard How the Steel Was Tempered Thunderball How the Steel Was Tempered The Avengers Indiana Jones and the Last Crusade Teenage Mutant Ninja Turtles: Out of the Shadows Snow White and the Seven Dwarfs The Joy Luck Club Police Academy Guardians of the Galaxy Vol. 2 GoldenEye The Princess Diaries Everest Doctor Strange American Wedding I, Daniel Blake Father of the Bride Part II Phantasm IV: Oblivion A Low Down Dirty Shame Bloodfist The Wildest Dream Hamlet The Lego Movie The Tailor of Panama Thor 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 Manhunter 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 Secret of the Wings 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 Springtime with Roo 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 Basic Instinct 2 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 The Exorcist 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 Who Framed Roger Rabbit Damien: Omen II Dick Tracy Hondo Ernest Goes to Camp 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 A Walk Among the Tombstones Scarface Avengers: Age of Ultron Blade Runner The Living Daylights Men in Black II The Dead Pool Initial D 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 Star Wars: The Force Awakens Keeping the Faith The Sorcerer's Apprentice Peter Pan, or The Boy Who Wouldn't Grow Up 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 Terminator 3: Rise of the Machines WarGames The Godfather Part II Iron Man 3 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! Red Dragon 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 The Lord of the Rings: The Two Towers 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 The Black Cobra 2 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 A Midsummer Night's Dream 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 The Terminator Sky High Mary Poppins Trigun: Badlands Rumble Tuck Everlasting Casino Royale Mission: Impossible Terminator 2: Judgment Day 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 Thor: The Dark World Casino Royale The Ten Commandments Mafia! The Jungle Book 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 Untitled Avengers Movie History of the World, Part I Iron Man 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 The Princess and the Frog Harry Potter and the Chamber of Secrets Fight Club Leap of Faith Star Trek: Insurrection Tangled Ever After Centurion Maleficent The Monkey King 101 Dalmatians 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 A Very Merry Pooh Year Beverly Hills Cop Before and After Star Wars Episode II: Attack of the Clones Avengers: Infinity War Pulp Fiction Cinderella Fright Night 2: New Blood Scream Blacula Scream The Next Three Days
555
action count
action atmost
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional humanoid
action find_reverse_tuple_counts
relation present in work
type work of art
type fictional character
value 43
[[{'concept': 'fictional humanoid'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) ?o WHERE { { ?c property:present_in_work ?o . ?o rdf:type ontology:work_of_art . ?c rdf:type ontology:fictional_character } UNION { ?c property:present_in_work ?o . ?o rdf:type ontology:work_of_art . ?c rdf:type ontology:fictional_humanoid } } GROUP BY ?o } . FILTER ( ?j <= 43 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1992698
P19
Q56061
USER
Which administrative territory is the birthplace of Greg Pak ?
(Q1992698,P19,c(Q56061))
action filter_type
action find
entity Q1992698
relation P19
type Q56061
['Q1992698', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1992698 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Greg Pak
action filter_type
action find
entity Greg Pak
relation place of birth
type administrative territorial entity
['Greg Pak', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Greg_Pak property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q1992698,P19,c(Q56061))
action filter_type
action find
entity Q1992698
relation P19
type Q56061
[ANSWER] is the birthplace of Greg Pak
['Q1992698', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1992698 property:P19 ?w . ?w rdf:type ontology:Q56061 }
New York City
New York City is the birthplace of Greg Pak
New York City
action filter_type
action find
entity Greg Pak
relation place of birth
type administrative territorial entity
['Greg Pak', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Greg_Pak property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1992698
P1412
Q34770
USER
Which language is spoken by Greg Pak ?
(Q1992698,P1412,c(Q34770))
action filter_type
action find
entity Q1992698
relation P1412
type Q34770
['Q1992698', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q1992698 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
Greg Pak
action filter_type
action find
entity Greg Pak
relation languages spoken, written or signed
type language
['Greg Pak', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Greg_Pak property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1992698,P1412,c(Q34770))
action filter_type
action find
entity Q1992698
relation P1412
type Q34770
Is [ANSWER] is spoken by Greg Pak
['Q1992698', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q1992698 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
English
Is English is spoken by Greg Pak
English
action filter_type
action find
entity Greg Pak
relation languages spoken, written or signed
type language
['Greg Pak', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Greg_Pak property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P144
Q1190554
USER
Which event is based on that language ?
(c(Q1190554),P144,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P144
type Q1190554
[{'concept': 'Q1190554'}, 'P144', 'Q1860']
SELECT DISTINCT ?y WHERE { ?y property:P144 resource:Q1860 . ?y rdf:type ontology:Q1190554 }
English
action filter_type
action find_reverse
entity English
relation based on
type event
[{'concept': 'event'}, 'based on', 'English']
SELECT DISTINCT ?y WHERE { ?y property:based_on resource:English . ?y rdf:type ontology:event }
[]
event
Q36352
SYSTEM
Loglan
Q36352
(c(Q1190554),P144,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P144
type Q1190554
[ANSWER] is based on that language
[{'concept': 'Q1190554'}, 'P144', 'Q1860']
SELECT DISTINCT ?y WHERE { ?y property:P144 resource:Q1860 . ?y rdf:type ontology:Q1190554 }
Loglan
Loglan is based on that language
Loglan
action filter_type
action find_reverse
entity English
relation based on
type event
[{'concept': 'event'}, 'based on', 'English']
SELECT DISTINCT ?y WHERE { ?y property:based_on resource:English . ?y rdf:type ontology:event }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q9779 Q8192 Q34770
USER
Which languages are approximately 1 alphabets and writing systems the writing system of ?
(c(Q34770),P282,c(Q9779)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 1
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?p ) WHERE { { ?x property:P282 ?z . ?z rdf:type ontology:Q8192 . ?x rdf:type ontology:Q34770 } UNION { ?x property:P282 ?z . ?x rdf:type ontology:Q34770 . ?z rdf:type ontology:Q9779 } } GROUP BY ?x } . FILTER ( ?p = 1 ) }
action approx
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?p ) WHERE { { ?x property:writing_system ?z . ?z rdf:type ontology:writing_system . ?x rdf:type ontology:language } UNION { ?x property:writing_system ?z . ?x rdf:type ontology:language . ?z rdf:type ontology:alphabet } } GROUP BY ?x } . FILTER ( ?p = 1 ) }
[]
alphabet writing system language
Q35499 Q1669994 Q33251
SYSTEM
Old Church Slavonic, Minoan language, Church Slavonic
Q13211 Q35499 Q1669994 Q33251 Q21161942 Q1639124 Q36464 Q652
(c(Q34770),P282,c(Q9779)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 1
[ANSWERS] are approximately 1 alphabets and writing systems the writing system of
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?p ) WHERE { { ?x property:P282 ?z . ?z rdf:type ontology:Q8192 . ?x rdf:type ontology:Q34770 } UNION { ?x property:P282 ?z . ?x rdf:type ontology:Q34770 . ?z rdf:type ontology:Q9779 } } GROUP BY ?x } . FILTER ( ?p = 1 ) }
Ruthenian Old Church Slavonic Minoan language Church Slavonic Serbian written in Cyrillic Slavoserbian Nivkh language Italian
Old Church Slavonic, Minoan language and Church Slavonic are approximately 1 alphabets and writing systems the writing system of
Old Church Slavonic Minoan language Church Slavonic
action approx
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?p ) WHERE { { ?x property:writing_system ?z . ?z rdf:type ontology:writing_system . ?x rdf:type ontology:language } UNION { ?x property:writing_system ?z . ?x rdf:type ontology:language . ?z rdf:type ontology:alphabet } } GROUP BY ?x } . FILTER ( ?p = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q397
P407
Q34770 Q234460 Q2031291
USER
How many languages are around the same number of texts or releases composed in as Latin ?
(c(Q234460)|c(Q2031291),P407,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q234460
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q397
relation P407
type Q234460
type Q2031291
[[{'concept': 'Q234460'}, {'concept': 'Q2031291'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?l WHERE { { ?j property:P407 ?l . ?l rdf:type ontology:Q34770 . ?j rdf:type ontology:Q234460 } UNION { ?j property:P407 ?l . ?l rdf:type ontology:Q34770 . ?j rdf:type ontology:Q2031291 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P407 resource:Q397 . { { ?h rdf:type ontology:Q234460 } UNION { ?h rdf:type ontology:Q2031291 } } } } . FILTER ( ?m = ?u ) }
Latin
action count
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type text
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action count
action filter_multi_types
action find_reverse
entity Latin
relation language of work or name
type text
type release
[[{'concept': 'text'}, {'concept': 'release'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?l WHERE { { ?j property:language_of_work_or_name ?l . ?l rdf:type ontology:language . ?j rdf:type ontology:text } UNION { ?j property:language_of_work_or_name ?l . ?l rdf:type ontology:language . ?j rdf:type ontology:release } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:language_of_work_or_name resource:Latin . { { ?h rdf:type ontology:text } UNION { ?h rdf:type ontology:release } } } } . FILTER ( ?m = ?u ) }
[]
language text release
SYSTEM
28
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q234460)|c(Q2031291),P407,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q234460
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q397
relation P407
type Q234460
type Q2031291
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q2031291'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?l WHERE { { ?j property:P407 ?l . ?l rdf:type ontology:Q34770 . ?j rdf:type ontology:Q234460 } UNION { ?j property:P407 ?l . ?l rdf:type ontology:Q34770 . ?j rdf:type ontology:Q2031291 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P407 resource:Q397 . { { ?h rdf:type ontology:Q234460 } UNION { ?h rdf:type ontology:Q2031291 } } } } . FILTER ( ?m = ?u ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
28
action count
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type text
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action count
action filter_multi_types
action find_reverse
entity Latin
relation language of work or name
type text
type release
[[{'concept': 'text'}, {'concept': 'release'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?l WHERE { { ?j property:language_of_work_or_name ?l . ?l rdf:type ontology:language . ?j rdf:type ontology:text } UNION { ?j property:language_of_work_or_name ?l . ?l rdf:type ontology:language . ?j rdf:type ontology:release } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:language_of_work_or_name resource:Latin . { { ?h rdf:type ontology:text } UNION { ?h rdf:type ontology:release } } } } . FILTER ( ?m = ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q56982
P407
Q34770 Q234460 Q2031291
USER
And what about Judaeo-Portuguese?
(c(Q234460)|c(Q2031291),P407,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q234460
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q56982
relation P407
type Q234460
type Q2031291
[[{'concept': 'Q234460'}, {'concept': 'Q2031291'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { ?k property:P407 resource:Q56982 . { { ?k rdf:type ontology:Q234460 } UNION { ?k rdf:type ontology:Q2031291 } } } } . FILTER ( ?b = ?m ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?a WHERE { ?u rdf:type ?g . VALUES ( ?g ) { ( ontology:Q234460 ) ( ontology:Q2031291 ) } } GROUP BY ?a } }
Judaeo-Portuguese
action count
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type text
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action count
action filter_multi_types
action find_reverse
entity Judaeo-Portuguese
relation language of work or name
type text
type release
[[{'concept': 'text'}, {'concept': 'release'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { ?k property:language_of_work_or_name resource:Judaeo-Portuguese . { { ?k rdf:type ontology:text } UNION { ?k rdf:type ontology:release } } } } . FILTER ( ?b = ?m ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?a WHERE { ?u rdf:type ?g . VALUES ( ?g ) { ( ontology:text ) ( ontology:release ) } } GROUP BY ?a } }
[]
language text release
SYSTEM
28
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q234460)|c(Q2031291),P407,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q234460
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q56982
relation P407
type Q234460
type Q2031291
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q2031291'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { ?k property:P407 resource:Q56982 . { { ?k rdf:type ontology:Q234460 } UNION { ?k rdf:type ontology:Q2031291 } } } } . FILTER ( ?b = ?m ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?a WHERE { ?u rdf:type ?g . VALUES ( ?g ) { ( ontology:Q234460 ) ( ontology:Q2031291 ) } } GROUP BY ?a } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
28
action count
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type text
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action count
action filter_multi_types
action find_reverse
entity Judaeo-Portuguese
relation language of work or name
type text
type release
[[{'concept': 'text'}, {'concept': 'release'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { ?k property:language_of_work_or_name resource:Judaeo-Portuguese . { { ?k rdf:type ontology:text } UNION { ?k rdf:type ontology:release } } } } . FILTER ( ?b = ?m ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) ?a WHERE { ?u rdf:type ?g . VALUES ( ?g ) { ( ontology:text ) ( ontology:release ) } } GROUP BY ?a } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q2001982 Q8192 Q34770
USER
Which languages utilizes exactly 1 notations and writing systems as the writing system ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action equal
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 1
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?r WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) ?r WHERE { VALUES ( ?n ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } . ?f rdf:type ?n } GROUP BY ?r } }
action equal
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?r WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) ?r WHERE { VALUES ( ?n ) { ( ontology:writing_system ) ( ontology:notation ) } . ?f rdf:type ?n } GROUP BY ?r } }
[]
notation writing system language
Q1669994 Q35470 Q2705672
SYSTEM
Minoan language, Elamite language, Paeonian language
Q35470 Q1669994 Q2705672 Q36795 Q20972034 Q36790 Q36751
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action equal
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 1
[ANSWERS] utilize exactly 1 notations and writing systems as the writing system
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?r WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) ?r WHERE { VALUES ( ?n ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } . ?f rdf:type ?n } GROUP BY ?r } }
Elamite language Minoan language Paeonian language Tartessian Classic Greek Sumerian Phrygian language
Minoan language, Elamite language and Paeonian language utilize exactly 1 notations and writing systems as the writing system
Minoan language Elamite language Paeonian language
action equal
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?r WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) ?r WHERE { VALUES ( ?n ) { ( ontology:writing_system ) ( ontology:notation ) } . ?f rdf:type ?n } GROUP BY ?r } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P282
Q8192 Q34770
USER
How many languages utilizes less number of writing systems as the writing system than that language ?
(c(Q34770),P282,c(Q8192))
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
writing system language
Comparative|Count over More/Less|Single entity type|Clarification
Q2705672
SYSTEM
Did you mean Paeonian language ?
(c(Q34770),P282,c(Q8192))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
Did you mean Paeonian language ?
Paeonian language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Minoan language. Could you tell me the answer for that?
(c(Q34770),P282,c(Q8192))
Q1669994
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
[]
SYSTEM
0
(c(Q34770),P282,c(Q8192))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
0
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q5962346
USER
Which classification schemes are English a part of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?x WHERE { resource:Q1860 property:P361 ?x . ?x rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?x WHERE { resource:English property:part_of ?x . ?x rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
Are [ANSWERS] are English a part of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?x WHERE { resource:Q1860 property:P361 ?x . ?x rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Are Anglic languages and Anglo-Frisian languages are English a part of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?x WHERE { resource:English property:part_of ?x . ?x rdf:type ontology:classification_scheme }
[]