Simple Question (Direct)
Simple Question
Q16229709
P106
Q12737077
USER
Which occupation has Ian McCoshen as his/her 's career ?
(Q16229709,P106,c(Q12737077))
action filter_type
action find
entity Q16229709
relation P106
type Q12737077
['Q16229709', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q16229709 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Ian McCoshen
action filter_type
action find
entity Ian McCoshen
relation occupation
type occupation
['Ian McCoshen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Ian_McCoshen property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q16229709,P106,c(Q12737077))
action filter_type
action find
entity Q16229709
relation P106
type Q12737077
Player [ANSWER] has Ian McCoshen as his/her 's career
['Q16229709', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q16229709 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
ice hockey player
Player ice hockey player has Ian McCoshen as his/her 's career
ice hockey player
action filter_type
action find
entity Ian McCoshen
relation occupation
type occupation
['Ian McCoshen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Ian_McCoshen property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16229709
P54
Q12973014
USER
What is Ian McCoshen a member of ?
(Q16229709,P54,c(Q12973014))
action filter_type
action find
entity Q16229709
relation P54
type Q12973014
['Q16229709', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?r WHERE { resource:Q16229709 property:P54 ?r . ?r rdf:type ontology:Q12973014 }
Ian McCoshen
action filter_type
action find
entity Ian McCoshen
relation member of sports team
type sports team
['Ian McCoshen', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?r WHERE { resource:Ian_McCoshen property:member_of_sports_team ?r . ?r rdf:type ontology:sports_team }
[]
sports team
Q204623
SYSTEM
Florida Panthers
Q204623
(Q16229709,P54,c(Q12973014))
action filter_type
action find
entity Q16229709
relation P54
type Q12973014
Ian McCoshen a member of is the [ANSWER]
['Q16229709', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?r WHERE { resource:Q16229709 property:P54 ?r . ?r rdf:type ontology:Q12973014 }
Florida Panthers
Ian McCoshen a member of is the Florida Panthers
Florida Panthers
action filter_type
action find
entity Ian McCoshen
relation member of sports team
type sports team
['Ian McCoshen', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?r WHERE { resource:Ian_McCoshen property:member_of_sports_team ?r . ?r rdf:type ontology:sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6210767
Q12973014
USER
And what about Joe Kraemer?
(Q6210767,P54,c(Q12973014))
action filter_type
action find
entity Q6210767
relation P54
type Q12973014
['Q6210767', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?e WHERE { resource:Q6210767 property:P54 ?e . ?e rdf:type ontology:Q12973014 }
Joe Kraemer
action filter_type
action find
entity Joe Kraemer
relation member of sports team
type sports team
['Joe Kraemer', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?e WHERE { resource:Joe_Kraemer property:member_of_sports_team ?e . ?e rdf:type ontology:sports_team }
[]
sports team
Q246782
SYSTEM
Chicago Cubs
Q246782
(Q6210767,P54,c(Q12973014))
action filter_type
action find
entity Q6210767
relation P54
type Q12973014
[ANSWER]
['Q6210767', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?e WHERE { resource:Q6210767 property:P54 ?e . ?e rdf:type ontology:Q12973014 }
Chicago Cubs
Chicago Cubs
action filter_type
action find
entity Joe Kraemer
relation member of sports team
type sports team
['Joe Kraemer', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?e WHERE { resource:Joe_Kraemer property:member_of_sports_team ?e . ?e rdf:type ontology:sports_team }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q5321676
P144
Q502895 Q15619164 Q838948
USER
How many people are more number of abstract beings and works of art based on than E. V. Timms ?
(c(Q15619164)|c(Q838948),P144,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15619164
action find_reverse_tuple_counts
relation P144
type Q502895
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q5321676
relation P144
type Q15619164
type Q838948
[[{'concept': 'Q15619164'}, {'concept': 'Q838948'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?f WHERE { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:Q15619164 ) ( ontology:Q838948 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:P144 resource:Q5321676 . { { ?l rdf:type ontology:Q838948 } UNION { ?l rdf:type ontology:Q15619164 } } } } . FILTER ( ?p > ?j ) }
E. V. Timms
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type common name
type abstract being
action find_reverse_tuple_counts
relation based on
type common name
type work of art
action count
action filter_multi_types
action find_reverse
entity E. V. Timms
relation based on
type abstract being
type work of art
[[{'concept': 'abstract being'}, {'concept': 'work of art'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?f WHERE { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:abstract_being ) ( ontology:work_of_art ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:based_on resource:E._V._Timms . { { ?l rdf:type ontology:work_of_art } UNION { ?l rdf:type ontology:abstract_being } } } } . FILTER ( ?p > ?j ) }
[]
common name abstract being work of art
SYSTEM
319
Q5213748 Q4761074 Q6956765 Q6270274 Q6183043 Q11975 Q7346914 Q5523435 Q6170802 Q7329545 Q313048 Q6105915 Q4910639 Q6219253 Q5677173 Q3416089 Q3034976 Q3607759 Q3051562 Q8068814 Q6253512 Q6523571 Q4739623 Q81000 Q5346446 Q3141517 Q7613152 Q5941619 Q852306 Q7364949 Q333265 Q5488892 Q6244057 Q6881211 Q6261706 Q7368981 Q4796744 Q4759664 Q5686 Q4128234 Q130631 Q7381376 Q6272923 Q5363776 Q6776113 Q3218695 Q6388687 Q6956378 Q5478599 Q937459 Q7372970 Q6241721 Q7855008 Q7287789 Q6106879 Q167752 Q14395546 Q5927524 Q6375547 Q7000426 Q3471259 Q546044 Q6760308 Q2843390 Q1303974 Q5339422 Q5262123 Q6773628 Q8015110 Q5386986 Q2669574 Q327426 Q5431144 Q2479548 Q3159808 Q6147389 Q5361154 Q5107501 Q5233328 Q6965802 Q3179129 Q13427328 Q958256 Q6141832 Q6469613 Q7437284 Q191103 Q7458228 Q3183180 Q3530721 Q3020878 Q4763725 Q5322119 Q5052809 Q6451338 Q7363505 Q5314594 Q11238103 Q5314597 Q8029867 Q6250890 Q7332345 Q12309539 Q5538431 Q3228926 Q12014160 Q6681382 Q932961 Q6702448 Q266789 Q13115017 Q6529581 Q378053 Q219780 Q4411247 Q6988258 Q3453643 Q555195 Q6209183 Q6702342 Q7143507 Q11618411 Q7287962 Q6744190 Q4773434 Q6134013 Q844318 Q619787 Q7812697 Q298877 Q2956128 Q75746 Q2146982 Q3431063 Q5701833 Q5181529 Q5213609 Q7273310 Q5660079 Q5298523 Q7922094 Q5193069 Q7436898 Q3296847 Q11447916 Q7025282 Q6773747 Q827300 Q7093943 Q7447135 Q608806 Q4065275 Q177854 Q5545478 Q311070 Q2521963 Q6257365 Q4817706 Q6409985 Q5849494 Q3331614 Q14338667 Q5560909 Q2502372 Q7911349 Q186486 Q5363538 Q5344093 Q3047194 Q6297405 Q1361147 Q7613410 Q6796103 Q3347897 Q6134127 Q3595313 Q46926 Q2085146 Q5089814 Q5549017 Q11950533 Q7704287 Q4730754 Q7437294 Q4898960 Q5363054 Q506878 Q548960 Q6760327 Q7456663 Q5077339 Q4187362 Q148714 Q5272307 Q5640722 Q4899508 Q3301790 Q4696245 Q3376515 Q5610225 Q6962760 Q5363300 Q7181755 Q3430915 Q2493515 Q6793420 Q840990 Q139739 Q154340 Q6074798 Q5361214 Q4885219 Q5298362 Q5444237 Q3157127 Q7150519 Q7369542 Q5136905 Q7668588 Q4739578 Q6762778 Q6304164 Q5145551 Q1956342 Q7347337 Q6143676 Q13564502 Q4647806 Q3741955 Q649790 Q5026262 Q11270727 Q3262364 Q7364277 Q7436164 Q2396324 Q7307753 Q7670494 Q3334185 Q7357712 Q626859 Q7397840 Q768296 Q2845322 Q3502960 Q6446710 Q1494674 Q3182354 Q22714 Q3568651 Q5106606 Q337185 Q7175413 Q5006730 Q5516058 Q6914955 Q7706913 Q5344127 Q4864658 Q6774650 Q4446505 Q1755191 Q493 Q5294036 Q6938000 Q1527473 Q1237718 Q2835441 Q4518059 Q170846 Q7177457 Q4808343 Q6282963 Q3909034 Q7346262 Q6531163 Q3595177 Q3081707 Q93938 Q3088826 Q4772439 Q5071329 Q6833091 Q4897616 Q5529938 Q5423761 Q5354389 Q7456549 Q13559801 Q6152339 Q4900700 Q5216759 Q191999 Q6963187 Q6680423 Q5586024 Q5620219 Q3849499 Q7668479 Q4664427 Q646852 Q5136879 Q3327572 Q13115080 Q9096027 Q14302511 Q6409284 Q2723574 Q7688102 Q5968600 Q245802 Q6135694 Q213614 Q1912368 Q4505465 Q3469340 Q5339868 Q11685189 Q3241962
(c(Q15619164)|c(Q838948),P144,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15619164
action find_reverse_tuple_counts
relation P144
type Q502895
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q5321676
relation P144
type Q15619164
type Q838948
[ANSWER]
[[{'concept': 'Q15619164'}, {'concept': 'Q838948'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?f WHERE { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:Q15619164 ) ( ontology:Q838948 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:P144 resource:Q5321676 . { { ?l rdf:type ontology:Q838948 } UNION { ?l rdf:type ontology:Q15619164 } } } } . FILTER ( ?p > ?j ) }
Dan Jenkins Andy Mulligan Nabarun Bhattacharya Jon Abbate Jerrard Tickell Britney Spears Robert Lindsey Garland Roark Jean Hanff Korelitz Richard Tregaskis Bob Kane J. H. Wallis Bill Richmond John Appleby Harvey Fergusson Rachel Crothers Dominique Barbéris Alan Le May Elmer Blaney Harris Zelma Roberts John Pudney Leo Brady Amanda Foreman Richard II of England Edwin Gilbert Pêr-Jakez Helias Steve Lieber Humphrey Slater Fred Mustard Stewart Ronald Hugh Morrieson Léon Theremin Frank Parkin John Larkin Mitchell F. Jayne John Vaillant Rosita Forbes Art Cohn Andrzej Mularczyk Charles Dickens William P. Wood Jacques Derrida Russell Braddon Jonathan Dawson Elizabeth Young Martin Maher Laura Kasischke Ken Wheat Na Do-hyang Frances Doel Niranjan Pal Roy Horniman John Jay Osborn, Jr. Turk Pipkin Ralph Leighton J. R. Salamanca Zequinha de Abreu Mikhail Alexeyevich Khludov Hubert Osborne Kate Howarde Netta Syrett Samuel W. Taylor Thakazhi Sivasankara Pillai Margery Lawrence Amina Eileen Joyce Edmund Duggan Derek Lambert Marshall Houts William Marchant Eric Lomax Barry Gifford Sean Flynn Faith Baldwin Bas Jan Ader Jacques Prevel Jamie Reidy Elinor Lipman Chris Morgan David Elfick Narendranath Mitra Jimmy Starr Joseph Moncure March Fujio Akatsuka James Ramsey Ullman Ladislas Farago Scott Sommer Lucrezia Borgia Sewell Stokes Jon Cleary Tom Eyen Deborah Moggach Angna Enters E. Ray Goetz Catherine Marshall Kyle Onstott Ron Barrett Duncan Rouleau T. R. Sundaram Duncan Sarkies Wolf Mankowitz John O'Grady Rida Johnson Young Eik Skaløe George Dawes Green Lee Robinson Huh Young-man Lorna Moon Mary Jane Ward Luke Whisnant Rebecca Schaeffer Santhosh Echikkanam Les Haylen Rob Roy MacGregor Hunter S. Thompson Glendon Swarthout Neil B. Shulman Ruth Snyder Héctor Lavoe Joe Connelly Luke Short Pat Hanna Hiroshi Aramata Ralph Peterson Mallika Yunis Anthony Scott Veitch James Fogle Hase Seishū Tin Hinan Todd Walton Giuliano de' Medici Channing Pollock G. A. Kulkarni Gabrielle Lord Richard N. Goodwin Helen Ashton Craig Titley Dan Greenburg R.B. Russell Harold Bell Wright Dorothy M. Johnson Vernon Coleman Cully Hamner Scott Moore Dave Toschi Kan Shimozawa Nicholas Dante Marshall Pugh Bert Bailey Oniroku Dan Sekar Ayu Asmara Yumiko Kawahara Alex Anderson Lorenzo de' Medici George Vecsey David Crockett Alan Hackney John Seybold Atrpet Kimberly Willis Holt Richard Hough Myron Coureval Fagan Zainab Singh Gilbert Frankau Alan White Valerie Tripp Hachikō Elizabeth Spencer Edward Lee Ed Naha Joyce Brabner Boris Lavrenyov Steve Moore Mary Gleed Tuttiett Ashapoorna Devi James Fox S. K. Pottekkatt Chetan Bhagat Philip Van Doren Stern Chelangatt Gopalakrishnan Gerald Clarke Sun Xia Terry Davis Allan Knee Scott Spencer Betty Roland Elizabeth Kata Emmett Till David Graham Phillips Marghanita Laski Sethu Charles Einstein Ahmad Tohari Jaime Escalante Dibyendu Palit Hal Carleton Beverly Donofrio Maury Dexter Ahn Jung-hyo Peter Corris Yoshikazu Takeuchi Nancy Jo Sales Elizabeth Packard Phil Campbell Richard Jessup Else Holmelund Minarik Maurice Procter Yang Sok-il Walker Hamilton Francis Bacon Irving Shulman Eliot Asinof Ben Ames Williams Dorothy Cottrell Ferguson Findley Jack Bernstein Paul Ernst Ross Napier Clyde Edgerton T. Padmanabhan Amanda Brown Marie Brenner Philippe Mora Colin Scrimgeour Taku Mayumura Robert Marasco James Still T. P. Rajeevan A. G. Street Isaac de Porthau Harry Grey Cameron Hawley James Bridie Louis Joseph Vance Ron Powers Scott Corbett David Giler Reg Cribb TJ Dawe Susan Isaacs Rogelio Barriga Rivas Kang Full Sadguru Sivananda Murty Margaret Ayer Barnes Anandi Gopal Joshi Sue Miller Kurt Eichenwald James Hunter John Requa Karl May William Gay Chris Fuhrman Audie Murphy Peter Lefcourt C. N. Sreekantan Nair Gabrielle Carey Morton Thompson Tetsuo Takashima Edward Levy Barry Reed Marthe Cnockaert Katariina Souri Sutan Takdir Alisjahbana Arthur Rimbaud Donald Bevan Nicholas Markowitz Gisela Werler Franz-Olivier Giesbert Alfred Savoir Hank Searls Erzsébet Báthory Peter Van Greenaway Assaf Bernstein Joseph F. Dinneen Porter Emerson Browne Robert Kaplow Leslie Stokes Jessica Lal Ib Melchior Gary Friedrich Grace Zaring Stone Anthony E. Pratt Chandradhar Sharma Guleri Michael Noonan Beth Raymer Geeta Anand F.J. Thwaites Eleanor Smith Seth Margolis Harris Goldberg Jane Hamilton Bhagwati Charan Verma Daniel Carney Robert McNamara Nandanar Loren Singer Gordon Young Gurney Slade Mark Jacobson T. Lewis Abburi Ravi Aleksandr Figner Clyde Brion Davis Mukul S. Anand C. V. Balakrishnan William Craig Boota Singh Kim Ryeo-ryeong Narsinh Mehta Tatiana Niculescu Bran Jeffrey Reddick Alexandre Stavisky James Haskins Cyrano de Bergerac Max Catto Kim Tak-hwan Sakae Tsuboi Edmund Trzcinski John Farris Lionel White
319
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type common name
type abstract being
action find_reverse_tuple_counts
relation based on
type common name
type work of art
action count
action filter_multi_types
action find_reverse
entity E. V. Timms
relation based on
type abstract being
type work of art
[[{'concept': 'abstract being'}, {'concept': 'work of art'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?f WHERE { ?a rdf:type ?u . VALUES ( ?u ) { ( ontology:abstract_being ) ( ontology:work_of_art ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:based_on resource:E._V._Timms . { { ?l rdf:type ontology:work_of_art } UNION { ?l rdf:type ontology:abstract_being } } } } . FILTER ( ?p > ?j ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4800393 Q6210767
P106
Q151885
USER
Which concepts are the job of Joe Kraemer or Arthur Sulley ?
OR((Q6210767,P106,c(Q151885)), (Q4800393,P106,c(Q151885)))
action filter_type
action union
action find
entity Q6210767
relation P106
action find
entity Q4800393
relation P106
type Q151885
{'OR': [['Q6210767', 'P106', {'concept': 'Q151885'}], ['Q4800393', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?w ) { ( resource:Q6210767 ) ( resource:Q4800393 ) } . ?w property:P106 ?y } . ?y rdf:type ontology:Q151885 }
Arthur Sulley Joe Kraemer
action filter_type
action union
action find
entity Joe Kraemer
relation occupation
action find
entity Arthur Sulley
relation occupation
type concept
{'OR': [['Joe Kraemer', 'occupation', {'concept': 'concept'}], ['Arthur Sulley', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?w ) { ( resource:Joe_Kraemer ) ( resource:Arthur_Sulley ) } . ?w property:occupation ?y } . ?y rdf:type ontology:concept }
[]
concept
Q13382576 Q10871364
SYSTEM
rower, baseball player
Q13382576 Q10871364
OR((Q6210767,P106,c(Q151885)), (Q4800393,P106,c(Q151885)))
action filter_type
action union
action find
entity Q6210767
relation P106
action find
entity Q4800393
relation P106
type Q151885
The [ANSWERS] are the job of Joe Kraemer or Arthur Sulley
{'OR': [['Q6210767', 'P106', {'concept': 'Q151885'}], ['Q4800393', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?w ) { ( resource:Q6210767 ) ( resource:Q4800393 ) } . ?w property:P106 ?y } . ?y rdf:type ontology:Q151885 }
rower baseball player
The rower and baseball player are the job of Joe Kraemer or Arthur Sulley
rower baseball player
action filter_type
action union
action find
entity Joe Kraemer
relation occupation
action find
entity Arthur Sulley
relation occupation
type concept
{'OR': [['Joe Kraemer', 'occupation', {'concept': 'concept'}], ['Arthur Sulley', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?w ) { ( resource:Joe_Kraemer ) ( resource:Arthur_Sulley ) } . ?w property:occupation ?y } . ?y rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13382576
P425
Q31629
USER
Which type of sport is associated with the field of occupation rower ?
(Q13382576,P425,c(Q31629))
action filter_type
action find
entity Q13382576
relation P425
type Q31629
['Q13382576', 'P425', {'concept': 'Q31629'}]
SELECT DISTINCT ?d WHERE { resource:Q13382576 property:P425 ?d . ?d rdf:type ontology:Q31629 }
rower
action filter_type
action find
entity rower
relation field of this occupation
type type of sport
['rower', 'field of this occupation', {'concept': 'type of sport'}]
SELECT DISTINCT ?d WHERE { resource:rower property:field_of_this_occupation ?d . ?d rdf:type ontology:type_of_sport }
[]
type of sport
Q159354
SYSTEM
rowing
Q159354
(Q13382576,P425,c(Q31629))
action filter_type
action find
entity Q13382576
relation P425
type Q31629
Row [ANSWER] is associated with the field of occupation rower
['Q13382576', 'P425', {'concept': 'Q31629'}]
SELECT DISTINCT ?d WHERE { resource:Q13382576 property:P425 ?d . ?d rdf:type ontology:Q31629 }
rowing
Row rowing is associated with the field of occupation rower
rowing
action filter_type
action find
entity rower
relation field of this occupation
type type of sport
['rower', 'field of this occupation', {'concept': 'type of sport'}]
SELECT DISTINCT ?d WHERE { resource:rower property:field_of_this_occupation ?d . ?d rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q159354
P366
Q8205328
USER
Which artefact is mainly used as that type of sport ?
(c(Q8205328),P366,Q159354)
action filter_type
action find_reverse
entity Q159354
relation P366
type Q8205328
[{'concept': 'Q8205328'}, 'P366', 'Q159354']
SELECT DISTINCT ?l WHERE { ?l property:P366 resource:Q159354 . ?l rdf:type ontology:Q8205328 }
rowing
action filter_type
action find_reverse
entity rowing
relation use
type artefact
[{'concept': 'artefact'}, 'use', 'rowing']
SELECT DISTINCT ?l WHERE { ?l property:use resource:rowing . ?l rdf:type ontology:artefact }
[]
artefact
Q1542861
SYSTEM
indoor rower
Q1542861
(c(Q8205328),P366,Q159354)
action filter_type
action find_reverse
entity Q159354
relation P366
type Q8205328
[ANSWER] is mainly used as that type of sport
[{'concept': 'Q8205328'}, 'P366', 'Q159354']
SELECT DISTINCT ?l WHERE { ?l property:P366 resource:Q159354 . ?l rdf:type ontology:Q8205328 }
indoor rower
Indoor rower is mainly used as that type of sport
indoor rower
action filter_type
action find_reverse
entity rowing
relation use
type artefact
[{'concept': 'artefact'}, 'use', 'rowing']
SELECT DISTINCT ?l WHERE { ?l property:use resource:rowing . ?l rdf:type ontology:artefact }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2817336 Q16229709
P27
Q15617994
USER
Which administrative territories do Ian McCoshen or Larry Clapp belong to ?
OR((Q16229709,P27,c(Q15617994)), (Q2817336,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16229709
relation P27
action find
entity Q2817336
relation P27
type Q15617994
{'OR': [['Q16229709', 'P27', {'concept': 'Q15617994'}], ['Q2817336', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q2817336 property:P27 ?a } UNION { resource:Q16229709 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Larry Clapp Ian McCoshen
action filter_type
action union
action find
entity Ian McCoshen
relation country of citizenship
action find
entity Larry Clapp
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ian McCoshen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Larry Clapp', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Larry_Clapp property:country_of_citizenship ?a } UNION { resource:Ian_McCoshen property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
OR((Q16229709,P27,c(Q15617994)), (Q2817336,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16229709
relation P27
action find
entity Q2817336
relation P27
type Q15617994
Ian McCoshen or Larry Clapp belong to the [ANSWER]
{'OR': [['Q16229709', 'P27', {'concept': 'Q15617994'}], ['Q2817336', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q2817336 property:P27 ?a } UNION { resource:Q16229709 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
United States of America
Ian McCoshen or Larry Clapp belong to the United States of America
United States of America
action filter_type
action union
action find
entity Ian McCoshen
relation country of citizenship
action find
entity Larry Clapp
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ian McCoshen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Larry Clapp', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Larry_Clapp property:country_of_citizenship ?a } UNION { resource:Ian_McCoshen property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q15324 Q355304 Q15617994
USER
Which administrative territories are located nearby approximately 5 bodies of water and watercourses ?
(c(Q15617994),P206,c(Q15324)|c(Q355304))
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action find_tuple_counts
relation P206
type Q15617994
type Q355304
value 5
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) ?r WHERE { { ?r property:P206 ?y . ?y rdf:type ontology:Q15324 . ?r rdf:type ontology:Q15617994 } UNION { ?r property:P206 ?y . ?r rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q355304 } } GROUP BY ?r } . FILTER ( ?n = 5 ) }
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
value 5
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) ?r WHERE { { ?r property:located_next_to_body_of_water ?y . ?y rdf:type ontology:body_of_water . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?r property:located_next_to_body_of_water ?y . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:watercourse } } GROUP BY ?r } . FILTER ( ?n = 5 ) }
[]
body of water watercourse designation for an administrative territorial entity
Q801 Q213 Q884
SYSTEM
Israel, Czech Republic, South Korea
Q801 Q884 Q28 Q213
(c(Q15617994),P206,c(Q15324)|c(Q355304))
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action find_tuple_counts
relation P206
type Q15617994
type Q355304
value 5
[ANSWERS] are located nearby approximately 5 bodies of water and watercourses
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) ?r WHERE { { ?r property:P206 ?y . ?y rdf:type ontology:Q15324 . ?r rdf:type ontology:Q15617994 } UNION { ?r property:P206 ?y . ?r rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q355304 } } GROUP BY ?r } . FILTER ( ?n = 5 ) }
Israel South Korea Hungary Czech Republic
Israel, Czech Republic and South Korea are located nearby approximately 5 bodies of water and watercourses
Israel Czech Republic South Korea
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
value 5
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) ?r WHERE { { ?r property:located_next_to_body_of_water ?y . ?y rdf:type ontology:body_of_water . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?r property:located_next_to_body_of_water ?y . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:watercourse } } GROUP BY ?r } . FILTER ( ?n = 5 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q801 Q40
P530
Q1048835
USER
How many political territories have diplomatic relations with Israel and Austria ?
(c(Q1048835),P530,Q801) (c(Q1048835),P530,Q40)
action count
action intersection
action filter_type
action find_reverse
entity Q801
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q40
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q801'] [{'concept': 'Q1048835'}, 'P530', 'Q40']
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:P530 resource:Q801 . ?w rdf:type ontology:Q1048835 . ?w property:P530 resource:Q40 . ?w rdf:type ontology:Q1048835 }
Israel Austria
action count
action intersection
action filter_type
action find_reverse
entity Israel
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Israel'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Austria']
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:diplomatic_relation resource:Israel . ?w rdf:type ontology:political_territorial_entity . ?w property:diplomatic_relation resource:Austria . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(c(Q1048835),P530,Q801) (c(Q1048835),P530,Q40)
action count
action intersection
action filter_type
action find_reverse
entity Q801
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q40
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q801'] [{'concept': 'Q1048835'}, 'P530', 'Q40']
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:P530 resource:Q801 . ?w rdf:type ontology:Q1048835 . ?w property:P530 resource:Q40 . ?w rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action intersection
action filter_type
action find_reverse
entity Israel
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Israel'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Austria']
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:diplomatic_relation resource:Israel . ?w rdf:type ontology:political_territorial_entity . ?w property:diplomatic_relation resource:Austria . ?w rdf:type ontology:political_territorial_entity }
[]