Simple Question (Direct)
Simple Question
Q437297
P19
Q56061
USER
Where was José María Caffarel born ?
(Q437297,P19,c(Q56061))
action filter_type
action find
entity Q437297
relation P19
type Q56061
['Q437297', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q437297 property:P19 ?a }
José María Caffarel
action filter_type
action find
entity José María Caffarel
relation place of birth
type administrative territorial entity
['José María Caffarel', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:José_María_Caffarel property:place_of_birth ?a }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
(Q437297,P19,c(Q56061))
action filter_type
action find
entity Q437297
relation P19
type Q56061
José María Caffarel was born in [ANSWER]
['Q437297', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q437297 property:P19 ?a }
Barcelona
José María Caffarel was born in Barcelona
Barcelona
action filter_type
action find
entity José María Caffarel
relation place of birth
type administrative territorial entity
['José María Caffarel', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:José_María_Caffarel property:place_of_birth ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q437297
P161
Q838948
USER
Which works of art stars that person as actor ?
(c(Q838948),P161,Q1492)
action filter_type
action find_reverse
entity Q437297
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q1492']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q838948 . ?m property:P161 resource:Q437297 }
José María Caffarel
action filter_type
action find_reverse
entity José María Caffarel
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Barcelona']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:work_of_art . ?m property:cast_member resource:José_María_Caffarel }
[]
work of art
Q6059331 Q1755502 Q2308086
SYSTEM
Savage Pampas, Stay As You Are, There Was a Castle with Forty Dogs
Q6466175 Q5827223 Q1755502 Q2996815 Q929101 Q5450083 Q24905681 Q21646658 Q3221752 Q15726703 Q5692437 Q5682811 Q25341259 Q5978190 Q1168051 Q3572392 Q15270576 Q25303432 Q2308086 Q3311310 Q5732791 Q25208445 Q6035500 Q1192770 Q5352421 Q3271718 Q21647044 Q5791471 Q21869704 Q6059331 Q25209789 Q21869750 Q1484012 Q5416132
(c(Q838948),P161,Q1492)
action filter_type
action find_reverse
entity Q437297
relation P161
type Q838948
Savage Pampas, stay As You Are and There Was a Castle with Forty Dogs star that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q1492']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q838948 . ?m property:P161 resource:Q437297 }
La gran familia The Last torch song Stay As You Are Mexican Slayride Plácido Fine Gold The Blackmailers The Lost Woman Viaje al centro de la Tierra Order to Kill The Big Show The Gang of Eight The Reprieve Loca juventud The Secret of the Black Widow Atraco a las tres The Lovely Lola Call Esteban There Was a Castle with Forty Dogs Voyage to Nowhere Anchor Button Green Harvest Más bonita que ninguna Ricco the Mean Machine El emigrante Mistress of the Devil Stop at Tenerife Cristina Guzmán Our Man in Casablanca Savage Pampas The Crossroads Ragan Operazione Goldman Eve
Savage Pampas, stay As You Are and There Was a Castle with Forty Dogs star that person as actor
Savage Pampas Stay As You Are There Was a Castle with Forty Dogs
action filter_type
action find_reverse
entity José María Caffarel
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Barcelona']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:work_of_art . ?m property:cast_member resource:José_María_Caffarel }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q184768
P1441
Q838948 Q95074 Q15707583
USER
How many works of art contain around the same number of fictional characters or fictional taxons as The Godfather Part II ?
(c(Q95074)|c(Q15707583),P1441,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15707583
action count
action filter_multi_types
action find_reverse
entity Q184768
relation P1441
type Q95074
type Q15707583
[[{'concept': 'Q95074'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { VALUES ( ?i ) { ( ontology:Q95074 ) ( ontology:Q15707583 ) } . ?h rdf:type ?i } . ?h property:P1441 resource:Q184768 } } . FILTER ( ?l = ?w ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?x WHERE { { ?f property:P1441 ?x . ?x rdf:type ontology:Q838948 . ?f rdf:type ontology:Q95074 } UNION { ?f property:P1441 ?x . ?x rdf:type ontology:Q838948 . ?f rdf:type ontology:Q15707583 } } GROUP BY ?x } }
The Godfather Part II
action count
action approx
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
action count
action filter_multi_types
action find_reverse
entity The Godfather Part II
relation present in work
type fictional character
type fictional taxon
[[{'concept': 'fictional character'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { VALUES ( ?i ) { ( ontology:fictional_character ) ( ontology:fictional_taxon ) } . ?h rdf:type ?i } . ?h property:present_in_work resource:The_Godfather_Part_II } } . FILTER ( ?l = ?w ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?x WHERE { { ?f property:present_in_work ?x . ?x rdf:type ontology:work_of_art . ?f rdf:type ontology:fictional_character } UNION { ?f property:present_in_work ?x . ?x rdf:type ontology:work_of_art . ?f rdf:type ontology:fictional_taxon } } GROUP BY ?x } }
[]
work of art fictional character fictional taxon
SYSTEM
543
Q86440 Q3512046 Q1002100 Q164813 Q190588 Q4008453 Q6072886 Q4205355 Q2875 Q28234 Q1140272 Q15220567 Q941944 Q195261 Q1507513 Q221947 Q7750966 Q3273477 Q204398 Q327713 Q309289 Q130283 Q512415 Q1388653 Q182692 Q2566505 Q786019 Q46717 Q25043 Q18822138 Q215750 Q171453 Q15990861 Q1171556 Q181803 Q388360 Q54274 Q5095462 Q7756461 Q1139454 Q102754 Q7742105 Q484675 Q158759 Q26154237 Q842106 Q719915 Q205028 Q332387 Q16937096 Q24815 Q22957393 Q537407 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 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 Q185658 Q19842746 Q2247470 Q2296376 Q1248429 Q19089 Q1046295 Q1749553 Q18406872 Q466423 Q23823458 Q1304560 Q1595630 Q1962426 Q1962032 Q7774950 Q41567 Q2608065 Q548303 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 Q184843 Q272064 Q156597 Q263460 Q715374 Q1316253 Q153723 Q105993 Q110206 Q18407657 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 Q103569 Q25167044 Q1617874 Q3298599 Q2306995 Q590216 Q2364439 Q458314 Q156519 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 Q464716 Q1140085 Q587921 Q1249536 Q567298 Q722682 Q18167809 Q2406987 Q1192024 Q18602670 Q1192189 Q179411 Q722267 Q1178292 Q181069 Q104123 Q15040681 Q3476432 Q263930
(c(Q95074)|c(Q15707583),P1441,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15707583
action count
action filter_multi_types
action find_reverse
entity Q184768
relation P1441
type Q95074
type Q15707583
[ANSWER]
[[{'concept': 'Q95074'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { VALUES ( ?i ) { ( ontology:Q95074 ) ( ontology:Q15707583 ) } . ?h rdf:type ?i } . ?h property:P1441 resource:Q184768 } } . FILTER ( ?l = ?w ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?x WHERE { { ?f property:P1441 ?x . ?x rdf:type ontology:Q838948 . ?f rdf:type ontology:Q95074 } UNION { ?f property:P1441 ?x . ?x rdf:type ontology:Q838948 . ?f rdf:type ontology:Q15707583 } } GROUP BY ?x } }
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 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 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 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 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 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 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 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 Blade Runner The Living Daylights Men in Black II The Dead Pool Initial D Solomon and Sheba Inglourious Basterds Die Hard 2 Dirty Harry Captain America: Civil War 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! 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 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 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 Pulp Fiction Fright Night 2: New Blood Scream Blacula Scream The Next Three Days
543
action count
action approx
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
action count
action filter_multi_types
action find_reverse
entity The Godfather Part II
relation present in work
type fictional character
type fictional taxon
[[{'concept': 'fictional character'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { VALUES ( ?i ) { ( ontology:fictional_character ) ( ontology:fictional_taxon ) } . ?h rdf:type ?i } . ?h property:present_in_work resource:The_Godfather_Part_II } } . FILTER ( ?l = ?w ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?x WHERE { { ?f property:present_in_work ?x . ?x rdf:type ontology:work_of_art . ?f rdf:type ontology:fictional_character } UNION { ?f property:present_in_work ?x . ?x rdf:type ontology:work_of_art . ?f rdf:type ontology:fictional_taxon } } GROUP BY ?x } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q784444
P1441
Q838948 Q95074 Q15707583
USER
And also tell me about G-Force?
(c(Q95074)|c(Q15707583),P1441,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15707583
action count
action filter_multi_types
action find_reverse
entity Q784444
relation P1441
type Q95074
type Q15707583
[[{'concept': 'Q95074'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P1441 resource:Q784444 . { { ?v rdf:type ontology:Q95074 } UNION { ?v rdf:type ontology:Q15707583 } } } } . FILTER ( ?q = ?z ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?d WHERE { ?n rdf:type ?w . VALUES ( ?w ) { ( ontology:Q95074 ) ( ontology:Q15707583 ) } } GROUP BY ?d } }
G-Force
action count
action approx
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
action count
action filter_multi_types
action find_reverse
entity G-Force
relation present in work
type fictional character
type fictional taxon
[[{'concept': 'fictional character'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:present_in_work resource:G-Force . { { ?v rdf:type ontology:fictional_character } UNION { ?v rdf:type ontology:fictional_taxon } } } } . FILTER ( ?q = ?z ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?d WHERE { ?n rdf:type ?w . VALUES ( ?w ) { ( ontology:fictional_character ) ( ontology:fictional_taxon ) } } GROUP BY ?d } }
[]
work of art fictional character fictional taxon
SYSTEM
543
Q86440 Q3512046 Q1002100 Q164813 Q190588 Q4008453 Q6072886 Q4205355 Q2875 Q28234 Q1140272 Q15220567 Q941944 Q195261 Q1507513 Q221947 Q7750966 Q3273477 Q204398 Q327713 Q309289 Q130283 Q512415 Q1388653 Q182692 Q2566505 Q786019 Q46717 Q25043 Q18822138 Q215750 Q171453 Q15990861 Q1171556 Q181803 Q388360 Q54274 Q5095462 Q7756461 Q1139454 Q102754 Q7742105 Q484675 Q158759 Q26154237 Q842106 Q719915 Q205028 Q332387 Q16937096 Q24815 Q22957393 Q537407 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 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 Q185658 Q19842746 Q2247470 Q2296376 Q1248429 Q19089 Q1046295 Q1749553 Q18406872 Q466423 Q23823458 Q1304560 Q1595630 Q1962426 Q1962032 Q7774950 Q41567 Q2608065 Q548303 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 Q184843 Q272064 Q156597 Q263460 Q715374 Q1316253 Q153723 Q105993 Q110206 Q18407657 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 Q103569 Q25167044 Q1617874 Q3298599 Q2306995 Q590216 Q2364439 Q458314 Q156519 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 Q464716 Q1140085 Q587921 Q1249536 Q567298 Q722682 Q18167809 Q2406987 Q1192024 Q18602670 Q1192189 Q179411 Q722267 Q1178292 Q181069 Q104123 Q15040681 Q3476432 Q263930
(c(Q95074)|c(Q15707583),P1441,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15707583
action count
action filter_multi_types
action find_reverse
entity Q784444
relation P1441
type Q95074
type Q15707583
[ANSWER]
[[{'concept': 'Q95074'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P1441 resource:Q784444 . { { ?v rdf:type ontology:Q95074 } UNION { ?v rdf:type ontology:Q15707583 } } } } . FILTER ( ?q = ?z ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?d WHERE { ?n rdf:type ?w . VALUES ( ?w ) { ( ontology:Q95074 ) ( ontology:Q15707583 ) } } GROUP BY ?d } }
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 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 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 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 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 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 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 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 Blade Runner The Living Daylights Men in Black II The Dead Pool Initial D Solomon and Sheba Inglourious Basterds Die Hard 2 Dirty Harry Captain America: Civil War 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! 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 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 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 Pulp Fiction Fright Night 2: New Blood Scream Blacula Scream The Next Three Days
543
action count
action approx
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
action count
action filter_multi_types
action find_reverse
entity G-Force
relation present in work
type fictional character
type fictional taxon
[[{'concept': 'fictional character'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:present_in_work resource:G-Force . { { ?v rdf:type ontology:fictional_character } UNION { ?v rdf:type ontology:fictional_taxon } } } } . FILTER ( ?q = ?z ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?d WHERE { ?n rdf:type ?w . VALUES ( ?w ) { ( ontology:fictional_character ) ( ontology:fictional_taxon ) } } GROUP BY ?d } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q838948 Q95074 Q15619164
USER
How many works of art are exactly 11 fictional characters or abstract beings shown in ?
(c(Q95074)|c(Q15619164),P1441,c(Q838948))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15619164
value 11
[[{'concept': 'Q95074'}, {'concept': 'Q15619164'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { FILTER ( ?w = 11 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?d WHERE { VALUES ( ?z ) { ( ontology:Q15619164 ) ( ontology:Q95074 ) } . ?x rdf:type ?z } GROUP BY ?d } }
action count
action equal
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 abstract being
value 11
[[{'concept': 'fictional character'}, {'concept': 'abstract being'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { FILTER ( ?w = 11 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?d WHERE { VALUES ( ?z ) { ( ontology:abstract_being ) ( ontology:fictional_character ) } . ?x rdf:type ?z } GROUP BY ?d } }
[]
work of art fictional character abstract being
SYSTEM
2
Q332387 Q387674
(c(Q95074)|c(Q15619164),P1441,c(Q838948))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q95074
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15619164
value 11
[ANSWER]
[[{'concept': 'Q95074'}, {'concept': 'Q15619164'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { FILTER ( ?w = 11 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?d WHERE { VALUES ( ?z ) { ( ontology:Q15619164 ) ( ontology:Q95074 ) } . ?x rdf:type ?z } GROUP BY ?d } }
The Taming of the Shrew Final Fantasy VII: Advent Children
2
action count
action equal
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 abstract being
value 11
[[{'concept': 'fictional character'}, {'concept': 'abstract being'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { FILTER ( ?w = 11 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?d WHERE { VALUES ( ?z ) { ( ontology:abstract_being ) ( ontology:fictional_character ) } . ?x rdf:type ?z } GROUP BY ?d } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1492
P291
Q1002697
USER
Which periodical literatures have Barcelona as their release location ?
(c(Q1002697),P291,Q1492)
action filter_type
action find_reverse
entity Q1492
relation P291
type Q1002697
[{'concept': 'Q1002697'}, 'P291', 'Q1492']
SELECT DISTINCT ?y WHERE { ?y property:P291 resource:Q1492 . ?y rdf:type ontology:Q1002697 }
Barcelona
action filter_type
action find_reverse
entity Barcelona
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Barcelona']
SELECT DISTINCT ?y WHERE { ?y property:place_of_publication resource:Barcelona . ?y rdf:type ontology:periodical_literature }
[]
periodical literature
Q20630722 Q511533 Q612315
SYSTEM
Tiempos Nuevos, La Vanguardia, La Revista Blanca
Q15818191 Q5963008 Q20104062 Q8218969 Q3202750 Q15861376 Q17679141 Q5758975 Q11687508 Q20104502 Q15727381 Q18608323 Q11041881 Q8773427 Q26132963 Q9061750 Q20630722 Q22121059 Q24577503 Q612315 Q8773515 Q20108306 Q3212039 Q20631561 Q16512842 Q3573492 Q24817465 Q5656817 Q11687717 Q5199031 Q18059856 Q8773506 Q20105326 Q511533 Q16504848 Q13634244 Q25178278 Q26234318 Q9018646 Q26201738 Q11908926 Q9018887 Q9098860 Q21979509 Q9018642 Q11913254 Q5821801 Q2836903 Q18620725 Q3208993 Q16761546 Q3890674 Q976268 Q19570978 Q35638 Q11930536 Q25631007 Q6024457 Q17379700 Q11925877 Q1172762 Q5822955 Q19803134 Q26197600 Q11687599 Q19801561 Q3050223 Q26201761 Q20105630 Q21480770 Q5374998 Q11006043
(c(Q1002697),P291,Q1492)
action filter_type
action find_reverse
entity Q1492
relation P291
type Q1002697
[ANSWERS] have Barcelona as their release location
[{'concept': 'Q1002697'}, 'P291', 'Q1492']
SELECT DISTINCT ?y WHERE { ?y property:P291 resource:Q1492 . ?y rdf:type ontology:Q1002697 }
La Violeta de oro La Corona de Aragón Butlletí Informatiu de Ceràmica Lo Gay Saber L'Avenç La Ilustración Ibérica Álbum Salón Cavanillesia L'Esquella de la Torratxa Popular Film Arc-voltaic Feminal El Estado Catalán El Socialista El Estandarte Real Por Favor Tiempos Nuevos Álbum salón Gaceta Médica Catalana La Revista Blanca El Viejo Topo La Ilustració Llevantina La Publicitat Biofilia Gaceta de Cataluña Llengües Vives Revista de Ciencias Históricas Acracia La Nau El Correo Catalán La Hormiga de Oro El Vapor Comunicació. Revista de recerca i anàlisi La Vanguardia Iberia El Be Negre Revista Internacional de Sociología de la Educación Cuadernos de Ruedo Ibérico La Ilustració Catalana La Prensa Bella Terra La Renaixensa Índice Histórico Español La Federación La Humanitat Catalunya gráfica El Día Gráfico La Campana de Gràcia La Ilustración de la Mujer La Flaca Arquitectura y Construcción Jen Picarol Barcelona Cómica El Periódico de Catalunya La Gramalla Mercurio Mortadelo (magazine) La Ilustración Artística Hispania Dau al Set El Productor Treball Solidaridad Nacional La Campana Catalana La Revista ¡Cu-Cut! La Carcajada Digithum La Madeja Política En Patufet El Matí
Tiempos Nuevos, La Vanguardia and La Revista Blanca have Barcelona as their release location
Tiempos Nuevos La Vanguardia La Revista Blanca
action filter_type
action find_reverse
entity Barcelona
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Barcelona']
SELECT DISTINCT ?y WHERE { ?y property:place_of_publication resource:Barcelona . ?y rdf:type ontology:periodical_literature }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1492
P36
Q1048835
USER
Which political territories have Barcelona as their capital ?
(c(Q1048835),P36,Q1492)
action filter_type
action find_reverse
entity Q1492
relation P36
type Q1048835
[{'concept': 'Q1048835'}, 'P36', 'Q1492']
SELECT DISTINCT ?y WHERE { ?y property:P36 resource:Q1492 . ?y rdf:type ontology:Q1048835 }
Barcelona
action filter_type
action find_reverse
entity Barcelona
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Barcelona']
SELECT DISTINCT ?y WHERE { ?y property:capital resource:Barcelona . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1233672 Q5705
SYSTEM
County of Barcelona, Catalonia
Q1233672 Q5705
(c(Q1048835),P36,Q1492)
action filter_type
action find_reverse
entity Q1492
relation P36
type Q1048835
The [ANSWERS] have Barcelona as their capital
[{'concept': 'Q1048835'}, 'P36', 'Q1492']
SELECT DISTINCT ?y WHERE { ?y property:P36 resource:Q1492 . ?y rdf:type ontology:Q1048835 }
County of Barcelona Catalonia
The County of Barcelona and Catalonia have Barcelona as their capital
County of Barcelona Catalonia
action filter_type
action find_reverse
entity Barcelona
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Barcelona']
SELECT DISTINCT ?y WHERE { ?y property:capital resource:Barcelona . ?y rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20630722
P767
Q502895
USER
Who assisted Tiempos Nuevos ?
(Q20630722,P767,c(Q502895))
action filter_type
action find
entity Q20630722
relation P767
type Q502895
['Q20630722', 'P767', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q20630722 property:P767 ?p . ?p rdf:type ontology:Q502895 }
Tiempos Nuevos
action filter_type
action find
entity Tiempos Nuevos
relation contributor
type common name
['Tiempos Nuevos', 'contributor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Tiempos_Nuevos property:contributor ?p . ?p rdf:type ontology:common_name }
[]
common name
Q3054042 Q18984926 Q4748068
SYSTEM
Joan Peiró, Alfonso Martínez Rizo, Amparo Poch y Gascón
Q4748068 Q20505375 Q2981820 Q18984926 Q3054042
(Q20630722,P767,c(Q502895))
action filter_type
action find
entity Q20630722
relation P767
type Q502895
[ANSWERS] assisted Tiempos Nuevos
['Q20630722', 'P767', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q20630722 property:P767 ?p . ?p rdf:type ontology:Q502895 }
Amparo Poch y Gascón Jacinto Torío Rodríguez Lucía Sánchez Saornil Alfonso Martínez Rizo Joan Peiró
Joan Peiró, Alfonso Martínez Rizo and Amparo Poch y Gascón assisted Tiempos Nuevos
Joan Peiró Alfonso Martínez Rizo Amparo Poch y Gascón
action filter_type
action find
entity Tiempos Nuevos
relation contributor
type common name
['Tiempos Nuevos', 'contributor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Tiempos_Nuevos property:contributor ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3054042 Q18984926 Q4748068
P106
Q12737077
USER
Which occupations have those people as his/her 's career ?
(Q3054042,P106,c(Q12737077)) (Q18984926,P106,c(Q12737077)) (Q4748068,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q3054042', 'P106', {'concept': 'Q12737077'}] ['Q18984926', 'P106', {'concept': 'Q12737077'}] ['Q4748068', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . VALUES ( ?n ) { ( resource:Q4748068 ) ( resource:Q20505375 ) ( resource:Q2981820 ) } . ?n property:P106 ?i }
Joan Peiró Alfonso Martínez Rizo Amparo Poch y Gascón
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Joan Peiró', 'occupation', {'concept': 'occupation'}] ['Alfonso Martínez Rizo', 'occupation', {'concept': 'occupation'}] ['Amparo Poch y Gascón', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . VALUES ( ?n ) { ( resource:Amparo_Poch_y_Gascón ) ( resource:Jacinto_Torío_Rodríguez ) ( resource:Lucía_Sánchez_Saornil ) } . ?n property:occupation ?i }
[]
occupation
Q37226 Q1930187 Q82955
SYSTEM
teacher, journalist, politician
Q82955 Q36180 Q18931911 Q37226 Q2267418 Q1930187 Q39631 Q2640827
(Q3054042,P106,c(Q12737077)) (Q18984926,P106,c(Q12737077)) (Q4748068,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWERS] have those people as his/her 's career
['Q3054042', 'P106', {'concept': 'Q12737077'}] ['Q18984926', 'P106', {'concept': 'Q12737077'}] ['Q4748068', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . VALUES ( ?n ) { ( resource:Q4748068 ) ( resource:Q20505375 ) ( resource:Q2981820 ) } . ?n property:P106 ?i }
politician writer theorist teacher industrial engineer journalist physician gynaecologist
Teacher, journalist and politician have those people as his/her 's career
teacher journalist politician
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Joan Peiró', 'occupation', {'concept': 'occupation'}] ['Alfonso Martínez Rizo', 'occupation', {'concept': 'occupation'}] ['Amparo Poch y Gascón', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . VALUES ( ?n ) { ( resource:Amparo_Poch_y_Gascón ) ( resource:Jacinto_Torío_Rodríguez ) ( resource:Lucía_Sánchez_Saornil ) } . ?n property:occupation ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3054042
P1412
Q34770
USER
Which language can Joan Peiró understand ?
(Q3054042,P1412,c(Q34770))
action filter_type
action find
entity Q3054042
relation P1412
type Q34770
['Q3054042', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q3054042 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Joan Peiró
action filter_type
action find
entity Joan Peiró
relation languages spoken, written or signed
type language
['Joan Peiró', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Joan_Peiró property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q3054042,P1412,c(Q34770))
action filter_type
action find
entity Q3054042
relation P1412
type Q34770
Joan Peiró can understand the [ANSWER]
['Q3054042', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q3054042 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Spanish
Joan Peiró can understand the Spanish
Spanish
action filter_type
action find
entity Joan Peiró
relation languages spoken, written or signed
type language
['Joan Peiró', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Joan_Peiró property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3054042
P20
Q1048835
USER
Where did Joan Peiró die ?
(Q3054042,P20,c(Q1048835))
action filter_type
action find
entity Q3054042
relation P20
type Q1048835
['Q3054042', 'P20', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1048835 . resource:Q3054042 property:P20 ?v }
Joan Peiró
action filter_type
action find
entity Joan Peiró
relation place of death
type political territorial entity
['Joan Peiró', 'place of death', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_territorial_entity . resource:Joan_Peiró property:place_of_death ?v }
[]
political territorial entity
Q23042
SYSTEM
Paterna
Q23042
(Q3054042,P20,c(Q1048835))
action filter_type
action find
entity Q3054042
relation P20
type Q1048835
Joan Peiró died in [ANSWER]
['Q3054042', 'P20', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1048835 . resource:Q3054042 property:P20 ?v }
Paterna
Joan Peiró died in Paterna
Paterna
action filter_type
action find
entity Joan Peiró
relation place of death
type political territorial entity
['Joan Peiró', 'place of death', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:political_territorial_entity . resource:Joan_Peiró property:place_of_death ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q18984926 Q16014700
P767
Q502895
USER
How many people did Alfonso Martínez Rizo or Dictionary of National Biography, first supplement contribute to ?
(c(Q502895),P767,Q18984926) (c(Q502895),P767,Q16014700)
action count
action union
action filter_type
action find_reverse
entity Q18984926
relation P767
type Q502895
action filter_type
action find_reverse
entity Q16014700
relation P767
type Q502895
[{'concept': 'Q502895'}, 'P767', 'Q18984926'] [{'concept': 'Q502895'}, 'P767', 'Q16014700']
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P767 ?o . VALUES ( ?o ) { ( resource:Q18984926 ) ( resource:Q16014700 ) } }
Alfonso Martínez Rizo Dictionary of National Biography, first supplement
action count
action union
action filter_type
action find_reverse
entity Alfonso Martínez Rizo
relation contributor
type common name
action filter_type
action find_reverse
entity Dictionary of National Biography, first supplement
relation contributor
type common name
[{'concept': 'common name'}, 'contributor', 'Alfonso Martínez Rizo'] [{'concept': 'common name'}, 'contributor', 'Dictionary of National Biography, first supplement']
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:contributor ?o . VALUES ( ?o ) { ( resource:Alfonso_Martínez_Rizo ) ( resource:Dictionary_of_National_Biography,_first_supplement ) } }
[]
common name
SYSTEM
2
Q4722210 Q5416283
(c(Q502895),P767,Q18984926) (c(Q502895),P767,Q16014700)
action count
action union
action filter_type
action find_reverse
entity Q18984926
relation P767
type Q502895
action filter_type
action find_reverse
entity Q16014700
relation P767
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P767', 'Q18984926'] [{'concept': 'Q502895'}, 'P767', 'Q16014700']
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P767 ?o . VALUES ( ?o ) { ( resource:Q18984926 ) ( resource:Q16014700 ) } }
Alfred Ainger Evelyn Abbott
2
action count
action union
action filter_type
action find_reverse
entity Alfonso Martínez Rizo
relation contributor
type common name
action filter_type
action find_reverse
entity Dictionary of National Biography, first supplement
relation contributor
type common name
[{'concept': 'common name'}, 'contributor', 'Alfonso Martínez Rizo'] [{'concept': 'common name'}, 'contributor', 'Dictionary of National Biography, first supplement']
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:contributor ?o . VALUES ( ?o ) { ( resource:Alfonso_Martínez_Rizo ) ( resource:Dictionary_of_National_Biography,_first_supplement ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q803894 Q1492
P47 P17
Q1048835
USER
Which political territories share border with Barcelona or are Baines River a part of ?
OR((Q1492,P47,c(Q1048835)), (Q803894,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q1492
relation P47
action find
entity Q803894
relation P17
type Q1048835
{'OR': [['Q1492', 'P47', {'concept': 'Q1048835'}], ['Q803894', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1048835 . { { resource:Q1492 property:P47 ?x } UNION { resource:Q803894 property:P17 ?x } } }
Baines River Barcelona
action filter_type
action union
action find
entity Barcelona
relation shares border with
action find
entity Baines River
relation country
type political territorial entity
{'OR': [['Barcelona', 'shares border with', {'concept': 'political territorial entity'}], ['Baines River', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_territorial_entity . { { resource:Barcelona property:shares_border_with ?x } UNION { resource:Baines_River property:country ?x } } }
[]
political territorial entity
Q15641 Q15639 Q13927 Q15619 Q408 Q15621 Q15471 Q13922 Q15473 Q15470
SYSTEM
Some of them are Sant Just Desvern, Sant Feliu de Llobregat, Montcada i Reixac, El Prat de Llobregat, Australia, Esplugues de Llobregat, Sant Adrià de Besòs, Cerdanyola del Vallès, Santa Coloma de Gramenet, L'Hospitalet de Llobregat
Q15639 Q15470 Q15471 Q15621 Q15619 Q13927 Q408 Q13922 Q13936 Q15641 Q15473
OR((Q1492,P47,c(Q1048835)), (Q803894,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q1492
relation P47
action find
entity Q803894
relation P17
type Q1048835
[ANSWERS] share border with Barcelona or are Baines River a part of
{'OR': [['Q1492', 'P47', {'concept': 'Q1048835'}], ['Q803894', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1048835 . { { resource:Q1492 property:P47 ?x } UNION { resource:Q803894 property:P17 ?x } } }
Sant Feliu de Llobregat L'Hospitalet de Llobregat Sant Adrià de Besòs Esplugues de Llobregat El Prat de Llobregat Montcada i Reixac Australia Cerdanyola del Vallès Sant Cugat del Vallès Sant Just Desvern Santa Coloma de Gramenet
Sant Just Desvern, Sant Feliu de Llobregat, Montcada i Reixac, El Prat de Llobregat, Australia, Esplugues de Llobregat, Sant Adrià de Besòs, Cerdanyola del Vallès, Santa Coloma de Gramenet and L'Hospitalet de Llobregat share border with Barcelona or are Baines River a part of
Sant Just Desvern Sant Feliu de Llobregat Montcada i Reixac El Prat de Llobregat Australia Esplugues de Llobregat Sant Adrià de Besòs Cerdanyola del Vallès Santa Coloma de Gramenet L'Hospitalet de Llobregat
action filter_type
action union
action find
entity Barcelona
relation shares border with
action find
entity Baines River
relation country
type political territorial entity
{'OR': [['Barcelona', 'shares border with', {'concept': 'political territorial entity'}], ['Baines River', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_territorial_entity . { { resource:Barcelona property:shares_border_with ?x } UNION { resource:Baines_River property:country ?x } } }
[]