Simple Question (Direct)
Simple Question
Q2977733
P21
Q290
USER
Which sex does Claude Léonard have ?
(Q2977733,P21,c(Q290))
action filter_type
action find
entity Q2977733
relation P21
type Q290
['Q2977733', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q2977733 property:P21 ?q }
Claude Léonard
action filter_type
action find
entity Claude Léonard
relation gender
type sex
['Claude Léonard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Claude_Léonard property:gender ?q }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2977733,P21,c(Q290))
action filter_type
action find
entity Q2977733
relation P21
type Q290
Claude Léonard has a [ANSWER]
['Q2977733', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q2977733 property:P21 ?q }
male
Claude Léonard has a male
male
action filter_type
action find
entity Claude Léonard
relation gender
type sex
['Claude Léonard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Claude_Léonard property:gender ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2977733
P106
Q12737077
USER
What is the profession of Claude Léonard ?
(Q2977733,P106,c(Q12737077))
action filter_type
action find
entity Q2977733
relation P106
type Q12737077
['Q2977733', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q2977733 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Claude Léonard
action filter_type
action find
entity Claude Léonard
relation occupation
type occupation
['Claude Léonard', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Claude_Léonard property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q2977733,P106,c(Q12737077))
action filter_type
action find
entity Q2977733
relation P106
type Q12737077
The profession of Claude Léonard is a [ANSWER]
['Q2977733', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q2977733 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
politician
The profession of Claude Léonard is a politician
politician
action filter_type
action find
entity Claude Léonard
relation occupation
type occupation
['Claude Léonard', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Claude_Léonard property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2977733
P937
Q56061
USER
What is the location where Claude Léonard worked ?
(Q2977733,P937,c(Q56061))
action filter_type
action find
entity Q2977733
relation P937
type Q56061
['Q2977733', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q2977733 property:P937 ?j }
Claude Léonard
action filter_type
action find
entity Claude Léonard
relation work location
type administrative territorial entity
['Claude Léonard', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Claude_Léonard property:work_location ?j }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q2977733,P937,c(Q56061))
action filter_type
action find
entity Q2977733
relation P937
type Q56061
The location Claude Léonard worked is in [ANSWER]
['Q2977733', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q2977733 property:P937 ?j }
Paris
The location Claude Léonard worked is in Paris
Paris
action filter_type
action find
entity Claude Léonard
relation work location
type administrative territorial entity
['Claude Léonard', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:Claude_Léonard property:work_location ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q90
P915
Q838948
USER
Which works of art were filmed at that administrative territory ?
(c(Q838948),P915,Q90)
action filter_type
action find_reverse
entity Q90
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q90']
SELECT DISTINCT ?e WHERE { ?e property:P915 resource:Q90 . ?e rdf:type ontology:Q838948 }
Paris
action filter_type
action find_reverse
entity Paris
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Paris']
SELECT DISTINCT ?e WHERE { ?e property:filming_location resource:Paris . ?e rdf:type ontology:work_of_art }
[]
work of art
Q107226 Q105624 Q15624215
SYSTEM
The Bourne Ultimatum, The Bourne Identity, Lucy
Q1679822 Q2755366 Q1168531 Q16671761 Q152456 Q164813 Q3696453 Q2012425 Q3413468 Q3220821 Q129873 Q16864725 Q3230901 Q208988 Q2873169 Q3108895 Q3100038 Q5478692 Q19263880 Q499851 Q666707 Q498109 Q1827484 Q16962707 Q1508611 Q1449551 Q1347278 Q1962929 Q542527 Q3156874 Q2559937 Q2922091 Q2528652 Q850238 Q388360 Q2315036 Q484675 Q1140906 Q17640258 Q1858133 Q73803 Q3236871 Q3208863 Q1166180 Q679429 Q1015901 Q828566 Q2079962 Q1430568 Q332368 Q206124 Q2010277 Q689005 Q878964 Q482436 Q590444 Q7774830 Q686653 Q15907466 Q2846067 Q380848 Q1653284 Q3016384 Q1217879 Q1340986 Q126652 Q382629 Q1144055 Q277527 Q215319 Q470393 Q634809 Q1497343 Q232217 Q938851 Q1961742 Q2251564 Q1807786 Q288645 Q595 Q3143107 Q550248 Q1676240 Q1400547 Q751550 Q2356667 Q1439722 Q1198323 Q2713325 Q911775 Q3482860 Q3233421 Q1169399 Q1398997 Q1189690 Q17297839 Q3212207 Q511332 Q1812211 Q14549501 Q2863634 Q7578065 Q3234141 Q3430270 Q3373881 Q16928500 Q431660 Q2925981 Q4928014 Q18736650 Q906639 Q14948617 Q141557 Q3225040 Q468868 Q2028403 Q691916 Q476439 Q1768311 Q1578604 Q232020 Q469708 Q2824971 Q128646 Q232170 Q14836211 Q1138798 Q2471653 Q475286 Q3525931 Q1305048 Q11390744 Q738916 Q2966752 Q3431845 Q3005861 Q319171 Q191100 Q657607 Q865346 Q313764 Q892965 Q16320113 Q865580 Q1198812 Q829365 Q1144080 Q324933 Q1169666 Q822946 Q4959480 Q3148586 Q1621899 Q2907529 Q3213705 Q1196532 Q627975 Q1217981 Q652186 Q1133395 Q3412875 Q1557635 Q3817970 Q2843580 Q16661269 Q900708 Q63278 Q2908983 Q1753626 Q820501 Q3201927 Q601113 Q165847 Q2871979 Q3339863 Q2558048 Q496266 Q15990773 Q211954 Q3228079 Q16675434 Q1218143 Q107724 Q3225924 Q528871 Q3149930 Q304739 Q14901494 Q1235550 Q3567052 Q3286029 Q661693 Q10307713 Q211009 Q932814 Q2471731 Q3278366 Q822426 Q1199530 Q780384 Q1169975 Q2609724 Q1122571 Q1343120 Q550558 Q19405 Q3966787 Q471951 Q1061541 Q769712 Q3365258 Q1127625 Q2326899 Q3265938 Q3235299 Q16960397 Q6750638 Q4455542 Q2922219 Q16800962 Q3489295 Q3234838 Q223316 Q3235762 Q618499 Q2045006 Q3220218 Q3212058 Q1082924 Q586836 Q392834 Q1262927 Q4142083 Q470375 Q3167518 Q939410 Q3535716 Q6078224 Q1192319 Q1664534 Q739046 Q1774309 Q467283 Q3233232 Q17019453 Q25069 Q17363277 Q162331 Q3201747 Q3061609 Q3088260 Q2299961 Q13059695 Q681092 Q1455280 Q1170481 Q151737 Q3506673 Q542688 Q105624 Q1057015 Q1171334 Q3493985 Q15271016 Q4290514 Q500359 Q2873482 Q629975 Q1794408 Q1033136 Q6357059 Q1124617 Q2547714 Q1313289 Q232161 Q795223 Q545616 Q471913 Q151606 Q507285 Q1211971 Q5911818 Q2606467 Q1617964 Q3086650 Q18610820 Q16202837 Q13642776 Q3555451 Q576371 Q2446893 Q903930 Q533789 Q2571471 Q290796 Q1062362 Q153723 Q3223681 Q277281 Q3421612 Q2000427 Q13380366 Q18154116 Q160560 Q1383269 Q831717 Q1171090 Q25188 Q805111 Q747346 Q1323261 Q38561 Q1031262 Q265965 Q137098 Q2016952 Q730765 Q3895938 Q230616 Q3073628 Q1142181 Q15146913 Q3210569 Q634729 Q1090322 Q277080 Q509605 Q1538224 Q107226 Q933437 Q542507 Q3058423 Q2609145 Q2605684 Q476311 Q604083 Q185490 Q2387864 Q3548393 Q1844760 Q751401 Q2806855 Q380349 Q3094987 Q310617 Q18578055 Q206388 Q14912519 Q3575541 Q847629 Q3223315 Q426332 Q1405921 Q522962 Q3561465 Q849454 Q18636368 Q2301215 Q1756571 Q700726 Q3820032 Q14901478 Q873564 Q2162087 Q3024113 Q3233639 Q2329314 Q497308 Q1211929 Q3366044 Q1535201 Q3336530 Q302403 Q2979521 Q2033439 Q3548431 Q2625031 Q2925310 Q18421 Q819972 Q16677629 Q736420 Q484048 Q1195727 Q6945858 Q931671 Q531261 Q1124867 Q15624215 Q3522995 Q1405943 Q3223074 Q740285 Q1197861 Q17003709 Q12145585 Q1056903 Q3228289 Q3365358 Q267672 Q6012853 Q206576 Q3470948 Q347260 Q3221540 Q1579358 Q2860192 Q3576939 Q3400630 Q736508 Q815550 Q18170549 Q391143 Q5320222 Q16335945 Q1365797 Q694781 Q2910266 Q174785 Q664234 Q3542287 Q767416 Q2327100 Q17525460 Q681225 Q12339733 Q169564 Q386210 Q1416440 Q5627325 Q1394424 Q3317191 Q2614123 Q3336853 Q2251852 Q3576623 Q245205 Q1216559 Q1338470 Q3234504 Q1784824 Q1171645 Q3227788 Q625780 Q3230495 Q1500287 Q1306265 Q3139399 Q3022007 Q3367173 Q4371720 Q1171747 Q2884090 Q1140623 Q4242495 Q4865356 Q2275081 Q2394581 Q3209331 Q1571956 Q1512168 Q11602165 Q232091 Q7820305 Q19829024 Q606935 Q115214 Q594469 Q2537080 Q16928477 Q383173 Q3407439 Q1193469 Q2870435 Q6928990 Q1475617 Q3072304 Q248289 Q3148540 Q941279 Q17264698 Q3024224 Q1736777 Q1186490 Q1199513 Q3538167 Q392424 Q3411666 Q489564 Q3474192 Q544607 Q636093 Q3570478 Q2873117 Q1271407 Q1092932 Q16641860 Q3203810 Q1168705 Q3354995 Q547120
(c(Q838948),P915,Q90)
action filter_type
action find_reverse
entity Q90
relation P915
type Q838948
[ANSWERS] were filmed at that administrative territory
[{'concept': 'Q838948'}, 'P915', 'Q90']
SELECT DISTINCT ?e WHERE { ?e property:P915 resource:Q90 . ?e rdf:type ontology:Q838948 }
Outside the Law L'Atlantide The Lavender Hill Mob Qu'est-ce qu'on a fait au Bon Dieu? Munich Perfume: The Story of a Murderer Antonieta Head Against the Wall Four Adventures of Reinette and Mirabelle Le Capital The Tenant Gemma Bovery Les Aveux de l'innocent The Last Day Aux yeux de tous Sagan Gebo and the Shadow Frances Ha Le Paon de Nuit Now You See Me The Bridesmaid Rush Hour 3 Read My Lips Paris Pranaya Moulin Rouge Fréquence meurtre Valmont Jupiter's Thigh My Night at Maud's JC comme Jésus Christ Love Can Seriously Damage Your Health Bedevilled Arch of Triumph Betty National Treasure: Book of Secrets Mister Lonely Léon: The Professional To the Wonder Nobody from Nowhere Nada Rust and Bone Let My People Go! The 15 Year Old Girl Julia Le vieux fusil Aces Go Places 3 Cannabis The Art of Love The Marseille Contract A View to a Kill Midnight in Paris Happy End Frontier(s) Bitter Moon An Education LOL The Wild, Wild World of Jayne Mansfield Naughty Girl Queen Andalucia Julie & Julia 360 Darling Romantics Anonymous Two Men in Town Frantic Just Before Nightfall District 13: Ultimatum Love in Paris 22 Bullets The Fourth Angel Paris Blues Shots in Threequarter Time Two or Three Things I Know About Her Pierrot le Fou Banzaï In una notte di chiaro di luna My Nights Are More Beautiful Than Your Days G.I. Joe: The Rise of Cobra The Intouchables Humains Monte Carlo The Spirit of St. Louis LOL (Laughing Out Loud) Marie-Chantal contre le docteur Kha Flesh and the Woman My Life on Ice Rider on the Rain Les Enfants Terribles Prêt-à-Porter If You Die, I'll Kill You Les Jeux de l'amour Le Concert Fay Grim De l'autre côté du lit Paris Follies The Queen of Hearts Bonjour tristesse If Looks Could Kill Quai d'Orsay The Goodbye Kiss Spiritismes Les Nanas A Tale of Five Cities Banana Peel United Passions Godzilla: Final Wars Broken English Bloodstained Memoirs Dealer Wasabi Yves Saint Laurent Les Cousins Le Nouveau monde The Return of the Tall Blond Man with One Black Shoe Under the Sand Hitman Shoot the Piano Player Bloodline Goodbye Again Les Biches It's All About Love Adorable Liar 2 Days in Paris Two for the Road La Naissance de l'amour That Obscure Object of Desire The Beloved Animal 3 Days to Kill Le Pion Venus in Fur The Blonde with Bare Breasts Chronique d'un été Riens du tout Mood Indigo That Man from Rio Transformers: Revenge of the Fallen Deadly Circuit From Paris with Love The Tin Drum The Christmas Tree The Search Children of Paradise The Conformist Don't Touch the White Woman! Till Marriage Do Us Part Stolen Kisses Quiet Days in Clichy The Dreamers Breakfast in Paris Once Upon a Time in the Oued Coup de tête Boarding Gate La vie promise The Breach Bed and Board Bay of Angels Before Sunset The Pink Panther Strikes Again Quand je serai petit Boulevard des Italiens L'Autrichienne Amitiés sincères Lou ! Journal infime Sabrina The Woman in the Fifth Bois de Boulogne Woman Times Seven Housewives on the Job Love at Sea House of Cards 102 Dalmatians Aurélia Steiner Nico Icon Disco Charade Diplomacy Love Me No More Le Viager Samba Five Miles to Midnight Thunderball Spring, Autumn and Love Le Tigre aime la chair fraiche Incognito Holy Motors Age of Panic W.E. Innocents in Paris Manmadan Ambu Anything for Her The Hunger Games: Mockingjay – Part 2 Van Helsing Three Colors: Blue Lights Out Meet the Twins 4 The Trial Trail of the Pink Panther Crime Spree The Secret L'amour braque The Unbearable Lightness of Being Enigma The Muppets The Ninth Gate Foreign Intrigue The Man Who Cried A Prophet Dr. Popaul Paris Connections Take Her, She's Mine The Reluctant Debutante Lucky Jo Bastards Afflicted Manmadhudu Therese and Isabelle Final Arrangements Picture Paris Soleil Gates of the Night The Devil Wears Prada Beneath the Rooftops of Paris Le Samouraï Peut-être The Ball of the Actresses The King's Whore Sky Fighters The Witnesses Secret Agents Polisse The Hunger Games: Mockingjay – Part 1 Belle de Jour Anatomy of a Marriage: My Days with Jean-Marc The Rebound All Is Forgiven Isabelle Eberhardt Heartbreaker Inside Les Diaboliques L'Arbre, le maire et la médiathèque An American Werewolf in Paris Free Men Our Kind of Traitor The Ogre Kvadrat The 400 Blows L'Amant de cinq jours Malavita Pola X A Soldier's Daughter Never Cries Lal Tip The Happening French Kiss The Brain Nathalie... Switch Alphaville The Bourne Identity Taken 2 The Green Ray A Burning Hot Summer Saint Laurent Ménilmontant À nous les petites Anglaises Adventure in Paris The Tourist Brief Crossing Declaration of War The Past Condorman The Mother and the Whore Emmanuelle One Day B. Monkey The Tango Lesson Kiss of the Dragon Place Vendôme Lumière and Company The Things of Life Hotel Paradiso The Night of the Following Day Highlander: Endgame Anatomy of a Marriage: My Days with Françoise Babysitting 2 China White Last Song in Paris Vendredi soir Round Midnight My Wife Is an Actress RED 2 La Boîte noire The Corsican File Sans Soleil Love Songs Inglourious Basterds Le Jour et l'Heure Love on the Run The Man Who Watched Trains Go By Ricky Me, Myself and Mum The Smell of Us The Da Vinci Code Ex Salt on Our Skin The Only Game in Town Inception Le Boulet Winged Migration Count Your Blessings The Madwoman of Chaillot Hellraiser: Bloodline Eden Is West Grace of Monaco Dans Paris Blame It on Fidel Parigi o cara Hunting and Gathering Flowers of Evil Revenge of the Pink Panther The Easy Way Out The Mark of the Angels – Miserere Subway Come Fly with Me Taken Time Regained National Lampoon's European Vacation The Bourne Ultimatum Three Colors: White Angoroj Spy(ies) Love in the Afternoon Strayed The Left-Handed Woman The Informant! Hereafter Bon Voyage Happiness Never Comes Alone Meeting People Is Easy Ronin 10th District Court The Extraordinary Adventures of Adèle Blanc-Sec Gamer Paris, je t'aime L'Affaire SK1 Once Upon a Time in America Process Zim and Co. It's Easier for a Camel... The Big Gamble Les Bonnes Femmes The Twist Ten Days' Wonder Vive la France Taxi, Roulotte et Corrida Bastille Day The Road to Corinthe Un monde nouveau The Night of the Generals The Man on the Eiffel Tower 16 ans... ou presque Everyman's Feast Orpheus Des gens qui s'embrassent Les mains libres Bobby Deerfield Americano The Lady in the Car with Glasses and a Gun Have Mercy on Us All Nighthawks The Foxiest Girl in Paris Callas Forever My Way The Stone Council A Certain Smile A Woman Is a Woman Victims of Vice The Clowns The Transporter Sous les jupes des filles Belle Toujours Amélie Marathon Man My Life and Times with Antonin Artaud The Beat That My Heart Skipped Night and Day A Tale of Springtime Lucy Third Person Wise Guys Le Garçu Beyond Therapy What's in a Name? Girlhood Walking a Tightrope Quai des Orfèvres Stowaway in the Sky Paris or Perish Superman II In the Shadow Hugo Samson ...And If We All Lived Together The Apocalypse Code La Chamade Archimède le clochard À votre bon cœur, mesdames Bachelor Days Are Over The Lacemaker Transporter 3 The Transporter Legacy Chinese Zodiac Déjà Vu 3 Hearts L'Auberge espagnole The American Friend One Step to Eternity Savage Nights Itinéraire d'un enfant gâté Turf Chinese in Paris Gardens in Autumn High Society Army of Shadows Three Girls in Paris Carnage Le Dernier Combat Le Cercle rouge Le Gitan Fall Mitsou The Players His Brother F for Fake Because, Because of a Woman The Thirteen Chairs L'Étudiante Emmanuelle 4 The Patriots Micmacs The Nest Gunman in the Streets The Red Shoes The Friends Killing Zoe Le Divorce Hollywoo Tomorrow We Move No Scandal Killer Tomatoes Eat France Love at the Top Villa Amalia Clowning Around Iddarammayilatho Bartleby en coulisses Paris When It Sizzles Les Misérables Holiday for Henrietta Sangam I'm Fine, Don't Worry Young & Beautiful Two English Girls Tomorrowland Love The Swindle The Lady Banker The Unfaithful Wife Le Beau Mariage Ne fais pas ça! Caché Promotion canapé Curse of the Pink Panther Wall Engravings Mr. Morgan's Last Love The Young Lions Fin de concession The Accidental Tourist Bacon on the Side Carnival in Flanders My Old Lady Headwinds Mauvaise Graine Demonlover Armour of God Housewarming Act of Love Pédale dure And Now... Ladies and Gentlemen Burnt Out The Blood of Others Love from Paris XXL Aux abois Delicacy Circus World Hippocrate The Man in the Buick The Affair of the Necklace Orage The Fall
The Bourne Ultimatum, The Bourne Identity and Lucy were filmed at that administrative territory
The Bourne Ultimatum The Bourne Identity Lucy
action filter_type
action find_reverse
entity Paris
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Paris']
SELECT DISTINCT ?e WHERE { ?e property:filming_location resource:Paris . ?e rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q90
P47
Q20667921 Q15617994
USER
How many french administrative divisions or administrative territories have a shared border with Paris ?
(Q90,P47,c(Q20667921)) (Q90,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q90
relation P47
type Q20667921
action filter_type
action find
entity Q90
relation P47
type Q15617994
['Q90', 'P47', {'concept': 'Q20667921'}] ['Q90', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { resource:Q90 property:P47 ?f . ?f rdf:type ontology:Q15617994 } UNION { resource:Q90 property:P47 ?f . ?f rdf:type ontology:Q20667921 } }
Paris
action count
action union
action filter_type
action find
entity Paris
relation shares border with
type type of french administrative division
action filter_type
action find
entity Paris
relation shares border with
type designation for an administrative territorial entity
['Paris', 'shares border with', {'concept': 'type of french administrative division'}] ['Paris', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { resource:Paris property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Paris property:shares_border_with ?f . ?f rdf:type ontology:type_of_french_administrative_division } }
[]
type of french administrative division designation for an administrative territorial entity
SYSTEM
32
Q193370 Q135265 Q208889 Q18102 Q274327 Q253721 Q256004 Q12761 Q193899 Q12788 Q234728 Q12543 Q201982 Q205632 Q234743 Q160506 Q208943 Q166640 Q172455 Q189153 Q135104 Q209086 Q193819 Q212793 Q48958 Q193877 Q212274 Q175999 Q241021 Q193929 Q640102 Q609134
(Q90,P47,c(Q20667921)) (Q90,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q90
relation P47
type Q20667921
action filter_type
action find
entity Q90
relation P47
type Q15617994
[ANSWER]
['Q90', 'P47', {'concept': 'Q20667921'}] ['Q90', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { resource:Q90 property:P47 ?f . ?f rdf:type ontology:Q15617994 } UNION { resource:Q90 property:P47 ?f . ?f rdf:type ontology:Q20667921 } }
Montreuil Issy-les-Moulineaux Saint-Ouen Saint-Mandé Saint-Maurice Malakoff Les Lilas Seine-Saint-Denis Fontenay-sous-Bois Val-de-Marne Vanves Hauts-de-Seine Clichy Aubervilliers Puteaux Saint-Denis Bagnolet Levallois-Perret Boulogne-Billancourt Saint-Cloud Le Kremlin-Bicêtre Pantin Vincennes Charenton-le-Pont Neuilly-sur-Seine Ivry-sur-Seine Nogent-sur-Marne Le Pré-Saint-Gervais Montrouge Suresnes Gentilly Joinville-le-Pont
32
action count
action union
action filter_type
action find
entity Paris
relation shares border with
type type of french administrative division
action filter_type
action find
entity Paris
relation shares border with
type designation for an administrative territorial entity
['Paris', 'shares border with', {'concept': 'type of french administrative division'}] ['Paris', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { resource:Paris property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Paris property:shares_border_with ?f . ?f rdf:type ontology:type_of_french_administrative_division } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q90
P1376
Q7275 Q14623646
USER
How many states and fictional organizations have Paris as their county seat ?
(Q90,P1376,c(Q7275)) (Q90,P1376,c(Q14623646))
action count
action union
action filter_type
action find
entity Q90
relation P1376
type Q7275
action filter_type
action find
entity Q90
relation P1376
type Q14623646
['Q90', 'P1376', {'concept': 'Q7275'}] ['Q90', 'P1376', {'concept': 'Q14623646'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { VALUES ( ?s ) { ( ontology:Q14623646 ) ( ontology:Q7275 ) } . ?y rdf:type ?s }
Paris
action count
action union
action filter_type
action find
entity Paris
relation capital of
type state
action filter_type
action find
entity Paris
relation capital of
type fictional organization
['Paris', 'capital of', {'concept': 'state'}] ['Paris', 'capital of', {'concept': 'fictional organization'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { VALUES ( ?s ) { ( ontology:fictional_organization ) ( ontology:state ) } . ?y rdf:type ?s }
[]
state fictional organization
SYSTEM
4 states and 1 fictional organizations
Q207162 Q71092 Q70972 Q106577 Q1110
(Q90,P1376,c(Q7275)) (Q90,P1376,c(Q14623646))
action count
action union
action filter_type
action find
entity Q90
relation P1376
type Q7275
action filter_type
action find
entity Q90
relation P1376
type Q14623646
[ANSWER]
['Q90', 'P1376', {'concept': 'Q7275'}] ['Q90', 'P1376', {'concept': 'Q14623646'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { VALUES ( ?s ) { ( ontology:Q14623646 ) ( ontology:Q7275 ) } . ?y rdf:type ?s }
Bourbon Restoration Second French Empire Kingdom of France Neustria United Federation of Planets
4 states and 1 fictional organizations
action count
action union
action filter_type
action find
entity Paris
relation capital of
type state
action filter_type
action find
entity Paris
relation capital of
type fictional organization
['Paris', 'capital of', {'concept': 'state'}] ['Paris', 'capital of', {'concept': 'fictional organization'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { VALUES ( ?s ) { ( ontology:fictional_organization ) ( ontology:state ) } . ?y rdf:type ?s }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P2079
Q2695280 Q838948
USER
Which technicss are used to fabricate min number of works of art ?
(c(Q838948),P2079,Q170593)
action argmin
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
[{'concept': 'Q838948'}, 'P2079', 'Q170593']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?c ) { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:P2079 ?w . ?w rdf:type ontology:Q2695280 . ?a rdf:type ontology:Q838948 } GROUP BY ?w } } . { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?g ) WHERE { ?k property:P2079 ?q . ?q rdf:type ontology:Q2695280 . ?k rdf:type ontology:Q838948 } GROUP BY ?q } . FILTER ( ?g = ?c ) }
action argmin
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
[{'concept': 'work of art'}, 'fabrication method', 'collage']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?c ) { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:fabrication_method ?w . ?w rdf:type ontology:technics . ?a rdf:type ontology:work_of_art } GROUP BY ?w } } . { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?g ) WHERE { ?k property:fabrication_method ?q . ?q rdf:type ontology:technics . ?k rdf:type ontology:work_of_art } GROUP BY ?q } . FILTER ( ?g = ?c ) }
[]
technics work of art
Q173242 Q26265824 Q139106
SYSTEM
woodcut technique, chasing, engraving
Q11750728 Q9363879 Q173242 Q204867 Q192047 Q752633 Q26265824 Q139106 Q133036 Q2657271
(c(Q838948),P2079,Q170593)
action argmin
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
[ANSWERS] are used to fabricate min number of works of art
[{'concept': 'Q838948'}, 'P2079', 'Q170593']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?c ) { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:P2079 ?w . ?w rdf:type ontology:Q2695280 . ?a rdf:type ontology:Q838948 } GROUP BY ?w } } . { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?g ) WHERE { ?k property:P2079 ?q . ?q rdf:type ontology:Q2695280 . ?k rdf:type ontology:Q838948 } GROUP BY ?q } . FILTER ( ?g = ?c ) }
Punching stamping woodcut technique zincography machining linocut technique chasing engraving lithography silvering
Woodcut technique, chasing and engraving are used to fabricate min number of works of art
woodcut technique chasing engraving
action argmin
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
[{'concept': 'work of art'}, 'fabrication method', 'collage']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?c ) { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:fabrication_method ?w . ?w rdf:type ontology:technics . ?a rdf:type ontology:work_of_art } GROUP BY ?w } } . { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?g ) WHERE { ?k property:fabrication_method ?q . ?q rdf:type ontology:technics . ?k rdf:type ontology:work_of_art } GROUP BY ?q } . FILTER ( ?g = ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2079
Q2695280 Q838948
USER
How many technicss are used to assemble atleast 1 work of art ?
(c(Q838948),P2079,c(Q2695280))
action count
action atleast
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { FILTER ( ?x >= 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?x ) WHERE { ?t property:P2079 ?k . ?t rdf:type ontology:Q838948 . ?k rdf:type ontology:Q2695280 } GROUP BY ?k } }
action count
action atleast
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { FILTER ( ?x >= 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?x ) WHERE { ?t property:fabrication_method ?k . ?t rdf:type ontology:work_of_art . ?k rdf:type ontology:technics } GROUP BY ?k } }
[]
technics work of art
SYSTEM
2
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action count
action atleast
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[ANSWER]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { FILTER ( ?x >= 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?x ) WHERE { ?t property:P2079 ?k . ?t rdf:type ontology:Q838948 . ?k rdf:type ontology:Q2695280 } GROUP BY ?k } }
gilding collage
2
action count
action atleast
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { FILTER ( ?x >= 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?x ) WHERE { ?t property:fabrication_method ?k . ?t rdf:type ontology:work_of_art . ?k rdf:type ontology:technics } GROUP BY ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q105624
P161
Q502895
USER
Which people were casted in The Bourne Identity ?
(Q105624,P161,c(Q502895))
action filter_type
action find
entity Q105624
relation P161
type Q502895
['Q105624', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q105624 property:P161 ?u . ?u rdf:type ontology:Q502895 }
The Bourne Identity
action filter_type
action find
entity The Bourne Identity
relation cast member
type common name
['The Bourne Identity', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:The_Bourne_Identity property:cast_member ?u . ?u rdf:type ontology:common_name }
[]
common name
Q175535 Q180827 Q65105
SYSTEM
Matt Damon, Andy Webster, Franka Potente
Q175535 Q2863129 Q24238838 Q960494 Q2560838 Q210120 Q24238831 Q24238835 Q5625986 Q273208 Q348011 Q24251287 Q3372636 Q931325 Q4772622 Q294586 Q3052589 Q24251267 Q24238849 Q24251265 Q65105 Q24251261 Q24238842 Q1045877 Q16910969 Q24238845 Q7931801 Q24238806 Q24238805 Q3142106 Q973456 Q3170098 Q15970655 Q24238826 Q24238810 Q516690 Q24251259 Q24251258 Q183178 Q24251291 Q24251251 Q24251278 Q180827 Q641352 Q24251276 Q24251270 Q24251273 Q24238854 Q24238855 Q34975 Q3022086
(Q105624,P161,c(Q502895))
action filter_type
action find
entity Q105624
relation P161
type Q502895
[ANSWERS] were casted in The Bourne Identity
['Q105624', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q105624 property:P161 ?u . ?u rdf:type ontology:Q502895 }
Matt Damon Arnaud Henriet Harry Gilbert David Bamber David Gasman Julia Stiles Thierry René Roger Frost Tim Dutton Chris Cooper Joe Montana Danny Erskine Paulette Frantz Jimmy Jean-Louis Anthony Green Adewale Akinnuoye-Agbaje Emmanuel Booz John Pawlikowski Kait Tenison Joshua McNew Franka Potente Troy Lenhardt Delphine Lanson Orso Maria Guerrini Denis Braccini William Cagnard Vincent Franklin David Selburg Nicky Naudé Hubert Saint-Macary Gabriel Mann Jean-Yves Bilien Philippe Durand Gwenaël Clause Russell Levy Walton Goggins Bradley J. Goode Ronald Benefield Clive Owen Elwin 'Chopper' David Aaron Lilly Alain Grellier Andy Webster Josh Hamilton Houston Williams Michael Rix Brad Rizer Joseph Beddelin Rainer Werner Brian Cox Demetri Goritsas
Matt Damon, Andy Webster and Franka Potente were casted in The Bourne Identity
Matt Damon Andy Webster Franka Potente
action filter_type
action find
entity The Bourne Identity
relation cast member
type common name
['The Bourne Identity', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:The_Bourne_Identity property:cast_member ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7992775
Q502895
USER
And how about When We Are Married?
(Q7992775,P161,c(Q502895))
action filter_type
action find
entity Q7992775
relation P161
type Q502895
['Q7992775', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q7992775 property:P161 ?m . ?m rdf:type ontology:Q502895 }
When We Are Married
action filter_type
action find
entity When We Are Married
relation cast member
type common name
['When We Are Married', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:When_We_Are_Married property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
common name
Q1755953 Q7659975 Q7086619
SYSTEM
Raymond Huntley, Sydney Howard, Olga Lindo
Q1755953 Q7659975 Q7086619
(Q7992775,P161,c(Q502895))
action filter_type
action find
entity Q7992775
relation P161
type Q502895
[ANSWERS] about Married And
['Q7992775', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q7992775 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Raymond Huntley Sydney Howard Olga Lindo
Raymond Huntley, Sydney Howard and Olga Lindo about Married And
Raymond Huntley Sydney Howard Olga Lindo
action filter_type
action find
entity When We Are Married
relation cast member
type common name
['When We Are Married', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:When_We_Are_Married property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q173453
P1303
Q34379 Q502895
USER
Which musical instruments can around the same number of people perform with as wind instrument ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q173453
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1303 ?p . ?z rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Q173453 property:P1303 ?l . ?l rdf:type ontology:Q34379 } } . FILTER ( ?y = ?n ) }
wind instrument
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity wind instrument
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:instrument ?p . ?z rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:wind_instrument property:instrument ?l . ?l rdf:type ontology:musical_instrument } } . FILTER ( ?y = ?n ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q173453
relation P1303
type Q34379
[ANSWERS] can around the same number of people perform with as wind instrument
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1303 ?p . ?z rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Q173453 property:P1303 ?l . ?l rdf:type ontology:Q34379 } } . FILTER ( ?y = ?n ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano can around the same number of people perform with as wind instrument
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity wind instrument
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:instrument ?p . ?z rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:wind_instrument property:instrument ?l . ?l rdf:type ontology:musical_instrument } } . FILTER ( ?y = ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1879664
P1303
Q34379 Q502895
USER
And also tell me about spoon?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1879664
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:Q1879664 property:P1303 ?m . ?m rdf:type ontology:Q34379 } } . FILTER ( ?y = ?q ) }
spoon
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity spoon
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:spoon property:instrument ?m . ?m rdf:type ontology:musical_instrument } } . FILTER ( ?y = ?q ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1879664
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:Q1879664 property:P1303 ?m . ?m rdf:type ontology:Q34379 } } . FILTER ( ?y = ?q ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity spoon
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:spoon property:instrument ?m . ?m rdf:type ontology:musical_instrument } } . FILTER ( ?y = ?q ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P1303
Q502895 Q874405
USER
How many people and social groups knows to play that musical instrument ?
(c(Q502895),P1303,Q81982) (c(Q874405),P1303,Q81982) (c(Q502895),P1303,Q1178361) (c(Q874405),P1303,Q1178361) (c(Q502895),P1303,Q81982) (c(Q874405),P1303,Q81982) (c(Q502895),P1303,Q1759986) (c(Q874405),P1303,Q1759986)
[{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q874405'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q874405'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q874405'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986'] [{'concept': 'Q874405'}, 'P1303', 'Q1759986']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P1303 resource:Q81982 } UNION { ?y property:P1303 resource:Q81982 } UNION { ?z property:P1303 resource:Q1178361 } UNION { ?y property:P1303 resource:Q1178361 } UNION { ?z property:P1303 resource:Q81982 } UNION { ?y property:P1303 resource:Q81982 } UNION { ?z property:P1303 resource:Q1759986 } UNION { ?y property:P1303 resource:Q1759986 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q874405 }
[{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'social group'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'davul'] [{'concept': 'social group'}, 'instrument', 'davul'] [{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'social group'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'Wurlitzer electric piano'] [{'concept': 'social group'}, 'instrument', 'Wurlitzer electric piano']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:instrument resource:harpsichord } UNION { ?y property:instrument resource:harpsichord } UNION { ?z property:instrument resource:davul } UNION { ?y property:instrument resource:davul } UNION { ?z property:instrument resource:harpsichord } UNION { ?y property:instrument resource:harpsichord } UNION { ?z property:instrument resource:Wurlitzer_electric_piano } UNION { ?y property:instrument resource:Wurlitzer_electric_piano } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:social_group }
[]
common name social group
Quantitative|Count|Mult. entity type|Clarification
Q1178361
SYSTEM
Did you mean davul ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P1303 resource:Q81982 } UNION { ?y property:P1303 resource:Q81982 } UNION { ?z property:P1303 resource:Q1178361 } UNION { ?y property:P1303 resource:Q1178361 } UNION { ?z property:P1303 resource:Q81982 } UNION { ?y property:P1303 resource:Q81982 } UNION { ?z property:P1303 resource:Q1759986 } UNION { ?y property:P1303 resource:Q1759986 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q874405 }
Did you mean davul ?
davul
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:instrument resource:harpsichord } UNION { ?y property:instrument resource:harpsichord } UNION { ?z property:instrument resource:davul } UNION { ?y property:instrument resource:davul } UNION { ?z property:instrument resource:harpsichord } UNION { ?y property:instrument resource:harpsichord } UNION { ?z property:instrument resource:Wurlitzer_electric_piano } UNION { ?y property:instrument resource:Wurlitzer_electric_piano } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:social_group }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant harpsichord. Could you tell me the answer for that?
(c(Q502895),P1303,Q81982) (c(Q874405),P1303,Q81982) (c(Q502895),P1303,Q1178361) (c(Q874405),P1303,Q1178361) (c(Q502895),P1303,Q81982) (c(Q874405),P1303,Q81982) (c(Q502895),P1303,Q1759986) (c(Q874405),P1303,Q1759986)
Q81982
[{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q874405'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q874405'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q874405'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986'] [{'concept': 'Q874405'}, 'P1303', 'Q1759986']
[{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'social group'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'davul'] [{'concept': 'social group'}, 'instrument', 'davul'] [{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'social group'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'Wurlitzer electric piano'] [{'concept': 'social group'}, 'instrument', 'Wurlitzer electric piano']
[]
SYSTEM
155 people and 1 social groups
Q3761917 Q274544 Q21088137 Q6733079 Q2982659 Q9253269 Q463998 Q2556199 Q2574241 Q609940 Q3725604 Q3724246 Q963003 Q3452937 Q571445 Q289847 Q254 Q4979366 Q3183956 Q2535808 Q563321 Q3827718 Q590410 Q3142793 Q376588 Q2959912 Q597101 Q2837040 Q92244 Q3010160 Q3573587 Q446103 Q699207 Q457010 Q18642513 Q314799 Q509362 Q3619994 Q4526398 Q5112624 Q2414155 Q3560424 Q963831 Q4980119 Q969937 Q2528311 Q3218863 Q3667494 Q1976924 Q3295831 Q3106857 Q3587893 Q551008 Q3411056 Q2805699 Q70011 Q11454604 Q2564666 Q339929 Q718398 Q3315982 Q3219532 Q2462092 Q2526926 Q2451955 Q2034506 Q700648 Q3168842 Q6264882 Q5125310 Q3147203 Q3294067 Q2856990 Q1284831 Q1895475 Q18889499 Q1709071 Q3287715 Q739019 Q3293546 Q160257 Q2140912 Q434644 Q3147213 Q928954 Q3168308 Q3197402 Q2898792 Q3154996 Q1959923 Q3187447 Q3351094 Q1682344 Q3181642 Q560325 Q965256 Q3317233 Q15041700 Q4133063 Q319306 Q2416902 Q3136187 Q697674 Q2553716 Q3168042 Q459715 Q435198 Q1406863 Q11434081 Q1682366 Q2735112 Q3568609 Q45909 Q3524273 Q17630873 Q13334256 Q876342 Q1270605 Q76735 Q3141950 Q3148824 Q445985 Q181474 Q3446656 Q3167320 Q23001989 Q231234 Q22712389 Q17648436 Q3190862 Q119189 Q339128 Q2870861 Q3162009 Q2848507 Q96304 Q3154364 Q2899489 Q199856 Q2094389 Q4497156 Q18214287 Q1046616 Q521250 Q1843799 Q1348195 Q378905 Q2424360 Q3298708 Q3350801 Q2965877 Q3613839 Q3507386 Q1339 Q2958126 Q434774
(c(Q502895),P1303,Q81982) (c(Q874405),P1303,Q81982) (c(Q502895),P1303,Q1178361) (c(Q874405),P1303,Q1178361) (c(Q502895),P1303,Q81982) (c(Q874405),P1303,Q81982) (c(Q502895),P1303,Q1759986) (c(Q874405),P1303,Q1759986)
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q874405'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q874405'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q874405'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986'] [{'concept': 'Q874405'}, 'P1303', 'Q1759986']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:P1303 resource:Q81982 } UNION { ?y property:P1303 resource:Q81982 } UNION { ?z property:P1303 resource:Q1178361 } UNION { ?y property:P1303 resource:Q1178361 } UNION { ?z property:P1303 resource:Q81982 } UNION { ?y property:P1303 resource:Q81982 } UNION { ?z property:P1303 resource:Q1759986 } UNION { ?y property:P1303 resource:Q1759986 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q874405 }
Giacinto Manna Isolde Ahlgrimm Yasuko Uyama-Bouvard Mahan Esfahani Colin Tilney Elżbieta Stefańska James Nares Anne Gallet Elisabeth Chojnacka Marguerite-Louise Couperin Enrico Baiano Emilia Fadini Thurston Dart Ruggero Gerlin Rinaldo Alessandrini Étienne Loulié Wolfgang Amadeus Mozart Bruno Procopio Jory Vinikour Václav Luks Kenneth Gilbert Laura Alvini Christophe Rousset Huguette Grémy-Chauliac William Christie Charles Noblet Ralph Kirkpatrick Aline d'Ambricourt Johann Paul Schulthesius Céline Frisch Yves Cuenot Huguette Dreyfus Joseph Anton Steffan Igor Kipnis Pierre-Alain Clerc Antonio Soler Françoise-Charlotte de Senneterre Ménétou Antonio Palella Miklós Spányi Christopher Jackson Skip Sempé Violet Gordon-Woodhouse Ottavio Dantone Sophie Stebnowska Denis Bédard Jovanka Marville Laurence Boulay Chiara Massini Aimée Van de Wiele Martine Roche Giovanni Pietro Del Buono Élisabeth Joyé Jon Laukvik Putnam Aldrich Frédérick Haas Edith Picht-Axenfeld Kanoko Miyazaki Beatrice Berstel Thomas Linley the elder Robert Veyron-Lacroix Mireille Lagacé Laurent Teycheney Pascal Dubreuil Vincenzo Lavigna Yves Rechsteiner Luciano Sgrizzi Masaaki Suzuki Jean-Philippe Navarre John Worgan Claire Schapira Iain Simcock Mark Edwards Anton Bemetzrieder Eta Harich-Schneider Marguerite Roesgen-Champion Francesco Mazzoli Martha Goldstein Marc-Roger Normand Giovanni Battista Lampugnani Mario Raskin Wanda Landowska Blandine Rannou Christiane Jaccottet Iakovos Pappas Vincenzo Manfredini Jean-Patrice Brosse Kirkman family Bernard de Bury Isabelle Nef Christine Whiffen Joël Pontet Olivier Houette Joseph-Nicolas-Pancrace Royer John Grew Hervé Niquet Alan Curtis Mitzi Meyerson Cosimo Damiano Lanza Malcolm Hamilton Oscar Milani Blandine Verlet Nicholas McGegan René Clemencic Jean Rondeau Jean-Michel Hasler Matteo Messori Christopher Hogwood Fernando Valenti Naoya Ōtsuka Jan Willem Jansen William Babell William Felton John Cale Thierry Geffrotin Jean-Luc Ho Anne-Catherine Bucher Fritz Neumeyer Lars Ulrik Mortensen Karl Richter Hubert Bédard Ilton Wjuniski Emmanuelle Haïm Teodorico Pedrini Rudi Jacques Jean-Marc Aymes György Vashegyi Zuzana Růžičková Martine Reymond Władysław Kłosiewicz Jérôme Correas Vital Julian Frey Rafael Puyana Marguerite-Antoinette Couperin Janine Reiss André Raynaud Tobias Koch Irina Danšina Bertrand Cuiller Johann Christian Schieferdecker Pietro Alessandro Guglielmi Stanislav Heller Véronique Carrot Tim Rice-Oxley Marcelle de Lacour Frédéric Champion Louis-Emmanuel Jadin Michael Wollny Antoine Geoffroy-Dechaume Mathieu Duguay Olivier Baumont Christine Auger Ambrogio Minoja Sylvie Pécot-Douatte Johann Sebastian Bach Charles-Henri Plantade Trevor Pinnock
155 people and 1 social groups
[{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'social group'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'davul'] [{'concept': 'social group'}, 'instrument', 'davul'] [{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'social group'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'Wurlitzer electric piano'] [{'concept': 'social group'}, 'instrument', 'Wurlitzer electric piano']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:instrument resource:harpsichord } UNION { ?y property:instrument resource:harpsichord } UNION { ?z property:instrument resource:davul } UNION { ?y property:instrument resource:davul } UNION { ?z property:instrument resource:harpsichord } UNION { ?y property:instrument resource:harpsichord } UNION { ?z property:instrument resource:Wurlitzer_electric_piano } UNION { ?y property:instrument resource:Wurlitzer_electric_piano } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:social_group }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1071
Q56061 Q15617994 Q838948
USER
Which works of art have max number of administrative territories or administrative territories as their finally place of assembly ?
(c(Q838948),P1071,c(Q56061)|c(Q15617994))
action argmax
action union
action find_tuple_counts
relation P1071
type Q838948
type Q56061
action find_tuple_counts
relation P1071
type Q838948
type Q15617994
[{'concept': 'Q838948'}, 'P1071', [{'concept': 'Q56061'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?i ) { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?f ) WHERE { { ?n property:P1071 ?b . ?n rdf:type ontology:Q838948 . ?b rdf:type ontology:Q56061 } UNION { ?n rdf:type ontology:Q838948 . ?b rdf:type ontology:Q15617994 . ?n property:P1071 ?b } } GROUP BY ?n } } . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?q ) WHERE { { ?j rdf:type ontology:Q838948 . ?c rdf:type ontology:Q15617994 . ?j property:P1071 ?c } UNION { ?j rdf:type ontology:Q838948 . ?c rdf:type ontology:Q56061 . ?j property:P1071 ?c } } GROUP BY ?j } . FILTER ( ?q = ?i ) }
action argmax
action union
action find_tuple_counts
relation location of final assembly
type work of art
type administrative territorial entity
action find_tuple_counts
relation location of final assembly
type work of art
type designation for an administrative territorial entity
[{'concept': 'work of art'}, 'location of final assembly', [{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?i ) { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?f ) WHERE { { ?n property:location_of_final_assembly ?b . ?n rdf:type ontology:work_of_art . ?b rdf:type ontology:administrative_territorial_entity } UNION { ?n rdf:type ontology:work_of_art . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n property:location_of_final_assembly ?b } } GROUP BY ?n } } . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?q ) WHERE { { ?j rdf:type ontology:work_of_art . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:location_of_final_assembly ?c } UNION { ?j rdf:type ontology:work_of_art . ?c rdf:type ontology:administrative_territorial_entity . ?j property:location_of_final_assembly ?c } } GROUP BY ?j } . FILTER ( ?q = ?i ) }
[]
administrative territorial entity designation for an administrative territorial entity work of art
Q15123181 Q17451496 Q23356
SYSTEM
Proserpina sarcophagus, Nymph with a Scorpion, Harbaville Triptych
Q18609768 Q6572993 Q18609790 Q18609791 Q18609855 Q20199990 Q3647650 Q20200034 Q17451496 Q9428681 Q23356 Q4785573 Q18609795 Q3555769 Q15123181 Q17347116 Q18609848 Q18609842 Q15297468 Q18609786 Q18609745 Q24178015 Q13105422 Q19776419 Q18609838
(c(Q838948),P1071,c(Q56061)|c(Q15617994))
action argmax
action union
action find_tuple_counts
relation P1071
type Q838948
type Q56061
action find_tuple_counts
relation P1071
type Q838948
type Q15617994
[ANSWERS] have max number of administrative territories or administrative territories as their finally place of assembly
[{'concept': 'Q838948'}, 'P1071', [{'concept': 'Q56061'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?i ) { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?f ) WHERE { { ?n property:P1071 ?b . ?n rdf:type ontology:Q838948 . ?b rdf:type ontology:Q56061 } UNION { ?n rdf:type ontology:Q838948 . ?b rdf:type ontology:Q15617994 . ?n property:P1071 ?b } } GROUP BY ?n } } . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?q ) WHERE { { ?j rdf:type ontology:Q838948 . ?c rdf:type ontology:Q15617994 . ?j property:P1071 ?c } UNION { ?j rdf:type ontology:Q838948 . ?c rdf:type ontology:Q56061 . ?j property:P1071 ?c } } GROUP BY ?j } . FILTER ( ?q = ?i ) }
cinerary urn lid Amphitrite, the wave and the sea birds cinerary urn sarcophagus sarcophagus lid Female head wearing the polos Bust of Cardinal Richelieu Sphinx Nymph with a Scorpion The Exaltation of the Flower Harbaville Triptych Archangel ivory cinerary group Vercingétorix Proserpina sarcophagus Le Génie de la sculpture dégrossissant le masque de Jupiter sarcophagus lid sarcophagus lid Statue of Tara cinerary urn lid cinerary urn lid The Intruders When the Music's Over My Stuff sarcophagus lid
Proserpina sarcophagus, Nymph with a Scorpion and Harbaville Triptych have max number of administrative territories or administrative territories as their finally place of assembly
Proserpina sarcophagus Nymph with a Scorpion Harbaville Triptych
action argmax
action union
action find_tuple_counts
relation location of final assembly
type work of art
type administrative territorial entity
action find_tuple_counts
relation location of final assembly
type work of art
type designation for an administrative territorial entity
[{'concept': 'work of art'}, 'location of final assembly', [{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?i ) { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?f ) WHERE { { ?n property:location_of_final_assembly ?b . ?n rdf:type ontology:work_of_art . ?b rdf:type ontology:administrative_territorial_entity } UNION { ?n rdf:type ontology:work_of_art . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n property:location_of_final_assembly ?b } } GROUP BY ?n } } . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?q ) WHERE { { ?j rdf:type ontology:work_of_art . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:location_of_final_assembly ?c } UNION { ?j rdf:type ontology:work_of_art . ?c rdf:type ontology:administrative_territorial_entity . ?j property:location_of_final_assembly ?c } } GROUP BY ?j } . FILTER ( ?q = ?i ) }
[]