Simple Question (Direct)
Simple Question
Q21810639
P19
Q56061
USER
Which administrative territory was Jules Eugene Pages born at ?
(Q21810639,P19,c(Q56061))
action filter_type
action find
entity Q21810639
relation P19
type Q56061
['Q21810639', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q21810639 property:P19 ?d }
Jules Eugene Pages
action filter_type
action find
entity Jules Eugene Pages
relation place of birth
type administrative territorial entity
['Jules Eugene Pages', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Jules_Eugene_Pages property:place_of_birth ?d }
[]
administrative territorial entity
Q62
SYSTEM
San Francisco
Q62
(Q21810639,P19,c(Q56061))
action filter_type
action find
entity Q21810639
relation P19
type Q56061
Jules Eugene Pages was born in [ANSWER]
['Q21810639', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q21810639 property:P19 ?d }
San Francisco
Jules Eugene Pages was born in San Francisco
San Francisco
action filter_type
action find
entity Jules Eugene Pages
relation place of birth
type administrative territorial entity
['Jules Eugene Pages', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Jules_Eugene_Pages property:place_of_birth ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q62
P915
Q838948
USER
What were filmed at that administrative territory ?
(c(Q838948),P915,Q62)
action filter_type
action find_reverse
entity Q62
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q62']
SELECT DISTINCT ?o WHERE { ?o property:P915 resource:Q62 . ?o rdf:type ontology:Q838948 }
San Francisco
action filter_type
action find_reverse
entity San Francisco
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'San Francisco']
SELECT DISTINCT ?o WHERE { ?o property:filming_location resource:San_Francisco . ?o rdf:type ontology:work_of_art }
[]
work of art
Q44578 Q5901134 Q213081
SYSTEM
Titanic, Ant-Man, Star Trek
Q814490 Q785461 Q7261583 Q83495 Q129265 Q3198377 Q177077 Q238296 Q146673 Q16249604 Q1928695 Q753159 Q4086682 Q4987131 Q496316 Q7561043 Q1330571 Q241482 Q383844 Q2276242 Q464252 Q318910 Q220515 Q642516 Q1755578 Q847599 Q290730 Q2275442 Q1907536 Q3325145 Q896045 Q579757 Q486597 Q216720 Q221345 Q1772403 Q2090779 Q458852 Q5901134 Q7745907 Q44578 Q45839 Q585983 Q720357 Q1536277 Q652700 Q576367 Q971468 Q1134271 Q3210737 Q2569590 Q7193217 Q2715149 Q889386 Q1111969 Q1756022 Q663014 Q497082 Q372959 Q15140437 Q5297286 Q3505607 Q3307601 Q16973734 Q202548 Q13635418 Q466204 Q1313063 Q13374569 Q2967565 Q1009788 Q255742 Q170250 Q200299 Q736969 Q839434 Q1609444 Q696042 Q18163136 Q368577 Q329709 Q930392 Q4241485 Q844887 Q1812591 Q17076106 Q1356241 Q174284 Q955389 Q337730 Q471842 Q1148079 Q508841 Q495128 Q4127784 Q263460 Q330663 Q1302406 Q664234 Q7731172 Q290796 Q390299 Q1214303 Q105993 Q225260 Q151825 Q1051469 Q1471358 Q332368 Q1253887 Q598818 Q17078153 Q587847 Q462406 Q1271874 Q1057045 Q642546 Q3345534 Q729782 Q110206 Q386291 Q15973073 Q5171622 Q15046671 Q110043 Q5976135 Q11220194 Q2394570 Q1528457 Q7848309 Q1265691 Q1740809 Q191543 Q730888 Q185658 Q624609 Q5277122 Q2296376 Q17010307 Q1063617 Q1046295 Q1632040 Q221168 Q506390 Q6806762 Q648326 Q1146315 Q375855 Q634724 Q301083 Q218172 Q1380367 Q4905600 Q156519 Q7425926 Q5998659 Q1306758 Q1986084 Q466884 Q1171279 Q168010 Q7774884 Q1858277 Q16248929 Q283586 Q1049095 Q1137899 Q524849 Q217627 Q232219 Q2907178 Q4207359 Q7677799 Q1506412 Q1783576 Q701896 Q592457 Q690583 Q591362 Q859494 Q1122571 Q1197185 Q243983 Q3566942 Q315592 Q221462 Q465478 Q1104158 Q483852 Q1476726 Q5506362 Q213081 Q213053 Q1192612 Q1496227 Q2437383 Q645263 Q1092399 Q3572890 Q955540 Q16249822 Q2619747 Q723187 Q12135427 Q2336835 Q628154 Q10858674 Q1146570 Q533383 Q1148134 Q41315 Q12061812 Q10933704 Q748080 Q7091907 Q1070339 Q4004213 Q7723016 Q464716 Q1493723 Q261209 Q201687 Q776302 Q7993253 Q813983 Q1853472 Q185490 Q4921990 Q2734213 Q5691893 Q5639157 Q5100167 Q1140762 Q1114345 Q50937 Q695297 Q7457266 Q75539 Q938858 Q1958098 Q498990 Q18154528 Q7774258 Q130769 Q207954 Q937087 Q1305705 Q47296 Q601651
(c(Q838948),P915,Q62)
action filter_type
action find_reverse
entity Q62
relation P915
type Q838948
[ANSWERS] were filmed at that administrative territory
[{'concept': 'Q838948'}, 'P915', 'Q62']
SELECT DISTINCT ?o WHERE { ?o property:P915 resource:Q62 . ?o rdf:type ontology:Q838948 }
Behind the Green Door Sudden Impact Pursuit of Equality The Matrix Junior Koko: A Talking Gorilla The Principal Heart and Souls Basic Instinct Criminally Insane When a Man Loves a Woman Dragon Fight Ticket to Heaven Bukowski Escape from Alcatraz Final Destination Rumor Has It… 50 First Dates Rollerball Petulia Bedazzled Interview with the Vampire The Pursuit of Happyness American Me Can't Stop the Music The Last Waltz Getting Even with Dad Sewing Woman The Laughing Policeman Mother Boys and Girls Star Trek VI: The Undiscovered Country Burglar The Rock Batman Forever The Times of Harvey Milk How Stella Got Her Groove Back Magnum Force Ant-Man The Last Night of the Barbary Coast Titanic Memoirs of a Geisha D.O.A. Predator 2 The First $20 Million Is Always the Hardest Golden Gate U-571 Serendipity The Sweetest Thing La Mission Quicksilver Pig Hunt Hardcore Jade High Crimes The Presidio Dr. Dolittle Sneakers The Towering Inferno Terminator Genisys Dopamine Susan Slade Portrait in Black The Diary of a Teenage Girl Vertigo Golden Gate Girl Faces of Death Happy Gilmore Need for Speed Chu Chu and the Philly Flash The Conversation Fearless Bicentennial Man All About Eve Guess Who's Coming to Dinner What Dreams May Come Herbie Rides Again Hulk Both Harold and Maude Mutiny on the Bounty True Believer Nightmare in Blood 48 Hrs. Pal Joey Pretty Peaches What's Up, Doc? Raiders of the Lost Ark Nine Months No Small Affair Star Trek IV: The Voyage Home Pacific Heights House of Sand and Fog Tidal Wave All About Evil The Dead Pool My Name Is Khan Dark Passage Itinéraire d'un enfant gâté Godzilla Sans Soleil The Fan The Lady from Shanghai Die Hard 2 George of the Jungle The Heartbreak Kid The Core Jack A View to a Kill Dr. Dolittle 2 Invasion of the Body Snatchers Resolution Bandits Dragon: The Bruce Lee Story After the Thin Man The Kite Runner Mona Lisa Smile The Sniper The Parent Trap Dirty Harry EDtv San Andreas Corner Store No Escape The Birds I Am a Ghost Dawn of the Planet of the Apes Shoot the Moon You Kill Me Truth about Kerry The Five-Year Engagement Memoirs of an Invisible Man Terminator Salvation Contagion Indiana Jones and the Last Crusade Arachnophobia Dim Sum: A Little Bit of Heart The Joy Luck Club Resurrection of Eve Dogfight The Princess Diaries Howl X-Men: The Last Stand Innerspace Medicine for Melancholy Final Analysis Take the Money and Run American Graffiti The Woman in Red Homegrown Zodiac Good Neighbor Sam Big Dreams Little Tokyo Around the World in 80 Days Satanis Knife Fight Foul Play The Organization The Net The Competition City of Angels The Wild Parrots of Telegraph Hill Metro Brain Dead The Master Rent Funny People Barbary Coast The Graduate 40 Days and 40 Nights Blue Jasmine The Internship Take This Hammer Going the Distance Kuffs Twisted The Enforcer Greed The Wedding Planner Big Trouble in Little China The Unbearable Lightness of Being The Right Stuff Rise of the Planet of the Apes We Were Here Four Christmases The Maltese Falcon Star Trek II: The Wrath of Khan Coach Carter Mrs. Doubtfire Mango Kiss Fruit Fly Star Trek Superman Yellow Faced Tiger Love Aaj Kal They Call Me MISTER Tibbs! Another 48 Hrs. Tin Cup Your Mommy Kills Animals Experiment in Terror Death Nurse 2 Crumb The Game The Yo-Yo Gang Born to Be Bad Mission: Impossible – Ghost Protocol Big Eyes Howard the Duck The Room Jack the Bear Under the Tuscan Sun Million Dollar Weekend The Adventurers Romeo Must Die Once a Thief About Cherry One Is a Lonely Number The Church of Saint Coltrane Phenomenon The Other Sister Bullitt Milk Sister Act Where Have All the Flowers Gone? Bee Season Woman on Top Hereafter Black Tar Heroin 8 Heart Beat Haiku Tunnel Chinatown Kid Sister Act 2: Back in the Habit Machine Gun McCain It Came from Beneath the Sea August Rush Seven Girlfriends Just like Heaven On the Road Shoot to Kill Copycat The Stanford Prison Experiment The Wesley's Mysterious File San Francisco Pretty Woman The Doors The Love Bug Family Plot Sudden Fear
Titanic, Ant-Man and Star Trek were filmed at that administrative territory
Titanic Ant-Man Star Trek
action filter_type
action find_reverse
entity San Francisco
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'San Francisco']
SELECT DISTINCT ?o WHERE { ?o property:filming_location resource:San_Francisco . ?o rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2807 Q62
P915
Q838948
USER
Or Madrid?
OR((c(Q838948),P915,Q62), (c(Q838948),P915,Q2807))
action filter_type
action union
action find_reverse
entity Q62
relation P915
action find_reverse
entity Q2807
relation P915
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P915', 'Q62'], [{'concept': 'Q838948'}, 'P915', 'Q2807']]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?g ) { ( resource:Q62 ) ( resource:Q2807 ) } . ?r property:P915 ?g } . ?r rdf:type ontology:Q838948 }
Madrid San Francisco
action filter_type
action union
action find_reverse
entity San Francisco
relation filming location
action find_reverse
entity Madrid
relation filming location
type work of art
{'OR': [[{'concept': 'work of art'}, 'filming location', 'San Francisco'], [{'concept': 'work of art'}, 'filming location', 'Madrid']]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?g ) { ( resource:San_Francisco ) ( resource:Madrid ) } . ?r property:filming_location ?g } . ?r rdf:type ontology:work_of_art }
[]
work of art
Q2907178 Q220515 Q464716 Q1305262 Q17076106 Q3182263 Q221168 Q859494 Q3210737 Q4921990
SYSTEM
Some of them are Blue Jasmine, The Pursuit of Happyness, Phenomenon, Custer of the West, Pretty Peaches, John Paul Jones, X-Men: The Last Stand, Big Trouble in Little China, La Mission, Black Tar Heroin
Q2301945 Q4752697 Q83495 Q3824279 Q1756022 Q318910 Q185490 Q486597 Q221345 Q1421902 Q3311412 Q2090779 Q1321880 Q747441 Q44578 Q3212621 Q1312929 Q1775628 Q15140437 Q2559937 Q1215878 Q2418958 Q53669 Q1812591 Q337730 Q1148079 Q508841 Q4127784 Q330663 Q290796 Q443635 Q213081 Q332368 Q478076 Q462406 Q3824056 Q6130409 Q2712855 Q110043 Q16303150 Q11220194 Q2394570 Q1528457 Q276734 Q1740809 Q628154 Q1059164 Q1051469 Q221168 Q218172 Q5277122 Q649850 Q619228 Q1380367 Q1678494 Q5998659 Q1986084 Q938858 Q232219 Q1928695 Q1330571 Q3182263 Q592457 Q3212104 Q785461 Q465478 Q976934 Q1192612 Q2437383 Q1092399 Q108297 Q1057045 Q1100832 Q12135427 Q110206 Q476941 Q7091907 Q7723016 Q593615 Q1424099 Q736969 Q696042 Q2060452 Q643283 Q1180275 Q1113039 Q1678427 Q1114345 Q5997140 Q533383 Q18154528 Q700682 Q47296 Q238296 Q5234857 Q7261583 Q471500 Q129265 Q2740346 Q1138798 Q7561043 Q216006 Q2520370 Q7838742 Q1747275 Q372959 Q15046671 Q847599 Q1907536 Q7745907 Q2275442 Q150881 Q129869 Q652700 Q576367 Q290730 Q1134271 Q1545331 Q2569590 Q2573457 Q106571 Q174284 Q1111969 Q663014 Q2566971 Q255742 Q76479 Q276693 Q200299 Q466204 Q693660 Q1709746 Q917910 Q4241485 Q931753 Q563745 Q3222588 Q2967565 Q522015 Q1471358 Q955389 Q598818 Q722353 Q945883 Q181540 Q642546 Q3345534 Q15973073 Q5171622 Q6806762 Q744562 Q1265691 Q7361466 Q185658 Q2296376 Q17010307 Q1046295 Q587847 Q1882729 Q3202905 Q648326 Q1140762 Q130769 Q1757581 Q611966 Q283586 Q5738530 Q7731172 Q232003 Q1783576 Q971468 Q1122571 Q1633225 Q221462 Q367748 Q329805 Q2581918 Q7848309 Q1496227 Q2907178 Q390299 Q3572890 Q4008436 Q955540 Q170250 Q2336835 Q1169369 Q10933704 Q201687 Q635369 Q1853472 Q1582752 Q1050105 Q5966848 Q5639157 Q1754820 Q618479 Q1130310 Q3223168 Q1609444 Q498990 Q7774258 Q332515 Q261209 Q937087 Q153677 Q1302406 Q696057 Q595882 Q193573 Q2235229 Q2395159 Q16249604 Q151825 Q677636 Q496316 Q4004213 Q579757 Q5901134 Q41483 Q1971276 Q585983 Q720357 Q192160 Q3281101 Q7193217 Q889386 Q2586645 Q2290517 Q5297286 Q3505607 Q13635418 Q13374569 Q2656108 Q16973734 Q4401602 Q617203 Q839434 Q18163136 Q470584 Q1137899 Q5400566 Q610191 Q3614568 Q17076106 Q1537542 Q495128 Q263460 Q1316253 Q105993 Q225260 Q776302 Q729782 Q386291 Q50937 Q511404 Q5976135 Q930392 Q4686970 Q3878550 Q375454 Q146673 Q1063617 Q1536277 Q2529482 Q506390 Q1146315 Q375855 Q634724 Q1171279 Q2719268 Q1217883 Q3226852 Q5506362 Q241811 Q1306758 Q5850047 Q107226 Q1858277 Q1271874 Q323827 Q524849 Q217627 Q177077 Q46044 Q4207359 Q191543 Q1636502 Q591362 Q859494 Q9019307 Q448211 Q7457266 Q7372082 Q244115 Q16249822 Q1961583 Q748080 Q209667 Q10858674 Q1146570 Q1755578 Q41315 Q1070339 Q1493723 Q4921990 Q1472478 Q624609 Q5100167 Q3353192 Q207954 Q7770736 Q601651 Q3965943 Q258800 Q1549966 Q814490 Q1169605 Q75539 Q1760278 Q753159 Q4086682 Q4987131 Q386611 Q2995985 Q2276242 Q464252 Q642516 Q2715312 Q896045 Q844819 Q216720 Q1772403 Q458852 Q383844 Q730888 Q3210737 Q2715149 Q497082 Q3198377 Q705247 Q202548 Q1313063 Q1009788 Q368577 Q329709 Q844887 Q471842 Q376291 Q3136876 Q7754150 Q2066531 Q664234 Q392834 Q1214303 Q1305262 Q303235 Q241482 Q2364668 Q833292 Q1136400 Q7689596 Q3307601 Q1198387 Q17078153 Q600176 Q762927 Q1350521 Q621656 Q2734213 Q463946 Q309863 Q45839 Q624776 Q1333403 Q156519 Q1257088 Q1632040 Q1104158 Q7425926 Q3766322 Q1129761 Q2619747 Q3791058 Q1253887 Q168010 Q16248929 Q1049095 Q220515 Q7677799 Q1506412 Q3135321 Q701896 Q224985 Q690583 Q1213162 Q650043 Q1356241 Q1197185 Q243983 Q3566942 Q315592 Q16259187 Q483852 Q1476726 Q3228011 Q213053 Q645263 Q1877554 Q1339013 Q192022 Q3861013 Q723187 Q1148134 Q1702708 Q12061812 Q9086110 Q3572392 Q464716 Q2706071 Q7993253 Q478780 Q813983 Q301083 Q909334 Q7774884 Q5691893 Q3325145 Q310427 Q695297 Q4905600 Q1958098 Q852841 Q1092932 Q466884 Q1305705 Q2409001 Q1765922
OR((c(Q838948),P915,Q62), (c(Q838948),P915,Q2807))
action filter_type
action union
action find_reverse
entity Q62
relation P915
action find_reverse
entity Q2807
relation P915
type Q838948
[ANSWERS]
{'OR': [[{'concept': 'Q838948'}, 'P915', 'Q62'], [{'concept': 'Q838948'}, 'P915', 'Q2807']]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?g ) { ( resource:Q62 ) ( resource:Q2807 ) } . ?r property:P915 ?g } . ?r rdf:type ontology:Q838948 }
La comunidad Ninette The Matrix The Thin Red Line The Presidio Interview with the Vampire Hereafter Burglar Batman Forever Alatriste El diputado How Stella Got Her Groove Back Tristana Take My Eyes Titanic The Revolt of the Slaves The Day of the Beast Villa Rides Terminator Genisys Love Can Seriously Damage Your Health Return of the Seven Manolete Pepi, Luci, Bom Pal Joey No Small Affair Pacific Heights House of Sand and Fog All About Evil My Name Is Khan Sans Soleil La Noche de Walpurgis Star Trek A View to a Kill Law of Desire Dragon: The Bruce Lee Story Twisted Obsession Slugs No Rest for the Wicked The Birds The Sailor with Golden Fists Dawn of the Planet of the Apes Shoot the Moon You Kill Me Matador Memoirs of an Invisible Man Mission: Impossible – Ghost Protocol Goal II: Living the Dream The Core X-Men: The Last Stand Zodiac Dim Sum: A Little Bit of Heart Horror Express Alexander the Great Good Neighbor Sam The Grandfather Knife Fight The Organization On the Road 40 Days and 40 Nights When a Man Loves a Woman Rumor Has It… John Paul Jones The Enforcer The Case of the Scorpion's Tail Sudden Impact Star Trek II: The Wrath of Khan The Red Squirrel Yellow Faced Tiger They Call Me MISTER Tibbs! Tin Cup Spartacus The Kite Runner Mortadelo & Filemon: The Big Adventure The Yo-Yo Gang Dirty Harry La Tulipe noire Once a Thief The Church of Saint Coltrane The Sea Inside Live Flesh Guess Who's Coming to Dinner Hulk What Have I Done to Deserve This? Women on the Verge of a Nervous Breakdown Princesas The Dancer Upstairs Secrets of the Heart Machine Gun McCain My Love Is Called Margarita The Room The Stanford Prison Experiment Battle of the Bulge Family Plot Heart and Souls Km. 0 Pursuit of Equality The Secret Life of Words Junior The Kovak Box That Obscure Object of Desire Final Destination Pan's Labyrinth The Other Side of the Bed Tres de la Cruz Roja Not on Your Life The Towering Inferno No Escape The Last Waltz The Laughing Policeman The Last Night of the Barbary Coast Sewing Woman Raise Ravens Torrente 4: Lethal Crisis Golden Gate U-571 Getting Even with Dad The Sweetest Thing The 7th Voyage of Sinbad Quicksilver Open Graves From Russia with Love Raiders of the Lost Ark High Crimes Dr. Dolittle Crimen Ferpecto Fearless A Fistful of Dollars Dias contados All About Eve Faces of Death Torrente 3: El protector José and Pilar The Blind Sunflowers Nightmare in Blood The Flower of My Secret Ana and the Wolves Le Désir et l'Amour Chu Chu and the Philly Flash Deception Jack Nine Months Invasion of the Body Snatchers Verbo El Cid Quantum of Solace Mona Lisa Smile The Sniper San Andreas Corner Store Medicine for Melancholy El Bola The Five-Year Engagement Roma Indiana Jones and the Last Crusade The Joy Luck Club Resurrection of Eve The Princess Diaries Bandits Golden Balls El Retorno de Walpurgis Final Analysis Sister Act 2: Back in the Habit San Francisco Lost in La Mancha The Pride and the Passion The Master Cabriola Godzilla Compañeros Kuffs Serendipity The Unbearable Lightness of Being Sex and Lucia The Maltese Falcon The Fall of the Roman Empire All About My Mother Tirant lo Blanc Truth about Kerry Love Aaj Kal Blue Jasmine The Fan Your Mommy Kills Animals Diary of a Nymphomaniac Experiment in Terror Bicentennial Man Born to Be Bad Dark Habits The Adventurers Milk Queens Woman on Top Torrente 2: Misión en Marbella Torrente, el brazo tonto de la ley The Rift Haiku Tunnel Nightmare City Agustina of Aragon The Skin I Live In Count Dracula's Great Love Herbie Rides Again Copycat The Wesley's Mysterious File The Others Bullitt The Doors For a Few Dollars More Dark Passage Around the World in 80 Days My Mother Likes Women Moulin Rouge! Megiddo: The Omega Code 2 The Weakness of the Bolshevik Criminally Insane The Heartbreak Kid Lisa and the Devil Escape from Alcatraz One Is a Lonely Number Star Trek VI: The Undiscovered Country Ant-Man The Good, the Bad and the Ugly A Funny Thing Happened on the Way to the Forum D.O.A. Predator 2 The Limits of Control Soldiers of Salamina Pig Hunt Jade Camino The Spirit of the Beehive Dopamine Susan Slade Golden Gate Girl Need for Speed I'm So Excited The Diary of a Teenage Girl Love and Pain and the Whole Damn Thing The Method What Dreams May Come Both The Four Musketeers Funny People La ciudad no es para mí Imagining Argentina Amore e chiacchiere Pretty Peaches The Golden Voyage of Sinbad Tidal Wave The Dead Pool Solomon and Sheba Die Hard 2 George of the Jungle Sister Act The Parent Trap EDtv It Came from Beneath the Sea Beneath Still Waters I Am a Ghost True Believer Adão e Eva Los tramposos Agent 3S3, Massacre in the Sun Basic Instinct Dogfight The First $20 Million Is Always the Hardest Chimes at Midnight Innerspace Take the Money and Run American Graffiti The Woman in Red The Competition ¡Ay Carmela! The Pod People Pieces Fruit Fly Django Foul Play Madrid, 1987 The Bourne Ultimatum Metro After the Thin Man Doctor Zhivago Barbary Coast The Graduate The Principal Labyrinth of Passion The Internship Terminator Salvation Tesis The Wedding Planner Big Trouble in Little China Family United Solarbabies Seven Girlfriends Rowing with the Wind 55 Days at Peking Death Nurse 2 Lovers Romeo Must Die Volver Big Eyes Howard the Duck Can't Stop the Music Under the Tuscan Sun About Cherry The Other Sister Black Tar Heroin Kika Arachnophobia Chinatown Kid Open Windows Pretty Woman The Turkish Passion Sudden Fear ¡Dispara! Cachorro Armour of God II: Operation Condor Behind the Green Door Let Sleeping Corpses Lie Just like Heaven The Hit Dragon Fight Ticket to Heaven Bukowski Intacto Tip on a Dead Jockey Petulia Bedazzled American Me The Monk Boys and Girls Bad Education The Rock The Times of Harvey Milk Magnum Force Rollerball Contagion La Mission Hardcore Sneakers Koko: A Talking Gorilla Delusions of Grandeur Vertigo Happy Gilmore The Conversation Harold and Maude Mutiny on the Bounty 48 Hrs. Star Trek IV: The Voyage Home Guerreros Madame The Night of the Witches Lost Command Itinéraire d'un enfant gâté Secret Agents The Lady from Shanghai Custer of the West The Three Musketeers 50 First Dates The Scarlet Letter Night of the Seagulls Open Your Eyes Taxi Portrait in Black The Last Circus Resolution Tie Me Up! Tie Me Down! King of Kings The Devil's Backbone La Conjura de El Escorial 8 The Blood of Fu Manchu Dot.Com Memoirs of a Geisha They're Watching Us Elsa & Fred Around the World in 80 Days The Pleasure Seekers Howl Coach Carter Satanis Mad Love Goya's Ghosts Crumb The Delinquents Dr. Dolittle 2 City of Angels Brain Dead Rent The Pursuit of Happyness Take This Hammer Going the Distance Hierro Twisted Lovers of the Arctic Circle Greed The Hellbenders High Heels What's Up, Doc? The Right Stuff Rise of the Planet of the Apes We Were Here Four Christmases El Hijo de Hernández Mrs. Doubtfire Mango Kiss The Vampire of Düsseldorf Superman Another 48 Hrs. Mr. Arkadin The Cold Light of Day Broken Embraces Monster Dog The Game Jack the Bear A Gunfight Million Dollar Weekend Theresa: The Body of Christ Atraco a las tres Phenomenon Martín (Hache) Where Have All the Flowers Gone? Talk to Her Bee Season Homegrown The Dark Hour The Wild Parrots of Telegraph Hill Heart Beat Mother Azuloscurocasinegro August Rush Big Dreams Little Tokyo Shoot to Kill Viridiana Circus World The Net The Love Bug The Apartment The Anarchist's Wife
Blue Jasmine The Pursuit of Happyness Phenomenon Custer of the West Pretty Peaches John Paul Jones X-Men: The Last Stand Big Trouble in Little China La Mission Black Tar Heroin
action filter_type
action union
action find_reverse
entity San Francisco
relation filming location
action find_reverse
entity Madrid
relation filming location
type work of art
{'OR': [[{'concept': 'work of art'}, 'filming location', 'San Francisco'], [{'concept': 'work of art'}, 'filming location', 'Madrid']]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?g ) { ( resource:San_Francisco ) ( resource:Madrid ) } . ?r property:filming_location ?g } . ?r rdf:type ontology:work_of_art }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P1441
Q838948 Q502895
USER
How many works of art feature around the same number of people as that work of art ?
(c(Q502895),P1441,c(Q838948))
[{'concept': 'Q502895'}, 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1441 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q838948 }
[{'concept': 'common name'}, 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:present_in_work ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:work_of_art }
[]
work of art common name
Comparative|Count over More/Less|Single entity type|Clarification
Q3210737
SYSTEM
Did you mean La Mission ?
(c(Q502895),P1441,c(Q838948))
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1441 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q838948 }
Did you mean La Mission ?
La Mission
[{'concept': 'common name'}, 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:present_in_work ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Phenomenon. Could you tell me the answer for that?
(c(Q502895),P1441,c(Q838948))
Q464716
[{'concept': 'Q502895'}, 'P1441', {'concept': 'Q838948'}]
[{'concept': 'common name'}, 'present in work', {'concept': 'work of art'}]
[]
SYSTEM
528
Q86440 Q3512046 Q1002100 Q164813 Q190588 Q4008453 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 Q934036 Q2891244 Q107894 Q1229857 Q51416 Q784444 Q714941 Q200873 Q177930 Q5887360 Q2806739 Q1196264 Q4253250 Q64110 Q592457 Q146673 Q370326 Q83186 Q743194 Q27061795 Q7707180 Q475693 Q218458 Q181795 Q42051 Q2345 Q464933 Q195710 Q466611 Q171669 Q6481017 Q161087 Q659037 Q1355072 Q1740704 Q17509388 Q881000 Q436988 Q939143 Q1192536 Q23010088 Q212792 Q14775069 Q431660 Q844836 Q133654 Q426828 Q1140762 Q883197 Q1232349 Q72276 Q1147689 Q24272881 Q16781911 Q8561227 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 Q1050533 Q1649282 Q1325217 Q538438 Q16997069 Q106571 Q174284 Q2363062 Q18402 Q1962005 Q130851 Q222939 Q951949 Q2386746 Q212145 Q221236 Q977372 Q483941 Q19946102 Q10350033 Q105702 Q4189330 Q1102396 Q220713 Q26970 Q309366 Q1166264 Q137109 Q2340655 Q1167434 Q303040 Q1710012 Q220591 Q182373 Q24278982 Q466781 Q334780 Q7764815 Q1471358 Q1048916 Q165847 Q785461 Q650063 Q181540 Q1469426 Q2836733 Q15140437 Q219421 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 Q24871 Q753907 Q2568261 Q1102220 Q124612 Q160618 Q180279 Q1971726 Q1122571 Q886719 Q550558 Q635632 Q497850 Q1075182 Q165325 Q543403 Q1198611 Q1059703 Q176568 Q1325828 Q641492 Q1702819 Q165713 Q626483 Q26833 Q740143 Q167726 Q156539 Q518863 Q106440 Q641362 Q33191 Q123742 Q2293972 Q1217234 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 Q23780734 Q971630 Q490464 Q170250 Q421777 Q161687 Q11060926 Q47075 Q14171368 Q184843 Q272064 Q156597 Q263460 Q715374 Q153723 Q105993 Q110206 Q18407657 Q1193096 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 Q3024211 Q1193324 Q192142 Q504697 Q184768 Q209538 Q15005 Q1168778 Q275120 Q636038 Q154581 Q1224659 Q9125658 Q226944 Q777591 Q624603 Q107914 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 Q1146570 Q612323 Q3489000 Q174811 Q1201853 Q151904 Q339693 Q16857406 Q103569 Q25167044 Q1617874 Q3298599 Q2306995 Q590216 Q2364439 Q458314 Q23781155 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 Q722682 Q18167809 Q2406987 Q1192024 Q18602670 Q1192189 Q179411 Q722267 Q1178292 Q181069 Q23780914 Q104123 Q15046091 Q15040681 Q3476432 Q263930
(c(Q502895),P1441,c(Q838948))
[ANSWER]
[{'concept': 'Q502895'}, 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1441 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q838948 }
The Tempest Jurassic World Miracle at St. Anna Perfume: The Story of a Murderer Love Actually Vampirella 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 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 Romeo and Juliet The Winter's Tale The Wacky World of Dr. Morgus Tevye and His Seven Daughters Oldboy 25th Hour The Empire Strikes Back Star Wars: Episode III – Revenge of the Sith 12 Angry Men Ocean's 11 Krull The Incredible Hulk One Flew Over the Cuckoo's Nest Lamb 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 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 Catch-22 Duet for One Flubber Shining Through The Divergent Series: Insurgent 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 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 The Santa Clause 2 Alice on the Farm Terminator Genisys The Mask 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 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 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 Husbands and Wives Jurassic Park Highlander The Omen Goldfinger Monsters University People Like Us Cloverfield Pee-Wee's Big Adventure The Parent Trap 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 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 Inglourious Basterds Die Hard 2 Dirty Harry Captain America: Civil War Les Misérables 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 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 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 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 Howard the Duck Nell The Big Man Up Thor: The Dark World Casino Royale 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 Untitled Avengers Movie 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 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
528
[{'concept': 'common name'}, 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:present_in_work ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q838948 Q811979 Q2031291
USER
Which works of art are max number of architectural structures and releases a part of ?
(c(Q811979)|c(Q2031291),P361,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q811979
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
[[{'concept': 'Q811979'}, {'concept': 'Q2031291'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?v ) { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?h ) WHERE { ?u rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2031291 ) ( ontology:Q811979 ) } } GROUP BY ?y } } . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?x ) WHERE { { ?d rdf:type ontology:Q811979 . ?k rdf:type ontology:Q838948 . ?d property:P361 ?k } UNION { ?d rdf:type ontology:Q2031291 . ?k rdf:type ontology:Q838948 . ?d property:P361 ?k } } GROUP BY ?k } . FILTER ( ?x = ?v ) }
action argmax
action union
action find_reverse_tuple_counts
relation part of
type work of art
type architectural structure
action find_reverse_tuple_counts
relation part of
type work of art
type release
[[{'concept': 'architectural structure'}, {'concept': 'release'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?v ) { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?h ) WHERE { ?u rdf:type ?p . VALUES ( ?p ) { ( ontology:release ) ( ontology:architectural_structure ) } } GROUP BY ?y } } . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?x ) WHERE { { ?d rdf:type ontology:architectural_structure . ?k rdf:type ontology:work_of_art . ?d property:part_of ?k } UNION { ?d rdf:type ontology:release . ?k rdf:type ontology:work_of_art . ?d property:part_of ?k } } GROUP BY ?k } . FILTER ( ?x = ?v ) }
[]
work of art architectural structure release
Q489772
SYSTEM
Seven Wonders of the Ancient World
Q489772
(c(Q811979)|c(Q2031291),P361,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q811979
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
Of art max number of architectural structures and releases a part of are the [ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q2031291'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?v ) { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?h ) WHERE { ?u rdf:type ?p . VALUES ( ?p ) { ( ontology:Q2031291 ) ( ontology:Q811979 ) } } GROUP BY ?y } } . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?x ) WHERE { { ?d rdf:type ontology:Q811979 . ?k rdf:type ontology:Q838948 . ?d property:P361 ?k } UNION { ?d rdf:type ontology:Q2031291 . ?k rdf:type ontology:Q838948 . ?d property:P361 ?k } } GROUP BY ?k } . FILTER ( ?x = ?v ) }
Seven Wonders of the Ancient World
Of art max number of architectural structures and releases a part of are the Seven Wonders of the Ancient World
Seven Wonders of the Ancient World
action argmax
action union
action find_reverse_tuple_counts
relation part of
type work of art
type architectural structure
action find_reverse_tuple_counts
relation part of
type work of art
type release
[[{'concept': 'architectural structure'}, {'concept': 'release'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?v ) { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?h ) WHERE { ?u rdf:type ?p . VALUES ( ?p ) { ( ontology:release ) ( ontology:architectural_structure ) } } GROUP BY ?y } } . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?x ) WHERE { { ?d rdf:type ontology:architectural_structure . ?k rdf:type ontology:work_of_art . ?d property:part_of ?k } UNION { ?d rdf:type ontology:release . ?k rdf:type ontology:work_of_art . ?d property:part_of ?k } } GROUP BY ?k } . FILTER ( ?x = ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q221168
P162
Q502895
USER
Which people are the producers of X-Men: The Last Stand ?
(Q221168,P162,c(Q502895))
action filter_type
action find
entity Q221168
relation P162
type Q502895
['Q221168', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q221168 property:P162 ?h }
X-Men: The Last Stand
action filter_type
action find
entity X-Men: The Last Stand
relation producer
type common name
['X-Men: The Last Stand', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:X-Men:_The_Last_Stand property:producer ?h }
[]
common name
Q545394 Q7288285 Q469795
SYSTEM
Avi Arad, Ralph Winter, Lauren Shuler Donner
Q545394 Q7288285 Q469795
(Q221168,P162,c(Q502895))
action filter_type
action find
entity Q221168
relation P162
type Q502895
As [ANSWERS] are the producers of X-Men: The Last Stand
['Q221168', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q221168 property:P162 ?h }
Avi Arad Ralph Winter Lauren Shuler Donner
As Avi Arad, Ralph Winter and Lauren Shuler Donner are the producers of X-Men: The Last Stand
Avi Arad Ralph Winter Lauren Shuler Donner
action filter_type
action find
entity X-Men: The Last Stand
relation producer
type common name
['X-Men: The Last Stand', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:X-Men:_The_Last_Stand property:producer ?h }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1790910
Q502895
USER
And what about Death of a Salesman?
(Q1790910,P162,c(Q502895))
action filter_type
action find
entity Q1790910
relation P162
type Q502895
['Q1790910', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1790910 property:P162 ?k . ?k rdf:type ontology:Q502895 }
Death of a Salesman
action filter_type
action find
entity Death of a Salesman
relation producer
type common name
['Death of a Salesman', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Death_of_a_Salesman property:producer ?k . ?k rdf:type ontology:common_name }
[]
common name
Q1365858
SYSTEM
Robert F. Colesberry
Q1365858
(Q1790910,P162,c(Q502895))
action filter_type
action find
entity Q1790910
relation P162
type Q502895
[ANSWER]
['Q1790910', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1790910 property:P162 ?k . ?k rdf:type ontology:Q502895 }
Robert F. Colesberry
Robert F. Colesberry
action filter_type
action find
entity Death of a Salesman
relation producer
type common name
['Death of a Salesman', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Death_of_a_Salesman property:producer ?k . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1365858 Q503901 Q197403
P27
Q15617994
USER
Is that person a citizen of Trebgast and Zhanhe District ?
(Q1365858,P27,Q503901) (Q1365858,P27,Q197403)
action is_in
entity Q1365858
action intersection
action find_reverse
entity Q503901
relation P27
action find_reverse
entity Q197403
relation P27
['Q1365858', 'P27', 'Q503901'] ['Q1365858', 'P27', 'Q197403']
ASK WHERE { resource:Q1365858 property:P27 resource:Q503901 . resource:Q1365858 property:P27 resource:Q197403 }
Robert F. Colesberry Trebgast Zhanhe District
action is_in
entity Robert F. Colesberry
action intersection
action find_reverse
entity Trebgast
relation country of citizenship
action find_reverse
entity Zhanhe District
relation country of citizenship
['Robert F. Colesberry', 'country of citizenship', 'Trebgast'] ['Robert F. Colesberry', 'country of citizenship', 'Zhanhe District']
ASK WHERE { resource:Robert_F._Colesberry property:country_of_citizenship resource:Trebgast . resource:Robert_F._Colesberry property:country_of_citizenship resource:Zhanhe_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1365858,P27,Q503901) (Q1365858,P27,Q197403)
action is_in
entity Q1365858
action intersection
action find_reverse
entity Q503901
relation P27
action find_reverse
entity Q197403
relation P27
[ANSWER]
['Q1365858', 'P27', 'Q503901'] ['Q1365858', 'P27', 'Q197403']
ASK WHERE { resource:Q1365858 property:P27 resource:Q503901 . resource:Q1365858 property:P27 resource:Q197403 }
No
action is_in
entity Robert F. Colesberry
action intersection
action find_reverse
entity Trebgast
relation country of citizenship
action find_reverse
entity Zhanhe District
relation country of citizenship
['Robert F. Colesberry', 'country of citizenship', 'Trebgast'] ['Robert F. Colesberry', 'country of citizenship', 'Zhanhe District']
ASK WHERE { resource:Robert_F._Colesberry property:country_of_citizenship resource:Trebgast . resource:Robert_F._Colesberry property:country_of_citizenship resource:Zhanhe_District }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7288285 Q511987 Q30
P27
Q15617994
USER
Is Ralph Winter a native of Ronsberg and United States of America ?
(Q7288285,P27,Q511987) (Q7288285,P27,Q30)
action is_in
entity Q7288285
action intersection
action find_reverse
entity Q511987
relation P27
action find_reverse
entity Q30
relation P27
['Q7288285', 'P27', 'Q511987'] ['Q7288285', 'P27', 'Q30']
ASK WHERE { resource:Q7288285 property:P27 resource:Q511987 . resource:Q7288285 property:P27 resource:Q30 }
Ralph Winter Ronsberg United States of America
action is_in
entity Ralph Winter
action intersection
action find_reverse
entity Ronsberg
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Ralph Winter', 'country of citizenship', 'Ronsberg'] ['Ralph Winter', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Ralph_Winter property:country_of_citizenship resource:Ronsberg . resource:Ralph_Winter property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q7288285,P27,Q511987) (Q7288285,P27,Q30)
action is_in
entity Q7288285
action intersection
action find_reverse
entity Q511987
relation P27
action find_reverse
entity Q30
relation P27
[ANSWER]
['Q7288285', 'P27', 'Q511987'] ['Q7288285', 'P27', 'Q30']
ASK WHERE { resource:Q7288285 property:P27 resource:Q511987 . resource:Q7288285 property:P27 resource:Q30 }
NO and YES respectively
action is_in
entity Ralph Winter
action intersection
action find_reverse
entity Ronsberg
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Ralph Winter', 'country of citizenship', 'Ronsberg'] ['Ralph Winter', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Ralph_Winter property:country_of_citizenship resource:Ronsberg . resource:Ralph_Winter property:country_of_citizenship resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1305262 Q2603511
P161
Q502895
USER
Was Alberto Bonacossa casted in Custer of the West ?
(Q1305262,P161,Q2603511)
action is_in
entity Q2603511
action find
entity Q1305262
relation P161
['Q1305262', 'P161', 'Q2603511']
ASK WHERE { resource:Q1305262 property:P161 resource:Q2603511 }
Custer of the West Alberto Bonacossa
action is_in
entity Alberto Bonacossa
action find
entity Custer of the West
relation cast member
['Custer of the West', 'cast member', 'Alberto Bonacossa']
ASK WHERE { resource:Custer_of_the_West property:cast_member resource:Alberto_Bonacossa }
[]
common name
SYSTEM
NO
(Q1305262,P161,Q2603511)
action is_in
entity Q2603511
action find
entity Q1305262
relation P161
[ANSWER]
['Q1305262', 'P161', 'Q2603511']
ASK WHERE { resource:Q1305262 property:P161 resource:Q2603511 }
No
action is_in
entity Alberto Bonacossa
action find
entity Custer of the West
relation cast member
['Custer of the West', 'cast member', 'Alberto Bonacossa']
ASK WHERE { resource:Custer_of_the_West property:cast_member resource:Alberto_Bonacossa }
[]