Simple Question (Direct)
Simple Question
Q3357621
P734
Q82799
USER
Who is associated with Otho Holland Williams ?
(Q3357621,P734,c(Q82799))
action filter_type
action find
entity Q3357621
relation P734
type Q82799
['Q3357621', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q82799 . resource:Q3357621 property:P734 ?n }
Otho Holland Williams
action filter_type
action find
entity Otho Holland Williams
relation family name
type name
['Otho Holland Williams', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:name . resource:Otho_Holland_Williams property:family_name ?n }
[]
name
Q1688722
SYSTEM
Williams
Q1688722
(Q3357621,P734,c(Q82799))
action filter_type
action find
entity Q3357621
relation P734
type Q82799
[ANSWER] is associated with Otho Holland [ANSWER]
['Q3357621', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q82799 . resource:Q3357621 property:P734 ?n }
Williams
Williams is associated with Otho Holland Williams
Williams
action filter_type
action find
entity Otho Holland Williams
relation family name
type name
['Otho Holland Williams', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:name . resource:Otho_Holland_Williams property:family_name ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3357621
P106
Q12737077
USER
What does that person do for a living ?
(Q1688722,P106,c(Q12737077))
action filter_type
action find
entity Q3357621
relation P106
type Q12737077
['Q1688722', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . resource:Q3357621 property:P106 ?w }
Otho Holland Williams
action filter_type
action find
entity Otho Holland Williams
relation occupation
type occupation
['Williams', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . resource:Otho_Holland_Williams property:occupation ?w }
[]
occupation
Q189290
SYSTEM
officer
Q189290
(Q1688722,P106,c(Q12737077))
action filter_type
action find
entity Q3357621
relation P106
type Q12737077
That person does an [ANSWER] for a living
['Q1688722', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . resource:Q3357621 property:P106 ?w }
officer
That person does an officer for a living
officer
action filter_type
action find
entity Otho Holland Williams
relation occupation
type occupation
['Williams', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . resource:Otho_Holland_Williams property:occupation ?w }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q189290 Q8014414
P106
Q502895
USER
Does William Ledyard Rodgers have a job as that occupation ?
(Q8014414,P106,Q189290)
action is_in
entity Q189290
action find
entity Q8014414
relation P106
['Q8014414', 'P106', 'Q189290']
ASK WHERE { resource:Q8014414 property:P106 resource:Q189290 }
officer William Ledyard Rodgers
action is_in
entity officer
action find
entity William Ledyard Rodgers
relation occupation
['William Ledyard Rodgers', 'occupation', 'officer']
ASK WHERE { resource:William_Ledyard_Rodgers property:occupation resource:officer }
[]
common name
SYSTEM
YES
(Q8014414,P106,Q189290)
action is_in
entity Q189290
action find
entity Q8014414
relation P106
[ANSWER]
['Q8014414', 'P106', 'Q189290']
ASK WHERE { resource:Q8014414 property:P106 resource:Q189290 }
Yes
action is_in
entity officer
action find
entity William Ledyard Rodgers
relation occupation
['William Ledyard Rodgers', 'occupation', 'officer']
ASK WHERE { resource:William_Ledyard_Rodgers property:occupation resource:officer }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3357621 Q389752 Q30
P27
Q15617994
USER
Is Otho Holland Williams a citizen of Waldburg and United States of America ?
(Q3357621,P27,Q389752) (Q3357621,P27,Q30)
action is_in
entity Q3357621
action intersection
action find_reverse
entity Q389752
relation P27
action find_reverse
entity Q30
relation P27
['Q3357621', 'P27', 'Q389752'] ['Q3357621', 'P27', 'Q30']
ASK WHERE { resource:Q3357621 property:P27 resource:Q389752 . resource:Q3357621 property:P27 resource:Q30 }
Otho Holland Williams Waldburg United States of America
action is_in
entity Otho Holland Williams
action intersection
action find_reverse
entity Waldburg
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Otho Holland Williams', 'country of citizenship', 'Waldburg'] ['Otho Holland Williams', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Otho_Holland_Williams property:country_of_citizenship resource:Waldburg . resource:Otho_Holland_Williams property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q3357621,P27,Q389752) (Q3357621,P27,Q30)
action is_in
entity Q3357621
action intersection
action find_reverse
entity Q389752
relation P27
action find_reverse
entity Q30
relation P27
[ANSWER]
['Q3357621', 'P27', 'Q389752'] ['Q3357621', 'P27', 'Q30']
ASK WHERE { resource:Q3357621 property:P27 resource:Q389752 . resource:Q3357621 property:P27 resource:Q30 }
NO and YES respectively
action is_in
entity Otho Holland Williams
action intersection
action find_reverse
entity Waldburg
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Otho Holland Williams', 'country of citizenship', 'Waldburg'] ['Otho Holland Williams', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Otho_Holland_Williams property:country_of_citizenship resource:Waldburg . resource:Otho_Holland_Williams property:country_of_citizenship resource:United_States_of_America }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2640666
P3279
Q502895 Q1344963 Q18608583
USER
Which people were considered to be the statistical leader of approximately the same number of world championships and recurring sporting events as Janeth Arcain ?
(c(Q1344963)|c(Q18608583),P3279,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q1344963
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q2640666
relation P3279
type Q1344963
type Q18608583
[[{'concept': 'Q1344963'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:P3279 resource:Q2640666 . { { ?f rdf:type ontology:Q1344963 } UNION { ?f rdf:type ontology:Q18608583 } } } } . FILTER ( ?s = ?n ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?d WHERE { { ?m property:P3279 ?d . ?m rdf:type ontology:Q1344963 . ?d rdf:type ontology:Q502895 } UNION { ?m property:P3279 ?d . ?d rdf:type ontology:Q502895 . ?m rdf:type ontology:Q18608583 } } GROUP BY ?d } }
Janeth Arcain
action approx
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 recurring sporting event
action count
action filter_multi_types
action find_reverse
entity Janeth Arcain
relation statistical leader
type world championship
type recurring sporting event
[[{'concept': 'world championship'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:statistical_leader resource:Janeth_Arcain . { { ?f rdf:type ontology:world_championship } UNION { ?f rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?s = ?n ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?d WHERE { { ?m property:statistical_leader ?d . ?m rdf:type ontology:world_championship . ?d rdf:type ontology:common_name } UNION { ?m property:statistical_leader ?d . ?d rdf:type ontology:common_name . ?m rdf:type ontology:recurring_sporting_event } } GROUP BY ?d } }
[]
common name world championship recurring sporting event
Q348032 Q1797248 Q504835
SYSTEM
Šarūnas Marčiulionis, Oscar Schmidt, Andrew Gaze
Q348032 Q273561 Q4973709 Q555488 Q18957309 Q18206776 Q16563047 Q455970 Q1337310 Q2679406 Q1797248 Q775971 Q504835 Q935769 Q2336113 Q2468364 Q3830637 Q465968 Q1246116 Q3719980 Q18352226 Q4801743 Q2423715 Q371193 Q2021449 Q3699232 Q1100455 Q3788234 Q628060 Q521771 Q2640666
(c(Q1344963)|c(Q18608583),P3279,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q1344963
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q2640666
relation P3279
type Q1344963
type Q18608583
[ANSWERS] were considered to be the statistical leader of approximately the same number of world championships and recurring sporting events as Janeth Arcain
[[{'concept': 'Q1344963'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:P3279 resource:Q2640666 . { { ?f rdf:type ontology:Q1344963 } UNION { ?f rdf:type ontology:Q18608583 } } } } . FILTER ( ?s = ?n ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?d WHERE { { ?m property:P3279 ?d . ?m rdf:type ontology:Q1344963 . ?d rdf:type ontology:Q502895 } UNION { ?m property:P3279 ?d . ?d rdf:type ontology:Q502895 . ?m rdf:type ontology:Q18608583 } } GROUP BY ?d } }
Šarūnas Marčiulionis Anne-Marie Colchen Shin Dong-pa Álvaro Salvadores Ángela Salvadores Nirra Fields Heino Veskila Amaya Valdemoro Emiliano Rodríguez Rūdolfs Jurciņš Oscar Schmidt Evanthia Maltsi Andrew Gaze Oded Kattash Kees Akerboom, Sr. Margo Dydek Andrea Borrell Ann Wauters Doron Jamchi Edward Jurkiewicz Isabela Ramona Arturo Guerrero Jacques Perrier José Juan Barea Yuko Oga Livio Franceschini Iva Perovanović Hüseyin Öztürk Sabahudin Bilalović Paweł Stok Janeth Arcain
Šarūnas Marčiulionis, Oscar Schmidt and Andrew Gaze were considered to be the statistical leader of approximately the same number of world championships and recurring sporting events as Janeth Arcain
Šarūnas Marčiulionis Oscar Schmidt Andrew Gaze
action approx
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 recurring sporting event
action count
action filter_multi_types
action find_reverse
entity Janeth Arcain
relation statistical leader
type world championship
type recurring sporting event
[[{'concept': 'world championship'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { ?f property:statistical_leader resource:Janeth_Arcain . { { ?f rdf:type ontology:world_championship } UNION { ?f rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?s = ?n ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?d WHERE { { ?m property:statistical_leader ?d . ?m rdf:type ontology:world_championship . ?d rdf:type ontology:common_name } UNION { ?m property:statistical_leader ?d . ?d rdf:type ontology:common_name . ?m rdf:type ontology:recurring_sporting_event } } GROUP BY ?d } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1363974
P3279
Q502895 Q1344963 Q18608583
USER
And what about Rawle Marshall?
(c(Q1344963)|c(Q18608583),P3279,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q1344963
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q1363974
relation P3279
type Q1344963
type Q18608583
[[{'concept': 'Q1344963'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) ?p WHERE { { ?m property:P3279 ?p . ?p rdf:type ontology:Q502895 . ?m rdf:type ontology:Q1344963 } UNION { ?m property:P3279 ?p . ?p rdf:type ontology:Q502895 . ?m rdf:type ontology:Q18608583 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:P3279 resource:Q1363974 . { { ?u rdf:type ontology:Q18608583 } UNION { ?u rdf:type ontology:Q1344963 } } } } . FILTER ( ?z = ?j ) }
Rawle Marshall
action approx
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 recurring sporting event
action count
action filter_multi_types
action find_reverse
entity Rawle Marshall
relation statistical leader
type world championship
type recurring sporting event
[[{'concept': 'world championship'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) ?p WHERE { { ?m property:statistical_leader ?p . ?p rdf:type ontology:common_name . ?m rdf:type ontology:world_championship } UNION { ?m property:statistical_leader ?p . ?p rdf:type ontology:common_name . ?m rdf:type ontology:recurring_sporting_event } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:statistical_leader resource:Rawle_Marshall . { { ?u rdf:type ontology:recurring_sporting_event } UNION { ?u rdf:type ontology:world_championship } } } } . FILTER ( ?z = ?j ) }
[]
common name world championship recurring sporting event
Q36159 Q41421 Q25369
SYSTEM
LeBron James, Michael Jordan, Kobe Bryant
Q568295 Q4153527 Q27187406 Q4723826 Q3705891 Q1254600 Q431455 Q57079 Q17403110 Q352110 Q316183 Q1638747 Q44470 Q554889 Q25369 Q455540 Q456766 Q357096 Q978689 Q11691650 Q644091 Q1363974 Q498257 Q17264815 Q3802207 Q1033050 Q36159 Q27187226 Q26132520 Q368561 Q370068 Q1584802 Q3595275 Q4893969 Q16232325 Q310519 Q677546 Q822531 Q314071 Q7332071 Q1032995 Q3855901 Q1635555 Q952921 Q10515951 Q2345884 Q516765 Q1572946 Q314185 Q8053501 Q16228417 Q16198360 Q277780 Q366109 Q1617436 Q901437 Q27187398 Q317223 Q129041 Q58335 Q1237848 Q2489833 Q2609359 Q375574 Q309731 Q3814247 Q3814712 Q352159 Q61219 Q3930044 Q360219 Q6451152 Q18749100 Q1628301 Q3703756 Q27187302 Q3807995 Q7356016 Q16841652 Q6322012 Q950564 Q2211310 Q596100 Q1758586 Q7606648 Q12643739 Q7322663 Q27187275 Q3731471 Q20713339 Q26838731 Q1560424 Q664405 Q434824 Q60417 Q1091369 Q3846678 Q27510015 Q466385 Q311533 Q224535 Q460507 Q717344 Q4018600 Q739699 Q732825 Q190094 Q27518724 Q44815 Q1638755 Q3325479 Q2526170 Q44464 Q6388861 Q2718535 Q3848178 Q683030 Q3809921 Q437241 Q3930387 Q41421 Q3317928 Q5086674 Q27187336 Q2449620 Q15069755 Q505800 Q16229571 Q1634785 Q372859 Q533350 Q3976459 Q1640839 Q201885 Q3882086 Q11889550 Q14470242 Q47470 Q3857382 Q1353620 Q186478 Q11561907 Q7131158 Q7130157 Q3787321 Q152871 Q703224 Q312651 Q440121 Q2451584 Q3123694 Q27187381 Q371067 Q440382 Q291345 Q27187388 Q2356899 Q1629949 Q3870710 Q517350 Q605561 Q2600792 Q1508678 Q2699075 Q20671499 Q1123222 Q316261 Q19829005 Q80471 Q27518101 Q1899299 Q1980759 Q2333206 Q444118 Q3811117 Q24678886 Q354774 Q1378121 Q458584 Q18706436 Q8002848 Q12643733 Q3751831 Q607383 Q3827157 Q3829239 Q3508948 Q926325 Q196185 Q2309134 Q16227000 Q7192274 Q616572 Q169452 Q169999 Q3620463 Q5238520 Q703757 Q18398239 Q209368 Q1179395 Q62162 Q160363 Q1691427 Q6832426 Q2565247 Q4027073 Q27187370 Q3616183 Q553232 Q2897880 Q1266392 Q2077350 Q284176 Q18630884 Q1763902 Q2910958 Q3192666 Q24088775 Q16209548 Q21932226 Q27187326 Q3180283 Q27187319 Q366559 Q702406 Q58590 Q3342371 Q27187254 Q21259159 Q3806182 Q7666079 Q202295 Q310541 Q20873438 Q29545 Q26257453 Q451780 Q3830797 Q4965612 Q2714829 Q5170529 Q1634199 Q493027 Q24002 Q5262323 Q2466594 Q1435883 Q1913679 Q27187285 Q3876996 Q977135 Q1071728 Q182455 Q3476711 Q380018 Q2408361 Q6289235 Q376173 Q16233299 Q18417889 Q511509 Q1364009 Q288575 Q16209606 Q4714896 Q19577360 Q726234 Q179051 Q27187350 Q82004 Q379603 Q3856209 Q2419943 Q5170460 Q2409213 Q433392 Q380015 Q343341 Q510074 Q16228471 Q441283 Q31683 Q311195 Q2310881 Q20744974 Q542563 Q351862 Q718794 Q3563317 Q977666 Q741842 Q450869 Q7539568 Q360993 Q14470768 Q6547747 Q3561200 Q3956838 Q14469655 Q3961216 Q927966 Q939343 Q211876 Q43744 Q2459470 Q583904 Q2560815 Q2309972 Q313913 Q166336 Q2602217 Q485817 Q306872 Q152107 Q6438385 Q517722 Q16228365 Q965738 Q5259012
(c(Q1344963)|c(Q18608583),P3279,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q1344963
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q1363974
relation P3279
type Q1344963
type Q18608583
[ANSWERS]
[[{'concept': 'Q1344963'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) ?p WHERE { { ?m property:P3279 ?p . ?p rdf:type ontology:Q502895 . ?m rdf:type ontology:Q1344963 } UNION { ?m property:P3279 ?p . ?p rdf:type ontology:Q502895 . ?m rdf:type ontology:Q18608583 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:P3279 resource:Q1363974 . { { ?u rdf:type ontology:Q18608583 } UNION { ?u rdf:type ontology:Q1344963 } } } } . FILTER ( ?z = ?j ) }
Liz Cambage Ana Dabović Nigel McNeal Alfredo Ott Derrick Low Dragan Labović Sergej Barbarez Jürgen Klinsmann Mack Tuck George Gervin Pete Maravich Trey Johnson Uwe Seeler Bo McCalebb Kobe Bryant Esteban Solari Paul Arizin Josh Childress Freddy Crispina Correia Michael Preetz Rawle Marshall Lothar Emmerich 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 Ulf Kirsten Heiko Herrlich Bernard King Luis Scola Ricky Franklin Ramel Curry Mfon Udoka Lars Hansen Patrick Mills Jorge Filipe Monteiro Siniša Gogić Andre Alves Jørn Andersen George Mikan Yiannos Ioannou Jordan McRae Matt Bauscher Peja Stojaković Mario Basler Shavlik Randolph Damon Williams Tasos Zouvanis Fernando Cavenaghi Carmelo Anthony Leandro Barbosa Mickaël Poté Cal Bruton Sean May Darren Phillip Márcio Amoroso Corey Fisher Kenyan Weaks Stephen Curry Fredi Bobic 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 Joe Arlauckas József Dzurják Rick Barry Dieter Müller 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 Élber Giovane Miljan Goljović Mouhammad Faye Dario Šarić Rudi Völler Kendal Pinder Milan Gurović Marino Baždarić Roland Wohlfarth Jonathan Gibson Stefan Kuntz Rasheim Wright Michael Jordan Modibo Niakate Charron Fisher Andros Savva Jozef Kožlej Danny Gibson Thomas Christiansen Darius Theus Donell Taylor Adrian Dantley Darius Washington, Jr. Suad Beširević Rick Hughes Theofanis Gekas Omar Quintero Quinnel Brown Lamont Jones Uwe Rahn Michael Efevberha Neil Johnston Luca Toni Ramu Tokashiki Panikos Krystallis Panayiotis Xiourouppas Hristo Zahariev Karl-Heinz Rummenigge Thomas Allofs Rudy Fernández Dave Bing Pete Mickeal Géraldine Robert Lenos Kittos Carlton Myers Evan Turner DeLisha Milton-Jones Sylvester Vernon Derrick Obasohan Blake Ahearn Nate Johnson Tyler Hansbrough Jerel McNeal Carl English George Yardley Justin Dentmon Saša Zagorac Laura Rus Linas Kleiza Yannick Franke Miroslav Klose Maria Daniella Johansson Marios Neophytou Todor Stoykov Dejan Milojević Michalis Konstantinou Julie Nykiel Jan Barbarič Marek Mintál 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 Melvin Ejim Pierre Jackson Endéné Miyem Shaquille O'Neal Klaus Fischer Antwain Barbour David Pereira da Costa Martin Max Brandis Raley-Ross Raško Katić De'Teri Mayes Fritz Walter Aílton Gonçalves da Silva Joe Fulks Michael Madanly Miljan Mrdaković Darnell Hinson Panikos Hatziloizou Andreas Stylianou Bob McAdoo Marcus Hatten Alphonso Ford Radhouane Slimane Michael Scott Terran Petteway Jeff Xavier Boris Gorenc Kani Kouyaté Antonia Edmondson Jason Cadee Eric Chatfield Lakis Theodorou Dionte Christmas Kostas Vasiliades Horst Hrubesch Hannes Löhr Yao Ming Nneka Ogwumike Panikos Papadopoulos Javier Duren Jaime Lloreda Sérgio Luis Gardino da Silva Tracy Mcmi Juan Carlos Navarro 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 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 Tony Yeboah Michael Lee Ike Diogu Corey Webster Steve Burtt Suzy Batkovic Igor Rakočević İbrahim Kutluay Alessandro Gentile Anthony Miles Austin Nichols Dwyane Wade Jerry West Dewarick Spencer Damion Lee Marcus Brown Sotiris Kaiafas Drew Nicholas Giorgos Savvidis Luis Flores Elvin Hayes Lothar Kobluhn Slađan Šćepović Eric Gordon Jack Leasure Liliana Kostova Charalambos Andreou Sharaud Curry Al Green Simone Edwards David Simon Wojciech Kowalczyk David Robinson Gerd Müller Miroslav Berić Jaycee Carroll Jamie Arnold Dimitar Makriev Ebbe Sand Klaus Allofs Michael Wright Rudolf Brunnenmeier Abby Bishop Jupp Heynckes Kristo Saage Hamed Haddadi Errick McCollum Zoran Slavnić Dennis Trammell
LeBron James Michael Jordan Kobe Bryant
action approx
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 recurring sporting event
action count
action filter_multi_types
action find_reverse
entity Rawle Marshall
relation statistical leader
type world championship
type recurring sporting event
[[{'concept': 'world championship'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) ?p WHERE { { ?m property:statistical_leader ?p . ?p rdf:type ontology:common_name . ?m rdf:type ontology:world_championship } UNION { ?m property:statistical_leader ?p . ?p rdf:type ontology:common_name . ?m rdf:type ontology:recurring_sporting_event } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:statistical_leader resource:Rawle_Marshall . { { ?u rdf:type ontology:recurring_sporting_event } UNION { ?u rdf:type ontology:world_championship } } } } . FILTER ( ?z = ?j ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P161
Q15416 Q838948
USER
How many television programs or works of art do that person star in ?
(c(Q15416),P161,Q41421) (c(Q838948),P161,Q41421) (c(Q15416),P161,Q36159) (c(Q838948),P161,Q36159) (c(Q15416),P161,Q41421) (c(Q838948),P161,Q41421) (c(Q15416),P161,Q25369) (c(Q838948),P161,Q25369)
[{'concept': 'Q15416'}, 'P161', 'Q41421'] [{'concept': 'Q838948'}, 'P161', 'Q41421'] [{'concept': 'Q15416'}, 'P161', 'Q36159'] [{'concept': 'Q838948'}, 'P161', 'Q36159'] [{'concept': 'Q15416'}, 'P161', 'Q41421'] [{'concept': 'Q838948'}, 'P161', 'Q41421'] [{'concept': 'Q15416'}, 'P161', 'Q25369'] [{'concept': 'Q838948'}, 'P161', 'Q25369']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q3297652 resource:Q6831716 } UNION { ?y property:Q3297652 resource:Q6831716 } UNION { ?z property:Q3297652 resource:Q36159 } UNION { ?y property:Q3297652 resource:Q36159 } UNION { ?z property:Q3297652 resource:Q6831716 } UNION { ?y property:Q3297652 resource:Q6831716 } UNION { ?z property:Q3297652 resource:Q25369 } UNION { ?y property:Q3297652 resource:Q25369 } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q838948 }
[{'concept': 'television program'}, 'cast member', 'Michael Jordan'] [{'concept': 'work of art'}, 'cast member', 'Michael Jordan'] [{'concept': 'television program'}, 'cast member', 'LeBron James'] [{'concept': 'work of art'}, 'cast member', 'LeBron James'] [{'concept': 'television program'}, 'cast member', 'Michael Jordan'] [{'concept': 'work of art'}, 'cast member', 'Michael Jordan'] [{'concept': 'television program'}, 'cast member', 'Kobe Bryant'] [{'concept': 'work of art'}, 'cast member', 'Kobe Bryant']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:cast_member resource:Michael_Jordan } UNION { ?y property:cast_member resource:Michael_Jordan } UNION { ?z property:cast_member resource:LeBron_James } UNION { ?y property:cast_member resource:LeBron_James } UNION { ?z property:cast_member resource:Michael_Jordan } UNION { ?y property:cast_member resource:Michael_Jordan } UNION { ?z property:cast_member resource:Kobe_Bryant } UNION { ?y property:cast_member resource:Kobe_Bryant } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:work_of_art }
[]
television program work of art
Quantitative|Count|Mult. entity type|Clarification
Q25369
SYSTEM
Did you mean Kobe Bryant ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q3297652 resource:Q6831716 } UNION { ?y property:Q3297652 resource:Q6831716 } UNION { ?z property:Q3297652 resource:Q36159 } UNION { ?y property:Q3297652 resource:Q36159 } UNION { ?z property:Q3297652 resource:Q6831716 } UNION { ?y property:Q3297652 resource:Q6831716 } UNION { ?z property:Q3297652 resource:Q25369 } UNION { ?y property:Q3297652 resource:Q25369 } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q838948 }
Did you mean Kobe Bryant ?
Kobe Bryant
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:cast_member resource:Michael_Jordan } UNION { ?y property:cast_member resource:Michael_Jordan } UNION { ?z property:cast_member resource:LeBron_James } UNION { ?y property:cast_member resource:LeBron_James } UNION { ?z property:cast_member resource:Michael_Jordan } UNION { ?y property:cast_member resource:Michael_Jordan } UNION { ?z property:cast_member resource:Kobe_Bryant } UNION { ?y property:cast_member resource:Kobe_Bryant } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Michael Jordan. Could you tell me the answer for that?
(c(Q15416),P161,Q41421) (c(Q838948),P161,Q41421) (c(Q15416),P161,Q36159) (c(Q838948),P161,Q36159) (c(Q15416),P161,Q41421) (c(Q838948),P161,Q41421) (c(Q15416),P161,Q25369) (c(Q838948),P161,Q25369)
Q41421
[{'concept': 'Q15416'}, 'P161', 'Q41421'] [{'concept': 'Q838948'}, 'P161', 'Q41421'] [{'concept': 'Q15416'}, 'P161', 'Q36159'] [{'concept': 'Q838948'}, 'P161', 'Q36159'] [{'concept': 'Q15416'}, 'P161', 'Q41421'] [{'concept': 'Q838948'}, 'P161', 'Q41421'] [{'concept': 'Q15416'}, 'P161', 'Q25369'] [{'concept': 'Q838948'}, 'P161', 'Q25369']
[{'concept': 'television program'}, 'cast member', 'Michael Jordan'] [{'concept': 'work of art'}, 'cast member', 'Michael Jordan'] [{'concept': 'television program'}, 'cast member', 'LeBron James'] [{'concept': 'work of art'}, 'cast member', 'LeBron James'] [{'concept': 'television program'}, 'cast member', 'Michael Jordan'] [{'concept': 'work of art'}, 'cast member', 'Michael Jordan'] [{'concept': 'television program'}, 'cast member', 'Kobe Bryant'] [{'concept': 'work of art'}, 'cast member', 'Kobe Bryant']
[]
SYSTEM
6
Q923925 Q7246696 Q508410 Q834165 Q6831722 Q207659
(c(Q15416),P161,Q41421) (c(Q838948),P161,Q41421) (c(Q15416),P161,Q36159) (c(Q838948),P161,Q36159) (c(Q15416),P161,Q41421) (c(Q838948),P161,Q41421) (c(Q15416),P161,Q25369) (c(Q838948),P161,Q25369)
[ANSWER]
[{'concept': 'Q15416'}, 'P161', 'Q41421'] [{'concept': 'Q838948'}, 'P161', 'Q41421'] [{'concept': 'Q15416'}, 'P161', 'Q36159'] [{'concept': 'Q838948'}, 'P161', 'Q36159'] [{'concept': 'Q15416'}, 'P161', 'Q41421'] [{'concept': 'Q838948'}, 'P161', 'Q41421'] [{'concept': 'Q15416'}, 'P161', 'Q25369'] [{'concept': 'Q838948'}, 'P161', 'Q25369']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q3297652 resource:Q6831716 } UNION { ?y property:Q3297652 resource:Q6831716 } UNION { ?z property:Q3297652 resource:Q36159 } UNION { ?y property:Q3297652 resource:Q36159 } UNION { ?z property:Q3297652 resource:Q6831716 } UNION { ?y property:Q3297652 resource:Q6831716 } UNION { ?z property:Q3297652 resource:Q25369 } UNION { ?y property:Q3297652 resource:Q25369 } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q838948 }
Sue X ProStars He Got Game Looney Tunes: Back in Action Michael Jordan to the Max Space Jam
6
[{'concept': 'television program'}, 'cast member', 'Michael Jordan'] [{'concept': 'work of art'}, 'cast member', 'Michael Jordan'] [{'concept': 'television program'}, 'cast member', 'LeBron James'] [{'concept': 'work of art'}, 'cast member', 'LeBron James'] [{'concept': 'television program'}, 'cast member', 'Michael Jordan'] [{'concept': 'work of art'}, 'cast member', 'Michael Jordan'] [{'concept': 'television program'}, 'cast member', 'Kobe Bryant'] [{'concept': 'work of art'}, 'cast member', 'Kobe Bryant']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:cast_member resource:Michael_Jordan } UNION { ?y property:cast_member resource:Michael_Jordan } UNION { ?z property:cast_member resource:LeBron_James } UNION { ?y property:cast_member resource:LeBron_James } UNION { ?z property:cast_member resource:Michael_Jordan } UNION { ?y property:cast_member resource:Michael_Jordan } UNION { ?z property:cast_member resource:Kobe_Bryant } UNION { ?y property:cast_member resource:Kobe_Bryant } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:work_of_art }
[]