Simple Question (Direct)
Simple Question
Q22328174
P106
Q12737077
USER
What does Christophe Gautier do for a living ?
(Q22328174,P106,c(Q12737077))
action filter_type
action find
entity Q22328174
relation P106
type Q12737077
['Q22328174', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q22328174 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Christophe Gautier
action filter_type
action find
entity Christophe Gautier
relation occupation
type occupation
['Christophe Gautier', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Christophe_Gautier property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q22328174,P106,c(Q12737077))
action filter_type
action find
entity Q22328174
relation P106
type Q12737077
Christophe Gautier does an [ANSWER] for a living
['Q22328174', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q22328174 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
association football player
Christophe Gautier does an association football player for a living
association football player
action filter_type
action find
entity Christophe Gautier
relation occupation
type occupation
['Christophe Gautier', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Christophe_Gautier property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22328174
P734
Q82799
USER
Which name is associated with that person ?
(Q937857,P734,c(Q82799))
action filter_type
action find
entity Q22328174
relation P734
type Q82799
['Q937857', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q22328174 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Christophe Gautier
action filter_type
action find
entity Christophe Gautier
relation family name
type name
['association football player', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Christophe_Gautier property:family_name ?o . ?o rdf:type ontology:name }
[]
name
Q16870137
SYSTEM
Gautier
Q16870137
(Q937857,P734,c(Q82799))
action filter_type
action find
entity Q22328174
relation P734
type Q82799
[ANSWER] is associated with that person
['Q937857', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q22328174 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Gautier
Gautier is associated with that person
Gautier
action filter_type
action find
entity Christophe Gautier
relation family name
type name
['association football player', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Christophe_Gautier property:family_name ?o . ?o rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22328174
P21
Q290
USER
Which sex does Christophe Gautier belong to ?
(Q22328174,P21,c(Q290))
action filter_type
action find
entity Q22328174
relation P21
type Q290
['Q22328174', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q22328174 property:P21 ?f . ?f rdf:type ontology:Q290 }
Christophe Gautier
action filter_type
action find
entity Christophe Gautier
relation gender
type sex
['Christophe Gautier', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Christophe_Gautier property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q22328174,P21,c(Q290))
action filter_type
action find
entity Q22328174
relation P21
type Q290
Christophe Gautier belongs to [ANSWER]
['Q22328174', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q22328174 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
Christophe Gautier belongs to male
male
action filter_type
action find
entity Christophe Gautier
relation gender
type sex
['Christophe Gautier', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Christophe_Gautier property:gender ?f . ?f rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1146016 Q22328174
P21
Q290
USER
Or Reinhard Dachlauer?
OR((Q22328174,P21,c(Q290)), (Q1146016,P21,c(Q290)))
action filter_type
action union
action find
entity Q22328174
relation P21
action find
entity Q1146016
relation P21
type Q290
{'OR': [['Q22328174', 'P21', {'concept': 'Q290'}], ['Q1146016', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q22328174 property:P21 ?j } UNION { resource:Q1146016 property:P21 ?j } } . ?j rdf:type ontology:Q290 }
Reinhard Dachlauer Christophe Gautier
action filter_type
action union
action find
entity Christophe Gautier
relation gender
action find
entity Reinhard Dachlauer
relation gender
type sex
{'OR': [['Christophe Gautier', 'gender', {'concept': 'sex'}], ['Reinhard Dachlauer', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Christophe_Gautier property:gender ?j } UNION { resource:Reinhard_Dachlauer property:gender ?j } } . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q22328174,P21,c(Q290)), (Q1146016,P21,c(Q290)))
action filter_type
action union
action find
entity Q22328174
relation P21
action find
entity Q1146016
relation P21
type Q290
[ANSWER]
{'OR': [['Q22328174', 'P21', {'concept': 'Q290'}], ['Q1146016', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q22328174 property:P21 ?j } UNION { resource:Q1146016 property:P21 ?j } } . ?j rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Christophe Gautier
relation gender
action find
entity Reinhard Dachlauer
relation gender
type sex
{'OR': [['Christophe Gautier', 'gender', {'concept': 'sex'}], ['Reinhard Dachlauer', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Christophe_Gautier property:gender ?j } UNION { resource:Reinhard_Dachlauer property:gender ?j } } . ?j rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3242603
P169
Q502895 Q4830453 Q43229
USER
How many people are the CEOs of approximately the same number of business enterprises or organizations as Lissa Pillu ?
(c(Q4830453)|c(Q43229),P169,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q4830453
action find_reverse_tuple_counts
relation P169
type Q502895
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q3242603
relation P169
type Q4830453
type Q43229
[[{'concept': 'Q4830453'}, {'concept': 'Q43229'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?q ) WHERE { { ?f rdf:type ontology:Q43229 . ?n rdf:type ontology:Q502895 . ?f property:P169 ?n } UNION { ?f property:P169 ?n . ?n rdf:type ontology:Q502895 . ?f rdf:type ontology:Q4830453 } } GROUP BY ?n } . FILTER ( ?q = ?l ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P169 resource:Q3242603 . { { ?e rdf:type ontology:Q4830453 } UNION { ?e rdf:type ontology:Q43229 } } } } }
Lissa Pillu
action count
action approx
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type business enterprise
action find_reverse_tuple_counts
relation chief executive officer
type common name
type organization
action count
action filter_multi_types
action find_reverse
entity Lissa Pillu
relation chief executive officer
type business enterprise
type organization
[[{'concept': 'business enterprise'}, {'concept': 'organization'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?q ) WHERE { { ?f rdf:type ontology:organization . ?n rdf:type ontology:common_name . ?f property:chief_executive_officer ?n } UNION { ?f property:chief_executive_officer ?n . ?n rdf:type ontology:common_name . ?f rdf:type ontology:business_enterprise } } GROUP BY ?n } . FILTER ( ?q = ?l ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:chief_executive_officer resource:Lissa_Pillu . { { ?e rdf:type ontology:business_enterprise } UNION { ?e rdf:type ontology:organization } } } } }
[]
common name business enterprise organization
SYSTEM
363
Q19896671 Q19859052 Q4924118 Q18121649 Q19896679 Q717674 Q4777590 Q6198907 Q18171895 Q23416738 Q4117176 Q16204309 Q23007304 Q55174 Q16216779 Q4767290 Q26722512 Q16206015 Q337024 Q23902590 Q1002290 Q8273280 Q19609597 Q6381449 Q21006405 Q55183 Q92747 Q15121971 Q713588 Q11113686 Q4980260 Q1444268 Q21933487 Q18342983 Q19665536 Q19664437 Q6847900 Q3119209 Q18219695 Q4409579 Q20855800 Q19829617 Q9000717 Q18613010 Q1512302 Q418622 Q113969 Q1359151 Q13718768 Q12035832 Q6384834 Q19254729 Q24727838 Q1229223 Q44430 Q17135000 Q23018095 Q740364 Q27133665 Q14755556 Q3242603 Q1497297 Q2727190 Q4952317 Q264913 Q20825696 Q6215569 Q3345826 Q3169317 Q721491 Q16727878 Q1392181 Q10819807 Q24251142 Q27349329 Q2360382 Q22980339 Q23034479 Q1066556 Q17087799 Q98027 Q21004842 Q123692 Q18205587 Q20177315 Q26858789 Q16873061 Q218630 Q3737720 Q26905038 Q4772605 Q18619565 Q5590777 Q21060078 Q27609221 Q8421760 Q20177969 Q11979764 Q1440023 Q926972 Q1566005 Q4208213 Q20962718 Q19594969 Q13503320 Q7524 Q7051936 Q3178749 Q21030051 Q15042554 Q3524436 Q3442764 Q5619555 Q7322775 Q26738895 Q14551654 Q26924811 Q11861807 Q346081 Q3318585 Q17295710 Q16727895 Q539281 Q382472 Q1409036 Q1385513 Q1378278 Q15903779 Q7436333 Q7935934 Q5278137 Q2848353 Q911264 Q25713864 Q18711513 Q19849269 Q556539 Q11971696 Q19664216 Q380912 Q93014 Q6531032 Q16193869 Q1347130 Q20827632 Q825590 Q5242415 Q7784029 Q983111 Q2324303 Q12044833 Q86582 Q60805 Q11774225 Q26903671 Q152871 Q20669523 Q22138495 Q4307679 Q3159014 Q293679 Q335552 Q6259380 Q18158484 Q47213 Q20670264 Q18655519 Q18351457 Q21013077 Q153284 Q731705 Q36215 Q22279080 Q1680943 Q4957609 Q472330 Q18684933 Q2587167 Q2345564 Q4082480 Q20177073 Q467644 Q658709 Q18720220 Q27063165 Q195993 Q25850434 Q4885723 Q24045798 Q19842303 Q20978753 Q24007473 Q1701854 Q92955 Q103859 Q331401 Q1511450 Q6011806 Q1692250 Q20056287 Q260137 Q6270693 Q20962527 Q1933320 Q18233674 Q1223089 Q16195575 Q21030040 Q12321699 Q2790774 Q7836291 Q1408914 Q11875054 Q17152073 Q12316202 Q16194176 Q19957089 Q110406 Q1680807 Q6069855 Q65464 Q5233652 Q15999653 Q19862201 Q8992399 Q4766724 Q1806074 Q6256206 Q2476676 Q7285954 Q105330 Q3158153 Q18206337 Q7807331 Q5221979 Q369783 Q16734998 Q22669390 Q19854934 Q15067369 Q3741738 Q23759047 Q84587 Q7608884 Q18085292 Q7407093 Q19868496 Q3302155 Q11549950 Q1599154 Q5236586 Q7297350 Q21029546 Q16741739 Q25999295 Q98626 Q26637897 Q117407 Q39318 Q718292 Q559347 Q983734 Q18084741 Q14086 Q6779013 Q7609902 Q27114809 Q23927260 Q1262912 Q7804012 Q20468209 Q3420527 Q7340009 Q2642785 Q22575791 Q554077 Q101174 Q1096915 Q7147677 Q215284 Q26638506 Q317521 Q5145038 Q3380832 Q5218322 Q1394937 Q5273200 Q16843940 Q724440 Q15728648 Q5294282 Q421864 Q64088 Q1148995 Q20215432 Q16910059 Q20963736 Q12572999 Q16256316 Q21662949 Q974228 Q21979002 Q4731870 Q4482287 Q16935414 Q7803408 Q4963341 Q11996909 Q4943783 Q22137354 Q2199420 Q2468051 Q21063274 Q27146971 Q17275421 Q3569110 Q7614629 Q16218441 Q17988783 Q92434 Q12624119 Q3503829 Q20668017 Q3023213 Q1045681 Q16909279 Q706222 Q265852 Q17277578 Q5605778 Q5693758 Q717038 Q4245329 Q5552438 Q718172 Q16240991 Q6397255 Q7088140 Q2886450 Q19842482 Q11456421 Q7644370 Q7519508 Q16728924 Q2821286 Q2418452 Q24050958 Q7240183 Q3022761 Q18412953 Q6113311 Q21001808 Q27830774 Q21629416 Q21096194 Q699696 Q1082789 Q4980554 Q21066802 Q24049135 Q92879 Q3063832 Q22096796
(c(Q4830453)|c(Q43229),P169,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q4830453
action find_reverse_tuple_counts
relation P169
type Q502895
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q3242603
relation P169
type Q4830453
type Q43229
[ANSWER]
[[{'concept': 'Q4830453'}, {'concept': 'Q43229'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?q ) WHERE { { ?f rdf:type ontology:Q43229 . ?n rdf:type ontology:Q502895 . ?f property:P169 ?n } UNION { ?f property:P169 ?n . ?n rdf:type ontology:Q502895 . ?f rdf:type ontology:Q4830453 } } GROUP BY ?n } . FILTER ( ?q = ?l ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P169 resource:Q3242603 . { { ?e rdf:type ontology:Q4830453 } UNION { ?e rdf:type ontology:Q43229 } } } } }
Tim Jenkins Justyn Howard Blair Jenkins Andrew Witty Zaw Thet Gerrit Zalm António Mota de Sousa Horta Osório Jim Whitehurst Balesh Sharma Jason Barnard Robert Kotick Alan Clark Silvy Wright Meg Whitman Jeremy Stoppelman Anna Maria Chávez Antoni Cases Darren Throop John Sculley Ilkka Paananen Ryōji Chūbachi Terry Semel Anisha Singh Kazuhiko Torishima Matthew E. Bershadker Susan Wojcicki Eric Schmidt Phil Libin Gil Amelio Liang Xinjun Bryan Morrison Frank Strauß Evangelos Mytilineos Patrick Pouyanné Dan Siroker Zhang Lei Mike McCue Guerrino De Luca Heinz-Andreas Ehm Vitaly Satskiy Takahiro Hachigō Jess Lee Lei Jun Magnus Faxén Gerhard Prinz Akio Toyoda Peter Löscher Lloyd Blankfein Maksym Tymchenko Martin Roman Keith Nosbusch Igor Tkachuk Greg Waldorf Sergio Marchionne Vince McMahon Winfried Vahland Greg Maffei Yang Yuanqing Hanny Arens Willie Robertson Lissa Pillu Wolfgang Kirsch Karsanbhai Patel Eva Hamilton Indra Nooyi Andrea Pennacchia Jakob Trollbäck Noël Goutard Jean-Pierre Garnier Vincent Bolloré John K. Castle Muhtar Kent Andrej Babiš Grant Dalgliesh Marc Harrison Stéphane Richard Patrick Nilsson Katherine Maher Charles de Haes Paul Ricci Ulrich Bez Muriel Anton Nicolas Hayek Stefan Borgas Ragnar Kruse Hennadii Zhukov Mike Boich Michael Dell Fabio Gallia Massimo Di Primio Anthony Goldbloom Devin Wenig Wesley Bush Rim Ji-hoon Russel Currie Jay Walder Chris Babel Jørund Vandvik Jim Ratcliffe Michael Scott Werner Breitschwerdt Adam D'Angelo Bruce Flatt Ulrich Spiesshofer Gennady Fadeev Sue Gardner Norman B. Anderson Jim Buckmaster Ian S Ferguson Andrew Mackenzie Thierry Morin Ross Levinsohn Gunvor Ulstein Ricardo Poma Stefan Ermisch Robert Ferko Jim Cantrell Heikki Allonen Christophe de Margerie Mohamed Hassan Bensalah Daniel Beneš Derek Cha Chanda Kochhar Ivica Todorić Walter Hitzinger Fritz Könecke Wilhelm Haspel Pavel Richter Scott Flanders Vishal Sikka Ding Lei André Navarri John P. Jumper Marco Lambertini Jacques Vandier Dave Goldberg Jean-Bernard Lévy Geir Isaksen Jason Kothari Neil Aspinall Max Levchin Leslie Moonves Sophie Turner Laing Maurice Lévy Dave Keil Bernhard Maier Dawn Airey Thierry Bogaert Stephen Elop Jørgen Vig Knudstorp Petr Dvořák Jürgen E. Schrempp Rinat Akhmetov Daniel Křetínský Shubham Badal Karl-Heinz Rummenigge Mark Bernhard David R. Casper Fyodor Muravchenko Jacques Gounon Al-Waleed bin Talal Jack Dorsey John Strangfeld Stew Leonard, Jr. Warren Buffett Philippe Fortunato George Michel Dev Ittycheria Michael Rüdiger Ahmed bin Saeed Al Maktoum Dhanin Chearavanont Mark Zuckerberg Marvin Ellison James P. Leape Christina Jutterström Howard Schultz Kimberly S. Bowers Vladimir Lotariev John Neal Oleg Belozyorov Laura Quinn Alexey Miller Sanjay Jha Randy Rogers Shu Yinbiao Jean-Paul Agon William David Butler-Adams Ben Golub Don Slager Ted Virtue Glenn J. Williams Ian Grabiner John Stumpf Nat Friedman Joe Kaeser Rex Tillerson Gerhard Cromme Sam Nilsson Kjeld Kirk Kristiansen Elena Viktorovna Burmistrova Carol Bartz Jon Feltheimer Alex Algard Mike McCormack Wu Xiaohui Dieter von Holtzbrinck Muzzammil Hassan Martin Lund Kenneth Luciani Kenneth M. Jacobs Travis Kalanick Kelly Perdew Lauri Kivinen Nitin Rakesh Hemming Van Howard Lutnick Parker Conrad Karlheinz Kaske James McNerney Irina Krohn Klaus Kleinfeld David Fischel Justin Potter Ralph Izzo Yoshitaka Kitao Ann Van Gysel Larry Merlo John S. Chen Ulrich Schröder Rajeev Suri Thorsten Heins Jacques Aschenbroich Darko Dejanovic Timothy Koogle Dara Khosrowshahi Mike Markkula Spencer Rascoff Ruben van Vreeland Lincoln Leong Pierre Nanterme Federico Ghizzoni Eliana Benador Edzard Reuter Stephen Chan Timothy J. Mayopoulos Sam Altman Robbin Steif Rezart Taçi Shigenobu Nagamori Heinrich Wagner David Lichtenstein Ray Connor Lauren Colonna Lila Tretikov Yves Gauthier Wilhelm Kissel Luis Mayo Muñiz Nick Hayek Naftali Bennett Helge Lund Alexander Georgievich Ivchenko Dick Costolo Donald H. Layton Marissa Mayer Mary Barra Stephen Marks Leo Bauernberger Supeno Surija Fritz Vollmar Tim Morse Laurel Haak Ray Kelvin Rob Burgess Alexander Otto Bhavish Aggarwal Mike Ashley Joachim Zahn Claude Martin Patrick Soon-Shiong Jerry Yang Jesús Serrano Martínez Elon Musk Colin Day Philippe Vannier Daniel Och Hans-Jörg Vetter Dick Millman Bernardo Hees Vicki Escarra Marcelo Claure Donald E. Graham Bob Dudley Michael Spindler Paul Otellini Scott Ernest Domenico Casalino Dan Price Brian Krzanich Uday Challu Ayman Hariri Wolfgang Mayrhuber Oren Frank Allen Shapiro Yuri Fedutinov Mark Selway Tim Davie Brian Chesky Ragnar Kårhus Maria Curman John A. Addison Jr. Carlos Brito Steve O'Rourke Brendan Iribe Anthony E. Malkin Mario J. Lucero Willie Walsh Steven Dengler Matt Ehrlichman Haruna Yukawa Christoph Franz Han Sung Ho Sundar Pichai Eric Schmutz Dennis Woodside Carsten Spohr Christian Engsted Chris Anderson Tim Cook Patrick Lo Greg Jensen Heather Bresch Masayoshi Son Anatoly Kuzmin Casten Almqvist Peter Hall Carter Murray Kevin Plank Olivier Chavy Scott Thompson Paul Tarvin Kantaro Tomiyama Suphachai Chearavanont Simon Peckham Michael Farrell Abdeslam Ahizoune Theodor Weimer Mike Tung Prem Watsa Denis Kessler Johannes-Jörg Riegler Jack J. Pelton Blanca Treviño Leoš Novotný Jeff Arnold Silvio Kutic Vladimir Yakunin Ian Livingstone Hanna Stjärne Neil Smit Kirill Tatarinov Tony Fadell Fabrice Brégier Lewis Von Thaer
363
action count
action approx
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type business enterprise
action find_reverse_tuple_counts
relation chief executive officer
type common name
type organization
action count
action filter_multi_types
action find_reverse
entity Lissa Pillu
relation chief executive officer
type business enterprise
type organization
[[{'concept': 'business enterprise'}, {'concept': 'organization'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?q ) WHERE { { ?f rdf:type ontology:organization . ?n rdf:type ontology:common_name . ?f property:chief_executive_officer ?n } UNION { ?f property:chief_executive_officer ?n . ?n rdf:type ontology:common_name . ?f rdf:type ontology:business_enterprise } } GROUP BY ?n } . FILTER ( ?q = ?l ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:chief_executive_officer resource:Lissa_Pillu . { { ?e rdf:type ontology:business_enterprise } UNION { ?e rdf:type ontology:organization } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22328174
P19
Q20667921
USER
Where was Christophe Gautier born ?
(Q22328174,P19,c(Q20667921))
action filter_type
action find
entity Q22328174
relation P19
type Q20667921
['Q22328174', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q22328174 property:P19 ?g . ?g rdf:type ontology:Q20667921 }
Christophe Gautier
action filter_type
action find
entity Christophe Gautier
relation place of birth
type type of french administrative division
['Christophe Gautier', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Christophe_Gautier property:place_of_birth ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q193306
SYSTEM
Falaise
Q193306
(Q22328174,P19,c(Q20667921))
action filter_type
action find
entity Q22328174
relation P19
type Q20667921
Christophe Gautier was born in [ANSWER]
['Q22328174', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q22328174 property:P19 ?g . ?g rdf:type ontology:Q20667921 }
Falaise
Christophe Gautier was born in Falaise
Falaise
action filter_type
action find
entity Christophe Gautier
relation place of birth
type type of french administrative division
['Christophe Gautier', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Christophe_Gautier property:place_of_birth ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22328174
P641
Q349
USER
Which sport was Christophe Gautier a part of ?
(Q22328174,P641,c(Q349))
action filter_type
action find
entity Q22328174
relation P641
type Q349
['Q22328174', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q349 . resource:Q22328174 property:P641 ?j }
Christophe Gautier
action filter_type
action find
entity Christophe Gautier
relation sport
type sport
['Christophe Gautier', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sport . resource:Christophe_Gautier property:sport ?j }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q22328174,P641,c(Q349))
action filter_type
action find
entity Q22328174
relation P641
type Q349
Which sport was Christophe Gautier a part of
['Q22328174', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q349 . resource:Q22328174 property:P641 ?j }
association football
Which sport was Christophe Gautier a part of
association football
action filter_type
action find
entity Christophe Gautier
relation sport
type sport
['Christophe Gautier', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sport . resource:Christophe_Gautier property:sport ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1330987
Q349
USER
And also tell me about 1977–78 Elitserien season?
(Q1330987,P641,c(Q349))
action filter_type
action find
entity Q1330987
relation P641
type Q349
['Q1330987', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q1330987 property:P641 ?s . ?s rdf:type ontology:Q349 }
1977–78 Elitserien season
action filter_type
action find
entity 1977–78 Elitserien season
relation sport
type sport
['1977–78 Elitserien season', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:1977–78_Elitserien_season property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q1330987,P641,c(Q349))
action filter_type
action find
entity Q1330987
relation P641
type Q349
[ANSWER]
['Q1330987', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q1330987 property:P641 ?s . ?s rdf:type ontology:Q349 }
ice hockey
ice hockey
action filter_type
action find
entity 1977–78 Elitserien season
relation sport
type sport
['1977–78 Elitserien season', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:1977–78_Elitserien_season property:sport ?s . ?s rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1330987
P17
Q15617994
USER
Which administrative territory is that sport competition situated in ?
(Q41466,P17,c(Q15617994))
action filter_type
action find
entity Q1330987
relation P17
type Q15617994
['Q41466', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q1330987 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
1977–78 Elitserien season
action filter_type
action find
entity 1977–78 Elitserien season
relation country
type designation for an administrative territorial entity
['ice hockey', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:1977–78_Elitserien_season property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q41466,P17,c(Q15617994))
action filter_type
action find
entity Q1330987
relation P17
type Q15617994
That sport competition is situated in [ANSWER]
['Q41466', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q1330987 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Sweden
That sport competition is situated in Sweden
Sweden
action filter_type
action find
entity 1977–78 Elitserien season
relation country
type designation for an administrative territorial entity
['ice hockey', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:1977–78_Elitserien_season property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3115337 Q1330987
P17
Q15617994
USER
Or Čerkazovići?
OR((Q1330987,P17,c(Q15617994)), (Q3115337,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1330987
relation P17
action find
entity Q3115337
relation P17
type Q15617994
{'OR': [['Q1330987', 'P17', {'concept': 'Q15617994'}], ['Q3115337', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { ?s property:P17 ?f . VALUES ( ?s ) { ( resource:Q1330987 ) ( resource:Q3115337 ) } } . ?f rdf:type ontology:Q15617994 }
Čerkazovići 1977–78 Elitserien season
action filter_type
action union
action find
entity 1977–78 Elitserien season
relation country
action find
entity Čerkazovići
relation country
type designation for an administrative territorial entity
{'OR': [['1977–78 Elitserien season', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Čerkazovići', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { ?s property:country ?f . VALUES ( ?s ) { ( resource:1977–78_Elitserien_season ) ( resource:Čerkazovići ) } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q225 Q34
SYSTEM
Bosnia and Herzegovina, Sweden
Q225 Q34
OR((Q1330987,P17,c(Q15617994)), (Q3115337,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1330987
relation P17
action find
entity Q3115337
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q1330987', 'P17', {'concept': 'Q15617994'}], ['Q3115337', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { ?s property:P17 ?f . VALUES ( ?s ) { ( resource:Q1330987 ) ( resource:Q3115337 ) } } . ?f rdf:type ontology:Q15617994 }
Bosnia and Herzegovina Sweden
Bosnia and Herzegovina Sweden
action filter_type
action union
action find
entity 1977–78 Elitserien season
relation country
action find
entity Čerkazovići
relation country
type designation for an administrative territorial entity
{'OR': [['1977–78 Elitserien season', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Čerkazovići', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { ?s property:country ?f . VALUES ( ?s ) { ( resource:1977–78_Elitserien_season ) ( resource:Čerkazovići ) } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P840
Q15617994 Q2342494 Q838948
USER
Which administrative territories are max number of collectables and works of art set in ?
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?e WHERE { VALUES ( ?n ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?x rdf:type ?n } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?o WHERE { VALUES ( ?i ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?t rdf:type ?i } GROUP BY ?o } . FILTER ( ?u = ?w ) }
action argmax
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?e WHERE { VALUES ( ?n ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?x rdf:type ?n } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?o WHERE { VALUES ( ?i ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?t rdf:type ?i } GROUP BY ?o } . FILTER ( ?u = ?w ) }
[]
designation for an administrative territorial entity collectable work of art
Q30
SYSTEM
United States of America
Q30
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
Max number of collectables and works of art are set in the [ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?e WHERE { VALUES ( ?n ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?x rdf:type ?n } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?o WHERE { VALUES ( ?i ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?t rdf:type ?i } GROUP BY ?o } . FILTER ( ?u = ?w ) }
United States of America
Max number of collectables and works of art are set in the United States of America
United States of America
action argmax
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?e WHERE { VALUES ( ?n ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?x rdf:type ?n } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?o WHERE { VALUES ( ?i ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?t rdf:type ?i } GROUP BY ?o } . FILTER ( ?u = ?w ) }
[]