Simple Question (Direct)
Simple Question
Q16442069
P641
Q349
USER
Which sport was Alphonse Kodjo Kassé a part of ?
(Q16442069,P641,c(Q349))
action filter_type
action find
entity Q16442069
relation P641
type Q349
['Q16442069', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q16442069 property:P641 ?w . ?w rdf:type ontology:Q349 }
Alphonse Kodjo Kassé
action filter_type
action find
entity Alphonse Kodjo Kassé
relation sport
type sport
['Alphonse Kodjo Kassé', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Alphonse_Kodjo_Kassé property:sport ?w . ?w rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16442069,P641,c(Q349))
action filter_type
action find
entity Q16442069
relation P641
type Q349
The [ANSWER] was Alphonse Kodjo Kassé a part of
['Q16442069', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q16442069 property:P641 ?w . ?w rdf:type ontology:Q349 }
association football
The association football was Alphonse Kodjo Kassé a part of
association football
action filter_type
action find
entity Alphonse Kodjo Kassé
relation sport
type sport
['Alphonse Kodjo Kassé', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Alphonse_Kodjo_Kassé property:sport ?w . ?w rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16442069
P19
Q15640612
USER
Which administrative country subdivision is the place of birth of that person ?
(Q2736,P19,c(Q15640612))
action filter_type
action find
entity Q16442069
relation P19
type Q15640612
['Q2736', 'P19', {'concept': 'Q15640612'}]
SELECT DISTINCT ?p WHERE { resource:Q16442069 property:P19 ?p . ?p rdf:type ontology:Q15640612 }
Alphonse Kodjo Kassé
action filter_type
action find
entity Alphonse Kodjo Kassé
relation place of birth
type fifth-level administrative country subdivision
['association football', 'place of birth', {'concept': 'fifth-level administrative country subdivision'}]
SELECT DISTINCT ?p WHERE { resource:Alphonse_Kodjo_Kassé property:place_of_birth ?p . ?p rdf:type ontology:fifth-level_administrative_country_subdivision }
[]
fifth-level administrative country subdivision
Q1515
SYSTEM
Abidjan
Q1515
(Q2736,P19,c(Q15640612))
action filter_type
action find
entity Q16442069
relation P19
type Q15640612
[ANSWER] is the place of birth of that person
['Q2736', 'P19', {'concept': 'Q15640612'}]
SELECT DISTINCT ?p WHERE { resource:Q16442069 property:P19 ?p . ?p rdf:type ontology:Q15640612 }
Abidjan
Abidjan is the place of birth of that person
Abidjan
action filter_type
action find
entity Alphonse Kodjo Kassé
relation place of birth
type fifth-level administrative country subdivision
['association football', 'place of birth', {'concept': 'fifth-level administrative country subdivision'}]
SELECT DISTINCT ?p WHERE { resource:Alphonse_Kodjo_Kassé property:place_of_birth ?p . ?p rdf:type ontology:fifth-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people have place of birth as that administrative country subdivision ?
(c(Q502895),P19,Q1515)
action count
action filter_type
action find_reverse
entity Q1515
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1515']
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { ?u property:P19 resource:Q1515 . ?u rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Abidjan
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Abidjan']
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { ?u property:place_of_birth resource:Abidjan . ?u rdf:type ontology:common_name }
[]
common name
SYSTEM
373
Q3635232 Q3666325 Q3292235 Q3166805 Q6405956 Q2871622 Q2303864 Q2994802 Q25433572 Q3954704 Q515195 Q3369554 Q19950031 Q5521714 Q539762 Q471682 Q6374741 Q2745728 Q463890 Q16442069 Q3587691 Q4666634 Q299244 Q5984748 Q4754108 Q1415824 Q7666011 Q2062825 Q3528191 Q1887363 Q21621107 Q2821728 Q3317688 Q5644445 Q198706 Q8059111 Q3479162 Q3083782 Q4792680 Q5129035 Q728717 Q3154868 Q318530 Q16221942 Q509965 Q3193205 Q3761782 Q2893556 Q2778356 Q3155107 Q11714214 Q48892 Q18611163 Q27062314 Q331914 Q9031262 Q704273 Q3027110 Q3168147 Q6494045 Q3526462 Q2388022 Q3052799 Q2840860 Q2876207 Q5477626 Q24005941 Q2821362 Q4902375 Q779410 Q2442815 Q20711307 Q1339060 Q16149184 Q511030 Q3167407 Q15972973 Q1522558 Q207397 Q3193991 Q455109 Q6298501 Q15806171 Q3446810 Q3183726 Q1349233 Q45134 Q2845327 Q21116396 Q19895103 Q4022614 Q971859 Q21998078 Q3192595 Q10429636 Q192856 Q1131690 Q2083351 Q7192179 Q3195986 Q6370575 Q6430473 Q2506528 Q17198342 Q3186118 Q3501733 Q3187471 Q3288607 Q643858 Q16738965 Q6120908 Q3484075 Q47095 Q4160343 Q3288612 Q6774697 Q2927038 Q2437331 Q3298717 Q20088902 Q3147924 Q3147923 Q539846 Q16233441 Q22046480 Q3572375 Q1825464 Q551935 Q18637352 Q2804030 Q5984817 Q21622247 Q3859980 Q3288231 Q15622704 Q2927016 Q3345756 Q3511365 Q18684382 Q7660629 Q6695774 Q3134508 Q1150148 Q252408 Q3083794 Q1342843 Q16233471 Q3291011 Q19818111 Q159319 Q4717824 Q2372879 Q308424 Q26754458 Q17093825 Q4670534 Q4011306 Q5715545 Q2267231 Q18581000 Q385740 Q10540740 Q822315 Q16039298 Q44665 Q3350982 Q2777914 Q376323 Q1360528 Q519023 Q16234678 Q3302040 Q368396 Q16755946 Q5075404 Q20730460 Q127214 Q3291192 Q348439 Q2524575 Q312508 Q2524103 Q21063612 Q44635 Q6891089 Q23799950 Q712288 Q1381817 Q441649 Q1955950 Q15208541 Q935241 Q17628572 Q1788092 Q2880188 Q3028789 Q525816 Q16745240 Q2308085 Q3887435 Q4665568 Q6484986 Q3265778 Q2829517 Q18637180 Q1756137 Q2073099 Q2827634 Q6088001 Q4794495 Q659182 Q5368588 Q17046446 Q19629991 Q6889197 Q454773 Q303241 Q931906 Q20873876 Q3380122 Q15149074 Q2883533 Q3284832 Q5089627 Q6085001 Q526140 Q3501471 Q8068638 Q1141230 Q16205938 Q2178739 Q641554 Q6957564 Q472581 Q3119800 Q436518 Q5484409 Q2978439 Q1992552 Q3492046 Q3302714 Q3164292 Q4008445 Q20641086 Q16382717 Q597193 Q583766 Q2910934 Q4796622 Q1685114 Q7294056 Q1685166 Q1782830 Q20202171 Q18204805 Q305322 Q25395535 Q3370431 Q20972438 Q554141 Q3151396 Q615379 Q2463868 Q2350530 Q10490622 Q444160 Q3187474 Q296780 Q7429288 Q211550 Q1878796 Q2836563 Q2402372 Q3791590 Q948976 Q1255645 Q3749156 Q3524536 Q1378148 Q311554 Q3576511 Q1388413 Q3435245 Q2876580 Q23902246 Q2854289 Q1369245 Q3309778 Q6926288 Q343106 Q2839708 Q7453285 Q18221430 Q1059660 Q3675602 Q21512260 Q15809340 Q6374737 Q2854264 Q3372201 Q3027221 Q2746074 Q7459010 Q3045209 Q2840866 Q3024769 Q1091604 Q4965837 Q6802936 Q3052467 Q1386844 Q15806299 Q2959198 Q804252 Q1778945 Q2079576 Q541841 Q1065351 Q5387607 Q1441795 Q3131381 Q18221517 Q444557 Q18384617 Q637396 Q3092582 Q3020898 Q4705629 Q308362 Q19958642 Q4853305 Q4853307 Q1342042 Q4924266 Q16235410 Q4853312 Q714036 Q20089834 Q313142 Q2530250 Q713711 Q952670 Q1347255 Q4806114 Q3635625 Q4668543 Q602246 Q524390 Q6084996 Q2293680 Q3121496 Q1185866 Q2902356 Q15334015 Q3831345 Q3623549 Q181041 Q1413310 Q3126401 Q375679 Q1773647 Q24005780 Q7453368 Q2923564 Q215770 Q1999155 Q2722624 Q3362783 Q8029063 Q5524131 Q3102819 Q2062885 Q3577104
(c(Q502895),P19,Q1515)
action count
action filter_type
action find_reverse
entity Q1515
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q1515']
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { ?u property:P19 resource:Q1515 . ?u rdf:type ontology:Q502895 }
Barry Kader Charles Abouo Marie-Sohna Condé Jean-Louis Grosmaire Kignelman Athanase Augustin N'Gou Kandia Traoré Constance Amiot Mamina Koné Sekou Junior Sanogo Philippe Mangou Patrick Jusseaume Eric Haeljcio Gaossou Fofana Gwenael Kerléo Marco Zoro Kassiaty Gildas Laby Ibrahim Diaky Christian Manfredini Alphonse Kodjo Kassé Éliane Droubry Abel Tebily Seydou Doumbia Ibrahim Sylla Anderson Lago Zeze Yann Ekra Sékou Tidiane Souaré Alexandre Tokpa Tidjane Thiam Malik Mezzadri Cheick Hussein Dabo Abou Cissé Mobio Besse Henri Hamed Koné Mamadou Bagayoko Youssouf Koné Alain Liri François Albert Amichia Armand Mahan Claude Stephane Seanla Mangué Cissé Isabelle Beke Siaka Tiéné Elisabeth Nikiema Daniel Yeboah Karim Miské Ghislain Akassou Bedel Dogoui Serge Maguy Isaie Biton Koulibaly Issa Zongo Didier Drogba Yehni Djidji Rudy Guede Olivier Kapo Mekeme Tamla Ladji Daouda Karaboué Didier Mebara Jean-Michel Severino Lassina Diomandé Théodore Mel Eg Émile Boga Doudou Emmanuel Moh Amadou Dioum Aïcha Koné Nassa Guy Roland Niangbo Ballou Jean-Yves Tabla Abdoulaye Bamba Bi Boua Paterne Boulou Ismaël Isaac Yeo Martial Victorien Angban Roger Boli Stephane Acka Aristide Benoît Zogbo Jean-Marc Kraidy Koudlam Ruth Gbagbi Didier Zokora Katell Quillévéré Sam Dominique Abouo Joël Drogba Djelika Coulibaly Rudy Rudiction Jordane Fazende Thierry Dusautoir Lacina Traoré Panton Ananias Leki Dago Affoussiata Bamba-Lamine Angelo Fulgini Yaya Soumahoro Gilbert Aké Aissata Dia Kandia Camara Lamine Kourouma Emmanuel Eboué Saliou Lassissi Roland Lamah Pierre Djidjia Douhou Khaled Zorkot Karim Coulibaly Diaby Koné Kassim Arsène Né Arsène Menessou Josué Guébo Stéphane Dimy Joël Tiéhi Marcel Amon-Tanoh Aristide Bancé Romaric Kablan Jacques Tioye Silvère Tian Kanga Akalé Abdoulaye Djire Marcel Amondji Martial Bedi Esmel Brunot Dogbo Blé Tiémoko Konaté Mathieu Ekra Abou Sidibe Idrissa Keita Idrissa Kouyaté Gilles Yapi Yapo Niamien Rodolph Amessan Kouassi Eboue Yoboué Konan Venance Zézé Daba Modibo Keïta Eric Bailly Auguste Denise Ibrahima Keita Mamadee Nyepon Modibo Diarra Marc M'Bahia Rita Akaffou Bruno Walther Noël Akossi Bendjo Séry Bailly Khady Diallo Sylvain Komenan Luc Kassi Hervé Gregoire-Mazzocco Cécile Verny Leslie Djhone François Amichia Isaach de Bankolé Dibi Paul Stephane Maria Mourani Assane Demoya Gnoukouri Romaric Alex Somian Priscilla Gneto Abdoulaye Traoré Drissa Diarrassouba Sylvain Gbohouo Abudramae Bamba Victorien Djedje Henri Jöel Sékou Sanogo Cédric Gogoua Flavien Le Postollec Wilfried Kanon Bernard Binlin Dadié Kossi Assou Djakaridja Koné Olivier Diomandé Murielle Ahouré Didier Ya Konan Raoul Kouakou Constant Djakpa Juma Saeed Max Brito Jean-Jacques Gosso Siaka Bamba Charles Banga Bebi Philip Black Kent Mariam Sy Diawara Jores Okore Richard Dacoury Arthur Boka Serge Dié Akui N'dekre Elie Moises Moïse Brou Apanga Mohamed Bengali Stéphane Diarra Paulin J. Hountondji Olivier Tébily Hervé Kambou Hervé Lamizana Michel Lasme DJ Arafat Frank Bechemilh Ahyee Aye Elvis Bakaré Koné Marguerite Abouet Serey Die Dally Innocent Gbale Marco Né Oumar Ben Salah Abdul Moustapha Ouedraogo Landry Zahana-Oni Lucienne N'Da Alain Andji Jean-Louis Bessé Nadege Essoh Bassilia Sakanoko Ahmed Ouattara Issa Traoré de Brahima Arnaud Monney Blaise Kouassi Elysée Irié Bi Séhi Vanessa Blé Serge Beynaud Modeste Gnakpa Amara Diané Nelson Évora Serge Djiehoua Senin Sebai Philippe Lacôte Mamadou Konate Lago Júnior Mamadou Doumbia Cheick Doukouré Ismaël N'Diaye Koro Issa Ahmed Koné Stefan Godin Zeka Goore Mohamed Koffi Mamadou Dansoko Rémi Adiko Ibrahim Sissoko Nader Matar Moussa Traoré Guillaume Dah Zadi Eugène Dadi Franck Boli Claudia Tagbo Davy Claude Angan Lamine Diarrassouba Maxime d'Aboville Jean-Baptiste Mockey Vamouti Diomande Kouassi Kouadja Michel Bassolé Ali Traoré Issoumaila Dao Boris Diecket Arsène Oka Jean-Olivier Zirignon Raphaël Nadé Jean-Pierre Aubin Ismaël Béko Fofana Michel Soro Abdoulaye Koffi Franck Dja Djédjé Jean Pons Paul Ahizi Stephen Babalola Kafoumba Coulibaly Innocent Naki Edgar Loué Yago Alonso-Fueyo Sako Alain Koudou Jacques N'da Antonin Koutouan Venceslas Kouassi Abdul Kader Keïta Sayouba Mandé Christian Kouakou Lynda Marlene Gauze Alice Decaux Siaka Dagno Ibrahim Koné Franck Manga Guela Dramane Kamaté Fousseny Kamissoko Thierry Tanoh Félix Dja Ettien Aruna Dindane Zéphirin Zoko Laurent Pokou Robert Gnohité A’salfo Yann Karamoh Antoine N'Gossan Franck Madou Michel Goba Moustapha Kourouma Boubacar Barry Alphonse Bilé Serge Bezème Gauz Mariko Daouda Christelle N'Garsanet Cheick Sallah Cissé Fatou Coulibaly Kassi Akesse Mathias Antoine Moreau Paul Sika Didier Wacouboué Tiassé Koné Seydou Koné Desiré Ecaré Amadou Gon Coulibaly Detoh Letoh Audrey Alloh Brice Aka Me Aboubacar Diomande Emma Lohoues Axel Cédric Konan Dominique Thiamale Charles Gbeke Bakary Saré Ange N'Guessan Ben Konaté Konan Serge Kouadio Souleymane Coulibaly Eric Tape Francis Wodié Henri Konan Isaac Kemo Mohamed Koné Abdourahmane Cissé Tanella Boni Félix Pruvot Debordo Leekunfa Alain Behi Abdou Razack Traoré Zeynab Habib Bamba Gaoussou Bamba Moussa Gabriel Tiacoh Blaise Dago Adou Judikael Magique Goualy Bambadjan Bamba Max Gradel Marc Vouillot Bakari Koné Martin Djetou Wilfried Zaha Alain Koffi Jean-Jacques Tizié Bamba Drissa Basile Aka Kouamé Aboubacar Cissé Jean-Pierre Kutwa Basile Boli Ismaël Diomandé Moussa Sanogo Guy-Roland Kpene Bernard Allou Georges Ba Séry Wawa Levi Houapeu Arnaud Kouyo Donald-Olivier Sié Kouame Sereba Hamed Bakayoko Igor Lolo Mohamed Kone Chris Bedia Serge Yoffou Brahima Touré Johan Djourou Gadji Celi Éric Chelle Pape Gnepo Wognonwon Georcelin Péhé Garry Franchi Georges Guiai Bi Poin Sékana Diaby Eugène Koffi Kouamé
373
action count
action filter_type
action find_reverse
entity Abidjan
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Abidjan']
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { ?u property:place_of_birth resource:Abidjan . ?u rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q57606 Q16442069
P39 P106
Q12737077
USER
Which occupations are the professions of Alphonse Kodjo Kassé or were the positions for which Robert Fico were appointed ?
OR((Q16442069,P106,c(Q12737077)), (Q57606,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q16442069
relation P106
action find
entity Q57606
relation P39
type Q12737077
{'OR': [['Q16442069', 'P106', {'concept': 'Q12737077'}], ['Q57606', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . { { resource:Q16442069 property:P106 ?h } UNION { resource:Q57606 property:P39 ?h } } }
Robert Fico Alphonse Kodjo Kassé
action filter_type
action union
action find
entity Alphonse Kodjo Kassé
relation occupation
action find
entity Robert Fico
relation position held
type occupation
{'OR': [['Alphonse Kodjo Kassé', 'occupation', {'concept': 'occupation'}], ['Robert Fico', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . { { resource:Alphonse_Kodjo_Kassé property:occupation ?h } UNION { resource:Robert_Fico property:position_held ?h } } }
[]
occupation
Q45369 Q27169 Q19967563 Q937857
SYSTEM
Prime Minister of Slovakia, member of the European Parliament, Member of the National Council of Slovakia, association football player
Q45369 Q27169 Q19967563 Q937857
OR((Q16442069,P106,c(Q12737077)), (Q57606,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q16442069
relation P106
action find
entity Q57606
relation P39
type Q12737077
[ANSWERS] are the professions of Alphonse Kodjo Kassé or were the positions for which Robert Fico were appointed
{'OR': [['Q16442069', 'P106', {'concept': 'Q12737077'}], ['Q57606', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . { { resource:Q16442069 property:P106 ?h } UNION { resource:Q57606 property:P39 ?h } } }
Prime Minister of Slovakia member of the European Parliament Member of the National Council of Slovakia association football player
Prime Minister of Slovakia, member of the European Parliament, Member of the National Council of Slovakia and association football player are the professions of Alphonse Kodjo Kassé or were the positions for which Robert Fico were appointed
Prime Minister of Slovakia member of the European Parliament Member of the National Council of Slovakia association football player
action filter_type
action union
action find
entity Alphonse Kodjo Kassé
relation occupation
action find
entity Robert Fico
relation position held
type occupation
{'OR': [['Alphonse Kodjo Kassé', 'occupation', {'concept': 'occupation'}], ['Robert Fico', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . { { resource:Alphonse_Kodjo_Kassé property:occupation ?h } UNION { resource:Robert_Fico property:position_held ?h } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q45369
P748
Q12737077
USER
Which occupation is responsible for appointment of that one ?
(Q45369,P748,c(Q12737077))
action filter_type
action find
entity Q45369
relation P748
type Q12737077
['Q45369', 'P748', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q45369 property:P748 ?t . ?t rdf:type ontology:Q12737077 }
Prime Minister of Slovakia
action filter_type
action find
entity Prime Minister of Slovakia
relation appointed by
type occupation
['Prime Minister of Slovakia', 'appointed by', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Prime_Minister_of_Slovakia property:appointed_by ?t . ?t rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q937857
SYSTEM
Did you mean association football player ?
Q45369 Q27169 Q19967563 Q937857
(Q45369,P748,c(Q12737077)) (Q27169,P748,c(Q12737077)) (Q19967563,P748,c(Q12737077)) (Q937857,P748,c(Q12737077))
[ANSWER]
['Q45369', 'P748', {'concept': 'Q12737077'}] ['Q27169', 'P748', {'concept': 'Q12737077'}] ['Q19967563', 'P748', {'concept': 'Q12737077'}] ['Q937857', 'P748', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q45369 property:P748 ?t . ?t rdf:type ontology:Q12737077 }
Prime Minister of Slovakia member of the European Parliament Member of the National Council of Slovakia association football player
Did you mean association football player ?
association football player
['Prime Minister of Slovakia', 'appointed by', {'concept': 'occupation'}] ['member of the European Parliament', 'appointed by', {'concept': 'occupation'}] ['Member of the National Council of Slovakia', 'appointed by', {'concept': 'occupation'}] ['association football player', 'appointed by', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Prime_Minister_of_Slovakia property:appointed_by ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Prime Minister of Slovakia. Could you tell me the answer for that?
(Q45369,P748,c(Q12737077))
Q45369
['Q45369', 'P748', {'concept': 'Q12737077'}]
['Prime Minister of Slovakia', 'appointed by', {'concept': 'occupation'}]
[]
Q6468838
SYSTEM
President of Slovakia
Q6468838
(Q45369,P748,c(Q12737077))
action filter_type
action find
entity Q45369
relation P748
type Q12737077
The [ANSWER] is responsible for appointment of that one
['Q45369', 'P748', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q45369 property:P748 ?t . ?t rdf:type ontology:Q12737077 }
President of Slovakia
The President of Slovakia is responsible for appointment of that one
President of Slovakia
action filter_type
action find
entity Prime Minister of Slovakia
relation appointed by
type occupation
['Prime Minister of Slovakia', 'appointed by', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Prime_Minister_of_Slovakia property:appointed_by ?t . ?t rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q6468838 Q214
P1001
Q15617994
USER
Does Slovakia apply to jurisdiction of that occupation ?
(Q6468838,P1001,Q214)
action is_in
entity Q214
action find
entity Q6468838
relation P1001
['Q6468838', 'P1001', 'Q214']
ASK WHERE { resource:Q6468838 property:P1001 resource:Q214 }
President of Slovakia Slovakia
action is_in
entity Slovakia
action find
entity President of Slovakia
relation applies to jurisdiction
['President of Slovakia', 'applies to jurisdiction', 'Slovakia']
ASK WHERE { resource:President_of_Slovakia property:applies_to_jurisdiction resource:Slovakia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q6468838,P1001,Q214)
action is_in
entity Q214
action find
entity Q6468838
relation P1001
[ANSWER]
['Q6468838', 'P1001', 'Q214']
ASK WHERE { resource:Q6468838 property:P1001 resource:Q214 }
Yes
action is_in
entity Slovakia
action find
entity President of Slovakia
relation applies to jurisdiction
['President of Slovakia', 'applies to jurisdiction', 'Slovakia']
ASK WHERE { resource:President_of_Slovakia property:applies_to_jurisdiction resource:Slovakia }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q16442069 Q6797737 Q26691044
P106
Q12737077
USER
Does Alphonse Kodjo Kassé have a job as Mayor of Long Branch and mayor of Prats y Sampsor ?
(Q16442069,P106,Q6797737) (Q16442069,P106,Q26691044)
action is_in
entity Q16442069
action intersection
action find_reverse
entity Q6797737
relation P106
action find_reverse
entity Q26691044
relation P106
['Q16442069', 'P106', 'Q6797737'] ['Q16442069', 'P106', 'Q26691044']
ASK WHERE { resource:Q16442069 property:P106 resource:Q6797737 . resource:Q16442069 property:P106 resource:Q26691044 }
Alphonse Kodjo Kassé Mayor of Long Branch mayor of Prats y Sampsor
action is_in
entity Alphonse Kodjo Kassé
action intersection
action find_reverse
entity Mayor of Long Branch
relation occupation
action find_reverse
entity mayor of Prats y Sampsor
relation occupation
['Alphonse Kodjo Kassé', 'occupation', 'Mayor of Long Branch'] ['Alphonse Kodjo Kassé', 'occupation', 'mayor of Prats y Sampsor']
ASK WHERE { resource:Alphonse_Kodjo_Kassé property:occupation resource:Mayor_of_Long_Branch . resource:Alphonse_Kodjo_Kassé property:occupation resource:mayor_of_Prats_y_Sampsor }
[]
occupation
SYSTEM
NO
(Q16442069,P106,Q6797737) (Q16442069,P106,Q26691044)
action is_in
entity Q16442069
action intersection
action find_reverse
entity Q6797737
relation P106
action find_reverse
entity Q26691044
relation P106
[ANSWER]
['Q16442069', 'P106', 'Q6797737'] ['Q16442069', 'P106', 'Q26691044']
ASK WHERE { resource:Q16442069 property:P106 resource:Q6797737 . resource:Q16442069 property:P106 resource:Q26691044 }
No
action is_in
entity Alphonse Kodjo Kassé
action intersection
action find_reverse
entity Mayor of Long Branch
relation occupation
action find_reverse
entity mayor of Prats y Sampsor
relation occupation
['Alphonse Kodjo Kassé', 'occupation', 'Mayor of Long Branch'] ['Alphonse Kodjo Kassé', 'occupation', 'mayor of Prats y Sampsor']
ASK WHERE { resource:Alphonse_Kodjo_Kassé property:occupation resource:Mayor_of_Long_Branch . resource:Alphonse_Kodjo_Kassé property:occupation resource:mayor_of_Prats_y_Sampsor }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16442069
P21
Q290
USER
What is the sex of Alphonse Kodjo Kassé ?
(Q16442069,P21,c(Q290))
action filter_type
action find
entity Q16442069
relation P21
type Q290
['Q16442069', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q16442069 property:P21 ?k . ?k rdf:type ontology:Q290 }
Alphonse Kodjo Kassé
action filter_type
action find
entity Alphonse Kodjo Kassé
relation gender
type sex
['Alphonse Kodjo Kassé', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Alphonse_Kodjo_Kassé property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16442069,P21,c(Q290))
action filter_type
action find
entity Q16442069
relation P21
type Q290
The sex of Alphonse Kodjo Kassé is the [ANSWER]
['Q16442069', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q16442069 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
The sex of Alphonse Kodjo Kassé is the male
male
action filter_type
action find
entity Alphonse Kodjo Kassé
relation gender
type sex
['Alphonse Kodjo Kassé', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Alphonse_Kodjo_Kassé property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6581549
Q290
USER
And what about Ip Pui Yi?
(Q6581549,P21,c(Q290))
action filter_type
action find
entity Q6581549
relation P21
type Q290
['Q6581549', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q6581549 property:P21 ?o . ?o rdf:type ontology:Q290 }
Ip Pui Yi
action filter_type
action find
entity Ip Pui Yi
relation gender
type sex
['Ip Pui Yi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Ip_Pui_Yi property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q6581549,P21,c(Q290))
action filter_type
action find
entity Q6581549
relation P21
type Q290
[ANSWER]
['Q6581549', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q6581549 property:P21 ?o . ?o rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Ip Pui Yi
relation gender
type sex
['Ip Pui Yi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Ip_Pui_Yi property:gender ?o . ?o rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q3938127
P21
Q502895
USER
Is Roald Muggerud a that sex ?
(Q3938127,P21,Q6581072)
action is_in
entity Q3938127
action find
entity Q6581072
relation P21
['Q3938127', 'P21', 'Q6581072']
ASK WHERE { resource:Q6581072 property:P21 resource:Q3938127 }
female Roald Muggerud
action is_in
entity Roald Muggerud
action find
entity female
relation gender
['Roald Muggerud', 'gender', 'female']
ASK WHERE { resource:female property:gender resource:Roald_Muggerud }
[]
common name
SYSTEM
NO
(Q3938127,P21,Q6581072)
action is_in
entity Q3938127
action find
entity Q6581072
relation P21
[ANSWER]
['Q3938127', 'P21', 'Q6581072']
ASK WHERE { resource:Q6581072 property:P21 resource:Q3938127 }
No
action is_in
entity Roald Muggerud
action find
entity female
relation gender
['Roald Muggerud', 'gender', 'female']
ASK WHERE { resource:female property:gender resource:Roald_Muggerud }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of person who are the patron saints of atleast 2 occupations ?
(c(Q12737077),P417,c(Q502895))
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:P417 ?e . ?e rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12737077 } GROUP BY ?e } . FILTER ( ?c >= 2 ) }
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:patron_saint ?e . ?e rdf:type ontology:common_name . ?a rdf:type ontology:occupation } GROUP BY ?e } . FILTER ( ?c >= 2 ) }
[]
common name occupation
Q166876 Q229190 Q44248
SYSTEM
Isidore of Seville, Catherine of Siena, Jerome
Q229190 Q328804 Q166876 Q170547 Q128538 Q183240 Q196653 Q44265 Q192816 Q43982 Q179718 Q43600 Q744884 Q151967 Q200895 Q44248
(c(Q12737077),P417,c(Q502895))
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[ANSWERS] are the names of person who are the patron saints of atleast 2 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:P417 ?e . ?e rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12737077 } GROUP BY ?e } . FILTER ( ?c >= 2 ) }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Luke the Evangelist Saint Lucy Saint Veronica Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria Matthew the Apostle Zita Saint Blaise Agatha of Sicily Jerome
Isidore of Seville, Catherine of Siena and Jerome are the names of person who are the patron saints of atleast 2 occupations
Isidore of Seville Catherine of Siena Jerome
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:patron_saint ?e . ?e rdf:type ontology:common_name . ?a rdf:type ontology:occupation } GROUP BY ?e } . FILTER ( ?c >= 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can max number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?f ) { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?i ) WHERE { ?l rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 . ?j property:P1303 ?l } GROUP BY ?l } } . FILTER ( ?o = ?f ) . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?g } }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?f ) { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?i ) WHERE { ?l rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name . ?j property:instrument ?l } GROUP BY ?l } } . FILTER ( ?o = ?f ) . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?g } }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Max number of people can perform on [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?f ) { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?i ) WHERE { ?l rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 . ?j property:P1303 ?l } GROUP BY ?l } } . FILTER ( ?o = ?f ) . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?g } }
piano
Max number of people can perform on piano
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?f ) { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?i ) WHERE { ?l rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name . ?j property:instrument ?l } GROUP BY ?l } } . FILTER ( ?o = ?f ) . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?g } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q5994 Q1307036
P1303
Q502895
USER
Does Hampton Hawes know to play that musical instrument ?
(Q1307036,P1303,Q5994)
action is_in
entity Q5994
action find
entity Q1307036
relation P1303
['Q1307036', 'P1303', 'Q5994']
ASK WHERE { resource:Q1307036 property:P1303 resource:Q5994 }
piano Hampton Hawes
action is_in
entity piano
action find
entity Hampton Hawes
relation instrument
['Hampton Hawes', 'instrument', 'piano']
ASK WHERE { resource:Hampton_Hawes property:instrument resource:piano }
[]
common name
SYSTEM
YES
(Q1307036,P1303,Q5994)
action is_in
entity Q5994
action find
entity Q1307036
relation P1303
[ANSWER]
['Q1307036', 'P1303', 'Q5994']
ASK WHERE { resource:Q1307036 property:P1303 resource:Q5994 }
Yes
action is_in
entity piano
action find
entity Hampton Hawes
relation instrument
['Hampton Hawes', 'instrument', 'piano']
ASK WHERE { resource:Hampton_Hawes property:instrument resource:piano }
[]