Simple Question (Direct)
Simple Question
Q5262234
P21
Q290
USER
What is the sex of Derek O'Connor ?
(Q5262234,P21,c(Q290))
action filter_type
action find
entity Q5262234
relation P21
type Q290
['Q5262234', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q5262234 property:P21 ?r . ?r rdf:type ontology:Q290 }
Derek O'Connor
action filter_type
action find
entity Derek O'Connor
relation gender
type sex
["Derek O'Connor", 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Derek_O'Connor property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5262234,P21,c(Q290))
action filter_type
action find
entity Q5262234
relation P21
type Q290
The sex of Derek O'Connor is a [ANSWER]
['Q5262234', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q5262234 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
The sex of Derek O'Connor is a male
male
action filter_type
action find
entity Derek O'Connor
relation gender
type sex
["Derek O'Connor", 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Derek_O'Connor property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5262234
P106
Q12737077
USER
What is the job of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q5262234
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q5262234 property:P106 ?v }
Derek O'Connor
action filter_type
action find
entity Derek O'Connor
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Derek_O'Connor property:occupation ?v }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q5262234
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q5262234 property:P106 ?v }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Derek O'Connor
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Derek_O'Connor property:occupation ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P425
Q349
USER
Which sport has that one as the associated field of occupation ?
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q937857 property:P425 ?u . ?u rdf:type ontology:Q349 }
association football player
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:association_football_player property:field_of_this_occupation ?u . ?u rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
[ANSWER] has that one as the associated field of occupation
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q937857 property:P425 ?u . ?u rdf:type ontology:Q349 }
association football
Association football has that one as the associated field of occupation
association football
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:association_football_player property:field_of_this_occupation ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21081635
Q349
USER
And how about ocean rower?
(Q21081635,P425,c(Q349))
action filter_type
action find
entity Q21081635
relation P425
type Q349
['Q21081635', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q21081635 property:P425 ?n }
ocean rower
action filter_type
action find
entity ocean rower
relation field of this occupation
type sport
['ocean rower', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:ocean_rower property:field_of_this_occupation ?n }
[]
sport
Q7076154
SYSTEM
ocean rowing
Q7076154
(Q21081635,P425,c(Q349))
action filter_type
action find
entity Q21081635
relation P425
type Q349
[ANSWER]
['Q21081635', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q21081635 property:P425 ?n }
ocean rowing
ocean rowing
action filter_type
action find
entity ocean rower
relation field of this occupation
type sport
['ocean rower', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:ocean_rower property:field_of_this_occupation ?n }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q82955 Q937857
P106
Q502895
USER
Which people have the profession as association football player and politician ?
AND((c(Q502895),P106,Q937857), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q82955
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q937857'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?u WHERE { ?u property:P106 resource:Q937857 . ?u property:P106 resource:Q82955 . ?u rdf:type ontology:Q502895 }
politician association football player
action filter_type
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football player'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?u WHERE { ?u property:occupation resource:association_football_player . ?u property:occupation resource:politician . ?u rdf:type ontology:common_name }
[]
common name
Q4279371 Q1357324 Q207644 Q285965 Q912789 Q2422791 Q854242 Q1975921 Q178628 Q9061176
SYSTEM
Some of them are Oleg Malyshkin, Ernst Alfred Thalmann, Cuauhtémoc Blanco, Émile Hamilius, Ferenc Dékány, Thomas Burlison, Baron Burlison, Máté Fenyvesi, Agustín Gómez Pagóla, Paolo Rossi, Plácido Álvarez-Buylla y Lozana
Q362325 Q3492554 Q6373439 Q7108051 Q5313856 Q5042591 Q14916645 Q1898916 Q2422791 Q5396111 Q9061176 Q2684302 Q9025195 Q192031 Q3172307 Q3466996 Q685120 Q3141607 Q912542 Q965347 Q955836 Q318752 Q6831564 Q901791 Q2378838 Q8001915 Q2119579 Q2140522 Q3128131 Q956498 Q5080266 Q4664844 Q337913 Q1799120 Q4963557 Q12260868 Q719728 Q2613311 Q15635015 Q3740764 Q1389865 Q5293447 Q11896444 Q6672251 Q5041910 Q328556 Q6092460 Q17104571 Q767675 Q1975921 Q1108330 Q4772775 Q4139272 Q3440857 Q9636156 Q2548439 Q1984228 Q17297737 Q10494857 Q16186580 Q18180902 Q7167613 Q1320118 Q15993391 Q1932838 Q2464245 Q1373699 Q4573666 Q11995253 Q1357324 Q2016935 Q613178 Q3737828 Q1397070 Q1380538 Q5720746 Q1453645 Q1983662 Q4279371 Q3024711 Q378101 Q10514624 Q4079727 Q15818991 Q7918021 Q5233457 Q6766001 Q3629785 Q3731877 Q294411 Q2580755 Q1373795 Q3839855 Q6631261 Q3745041 Q179908 Q6829051 Q3067036 Q3726671 Q178628 Q3330085 Q2215668 Q2898691 Q11903060 Q5083069 Q129006 Q17612169 Q6914546 Q5654004 Q2934921 Q11365379 Q1383571 Q2374406 Q11624838 Q2211065 Q2869350 Q604553 Q6121751 Q3395941 Q331786 Q375295 Q5663164 Q3431057 Q1697802 Q93834 Q746196 Q8054299 Q3830682 Q1627240 Q3846346 Q932024 Q5235065 Q4724783 Q250150 Q288169 Q854242 Q4250438 Q2949712 Q701251 Q207644 Q1281003 Q5784678 Q18545621 Q1334151 Q555469 Q5132944 Q1088431 Q375502 Q285965 Q57641 Q912789 Q178649 Q3479449 Q1989888 Q57775 Q5042309 Q491134 Q16491499 Q11670162 Q186691 Q5725848 Q15830397 Q401433 Q2311356 Q1179483 Q1388518 Q591654 Q4664837 Q225681 Q2358297 Q559712 Q3481103 Q2032993 Q532156 Q1685671 Q6405360 Q5235671 Q4756202 Q2759540 Q18668543 Q11381993 Q7410392 Q3172477 Q13736148 Q1352820 Q318474 Q7398258 Q12897 Q3081400 Q3770470 Q490114 Q4755548 Q556712 Q3752707 Q6433505 Q11884169 Q10979247 Q13041103 Q7161222 Q3126483 Q739548 Q3426788 Q733012 Q3246391 Q3271581 Q333118 Q21534918 Q15982944 Q311768 Q1968705 Q733503 Q6136890 Q4760816 Q453405 Q355742 Q346427 Q230046 Q427144 Q4812922 Q296452 Q2906138 Q5261913 Q542330 Q380878 Q333336 Q7648608 Q3303910 Q333820 Q3357048 Q246714 Q2789036 Q68050 Q1732458 Q1124503 Q5217975 Q4020043 Q7357393 Q5700032 Q152274 Q2917649 Q97279 Q511525 Q187273
AND((c(Q502895),P106,Q937857), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q82955
relation P106
type Q502895
[ANSWERS] have the profession as association football player and politician
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q937857'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?u WHERE { ?u property:P106 resource:Q937857 . ?u property:P106 resource:Q82955 . ?u rdf:type ontology:Q502895 }
Karel Jarůšek Arsenio Lacson Karsten Johannessen Osvaldo Domínguez Dibb Dumitru Dragomir Carlos Rossi Josef Kiefer Darius Dhlomo Thomas Burlison, Baron Burlison Erwin Contreras Plácido Álvarez-Buylla y Lozana Iñaki Alkiza Luis Mariano Minguela Muñoz Kakha Kaladze Jean Giovannelli Eric Swalwell Jan Moons Thomas Bodström Brian Lenihan, Snr Roberto Ruiz Esparza Janusz Wójcik József Bozsik Michael Jackson László Disztl Lotoala Metia Wilfredo Iraheta Armand Swartenbroeks Mike Verstraeten Hassan Derham Carlos Hermosillo Charles Lindsay Orr-Ewing Abdelkader Lecheheb Edmond Fitzmaurice, 1st Baron Fitzmaurice Kjetil Hasund Brian Dempsey José Mujika Mujika Knut Anders Fostervold Jukka Gustafsson José Cabrera Bazán Risto Penttilä Osamu Umeyama Don Rossiter Tapio Furuholm Mohsen Safaei Farahani Carlos Castagneto Harry Kuneman Cengiz Özyalçın Tor Meinseth Tsukasa Hosaka Agustín Gómez Pagóla Avi Assouly Anthony Ikhazoboh Valeri Gladilin Louis Menges Athiê Jorge Coury Fabien Cool Rubén Glaria Carlo Tavecchio Hugh McMahon Prasun Banerjee Francisco Ribas Percy Thornton Josef Gerö Wangnia Pongte Mihails Zemļinskis Dag-Eilev Fagermo Michel Renquin Åge Tovan Per Morten Teigen Ernst Alfred Thalmann José de la Paz Herrera Karim Zéribi Fabio Rustico Albert Guðmundsson Massimo Mauro Henry Edward Home-Drummond-Moray Mass Axi Gai Viktor Prokopenko Oleg Malyshkin Egied I. Strubbe Marcelinho Carioca Javad Arianmanesh Vladimir Bauer Hafizuddin Ahmed Vedran Rožić David Evans Marius Stan Aurel Rădulescu Erling Andersen Olli Rehn Jan Kan Luc Millecamps Luigi Martini Wittaya Khunpluem Filipe Soares Franco Ahmed Ben Bella Hubert Ashton Faruk Ilgaz Enzo Zambetti Paolo Rossi Roberto Colunga Pius Arts Bernard Ukeiwé Yrjö Suontausta Charles Tyrrell Giles Clement Attlee Carlos Gutiérrez González Morten Strand Harald T. Nesvik Camille Dimmer Tsutomu Nakamura Saffet Sancaklı William Kenyon-Slaney Masaaki Fujita Sadatoshi Kumagai Atik Ismail Antonio Rattín Jafar Kashani Alfred Lyttelton Kaj Leo Johannesen Alexey Smertin Alberto Javier García Pérez Yngve Hallén Hans Jäcker José Maria Marin István Géczi Yoel Alroy Leopoldo Bard Honorio Pueyrredón Marco Pecoraro Scanio Faruk Nafız Özak David Hodge Ali Fadel István Friedrich Éric Di Meco Máté Fenyvesi Kambiz Atabay Dag Lyseid Otto Konrad Cuauhtémoc Blanco Patrick John José Miguel Corrales Bolaños Laura McAllister Petro Dyminsky Lorenzo Tañada Clifford Forsythe Rafael Sánchez Guerra Giovanni Galli Émile Hamilius Viktor Orbán Ferenc Dékány Romário Serge Mesonès Nihat Bekdik Boyko Borisov Carlos Mac Allister Anders Lange Antônio Dourado Cavalcanti Takayuki Takagi Oleh Blokhin Henry Meysey-Thompson, 1st Baron Knaresborough Eilert Eilertsen Ahmad Radhi Tomás Reñones John Frederick Peel Rawlinson Oliver St. John Gogarty Anton Mahdalik Abdelkader Benayada Pierre Bini Georgios Anatolakis Magomedsalam Magomedov Willum Þór Þórsson Oscar Traynor Yordan Letchkov Jean Mandel Kieran Deeny David John Morgan Andrew Anderson, Lord Anderson Sietes Aquiles Regazzoli Yukinobu Sumitani Samson Omeruah Jean Hamelin Jan van Gorp Frans de Bruyn Kops Abel Matutes Saeed bin Zayed Al Nahyan Edson Arantes do Nascimento Francis Dessain Giuseppe Di Prisco Chung Mong-joon Andreas Michaelides Aksel V. Johannesen Freddy Ternero Kostas Linoxilakis Nelli Berg Brandur Sandoy Kreshnik Çipi Pelayo Eribo Hamma Melakhsou Roman Kosecki René Quentier Lorenzo Staelens Toshiro Tomochika Léonce Deprez David Icke János Herbst Younus Changezi Helmuth Duckadam Ronnie Brunswijk Ryota Tsuzuki James Johnson Andy Hill Jeannot Krecké Ademir da Guia Marc Wilmots Gianni Rivera Olindo Galli Atay Aktuğ Theodoros Zagorakis Haim Corfu Derek Dawkins Tommy Sheridan José Antonio Aguirre Albert Grey, 4th Earl Grey Susana Mendoza Susumu Katsumata Henry McLeish Oscar Van Kesbeeck Yoshinori Taguchi Guy Martens Giampiero Boniperti Karl Neubauer Felix von Heijden Daniel Lugay William Henry Gladstone Rodrigo Paz Antonio Vega de Seoane Echeverría Edvard Beneš Héctor Rivadavia Gómez Karl Alber Oscar Bossaert Zeki Rıza Sporel
Oleg Malyshkin, Ernst Alfred Thalmann, Cuauhtémoc Blanco, Émile Hamilius, Ferenc Dékány, Thomas Burlison, Baron Burlison, Máté Fenyvesi, Agustín Gómez Pagóla, Paolo Rossi and Plácido Álvarez-Buylla y Lozana have the profession as association football player and politician
Oleg Malyshkin Ernst Alfred Thalmann Cuauhtémoc Blanco Émile Hamilius Ferenc Dékány Thomas Burlison, Baron Burlison Máté Fenyvesi Agustín Gómez Pagóla Paolo Rossi Plácido Álvarez-Buylla y Lozana
action filter_type
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football player'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?u WHERE { ?u property:occupation resource:association_football_player . ?u property:occupation resource:politician . ?u rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P27
Q7275 Q15617994
USER
How many states or administrative territories are the native countriesof that person ?
(Q4279371,P27,c(Q7275)) (Q4279371,P27,c(Q15617994)) (Q4279371,P27,c(Q7275)) (Q4279371,P27,c(Q15617994)) (Q1357324,P27,c(Q7275)) (Q1357324,P27,c(Q15617994)) (Q207644,P27,c(Q7275)) (Q207644,P27,c(Q15617994)) (Q285965,P27,c(Q7275)) (Q285965,P27,c(Q15617994)) (Q912789,P27,c(Q7275)) (Q912789,P27,c(Q15617994)) (Q2422791,P27,c(Q7275)) (Q2422791,P27,c(Q15617994)) (Q854242,P27,c(Q7275)) (Q854242,P27,c(Q15617994)) (Q1975921,P27,c(Q7275)) (Q1975921,P27,c(Q15617994)) (Q178628,P27,c(Q7275)) (Q178628,P27,c(Q15617994)) (Q9061176,P27,c(Q7275)) (Q9061176,P27,c(Q15617994))
['Q4279371', 'P27', {'concept': 'Q7275'}] ['Q4279371', 'P27', {'concept': 'Q15617994'}] ['Q4279371', 'P27', {'concept': 'Q7275'}] ['Q4279371', 'P27', {'concept': 'Q15617994'}] ['Q1357324', 'P27', {'concept': 'Q7275'}] ['Q1357324', 'P27', {'concept': 'Q15617994'}] ['Q207644', 'P27', {'concept': 'Q7275'}] ['Q207644', 'P27', {'concept': 'Q15617994'}] ['Q285965', 'P27', {'concept': 'Q7275'}] ['Q285965', 'P27', {'concept': 'Q15617994'}] ['Q912789', 'P27', {'concept': 'Q7275'}] ['Q912789', 'P27', {'concept': 'Q15617994'}] ['Q2422791', 'P27', {'concept': 'Q7275'}] ['Q2422791', 'P27', {'concept': 'Q15617994'}] ['Q854242', 'P27', {'concept': 'Q7275'}] ['Q854242', 'P27', {'concept': 'Q15617994'}] ['Q1975921', 'P27', {'concept': 'Q7275'}] ['Q1975921', 'P27', {'concept': 'Q15617994'}] ['Q178628', 'P27', {'concept': 'Q7275'}] ['Q178628', 'P27', {'concept': 'Q15617994'}] ['Q9061176', 'P27', {'concept': 'Q7275'}] ['Q9061176', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q4279371 property:P27 ?z } UNION { resource:Q4279371 property:P27 ?y } UNION { resource:Q4279371 property:P27 ?z } UNION { resource:Q4279371 property:P27 ?y } UNION { resource:Q1357324 property:P27 ?z } UNION { resource:Q1357324 property:P27 ?y } UNION { resource:Q207644 property:P27 ?z } UNION { resource:Q207644 property:P27 ?y } UNION { resource:Q285965 property:P27 ?z } UNION { resource:Q285965 property:P27 ?y } UNION { resource:Q912789 property:P27 ?z } UNION { resource:Q912789 property:P27 ?y } UNION { resource:Q2422791 property:P27 ?z } UNION { resource:Q2422791 property:P27 ?y } UNION { resource:Q854242 property:P27 ?z } UNION { resource:Q854242 property:P27 ?y } UNION { resource:Q1975921 property:P27 ?z } UNION { resource:Q1975921 property:P27 ?y } UNION { resource:Q537857 property:P27 ?z } UNION { resource:Q537857 property:P27 ?y } UNION { resource:Q9061176 property:P27 ?z } UNION { resource:Q9061176 property:P27 ?y } } . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q15617994 }
['Oleg Malyshkin', 'country of citizenship', {'concept': 'state'}] ['Oleg Malyshkin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Oleg Malyshkin', 'country of citizenship', {'concept': 'state'}] ['Oleg Malyshkin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ernst Alfred Thalmann', 'country of citizenship', {'concept': 'state'}] ['Ernst Alfred Thalmann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Cuauhtémoc Blanco', 'country of citizenship', {'concept': 'state'}] ['Cuauhtémoc Blanco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Émile Hamilius', 'country of citizenship', {'concept': 'state'}] ['Émile Hamilius', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ferenc Dékány', 'country of citizenship', {'concept': 'state'}] ['Ferenc Dékány', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Thomas Burlison, Baron Burlison', 'country of citizenship', {'concept': 'state'}] ['Thomas Burlison, Baron Burlison', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Máté Fenyvesi', 'country of citizenship', {'concept': 'state'}] ['Máté Fenyvesi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Agustín Gómez Pagóla', 'country of citizenship', {'concept': 'state'}] ['Agustín Gómez Pagóla', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Paolo Rossi', 'country of citizenship', {'concept': 'state'}] ['Paolo Rossi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Plácido Álvarez-Buylla y Lozana', 'country of citizenship', {'concept': 'state'}] ['Plácido Álvarez-Buylla y Lozana', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Oleg_Malyshkin property:country_of_citizenship ?z } UNION { resource:Oleg_Malyshkin property:country_of_citizenship ?y } UNION { resource:Oleg_Malyshkin property:country_of_citizenship ?z } UNION { resource:Oleg_Malyshkin property:country_of_citizenship ?y } UNION { resource:Ernst_Alfred_Thalmann property:country_of_citizenship ?z } UNION { resource:Ernst_Alfred_Thalmann property:country_of_citizenship ?y } UNION { resource:Cuauhtémoc_Blanco property:country_of_citizenship ?z } UNION { resource:Cuauhtémoc_Blanco property:country_of_citizenship ?y } UNION { resource:Émile_Hamilius property:country_of_citizenship ?z } UNION { resource:Émile_Hamilius property:country_of_citizenship ?y } UNION { resource:Ferenc_Dékány property:country_of_citizenship ?z } UNION { resource:Ferenc_Dékány property:country_of_citizenship ?y } UNION { resource:Thomas_Burlison,_Baron_Burlison property:country_of_citizenship ?z } UNION { resource:Thomas_Burlison,_Baron_Burlison property:country_of_citizenship ?y } UNION { resource:Máté_Fenyvesi property:country_of_citizenship ?z } UNION { resource:Máté_Fenyvesi property:country_of_citizenship ?y } UNION { resource:Agustín_Gómez_Pagóla property:country_of_citizenship ?z } UNION { resource:Agustín_Gómez_Pagóla property:country_of_citizenship ?y } UNION { resource:Paolo_Rossi property:country_of_citizenship ?z } UNION { resource:Paolo_Rossi property:country_of_citizenship ?y } UNION { resource:Plácido_Álvarez-Buylla_y_Lozana property:country_of_citizenship ?z } UNION { resource:Plácido_Álvarez-Buylla_y_Lozana property:country_of_citizenship ?y } } . ?z rdf:type ontology:state . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
state designation for an administrative territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q9061176
SYSTEM
Did you mean Plácido Álvarez-Buylla y Lozana ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q4279371 property:P27 ?z } UNION { resource:Q4279371 property:P27 ?y } UNION { resource:Q4279371 property:P27 ?z } UNION { resource:Q4279371 property:P27 ?y } UNION { resource:Q1357324 property:P27 ?z } UNION { resource:Q1357324 property:P27 ?y } UNION { resource:Q207644 property:P27 ?z } UNION { resource:Q207644 property:P27 ?y } UNION { resource:Q285965 property:P27 ?z } UNION { resource:Q285965 property:P27 ?y } UNION { resource:Q912789 property:P27 ?z } UNION { resource:Q912789 property:P27 ?y } UNION { resource:Q2422791 property:P27 ?z } UNION { resource:Q2422791 property:P27 ?y } UNION { resource:Q854242 property:P27 ?z } UNION { resource:Q854242 property:P27 ?y } UNION { resource:Q1975921 property:P27 ?z } UNION { resource:Q1975921 property:P27 ?y } UNION { resource:Q537857 property:P27 ?z } UNION { resource:Q537857 property:P27 ?y } UNION { resource:Q9061176 property:P27 ?z } UNION { resource:Q9061176 property:P27 ?y } } . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q15617994 }
Did you mean Plácido Álvarez-Buylla y Lozana ?
Plácido Álvarez-Buylla y Lozana
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Oleg_Malyshkin property:country_of_citizenship ?z } UNION { resource:Oleg_Malyshkin property:country_of_citizenship ?y } UNION { resource:Oleg_Malyshkin property:country_of_citizenship ?z } UNION { resource:Oleg_Malyshkin property:country_of_citizenship ?y } UNION { resource:Ernst_Alfred_Thalmann property:country_of_citizenship ?z } UNION { resource:Ernst_Alfred_Thalmann property:country_of_citizenship ?y } UNION { resource:Cuauhtémoc_Blanco property:country_of_citizenship ?z } UNION { resource:Cuauhtémoc_Blanco property:country_of_citizenship ?y } UNION { resource:Émile_Hamilius property:country_of_citizenship ?z } UNION { resource:Émile_Hamilius property:country_of_citizenship ?y } UNION { resource:Ferenc_Dékány property:country_of_citizenship ?z } UNION { resource:Ferenc_Dékány property:country_of_citizenship ?y } UNION { resource:Thomas_Burlison,_Baron_Burlison property:country_of_citizenship ?z } UNION { resource:Thomas_Burlison,_Baron_Burlison property:country_of_citizenship ?y } UNION { resource:Máté_Fenyvesi property:country_of_citizenship ?z } UNION { resource:Máté_Fenyvesi property:country_of_citizenship ?y } UNION { resource:Agustín_Gómez_Pagóla property:country_of_citizenship ?z } UNION { resource:Agustín_Gómez_Pagóla property:country_of_citizenship ?y } UNION { resource:Paolo_Rossi property:country_of_citizenship ?z } UNION { resource:Paolo_Rossi property:country_of_citizenship ?y } UNION { resource:Plácido_Álvarez-Buylla_y_Lozana property:country_of_citizenship ?z } UNION { resource:Plácido_Álvarez-Buylla_y_Lozana property:country_of_citizenship ?y } } . ?z rdf:type ontology:state . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Oleg Malyshkin. Could you tell me the answer for that?
(Q4279371,P27,c(Q7275)) (Q4279371,P27,c(Q15617994)) (Q4279371,P27,c(Q7275)) (Q4279371,P27,c(Q15617994)) (Q1357324,P27,c(Q7275)) (Q1357324,P27,c(Q15617994)) (Q207644,P27,c(Q7275)) (Q207644,P27,c(Q15617994)) (Q285965,P27,c(Q7275)) (Q285965,P27,c(Q15617994)) (Q912789,P27,c(Q7275)) (Q912789,P27,c(Q15617994)) (Q2422791,P27,c(Q7275)) (Q2422791,P27,c(Q15617994)) (Q854242,P27,c(Q7275)) (Q854242,P27,c(Q15617994)) (Q1975921,P27,c(Q7275)) (Q1975921,P27,c(Q15617994)) (Q178628,P27,c(Q7275)) (Q178628,P27,c(Q15617994)) (Q9061176,P27,c(Q7275)) (Q9061176,P27,c(Q15617994))
Q4279371
['Q4279371', 'P27', {'concept': 'Q7275'}] ['Q4279371', 'P27', {'concept': 'Q15617994'}] ['Q4279371', 'P27', {'concept': 'Q7275'}] ['Q4279371', 'P27', {'concept': 'Q15617994'}] ['Q1357324', 'P27', {'concept': 'Q7275'}] ['Q1357324', 'P27', {'concept': 'Q15617994'}] ['Q207644', 'P27', {'concept': 'Q7275'}] ['Q207644', 'P27', {'concept': 'Q15617994'}] ['Q285965', 'P27', {'concept': 'Q7275'}] ['Q285965', 'P27', {'concept': 'Q15617994'}] ['Q912789', 'P27', {'concept': 'Q7275'}] ['Q912789', 'P27', {'concept': 'Q15617994'}] ['Q2422791', 'P27', {'concept': 'Q7275'}] ['Q2422791', 'P27', {'concept': 'Q15617994'}] ['Q854242', 'P27', {'concept': 'Q7275'}] ['Q854242', 'P27', {'concept': 'Q15617994'}] ['Q1975921', 'P27', {'concept': 'Q7275'}] ['Q1975921', 'P27', {'concept': 'Q15617994'}] ['Q178628', 'P27', {'concept': 'Q7275'}] ['Q178628', 'P27', {'concept': 'Q15617994'}] ['Q9061176', 'P27', {'concept': 'Q7275'}] ['Q9061176', 'P27', {'concept': 'Q15617994'}]
['Oleg Malyshkin', 'country of citizenship', {'concept': 'state'}] ['Oleg Malyshkin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Oleg Malyshkin', 'country of citizenship', {'concept': 'state'}] ['Oleg Malyshkin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ernst Alfred Thalmann', 'country of citizenship', {'concept': 'state'}] ['Ernst Alfred Thalmann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Cuauhtémoc Blanco', 'country of citizenship', {'concept': 'state'}] ['Cuauhtémoc Blanco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Émile Hamilius', 'country of citizenship', {'concept': 'state'}] ['Émile Hamilius', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ferenc Dékány', 'country of citizenship', {'concept': 'state'}] ['Ferenc Dékány', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Thomas Burlison, Baron Burlison', 'country of citizenship', {'concept': 'state'}] ['Thomas Burlison, Baron Burlison', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Máté Fenyvesi', 'country of citizenship', {'concept': 'state'}] ['Máté Fenyvesi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Agustín Gómez Pagóla', 'country of citizenship', {'concept': 'state'}] ['Agustín Gómez Pagóla', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Paolo Rossi', 'country of citizenship', {'concept': 'state'}] ['Paolo Rossi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Plácido Álvarez-Buylla y Lozana', 'country of citizenship', {'concept': 'state'}] ['Plácido Álvarez-Buylla y Lozana', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
2
Q159 Q15180
(Q4279371,P27,c(Q7275)) (Q4279371,P27,c(Q15617994)) (Q4279371,P27,c(Q7275)) (Q4279371,P27,c(Q15617994)) (Q1357324,P27,c(Q7275)) (Q1357324,P27,c(Q15617994)) (Q207644,P27,c(Q7275)) (Q207644,P27,c(Q15617994)) (Q285965,P27,c(Q7275)) (Q285965,P27,c(Q15617994)) (Q912789,P27,c(Q7275)) (Q912789,P27,c(Q15617994)) (Q2422791,P27,c(Q7275)) (Q2422791,P27,c(Q15617994)) (Q854242,P27,c(Q7275)) (Q854242,P27,c(Q15617994)) (Q1975921,P27,c(Q7275)) (Q1975921,P27,c(Q15617994)) (Q178628,P27,c(Q7275)) (Q178628,P27,c(Q15617994)) (Q9061176,P27,c(Q7275)) (Q9061176,P27,c(Q15617994))
[ANSWER]
['Q4279371', 'P27', {'concept': 'Q7275'}] ['Q4279371', 'P27', {'concept': 'Q15617994'}] ['Q4279371', 'P27', {'concept': 'Q7275'}] ['Q4279371', 'P27', {'concept': 'Q15617994'}] ['Q1357324', 'P27', {'concept': 'Q7275'}] ['Q1357324', 'P27', {'concept': 'Q15617994'}] ['Q207644', 'P27', {'concept': 'Q7275'}] ['Q207644', 'P27', {'concept': 'Q15617994'}] ['Q285965', 'P27', {'concept': 'Q7275'}] ['Q285965', 'P27', {'concept': 'Q15617994'}] ['Q912789', 'P27', {'concept': 'Q7275'}] ['Q912789', 'P27', {'concept': 'Q15617994'}] ['Q2422791', 'P27', {'concept': 'Q7275'}] ['Q2422791', 'P27', {'concept': 'Q15617994'}] ['Q854242', 'P27', {'concept': 'Q7275'}] ['Q854242', 'P27', {'concept': 'Q15617994'}] ['Q1975921', 'P27', {'concept': 'Q7275'}] ['Q1975921', 'P27', {'concept': 'Q15617994'}] ['Q178628', 'P27', {'concept': 'Q7275'}] ['Q178628', 'P27', {'concept': 'Q15617994'}] ['Q9061176', 'P27', {'concept': 'Q7275'}] ['Q9061176', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q4279371 property:P27 ?z } UNION { resource:Q4279371 property:P27 ?y } UNION { resource:Q4279371 property:P27 ?z } UNION { resource:Q4279371 property:P27 ?y } UNION { resource:Q1357324 property:P27 ?z } UNION { resource:Q1357324 property:P27 ?y } UNION { resource:Q207644 property:P27 ?z } UNION { resource:Q207644 property:P27 ?y } UNION { resource:Q285965 property:P27 ?z } UNION { resource:Q285965 property:P27 ?y } UNION { resource:Q912789 property:P27 ?z } UNION { resource:Q912789 property:P27 ?y } UNION { resource:Q2422791 property:P27 ?z } UNION { resource:Q2422791 property:P27 ?y } UNION { resource:Q854242 property:P27 ?z } UNION { resource:Q854242 property:P27 ?y } UNION { resource:Q1975921 property:P27 ?z } UNION { resource:Q1975921 property:P27 ?y } UNION { resource:Q537857 property:P27 ?z } UNION { resource:Q537857 property:P27 ?y } UNION { resource:Q9061176 property:P27 ?z } UNION { resource:Q9061176 property:P27 ?y } } . ?z rdf:type ontology:Q7275 . ?y rdf:type ontology:Q15617994 }
Russia Soviet Union
2
['Oleg Malyshkin', 'country of citizenship', {'concept': 'state'}] ['Oleg Malyshkin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Oleg Malyshkin', 'country of citizenship', {'concept': 'state'}] ['Oleg Malyshkin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ernst Alfred Thalmann', 'country of citizenship', {'concept': 'state'}] ['Ernst Alfred Thalmann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Cuauhtémoc Blanco', 'country of citizenship', {'concept': 'state'}] ['Cuauhtémoc Blanco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Émile Hamilius', 'country of citizenship', {'concept': 'state'}] ['Émile Hamilius', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ferenc Dékány', 'country of citizenship', {'concept': 'state'}] ['Ferenc Dékány', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Thomas Burlison, Baron Burlison', 'country of citizenship', {'concept': 'state'}] ['Thomas Burlison, Baron Burlison', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Máté Fenyvesi', 'country of citizenship', {'concept': 'state'}] ['Máté Fenyvesi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Agustín Gómez Pagóla', 'country of citizenship', {'concept': 'state'}] ['Agustín Gómez Pagóla', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Paolo Rossi', 'country of citizenship', {'concept': 'state'}] ['Paolo Rossi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Plácido Álvarez-Buylla y Lozana', 'country of citizenship', {'concept': 'state'}] ['Plácido Álvarez-Buylla y Lozana', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Oleg_Malyshkin property:country_of_citizenship ?z } UNION { resource:Oleg_Malyshkin property:country_of_citizenship ?y } UNION { resource:Oleg_Malyshkin property:country_of_citizenship ?z } UNION { resource:Oleg_Malyshkin property:country_of_citizenship ?y } UNION { resource:Ernst_Alfred_Thalmann property:country_of_citizenship ?z } UNION { resource:Ernst_Alfred_Thalmann property:country_of_citizenship ?y } UNION { resource:Cuauhtémoc_Blanco property:country_of_citizenship ?z } UNION { resource:Cuauhtémoc_Blanco property:country_of_citizenship ?y } UNION { resource:Émile_Hamilius property:country_of_citizenship ?z } UNION { resource:Émile_Hamilius property:country_of_citizenship ?y } UNION { resource:Ferenc_Dékány property:country_of_citizenship ?z } UNION { resource:Ferenc_Dékány property:country_of_citizenship ?y } UNION { resource:Thomas_Burlison,_Baron_Burlison property:country_of_citizenship ?z } UNION { resource:Thomas_Burlison,_Baron_Burlison property:country_of_citizenship ?y } UNION { resource:Máté_Fenyvesi property:country_of_citizenship ?z } UNION { resource:Máté_Fenyvesi property:country_of_citizenship ?y } UNION { resource:Agustín_Gómez_Pagóla property:country_of_citizenship ?z } UNION { resource:Agustín_Gómez_Pagóla property:country_of_citizenship ?y } UNION { resource:Paolo_Rossi property:country_of_citizenship ?z } UNION { resource:Paolo_Rossi property:country_of_citizenship ?y } UNION { resource:Plácido_Álvarez-Buylla_y_Lozana property:country_of_citizenship ?z } UNION { resource:Plácido_Álvarez-Buylla_y_Lozana property:country_of_citizenship ?y } } . ?z rdf:type ontology:state . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q285965
P166
Q193622
USER
Which order was received by Émile Hamilius ?
(Q285965,P166,c(Q193622))
action filter_type
action find
entity Q285965
relation P166
type Q193622
['Q285965', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?j WHERE { resource:Q285965 property:P166 ?j . ?j rdf:type ontology:Q193622 }
Émile Hamilius
action filter_type
action find
entity Émile Hamilius
relation award received
type order
['Émile Hamilius', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?j WHERE { resource:Émile_Hamilius property:award_received ?j . ?j rdf:type ontology:order }
[]
order
Q15042142
SYSTEM
Commander of the Order of the Oak Crown
Q15042142
(Q285965,P166,c(Q193622))
action filter_type
action find
entity Q285965
relation P166
type Q193622
The [ANSWER] was received by Émile Hamilius
['Q285965', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?j WHERE { resource:Q285965 property:P166 ?j . ?j rdf:type ontology:Q193622 }
Commander of the Order of the Oak Crown
The Commander of the Order of the Oak Crown was received by Émile Hamilius
Commander of the Order of the Oak Crown
action filter_type
action find
entity Émile Hamilius
relation award received
type order
['Émile Hamilius', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?j WHERE { resource:Émile_Hamilius property:award_received ?j . ?j rdf:type ontology:order }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q8023
Q193622
USER
And how about Nelson Mandela?
(Q8023,P166,c(Q193622))
action filter_type
action find
entity Q8023
relation P166
type Q193622
['Q8023', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?a WHERE { resource:Q8023 property:P166 ?a . ?a rdf:type ontology:Q193622 }
Nelson Mandela
action filter_type
action find
entity Nelson Mandela
relation award received
type order
['Nelson Mandela', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?a WHERE { resource:Nelson_Mandela property:award_received ?a . ?a rdf:type ontology:order }
[]
order
Q931502
SYSTEM
Order of Isabella the Catholic‎
Q931502
(Q8023,P166,c(Q193622))
action filter_type
action find
entity Q8023
relation P166
type Q193622
[ANSWER]
['Q8023', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?a WHERE { resource:Q8023 property:P166 ?a . ?a rdf:type ontology:Q193622 }
Order of Isabella the Catholic‎
Order of Isabella the Catholic‎
action filter_type
action find
entity Nelson Mandela
relation award received
type order
['Nelson Mandela', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?a WHERE { resource:Nelson_Mandela property:award_received ?a . ?a rdf:type ontology:order }
[]