Simple Question (Direct)
Simple Question
Q334375
P21
Q290
USER
What is the sex of William Sealy Gosset ?
(Q334375,P21,c(Q290))
action filter_type
action find
entity Q334375
relation P21
type Q290
['Q334375', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q334375 property:P21 ?o . ?o rdf:type ontology:Q290 }
William Sealy Gosset
action filter_type
action find
entity William Sealy Gosset
relation gender
type sex
['William Sealy Gosset', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:William_Sealy_Gosset property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q334375,P21,c(Q290))
action filter_type
action find
entity Q334375
relation P21
type Q290
The sex of William Sealy Gosset is the [ANSWER]
['Q334375', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q334375 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
The sex of William Sealy Gosset is the male
male
action filter_type
action find
entity William Sealy Gosset
relation gender
type sex
['William Sealy Gosset', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:William_Sealy_Gosset property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q334375
P1196
Q1931388
USER
What manner did William Sealy Gosset die ?
(Q334375,P1196,c(Q1931388))
action filter_type
action find
entity Q334375
relation P1196
type Q1931388
['Q334375', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?l WHERE { resource:Q334375 property:P1196 ?l . ?l rdf:type ontology:Q1931388 }
William Sealy Gosset
action filter_type
action find
entity William Sealy Gosset
relation manner of death
type cause of death
['William Sealy Gosset', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?l WHERE { resource:William_Sealy_Gosset property:manner_of_death ?l . ?l rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q334375,P1196,c(Q1931388))
action filter_type
action find
entity Q334375
relation P1196
type Q1931388
William Sealy Gosset died of [ANSWER]
['Q334375', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?l WHERE { resource:Q334375 property:P1196 ?l . ?l rdf:type ontology:Q1931388 }
natural causes
William Sealy Gosset died of natural causes
natural causes
action filter_type
action find
entity William Sealy Gosset
relation manner of death
type cause of death
['William Sealy Gosset', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?l WHERE { resource:William_Sealy_Gosset property:manner_of_death ?l . ?l rdf:type ontology:cause_of_death }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q424017
P1303
Q34379 Q502895
USER
How many musical instruments are played by lesser number of people than acoustic bass guitar ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q424017
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?i ) WHERE { ?j rdf:type ontology:Q502895 . ?m rdf:type ontology:Q34379 . ?j property:P1303 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:P1303 resource:Q424017 . ?l rdf:type ontology:Q502895 } } . FILTER ( ?i < ?z ) }
acoustic bass guitar
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity acoustic bass guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?i ) WHERE { ?j rdf:type ontology:common_name . ?m rdf:type ontology:musical_instrument . ?j property:instrument ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:instrument resource:acoustic_bass_guitar . ?l rdf:type ontology:common_name } } . FILTER ( ?i < ?z ) }
[]
musical instrument common name
SYSTEM
36
Q890073 Q1178361 Q604538 Q2660670 Q39777 Q678090 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q816793 Q244976 Q1179017 Q320341 Q748455 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q173453 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q424017
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?i ) WHERE { ?j rdf:type ontology:Q502895 . ?m rdf:type ontology:Q34379 . ?j property:P1303 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:P1303 resource:Q424017 . ?l rdf:type ontology:Q502895 } } . FILTER ( ?i < ?z ) }
Body percussion davul Temple block Irish bouzouki maraca Twelve-string guitar Ondioline Jinghu player piano electronic musical instrument spoon Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa Bendir bodhrán Daxophone celesta cajón gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales wind instrument Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
36
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity acoustic bass guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?i ) WHERE { ?j rdf:type ontology:common_name . ?m rdf:type ontology:musical_instrument . ?j property:instrument ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:instrument resource:acoustic_bass_guitar . ?l rdf:type ontology:common_name } } . FILTER ( ?i < ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q678090
P1303
Q34379 Q502895
USER
And what about Twelve-string guitar?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q678090
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t rdf:type ontology:Q502895 . ?t property:P1303 resource:Q678090 } } . FILTER ( ?u < ?k ) }
Twelve-string guitar
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Twelve-string guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t rdf:type ontology:common_name . ?t property:instrument resource:Twelve-string_guitar } } . FILTER ( ?u < ?k ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q678090
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t rdf:type ontology:Q502895 . ?t property:P1303 resource:Q678090 } } . FILTER ( ?u < ?k ) }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Twelve-string guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t rdf:type ontology:common_name . ?t property:instrument resource:Twelve-string_guitar } } . FILTER ( ?u < ?k ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3091
Q3745054 Q502895 Q502895
USER
How many people use around 3 horse breeds and people as steed ?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
value 3
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ?a . VALUES ( ?a ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } } GROUP BY ?h } . FILTER ( ?n = 3 ) }
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
value 3
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ?a . VALUES ( ?a ) { ( ontology:horse_breed ) ( ontology:common_name ) } } GROUP BY ?h } . FILTER ( ?n = 3 ) }
[]
horse breed common name common name
SYSTEM
1
Q2057115
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
value 3
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ?a . VALUES ( ?a ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } } GROUP BY ?h } . FILTER ( ?n = 3 ) }
Patrice Delaveau
1
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
value 3
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?n ) WHERE { ?v rdf:type ?a . VALUES ( ?a ) { ( ontology:horse_breed ) ( ontology:common_name ) } } GROUP BY ?h } . FILTER ( ?n = 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P3279
Q502895 Q1344963 Q15991303
USER
Which people were considered to be the statistical leader of min number of world championships or association football leagues ?
(c(Q1344963)|c(Q15991303),P3279,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q1344963
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
[[{'concept': 'Q1344963'}, {'concept': 'Q15991303'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) ?a WHERE { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:Q1344963 ) ( ontology:Q15991303 ) } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?y WHERE { VALUES ( ?o ) { ( ontology:Q1344963 ) ( ontology:Q15991303 ) } . ?i rdf:type ?o } GROUP BY ?y } . FILTER ( ?z = ?l ) }
action argmin
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type world championship
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
[[{'concept': 'world championship'}, {'concept': 'association football league'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) ?a WHERE { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:world_championship ) ( ontology:association_football_league ) } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?y WHERE { VALUES ( ?o ) { ( ontology:world_championship ) ( ontology:association_football_league ) } . ?i rdf:type ?o } GROUP BY ?y } . FILTER ( ?z = ?l ) }
[]
common name world championship association football league
Q36159 Q41421 Q25369
SYSTEM
LeBron James, Michael Jordan, Kobe Bryant
Q348032 Q568295 Q4153527 Q27187406 Q4723826 Q3705891 Q1254600 Q17403110 Q352110 Q316183 Q1638747 Q554889 Q25369 Q455540 Q456766 Q357096 Q978689 Q11691650 Q1363974 Q193052 Q17264815 Q3802207 Q1033050 Q36159 Q27187226 Q26132520 Q368561 Q370068 Q1584802 Q3595275 Q4893969 Q16232325 Q822531 Q314071 Q7332071 Q1032995 Q3855901 Q1635555 Q952921 Q10515951 Q2345884 Q1773788 Q516765 Q314185 Q8053501 Q4142118 Q16228417 Q16198360 Q277780 Q1617436 Q901437 Q27187398 Q317223 Q129041 Q58335 Q1237848 Q2489833 Q2609359 Q375574 Q3814247 Q3814712 Q352159 Q3930044 Q360219 Q6451152 Q18749100 Q1628301 Q3703756 Q27187302 Q3807995 Q7356016 Q16841652 Q6322012 Q950564 Q2211310 Q596100 Q1758586 Q7606648 Q12643739 Q7322663 Q27187275 Q3731471 Q20713339 Q26838731 Q16563047 Q1560424 Q664405 Q434824 Q455970 Q1091369 Q3846678 Q27510015 Q466385 Q311533 Q224535 Q460507 Q717344 Q4018600 Q739699 Q732825 Q190094 Q27518724 Q1337310 Q1638755 Q3325479 Q2526170 Q6388861 Q2718535 Q3848178 Q3809921 Q2679406 Q3930387 Q41421 Q3317928 Q5086674 Q27187336 Q2449620 Q15069755 Q16229571 Q1634785 Q372859 Q533350 Q3976459 Q1640839 Q3882086 Q11889550 Q14470242 Q3857382 Q1353620 Q11561907 Q7131158 Q7130157 Q3787321 Q312651 Q613234 Q440121 Q2451584 Q3123694 Q27187381 Q371067 Q440382 Q291345 Q27187388 Q775971 Q2356899 Q1629949 Q3870710 Q517350 Q605561 Q2600792 Q1508678 Q2699075 Q20671499 Q1123222 Q316261 Q935769 Q19829005 Q27518101 Q2336113 Q1899299 Q1980759 Q2333206 Q444118 Q3811117 Q24678886 Q2468364 Q1378121 Q458584 Q18706436 Q8002848 Q12643733 Q3751831 Q607383 Q3827157 Q3829239 Q3508948 Q926325 Q196185 Q2309134 Q465968 Q16227000 Q1246116 Q7192274 Q616572 Q169452 Q3620463 Q5238520 Q18398239 Q209368 Q1179395 Q1691427 Q193108 Q6832426 Q2565247 Q4027073 Q3719980 Q27187370 Q3616183 Q553232 Q2897880 Q1266392 Q2077350 Q284176 Q18630884 Q1763902 Q2910958 Q3192666 Q24088775 Q44068 Q16209548 Q21932226 Q27187326 Q3180283 Q27187319 Q58590 Q3342371 Q27187254 Q21259159 Q3806182 Q7666079 Q202295 Q310541 Q2423715 Q20873438 Q29545 Q26257453 Q451780 Q3830797 Q4965612 Q2714829 Q5170529 Q1634199 Q493027 Q24002 Q5262323 Q2466594 Q1435883 Q1913679 Q3699232 Q1100455 Q27187285 Q3876996 Q977135 Q1071728 Q182455 Q3476711 Q380018 Q2408361 Q6289235 Q376173 Q16233299 Q18417889 Q511509 Q1364009 Q288575 Q16209606 Q4714896 Q19577360 Q726234 Q179051 Q27187350 Q82004 Q3856209 Q2419943 Q5170460 Q2409213 Q433392 Q3788234 Q380015 Q343341 Q510074 Q16228471 Q441283 Q31683 Q628060 Q311195 Q2310881 Q20744974 Q542563 Q351862 Q718794 Q3563317 Q977666 Q741842 Q7539568 Q521771 Q360993 Q14470768 Q6547747 Q3561200 Q3956838 Q14469655 Q3961216 Q927966 Q939343 Q211876 Q384894 Q2459470 Q583904 Q2560815 Q2309972 Q2602217 Q306872 Q6438385 Q517722 Q16228365 Q965738 Q5259012
(c(Q1344963)|c(Q15991303),P3279,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q1344963
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
[ANSWERS] were considered to be the statistical leader of min number of world championships or association football leagues
[[{'concept': 'Q1344963'}, {'concept': 'Q15991303'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) ?a WHERE { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:Q1344963 ) ( ontology:Q15991303 ) } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?y WHERE { VALUES ( ?o ) { ( ontology:Q1344963 ) ( ontology:Q15991303 ) } . ?i rdf:type ?o } GROUP BY ?y } . FILTER ( ?z = ?l ) }
Šarūnas Marčiulionis Liz Cambage Ana Dabović Nigel McNeal Alfredo Ott Derrick Low Dragan Labović Mack Tuck George Gervin Pete Maravich Trey Johnson Bo McCalebb Kobe Bryant Esteban Solari Paul Arizin Josh Childress Freddy Crispina Correia Rawle Marshall Pau Gasol Alhaji Mohammed Isaac Fontaine Matt Lojeski LeBron James Michalis Shialis Omar Krayem Bob Pettit Branko Milisavljević Keydren Clark Geethu Anna Jose Bernardo Vasconcelos Marco Tagbajumi Bernard King Luis Scola Ricky Franklin Ramel Curry Mfon Udoka Lars Hansen Patrick Mills Jorge Filipe Monteiro Siniša Gogić Mieczysław Młynarski Andre Alves George Mikan Yiannos Ioannou Atanas Golomeev Jordan McRae Matt Bauscher Peja Stojaković Shavlik Randolph Damon Williams Tasos Zouvanis Fernando Cavenaghi Carmelo Anthony Leandro Barbosa Mickaël Poté Cal Bruton Sean May Darren Phillip Corey Fisher Kenyan Weaks Stephen Curry Randy Culpepper Łukasz Sosin Kyle Fogg James Miller Claude Gregory Davin White Charalambos Papadopoulos Jerome Dyson Rocky Smith Jabari Brown Jānis Kaufmanis José Filipe Correia Semedo Gastón Sangoy Troy DeVries Spas Dzhevizov Stefon Jackson Toni Prostran Ricardo Guillén Kostakis Pieridis Eric Devendorf Evaldas Žabas Darryl Bryant Heino Veskila Joe Arlauckas József Dzurják Rick Barry Amaya Valdemoro Aleksandar Ćapin Marcus Douthit Antri Violari Rainer Rauffmann Dominique Wilkins Bobby Dixon Predrag Danilović Bojan Bogdanović Wayne Hightower Alex English Charles Smith Allen Iverson Marilena Georgiou Emiliano Rodríguez Miljan Goljović Mouhammad Faye Dario Šarić Kendal Pinder Milan Gurović Marino Baždarić Jonathan Gibson Rūdolfs Jurciņš Rasheim Wright Michael Jordan Modibo Niakate Charron Fisher Andros Savva Jozef Kožlej Danny Gibson Darius Theus Donell Taylor Adrian Dantley Darius Washington, Jr. Suad Beširević Rick Hughes Omar Quintero Quinnel Brown Lamont Jones Michael Efevberha Neil Johnston Ramu Tokashiki Panikos Krystallis Panayiotis Xiourouppas Hristo Zahariev Rudy Fernández Radivoj Korać Dave Bing Pete Mickeal Géraldine Robert Lenos Kittos Carlton Myers Evan Turner DeLisha Milton-Jones Sylvester Vernon Evanthia Maltsi Derrick Obasohan Blake Ahearn Nate Johnson Tyler Hansbrough Jerel McNeal Carl English George Yardley Justin Dentmon Saša Zagorac Laura Rus Linas Kleiza Oded Kattash Yannick Franke Maria Daniella Johansson Kees Akerboom, Sr. Marios Neophytou Todor Stoykov Dejan Milojević Michalis Konstantinou Julie Nykiel Jan Barbarič Margo Dydek Keith Langford Gregor Fučka Robert Arnold Will Hanley Toni Bizaca Frank Hassell Marc Salyers Larry McNeill Leandro García Morales Anthony Grundy Charlie Bell Russell Westbrook Lee Nailon Ann Wauters Melvin Ejim Doron Jamchi Pierre Jackson Endéné Miyem Shaquille O'Neal Antwain Barbour David Pereira da Costa Brandis Raley-Ross Raško Katić De'Teri Mayes Joe Fulks Tony Parker Michael Madanly Miljan Mrdaković Darnell Hinson Edward Jurkiewicz Panikos Hatziloizou Andreas Stylianou Bob McAdoo Marcus Hatten Alphonso Ford Radhouane Slimane Michael Scott Terran Petteway Jeff Xavier Boris Gorenc Kani Kouyaté Antonia Edmondson Dirk Nowitzki Jason Cadee Eric Chatfield Lakis Theodorou Dionte Christmas Kostas Vasiliades Yao Ming Nneka Ogwumike Panikos Papadopoulos Javier Duren Jaime Lloreda Sérgio Luis Gardino da Silva Tracy Mcmi Juan Carlos Navarro Jacques Perrier Quinn McDowell Kevin Durant Kostas Tsiges Nate Archibald Leroy Edwards Brian Wethers Khalid El-Amin Corin Henry Dontae' Jones Andray Blatche Andy Panko Derek Rucker Joeano Marcelo Machado Max Zaslofsky Livio Franceschini Iva Perovanović Panikos Efthymiades Nikos Pappas Horace Jenkins József Kiprich Wilt Chamberlain Sean Colson Jonas Valančiūnas Zdravko Radulović Josh Pace Chris Copeland Sean Kilpatrick Federico Mussini Andrija Žižić Tadija Dragićević Érika de Souza Will Clyburn Aleksandar Vezenkov Džanan Musa Chris Woods Kareem Abdul-Jabbar Andreas Kanaris Bobby Brown Michael Lee Ike Diogu Corey Webster Steve Burtt Suzy Batkovic Hüseyin Öztürk Igor Rakočević İbrahim Kutluay Alessandro Gentile Anthony Miles Austin Nichols Dwyane Wade Sabahudin Bilalović Jerry West Dewarick Spencer Damion Lee Marcus Brown Sotiris Kaiafas Drew Nicholas Giorgos Savvidis Luis Flores Elvin Hayes Slađan Šćepović Paweł Stok Eric Gordon Jack Leasure Liliana Kostova Charalambos Andreou Sharaud Curry Al Green Simone Edwards David Simon Wojciech Kowalczyk David Robinson Giorgos Kolokithas Miroslav Berić Jaycee Carroll Jamie Arnold Dimitar Makriev Michael Wright Abby Bishop Kristo Saage Hamed Haddadi Errick McCollum Zoran Slavnić Dennis Trammell
LeBron James, Michael Jordan and Kobe Bryant were considered to be the statistical leader of min number of world championships or association football leagues
LeBron James Michael Jordan Kobe Bryant
action argmin
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type world championship
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
[[{'concept': 'world championship'}, {'concept': 'association football league'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) ?a WHERE { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:world_championship ) ( ontology:association_football_league ) } } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?y WHERE { VALUES ( ?o ) { ( ontology:world_championship ) ( ontology:association_football_league ) } . ?i rdf:type ?o } GROUP BY ?y } . FILTER ( ?z = ?l ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q386724
USER
Which works had exactly 17 people as the dubbing artist ?
(c(Q386724),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 17
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?r = 17 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?r ) WHERE { ?y rdf:type ontology:Q386724 . ?s rdf:type ontology:Q502895 . ?y property:P725 ?s } GROUP BY ?y } }
action equal
action find_tuple_counts
relation voice actor
type work
type common name
value 17
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?r = 17 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?r ) WHERE { ?y rdf:type ontology:work . ?s rdf:type ontology:common_name . ?y property:voice_actor ?s } GROUP BY ?y } }
[]
common name work
Q26331781
SYSTEM
Hércules y el examen de conducir
Q26331781
(c(Q386724),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 17
[ANSWER] had exactly 17 people as the dubbing artist
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?r = 17 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?r ) WHERE { ?y rdf:type ontology:Q386724 . ?s rdf:type ontology:Q502895 . ?y property:P725 ?s } GROUP BY ?y } }
Hércules y el examen de conducir
Hércules y el examen de conducir had exactly 17 people as the dubbing artist
Hércules y el examen de conducir
action equal
action find_tuple_counts
relation voice actor
type work
type common name
value 17
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?r = 17 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?r ) WHERE { ?y rdf:type ontology:work . ?s rdf:type ontology:common_name . ?y property:voice_actor ?s } GROUP BY ?y } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26331781
P407
Q34770
USER
Which language is that work in ?
(Q26331781,P407,c(Q34770))
action filter_type
action find
entity Q26331781
relation P407
type Q34770
['Q26331781', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q26331781 property:P407 ?p . ?p rdf:type ontology:Q34770 }
Hércules y el examen de conducir
action filter_type
action find
entity Hércules y el examen de conducir
relation language of work or name
type language
['Hércules y el examen de conducir', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Hércules_y_el_examen_de_conducir property:language_of_work_or_name ?p . ?p rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q26331781,P407,c(Q34770))
action filter_type
action find
entity Q26331781
relation P407
type Q34770
That is work in [ANSWER]
['Q26331781', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q26331781 property:P407 ?p . ?p rdf:type ontology:Q34770 }
Spanish
That is work in Spanish
Spanish
action filter_type
action find
entity Hércules y el examen de conducir
relation language of work or name
type language
['Hércules y el examen de conducir', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Hércules_y_el_examen_de_conducir property:language_of_work_or_name ?p . ?p rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q458
P37
Q34770 Q56061
USER
How many administrative territories designates less number of languages as their official language than European Union ?
(c(Q56061),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q458
relation P37
type Q34770
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { resource:Q458 property:P37 ?f . ?f rdf:type ontology:Q34770 } } . FILTER ( ?z < ?a ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?z ) WHERE { ?k property:P37 ?d . ?k rdf:type ontology:Q56061 . ?d rdf:type ontology:Q34770 } GROUP BY ?k } }
European Union
action count
action less
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity European Union
relation official language
type language
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { resource:European_Union property:official_language ?f . ?f rdf:type ontology:language } } . FILTER ( ?z < ?a ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?z ) WHERE { ?k property:official_language ?d . ?k rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:language } GROUP BY ?k } }
[]
language administrative territorial entity
SYSTEM
199
Q807 Q2414585 Q64004 Q68978 Q689502 Q9125 Q678901 Q66629 Q9009 Q2641849 Q175345 Q68124 Q704257 Q5813 Q68965 Q757845 Q639054 Q689954 Q68449 Q689691 Q668625 Q643200 Q277708 Q5576202 Q668705 Q660999 Q69231 Q7149 Q66616 Q54450 Q3834 Q5951348 Q81811 Q669310 Q674433 Q6029 Q669411 Q70477 Q429962 Q167715 Q669254 Q16644 Q64011 Q16641 Q1990899 Q11703 Q597413 Q390482 Q662499 Q1014671 Q669360 Q678787 Q68883 Q660215 Q7525 Q661369 Q669400 Q4700013 Q25528 Q121157 Q2094680 Q1352 Q128499 Q69639 Q2604700 Q662405 Q64679 Q70485 Q669466 Q2395382 Q123709 Q141502 Q2214906 Q3639927 Q666159 Q3951 Q381861 Q69256 Q5689 Q63964 Q156593 Q781354 Q660142 Q572380 Q581562 Q678991 Q869534 Q3702463 Q21669478 Q669375 Q66208 Q659753 Q15077954 Q237 Q435231 Q334 Q2718721 Q26 Q7172 Q689487 Q196357 Q15730054 Q2532285 Q1757 Q669280 Q11935 Q5999183 Q1353 Q2492533 Q14452 Q57110 Q677935 Q66668 Q26180 Q541319 Q68160 Q7001862 Q668740 Q2152433 Q16635 Q183441 Q689499 Q678690 Q4264 Q21845358 Q25230 Q1034 Q63931 Q49192 Q67812 Q669152 Q67986 Q59117 Q623277 Q669350 Q1183 Q67097 Q2499687 Q664153 Q669292 Q3630738 Q289534 Q69041 Q3947670 Q688652 Q258447 Q1259122 Q669229 Q668239 Q661817 Q14512466 Q58337 Q70683 Q669244 Q68103 Q334577 Q678769 Q2217474 Q669437 Q69484 Q660974 Q611382 Q69354 Q64123 Q64044 Q11959 Q69290 Q25396 Q669424 Q1025278 Q1341 Q179313 Q78 Q2215147 Q2801411 Q72 Q71 Q70 Q669332 Q277674 Q65757 Q7024 Q7122288 Q163798 Q65502 Q69940 Q7942521 Q67130 Q64032 Q198210 Q244207 Q869624 Q678960 Q1026291 Q68692 Q1026296 Q286332 Q1895 Q2215401
(c(Q56061),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q458
relation P37
type Q34770
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { resource:Q458 property:P37 ?f . ?f rdf:type ontology:Q34770 } } . FILTER ( ?z < ?a ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?z ) WHERE { ?k property:P37 ?d . ?k rdf:type ontology:Q56061 . ?d rdf:type ontology:Q34770 } GROUP BY ?k } }
Lausanne Agarak Grindelwald Thun Röthenbach bei Herzogenbuchsee Winterthur Colombier Saanen Schaffhausen history of Limousin Thielle-Wavre La Chaux-de-Fonds Albany Canary Islands Solothurn Betma Zhovti Vody Buttes Arogno Môtiers Palagnedra Mosen Ozhukarai Godavarikhani Montignez Malvaglia Innertkirchen Neudorf Indore Vicques Konstanz Huwyl Gaildorf Balm bei Messen Bettmeralp Acquasparta Niederwil Chézard-Saint-Martin Bibern Thiruvananthapuram Gunzwil Northern Mariana Islands Lauterbrunnen American Samoa Volovița United States Virgin Islands Wildhaus Donatyre Busswil bei Büren Wiwilí de Jinotega Umiken Saint-Saphorin-sur-Morges Villars-Sainte-Croix Hilfikon Sevastopol Steinhof Ittenthal Ak-Dzhar Saba Mashhad Tafersit Chennai Yalta Göschenen San Rafael del Norte Opfertshofen Pratteln Coffrane Oberramsern La Concordia Dundee Oberhofen El Cuá Bilaspur, Haryana Wanzwil Aalen Aeschlen bei Oberdiessbach Wilderswil Åland Islands Sarnen Sambir Kapurthala Hofen Jizzakh Satara Peney-le-Jorat Wahlern Daqdaqabad Il'inskoe Hottwil Frutigen Albligen Tazaghine Vatican City Altdorf Singapore Phalodi Northern Ireland Arab League Buchs Snezhinsk Glarus New Cumberland Helsinki Retschwil Locarno Illighausen Delhi Aandu Easter Island Corsier-sur-Vevey Veii Koppigen Sint Eustatius Lieli Vevey Neukirch an der Thur Courtemaîche Midar Guam Rohr Wil Châtillens Mercosur Bryn Guernsey Biel/Bienne Stans Middletown Ruppoldsried Sulz Rovio Aappilattoq Aquila Jona Puerto Rico Unterseen Yatton Grandvaux Brunnenthal Bhood Mettau Mendrisio San Mauro Mare Littau Äänekoski Driouch Sulz Borgnone Noiraigue Valens Banff Peyres-Possens St. Peterzell Interlaken Quetzaltenango Monnaz Santa María de Pantasma Winikon Spiez Ludiano Benzenschwil Montreux Meiringen Bellinzona Alicante Genolier Bonaire Etzgen Painavu Tolyatti Alderney Basel San José de Bocay Ben Taieb Zürich Geneva Bern Müswangen Azaz Matten bei Interlaken Lugano Pacific Alliance Thrissur Bönigen Bévilard Voyvodovo, Haskovo Province Riva San Vitale Uster Shakhunya Campione d'Italia Mogelsberg Les Tavernes Kant Fenin-Vilars-Saules Jinotega Alt St. Johann Petrozavodsk San Sebastián de Yalí
199
action count
action less
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity European Union
relation official language
type language
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { resource:European_Union property:official_language ?f . ?f rdf:type ontology:language } } . FILTER ( ?z < ?a ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?z ) WHERE { ?k property:official_language ?d . ?k rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:language } GROUP BY ?k } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q660999
P37
Q34770 Q56061
USER
And also tell me about Malvaglia?
(c(Q56061),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q660999
relation P37
type Q34770
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?n ) WHERE { ?u property:P37 ?q . ?u rdf:type ontology:Q56061 . ?q rdf:type ontology:Q34770 } GROUP BY ?u } . FILTER ( ?n < ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q660999 property:P37 ?v . ?v rdf:type ontology:Q34770 } } }
Malvaglia
action count
action less
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Malvaglia
relation official language
type language
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?n ) WHERE { ?u property:official_language ?q . ?u rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:language } GROUP BY ?u } . FILTER ( ?n < ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Malvaglia property:official_language ?v . ?v rdf:type ontology:language } } }
[]
language administrative territorial entity
SYSTEM
148
Q807 Q64004 Q68978 Q689502 Q9125 Q678901 Q66629 Q9009 Q2641849 Q175345 Q68124 Q704257 Q68965 Q757845 Q639054 Q689954 Q689691 Q643200 Q5576202 Q668705 Q69231 Q7149 Q66616 Q54450 Q3834 Q5951348 Q81811 Q669310 Q674433 Q669411 Q70477 Q429962 Q167715 Q669254 Q64011 Q1990899 Q597413 Q390482 Q662499 Q669360 Q678787 Q68883 Q660215 Q7525 Q661369 Q669400 Q4700013 Q121157 Q2094680 Q1352 Q128499 Q69639 Q662405 Q64679 Q70485 Q669466 Q141502 Q3639927 Q666159 Q3951 Q381861 Q69256 Q5689 Q63964 Q156593 Q781354 Q660142 Q572380 Q581562 Q678991 Q869534 Q3702463 Q21669478 Q669375 Q66208 Q659753 Q15077954 Q435231 Q2718721 Q7172 Q689487 Q196357 Q15730054 Q1757 Q669280 Q5999183 Q2492533 Q57110 Q66668 Q541319 Q68160 Q7001862 Q668740 Q2152433 Q183441 Q689499 Q678690 Q21845358 Q1034 Q63931 Q67812 Q669152 Q59117 Q669350 Q67097 Q664153 Q669292 Q3630738 Q289534 Q688652 Q258447 Q1259122 Q669229 Q661817 Q14512466 Q70683 Q669244 Q68103 Q678769 Q669437 Q69484 Q611382 Q69354 Q64123 Q69290 Q25396 Q669424 Q1341 Q78 Q2801411 Q72 Q71 Q70 Q669332 Q277674 Q65757 Q163798 Q65502 Q69940 Q7942521 Q64032 Q198210 Q869624 Q678960 Q1026291 Q68692 Q286332 Q1895
(c(Q56061),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q660999
relation P37
type Q34770
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?n ) WHERE { ?u property:P37 ?q . ?u rdf:type ontology:Q56061 . ?q rdf:type ontology:Q34770 } GROUP BY ?u } . FILTER ( ?n < ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q660999 property:P37 ?v . ?v rdf:type ontology:Q34770 } } }
Lausanne Grindelwald Thun Röthenbach bei Herzogenbuchsee Winterthur Colombier Saanen Schaffhausen history of Limousin Thielle-Wavre La Chaux-de-Fonds Albany Solothurn Betma Zhovti Vody Buttes Môtiers Mosen Godavarikhani Montignez Innertkirchen Neudorf Indore Vicques Konstanz Huwyl Gaildorf Balm bei Messen Bettmeralp Niederwil Chézard-Saint-Martin Bibern Thiruvananthapuram Gunzwil Lauterbrunnen Volovița Wildhaus Donatyre Busswil bei Büren Umiken Saint-Saphorin-sur-Morges Villars-Sainte-Croix Hilfikon Sevastopol Steinhof Ittenthal Ak-Dzhar Mashhad Tafersit Chennai Yalta Göschenen Opfertshofen Pratteln Coffrane Oberramsern Oberhofen Bilaspur, Haryana Wanzwil Aalen Aeschlen bei Oberdiessbach Wilderswil Åland Islands Sarnen Sambir Kapurthala Hofen Jizzakh Satara Peney-le-Jorat Wahlern Daqdaqabad Il'inskoe Hottwil Frutigen Albligen Tazaghine Altdorf Phalodi Arab League Buchs Snezhinsk Glarus Helsinki Retschwil Illighausen Aandu Corsier-sur-Vevey Koppigen Lieli Vevey Neukirch an der Thur Courtemaîche Midar Rohr Wil Châtillens Bryn Biel/Bienne Stans Ruppoldsried Sulz Aappilattoq Jona Unterseen Grandvaux Brunnenthal Bhood Mettau Littau Äänekoski Driouch Sulz Noiraigue Valens Peyres-Possens St. Peterzell Interlaken Monnaz Winikon Spiez Benzenschwil Montreux Meiringen Genolier Bonaire Etzgen Tolyatti Basel Ben Taieb Zürich Geneva Bern Müswangen Azaz Matten bei Interlaken Thrissur Bönigen Bévilard Voyvodovo, Haskovo Province Uster Shakhunya Mogelsberg Les Tavernes Kant Fenin-Vilars-Saules Alt St. Johann Petrozavodsk
148
action count
action less
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Malvaglia
relation official language
type language
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?n ) WHERE { ?u property:official_language ?q . ?u rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:language } GROUP BY ?u } . FILTER ( ?n < ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Malvaglia property:official_language ?v . ?v rdf:type ontology:language } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q421218 Q334375
P509 P2175
Q2057971
USER
Which health problems caused the death of William Sealy Gosset and are fondaparinux sodium a medication for ?
AND((Q334375,P509,c(Q2057971)), (Q421218,P2175,c(Q2057971)))
action filter_type
action intersection
action find
entity Q334375
relation P509
action find
entity Q421218
relation P2175
type Q2057971
{'AND': [['Q334375', 'P509', {'concept': 'Q2057971'}], ['Q421218', 'P2175', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2057971 . resource:Q334375 property:P509 ?v . resource:Q421218 property:P2175 ?v }
fondaparinux sodium William Sealy Gosset
action filter_type
action intersection
action find
entity William Sealy Gosset
relation cause of death
action find
entity fondaparinux sodium
relation medical condition treated
type health problem
{'AND': [['William Sealy Gosset', 'cause of death', {'concept': 'health problem'}], ['fondaparinux sodium', 'medical condition treated', {'concept': 'health problem'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:health_problem . resource:William_Sealy_Gosset property:cause_of_death ?v . resource:fondaparinux_sodium property:medical_condition_treated ?v }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
AND((Q334375,P509,c(Q2057971)), (Q421218,P2175,c(Q2057971)))
action filter_type
action intersection
action find
entity Q334375
relation P509
action find
entity Q421218
relation P2175
type Q2057971
[ANSWER] caused the death of William Sealy Gosset and are fondaparinux sodium a medication for
{'AND': [['Q334375', 'P509', {'concept': 'Q2057971'}], ['Q421218', 'P2175', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2057971 . resource:Q334375 property:P509 ?v . resource:Q421218 property:P2175 ?v }
myocardial infarction
Myocardial infarction caused the death of William Sealy Gosset and are fondaparinux sodium a medication for
myocardial infarction
action filter_type
action intersection
action find
entity William Sealy Gosset
relation cause of death
action find
entity fondaparinux sodium
relation medical condition treated
type health problem
{'AND': [['William Sealy Gosset', 'cause of death', {'concept': 'health problem'}], ['fondaparinux sodium', 'medical condition treated', {'concept': 'health problem'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:health_problem . resource:William_Sealy_Gosset property:cause_of_death ?v . resource:fondaparinux_sodium property:medical_condition_treated ?v }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P1542
Q2057971 Q12136 Q79529
USER
How many health problems do approximately the same number of diseases or chemical substances result in as that health problem ?
(c(Q12136)|c(Q79529),P1542,c(Q2057971))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q12136
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q79529
action count
action filter_multi_types
action find_reverse
entity Q12152
relation P1542
type Q12136
type Q79529
[[{'concept': 'Q12136'}, {'concept': 'Q79529'}], 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?k WHERE { { ?k rdf:type ontology:Q2057971 . ?g rdf:type ontology:Q12136 . ?g property:P1542 ?k } UNION { ?k rdf:type ontology:Q2057971 . ?g rdf:type ontology:Q79529 . ?g property:P1542 ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:P1542 resource:Q12152 . { { ?o rdf:type ontology:Q12136 } UNION { ?o rdf:type ontology:Q79529 } } } } . FILTER ( ?s = ?w ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation cause of
type health problem
type disease
action find_reverse_tuple_counts
relation cause of
type health problem
type chemical substance
action count
action filter_multi_types
action find_reverse
entity myocardial infarction
relation cause of
type disease
type chemical substance
[[{'concept': 'disease'}, {'concept': 'chemical substance'}], 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?k WHERE { { ?k rdf:type ontology:health_problem . ?g rdf:type ontology:disease . ?g property:cause_of ?k } UNION { ?k rdf:type ontology:health_problem . ?g rdf:type ontology:chemical_substance . ?g property:cause_of ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:cause_of resource:myocardial_infarction . { { ?o rdf:type ontology:disease } UNION { ?o rdf:type ontology:chemical_substance } } } } . FILTER ( ?s = ?w ) }
[]
health problem disease chemical substance
SYSTEM
251
Q2603200 Q949694 Q83319 Q3108587 Q2068896 Q18554029 Q154865 Q2346396 Q188638 Q10874 Q864868 Q7157933 Q154869 Q3513968 Q1476027 Q2373361 Q1194496 Q5334259 Q548213 Q2447562 Q3776920 Q18555098 Q35869 Q3073142 Q243257 Q5062120 Q5062122 Q703961 Q614279 Q694552 Q1928978 Q2700304 Q2845432 Q963944 Q18324719 Q160653 Q4413030 Q443929 Q2300099 Q3084532 Q738292 Q928697 Q1856914 Q857667 Q846316 Q1282114 Q646664 Q3339235 Q783903 Q28693 Q4958833 Q2140729 Q393477 Q574905 Q12214 Q279330 Q2840 Q468433 Q12090 Q3089469 Q6159042 Q18553251 Q134649 Q18553273 Q18553252 Q2059411 Q719656 Q4690047 Q203133 Q551085 Q7314317 Q823027 Q192102 Q5459411 Q12135 Q748442 Q18555101 Q319315 Q992139 Q3197774 Q327005 Q570197 Q631361 Q17120992 Q190564 Q576179 Q1531991 Q16242752 Q156103 Q2681162 Q154882 Q2608695 Q17083186 Q42982 Q852376 Q200779 Q18556080 Q353172 Q941770 Q201989 Q2397106 Q682798 Q1427959 Q3367106 Q193216 Q18558169 Q5090486 Q12156 Q47790 Q159701 Q481392 Q190805 Q422268 Q7235947 Q18123741 Q804521 Q176741 Q2425407 Q496812 Q692536 Q3049302 Q18553274 Q18553742 Q2076966 Q979168 Q1128440 Q2879095 Q18554767 Q326643 Q5380626 Q727028 Q18553170 Q167264 Q160649 Q30953 Q4116663 Q1502312 Q18924547 Q6853 Q1054718 Q8071861 Q705906 Q11072 Q504775 Q1233526 Q178194 Q5384031 Q3011658 Q1030785 Q173022 Q767485 Q1048101 Q202173 Q812671 Q2589418 Q1243869 Q9430213 Q3798547 Q12152 Q1416773 Q188605 Q18975031 Q18554367 Q219223 Q153861 Q105688 Q769815 Q327298 Q639776 Q1878776 Q378681 Q1290616 Q41083 Q178436 Q2906693 Q931323 Q4366062 Q21504985 Q2868696 Q18975539 Q890200 Q1750104 Q5196693 Q53829 Q31798 Q5506384 Q744387 Q18554000 Q18555271 Q895297 Q18553191 Q18554485 Q18553197 Q18553216 Q922927 Q18553198 Q970203 Q12204 Q4845643 Q101896 Q103177 Q134859 Q32446 Q1347256 Q272436 Q12125 Q6587253 Q2741820 Q18554606 Q794086 Q585285 Q681970 Q567660 Q18556970 Q12199 Q316180 Q153356 Q1066011 Q651223 Q476921 Q12192 Q1347065 Q1432397 Q76973 Q29496 Q506616 Q7053975 Q36956 Q202758 Q21109885 Q11627066 Q18554418 Q18554419 Q18975606 Q18971555 Q18554659 Q576349 Q326638 Q154874 Q18553284 Q199615 Q133780 Q1632552 Q6663796 Q1433212 Q129104 Q5274956 Q1367782 Q1570013 Q3902759 Q1553609
(c(Q12136)|c(Q79529),P1542,c(Q2057971))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q12136
action find_reverse_tuple_counts
relation P1542
type Q2057971
type Q79529
action count
action filter_multi_types
action find_reverse
entity Q12152
relation P1542
type Q12136
type Q79529
[ANSWER]
[[{'concept': 'Q12136'}, {'concept': 'Q79529'}], 'P1542', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?k WHERE { { ?k rdf:type ontology:Q2057971 . ?g rdf:type ontology:Q12136 . ?g property:P1542 ?k } UNION { ?k rdf:type ontology:Q2057971 . ?g rdf:type ontology:Q79529 . ?g property:P1542 ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:P1542 resource:Q12152 . { { ?o rdf:type ontology:Q12136 } UNION { ?o rdf:type ontology:Q79529 } } } } . FILTER ( ?s = ?w ) }
viral pneumonia amebiasis typhoid fever pigmentary glaucoma drug allergy pseudomembranous conjunctivitis botulism iritis mood disorder blindness bone marrow suppression peanut allergy hepatitis C corneal opacity lymphangitis nut allergy scrub typhus parasitic ectoparasitic infectious disease neural tube defect balantidiasis bacterial pneumonia sensory peripheral neuropathy asthma Pontiac fever chikungunya central nervous system depression central nervous system disease prion disease louping ill lymphogranuloma venereum viral infectious disease Bolivian hemorrhagic fever ehrlichiosis melioidosis Chapare hemorrhagic fever listeriosis wheat allergy dirofilariasis gastrointestinal system disease endemic typhus Japanese encephalitis sensorineural hearing loss nocardiosis pulmonary edema aplastic anemia speech disorder rickettsiosis nervous system disease contact dermatitis miscarriage Brazilian hemorrhagic fever fasciolopsiasis trench fever Clostridium difficile colitis smallpox bronchial disease influenza anosmia Cholera sequelae Japanese spotted fever wound botulism diphtheria aneruptive fever infant botulism Black piedra fascioliasis African tick-bite fever sleeping sickness myelitis reproductive system disease disseminated intravascular coagulation skin cancer Flinders Island spotted fever mental disorder methemoglobinemia tooth erosion Colorado tick fever human granulocytic anaplasmosis klebsiellosis glanders proteinuria diabetic retinopathy Hyperglycerolemia Huntington's disease egg allergy Parkinsonian syndrome allergic contact dermatitis gastroenteritis eye injury Legionnaires' disease movement disease obstructive sleep apnea type I hypersensitivity seizure genetic disease cranial nerve palsy parasitic protozoa infectious disease proctitis Lyme disease tauopathy bejel dental fluorosis parvovirus infectious disease trachoma Venezuelan equine encephalitis toxic pneumonitis malaria tetanus glaucoma theileriasis heart disease actinomycosis Powassan encephalitis infectious disease bacterial vaginosis mumps Acute tubular necrosis leukopenia myopathy human monocytic ehrlichiosis sennetsu fever chromosomal disease cytomegalia brain edema toxic shock syndrome optic nerve disease Brucella melitensis brucellosis hepatitis E Entomophthoramycosis bacterial infectious disease Astrakhan spotted fever Marburg hemorrhagic fever typhus dengue fever musculoskeletal system disease polyneuropathy Rocio virus encephalitis hepatitis B kidney disease Zika fever paratyphoid fever amnestic disorder urinary bladder cancer osteosclerosis cystic fibrosis Epstein–Barr virus infection dacryocystocele demodicosis bronchitis respiratory failure rickettsialpox hordeolum bacillary angiomatosis pasteurellosis Treponematosis borna disease Haverhill fever myocardial infarction granuloma inguinale pulmonary emphysema basal cell carcinoma respiratory syncytial virus infectious disease lactose intolerance tularemia hypoxia food allergy shigellosis cat-scratch disease lymphocytic choriomeningitis peripheral artery disease epidemic typhus syphilis constipation baritosis nephropathia epidemica Pneumococcal infection lewisite shock pain agnosia toxic encephalopathy Coagulopathy Carrion's disease Cutaneous diphtheria infection Thyroid nodule chancroid fruit allergy Rocky Mountain spotted fever Brucella suis brucellosis acute kidney failure boutonneuse fever Indian tick typhus diphtheritic peritonitis Israeli tick typhus intestinal botulism primary amebic meningoencephalitis Far Eastern spotted fever milk allergy tuberculosis rhinosporidiosis gonorrhea severe acute respiratory syndrome pertussis pulmonary fibrosis excessive tearing allergic rhinitis common cold Queensland tick typhus Omsk hemorrhagic fever inclusion conjunctivitis hypokalemia thrombocytopenia contagious pustular dermatitis St. Louis encephalitis optic atrophy acquired immunodeficiency syndrome Pseudorabies chlamydia cowpox pneumoconiosis kidney failure pneumonia epiglottitis Kyasanur forest disease yaws leukemia drowning Siberian tick typhus leprosy hypoglycemia chronic respiratory disease West Nile fever louse-borne relapsing fever tick-borne relapsing fever Fusobacterium infectious disease obstructive lung disease Brucella canis brucellosis brain disease Rift Valley fever yellow fever O'nyong'nyong fever encephalitis plague hyperostosis Lobomycosis myositis anthrax disease dientamoebiasis Gluten related disorders thrombophilia white piedra Canine parvovirus
251
action count
action approx
action union
action find_reverse_tuple_counts
relation cause of
type health problem
type disease
action find_reverse_tuple_counts
relation cause of
type health problem
type chemical substance
action count
action filter_multi_types
action find_reverse
entity myocardial infarction
relation cause of
type disease
type chemical substance
[[{'concept': 'disease'}, {'concept': 'chemical substance'}], 'cause of', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?k WHERE { { ?k rdf:type ontology:health_problem . ?g rdf:type ontology:disease . ?g property:cause_of ?k } UNION { ?k rdf:type ontology:health_problem . ?g rdf:type ontology:chemical_substance . ?g property:cause_of ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:cause_of resource:myocardial_infarction . { { ?o rdf:type ontology:disease } UNION { ?o rdf:type ontology:chemical_substance } } } } . FILTER ( ?s = ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12152
P2293
Q863908
USER
Which nucleic acid sequences are genetically correlated with myocardial infarction ?
(c(Q863908),P2293,Q12152)
action filter_type
action find
entity Q12152
relation P2293
type Q863908
[{'concept': 'Q863908'}, 'P2293', 'Q12152']
SELECT DISTINCT ?u WHERE { resource:Q12152 property:P2293 ?u . ?u rdf:type ontology:Q863908 }
myocardial infarction
action filter_type
action find
entity myocardial infarction
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'myocardial infarction']
SELECT DISTINCT ?u WHERE { resource:myocardial_infarction property:genetic_association ?u . ?u rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18053521 Q18037015 Q18056131
SYSTEM
PHACTR1, PLCL2, MIA3
Q18053521 Q18042029 Q18056131 Q18037015
(c(Q863908),P2293,Q12152)
action filter_type
action find
entity Q12152
relation P2293
type Q863908
[ANSWERS] are genetically correlated with myocardial infarction
[{'concept': 'Q863908'}, 'P2293', 'Q12152']
SELECT DISTINCT ?u WHERE { resource:Q12152 property:P2293 ?u . ?u rdf:type ontology:Q863908 }
PHACTR1 WDR12 MIA3 PLCL2
PHACTR1, PLCL2 and MIA3 are genetically correlated with myocardial infarction
PHACTR1 PLCL2 MIA3
action filter_type
action find
entity myocardial infarction
relation genetic association
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'genetic association', 'myocardial infarction']
SELECT DISTINCT ?u WHERE { resource:myocardial_infarction property:genetic_association ?u . ?u rdf:type ontology:nucleic_acid_sequence }
[]