Simple Question (Direct)
Simple Question
Q640967
P54
Q1194951
USER
What is Ismed Sofyan a member of ?
(Q640967,P54,c(Q1194951))
action filter_type
action find
entity Q640967
relation P54
type Q1194951
['Q640967', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { resource:Q640967 property:P54 ?r . ?r rdf:type ontology:Q1194951 }
Ismed Sofyan
action filter_type
action find
entity Ismed Sofyan
relation member of sports team
type national sports team
['Ismed Sofyan', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { resource:Ismed_Sofyan property:member_of_sports_team ?r . ?r rdf:type ontology:national_sports_team }
[]
national sports team
Q657451
SYSTEM
Indonesia national football team
Q657451
(Q640967,P54,c(Q1194951))
action filter_type
action find
entity Q640967
relation P54
type Q1194951
[ANSWER] is Ismed Sofyan a member of
['Q640967', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { resource:Q640967 property:P54 ?r . ?r rdf:type ontology:Q1194951 }
Indonesia national football team
Indonesia national football team is Ismed Sofyan a member of
Indonesia national football team
action filter_type
action find
entity Ismed Sofyan
relation member of sports team
type national sports team
['Ismed Sofyan', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { resource:Ismed_Sofyan property:member_of_sports_team ?r . ?r rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q640967
P641
Q349
USER
What did Ismed Sofyan participate in ?
(Q640967,P641,c(Q349))
action filter_type
action find
entity Q640967
relation P641
type Q349
['Q640967', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q640967 property:P641 ?l . ?l rdf:type ontology:Q349 }
Ismed Sofyan
action filter_type
action find
entity Ismed Sofyan
relation sport
type sport
['Ismed Sofyan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Ismed_Sofyan property:sport ?l . ?l rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q640967,P641,c(Q349))
action filter_type
action find
entity Q640967
relation P641
type Q349
Ismed Sofyan participated in [ANSWER]
['Q640967', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q640967 property:P641 ?l . ?l rdf:type ontology:Q349 }
association football
Ismed Sofyan participated in association football
association football
action filter_type
action find
entity Ismed Sofyan
relation sport
type sport
['Ismed Sofyan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Ismed_Sofyan property:sport ?l . ?l rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q221895
Q349
USER
And what about Hugo Arthuso?
(Q221895,P641,c(Q349))
action filter_type
action find
entity Q221895
relation P641
type Q349
['Q221895', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q221895 property:P641 ?y . ?y rdf:type ontology:Q349 }
Hugo Arthuso
action filter_type
action find
entity Hugo Arthuso
relation sport
type sport
['Hugo Arthuso', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Hugo_Arthuso property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Q7291
SYSTEM
badminton
Q7291
(Q221895,P641,c(Q349))
action filter_type
action find
entity Q221895
relation P641
type Q349
[ANSWER]
['Q221895', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q221895 property:P641 ?y . ?y rdf:type ontology:Q349 }
badminton
badminton
action filter_type
action find
entity Hugo Arthuso
relation sport
type sport
['Hugo Arthuso', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Hugo_Arthuso property:sport ?y . ?y rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atleast 495 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 495
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?o >= 495 ) . { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?v } }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 495
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?o >= 495 ) . { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?v } }
[]
musical instrument common name
Q5994 Q46185 Q80019
SYSTEM
piano, bass guitar, double bass
Q46185 Q80019 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 495
[ANSWERS] can atleast 495 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?o >= 495 ) . { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?v } }
bass guitar double bass piano trumpet cello violin organ drum kit
Piano, bass guitar and double bass can atleast 495 people perform with
piano bass guitar double bass
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 495
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?o >= 495 ) . { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?v } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q80019
P27 P1303
Q502895
USER
Which people knows to play double bass and are a native of United States of America ?
AND((c(Q502895),P1303,Q80019), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q80019
relation P1303
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1303', 'Q80019'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?u WHERE { ?u property:P1303 resource:Q80019 . ?u property:P27 resource:Q30 . ?u rdf:type ontology:Q502895 }
United States of America double bass
action filter_type
action intersection
action find_reverse
entity double bass
relation instrument
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'instrument', 'double bass'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?u WHERE { ?u property:instrument resource:double_bass . ?u property:country_of_citizenship resource:United_States_of_America . ?u rdf:type ontology:common_name }
[]
common name
Q5740373 Q16253400 Q17143263 Q15450954 Q6795701 Q7106334 Q457501 Q338644 Q1517259 Q4910250
SYSTEM
Some of them are Herman Wright, Larry Hurst, Tommy Williams, Andy McKee, Maximilian Dimoff, Oscar Zimmerman, Henry Lewis, John Kirby, Wyatt Ruther, Bill Moring
Q6768953 Q490275 Q4805416 Q356775 Q1248757 Q1516216 Q5084993 Q3324740 Q15453308 Q7704919 Q1840763 Q960319 Q5263034 Q5093772 Q6193452 Q2328781 Q5132128 Q1282861 Q16016389 Q1239345 Q1561194 Q204092 Q6879960 Q1351593 Q2638882 Q1936157 Q353123 Q381713 Q7343537 Q6183466 Q727217 Q4910250 Q790661 Q7815993 Q6248800 Q720184 Q1702744 Q1679584 Q19664655 Q727702 Q7582292 Q732319 Q5115334 Q695158 Q887834 Q705506 Q19666053 Q18705009 Q1174470 Q1509807 Q1674591 Q6969476 Q862263 Q3101779 Q7373186 Q497183 Q925474 Q1700848 Q712454 Q7088409 Q107432 Q457501 Q7504668 Q4719960 Q919379 Q2440951 Q2219672 Q7970052 Q1938108 Q1282964 Q7052433 Q1307952 Q1063948 Q1756516 Q517818 Q5238711 Q516358 Q7935215 Q1237564 Q5057160 Q6697277 Q1282713 Q7151852 Q1282491 Q5721396 Q1370288 Q1174823 Q1325550 Q16197911 Q16105444 Q2636848 Q254460 Q39016 Q1587954 Q1089108 Q2239470 Q368030 Q362781 Q7802873 Q453406 Q1739024 Q16095237 Q21033256 Q16079684 Q5386856 Q887868 Q7438229 Q354542 Q16825043 Q963411 Q1933466 Q1369941 Q1701758 Q7535564 Q1382200 Q573046 Q1145546 Q1443242 Q326844 Q356166 Q16011909 Q117214 Q816615 Q7172575 Q15998368 Q2347082 Q356685 Q3308390 Q6270469 Q1452362 Q546956 Q338805 Q343367 Q6208835 Q7688264 Q3420487 Q1691539 Q1752903 Q504646 Q1001724 Q1356897 Q738825 Q17143263 Q780037 Q6124163 Q1077846 Q7106334 Q8012260 Q2581484 Q1609414 Q1689315 Q6526105 Q1674908 Q1001142 Q6769466 Q2553055 Q1252565 Q727671 Q1379426 Q275250 Q16012698 Q6832233 Q1694530 Q22970099 Q513781 Q7372985 Q1681364 Q250159 Q5040164 Q347932 Q491411 Q216986 Q1089091 Q7181724 Q6795278 Q1454510 Q6662777 Q253285 Q1351706 Q2129728 Q727254 Q2924475 Q937860 Q862216 Q1501449 Q1268771 Q2139879 Q5337519 Q354046 Q2570121 Q913144 Q7176871 Q2005676 Q2623674 Q1653723 Q887788 Q5126739 Q2394268 Q7937852 Q2545763 Q862055 Q16152002 Q960935 Q7627060 Q2580222 Q818067 Q2439468 Q16194846 Q1370114 Q514985 Q2078888 Q926564 Q1017782 Q16105105 Q1089118 Q4776039 Q709321 Q1491529 Q24082552 Q1666652 Q6371728 Q4886719 Q5259015 Q3494868 Q887872 Q1686323 Q1089171 Q303375 Q1369875 Q2066063 Q930563 Q1818977 Q119925 Q6776382 Q82470 Q188150 Q828508 Q1063718 Q2119337 Q2161201 Q716877 Q15453141 Q712435 Q359853 Q1886622 Q15450954 Q1557872 Q1966092 Q356874 Q1327115 Q7929729 Q7417168 Q6178534 Q743087 Q5273118 Q707857 Q1282848 Q1176620 Q7027561 Q1691420 Q1386801 Q541659 Q933722 Q5740373 Q2567133 Q21284878 Q816415 Q525836 Q5386029 Q1517259 Q731734 Q16199166 Q456218 Q981283 Q1882498 Q764843 Q1351712 Q487223 Q5230402 Q7381229 Q1282347 Q610453 Q1374878 Q238705 Q1052331 Q1349875 Q7597838 Q1414840 Q3160969 Q4888964 Q466198 Q7442533 Q5287053 Q6438148 Q950919 Q5407439 Q4993347 Q711951 Q1444328 Q862667 Q976575 Q7349841 Q6828570 Q2636157 Q1385981 Q340063 Q1242049 Q2302253 Q354026 Q16253400 Q1074510 Q319283 Q892821 Q2422146 Q7437064 Q16014088 Q773205 Q16980403 Q1268435 Q1677101 Q434593 Q1277670 Q15485334 Q15485332 Q1375699 Q725362 Q4978203 Q1900029 Q6173397 Q939947 Q1116147 Q728180 Q1251883 Q488356 Q888088 Q1017862 Q16750622 Q921817 Q888083 Q6312250 Q1382416 Q1738960 Q6795701 Q355704 Q8023153 Q6858519 Q4864278 Q863242 Q615504 Q6524750 Q5995684 Q2407789 Q357529 Q16216606 Q727189 Q5525810 Q5393267 Q17125346 Q20740653 Q15487893 Q1145626 Q1045448 Q5105847 Q2574351 Q2457409 Q710163 Q1040657 Q5648486 Q5648480 Q598368 Q4802386 Q2979733 Q126326 Q327053 Q338644 Q6773688 Q1559251 Q6137897 Q2491954 Q1739880 Q178028 Q1878890 Q343903 Q16996599 Q1672319 Q1739032 Q6209163 Q493803 Q1174421 Q719759 Q16730103 Q5309925 Q5308826 Q32363 Q5384769 Q432301 Q6984196 Q1691595 Q1101593 Q5640914 Q816606 Q7817910 Q984085 Q2174804 Q956634 Q1714736 Q5926621 Q716851 Q861962
AND((c(Q502895),P1303,Q80019), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q80019
relation P1303
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWERS] know to play double bass and are a native of United States of America
{'AND': [[{'concept': 'Q502895'}, 'P1303', 'Q80019'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?u WHERE { ?u property:P1303 resource:Q80019 . ?u property:P27 resource:Q30 . ?u rdf:type ontology:Q502895 }
Mark Morton Eugene Wright Ashley Dzerigian Don Bagley Jimmy Butts Teddy Smith Charlie Harris Moses Allen Beverly Peer Terry Plumeri Amy LaVere Greg Cohen Derrick Hodge Chester Zardis Jim Aton Stafford James Cleveland Eaton Eddie Khan Floyd Chance Don Moore Larry Gales Willie Dixon Missy Raines Eric Revis Albert Stinson Min Leibrook Addison Farmer Truck Parham Robert Dickson Jerry DeVore Gene Ramey Bill Moring Avery Sharpe Tom Gray John Miller Al McKibbon Jon Burr Robert Hurst Nedra Johnson Jimmy Garrison Squire Gersh Christian McBride Chuck Andrus Arnold Fishkind Bob Carter Art Davis Ernie Newton Kate Davis David Friesen Gerald Cannon Israel Crosby Nathaniel Ayers Bill Lee George Morrow Roy Mitchell-Cárdenas Oscar Pettiford Rob Wasserman John Lindberg Artie Shapiro Olly Wilson Charles Mingus Jr. Henry Lewis Shug Fisher Quinn Wilson Chris Lightcap Tommy Bryant Duke Groner Warren Benfield Steve Rodby Eddie Safranski Norman Keenan Jack Gregg Charles Clark Ronnie Boykins Trevor Dunn David Price Monty Budwig Virtue Hampton Whitted Dominic Duval Cedric Wallace Lucille Dixon Robertson Eddie Calhoun Paul Kowert Ed Schuller Henry Ford George Duvivier David Izenzon Eldee Young Bill Benford Steve Novosel Alan Silva Aaron Bell Joe Benjamin Harvie S Chuck Deardorf Placide Adams Makanda Ken McIntyre Andy Simpkins Tillman Franks Stanley Clarke Kent Carter John Lamb Wesley Prince Walter Buchanan Eric Judy Bob Cranshaw Scotty Holt Ray Brown Bob Bushnell John Jorgenson Mike Richmond Tommy Potter John Simmons Skinny Dennis Walter Page Anthony Cox Curtis Counce Frank Fields Bob Moore Teddy Kotick Ali Jackson Cameron Brown Ben Tucker Peter Askim Charlie Drayton Steve LaSpina Max Bennett Michael Moore Jon Button Fred Hopkins James Jamerson George Tucker Glen Moore Joe Buck Tatsu Aoki Ray Campi Joe Mondragon Michael Moore John Patitucci Buell Neidlinger Ernie Farrow Chris Wood Tommy Williams Reggie Workman Jair-Rôhm Parker Wells Chris White Oscar Zimmerman William Herbert York Willie Ruff Herbie Lewis Jimmy Bond Leonardo Valvassori Vernon Alley Buddy Catlett Mark Robertson Wayne Dockery Wendell Marshall Harry Babasin Ray Drummond Sam Jones William Oscar Smith Michael Lewis Julian Euell Michael Janisch Frederick Zimmermann Roy Huskey, Jr. Jamey Aebersold Kermit Driscoll Carl Frederick Tandberg Red Mitchell Milt Hinton Tony Levin Chuck Berghofer Phil Bowler Max Stern Jiunie Booth Lloyd Trotman John Clayton Sid Weiss Ralph Peña John Ore Brent Harding Tony Garnier William Manuel Johnson Gene Taylor Dylan Taylor Reid Anderson Edgar Willis Nelson Boyd Wilber Morris Brian Torff Peter Seymour Pops Foster Al Hall Todd Coolman Bob Bates Clarence Seay Tarik Shah Vivien Garry Walter Payton Bill Daily Tim Hauff Jazze Pha Stuart Sankey William Parker Benny Moten Tom Abbs Ugonna Okegwo Slam Stewart Les Claypool Peter Washington Walter Booker Buster Williams Marshall Hawkins Chuck Domanico Anton Torello Bob Haggart James Singleton Jane Little Spanky DeBrest Karl E. H. Seigfried Ben Wolfe Dennis Trembly Tom Fowler Bob Cunningham Jeff Johnson Chuck Metcalf Jay Leonhart Red Callender Peck Morrison Larry Grenadier Leonard Gaskin Pete Briggs Martin Pizzarelli Steve Brown Sirone Bertram Turetzky Charlie Biddle Putter Smith Rodney Whitaker Lonnie Plaxico Frank Proto Artie Bernstein Norman Bates Malachi Favors Andy McKee Victor Sproles Nat Towles Leroy Vinnegar Joe B. Mauldin Viktor Krauss Sandy Block Jennifer Leitham Junior Raglin Dick Lammi Scott LaFaro Eddie Jones David Shapiro Nick Monteleone Joe Fonda James Genus Paul Chambers Hayes Alvis Herman Wright Whitey Mitchell Luques Curtis Ben Allison Andy Gonzalez Eric André Wyatt Ruther Edgar Meyer Tuff Green Emile Christian Percy Heath Mac Wiseman Nathan East Eric Von Essen Victor Gaskin David "Buck" Wheat Russ Savakus Ed Garland Howard Rumsey John Levy Esperanza Spalding Cecil McBee Jimmy Woode Stan Puls Reggie Johnson James Cammack Benjamin Levy Gary Peacock Sebastian Steinberg Doc Goldberg Kristin Korb Wilbur Little Eugene Levinson Tom Kennedy Gary Karr Frank Tusa Bill Yancey Kyle Eastwood Robert Sledge Michael Benjamin Nigrin Al Morgan Gene Cherico Wilbur Ware Alex Blake Sonny Dallas Jamil Nasser Larry Hurst Chip Jackson Charlie Haden Bonnie Wetzel Big Miller Scott Pingel John Mosher Alcide Pavageau Doles Dickens Dwayne Burno Jack Lesberg Ron Carter Marshall Grant Morty Corb Walt Yoder Marc Johnson Louis Nelson Delisle Bruce Ridge Mark Dresser Jeff Bradetich Jimmy Blanton Drew Gress Ron McClure Doug Watkins Wellman Braud Bob Maize Butch Warren Ernest "Big" Crawford Santi Debriano Bob Magnusson June Cole Ike Isaacs Kenny Davis Maximilian Dimoff Michael Formanek Wilson Myers Millard Powers Barry Green Billy Taylor Scott Colley Leon Lee Dorsey Ike Sturm Louis Johnson Monk Montgomery Jeff Irwin Chuck Israels Gary Raynor Ernest Hill Ted Sturgis Abe Bolar Henry Franklin Curtis Lundy Carson Smith Chris Bates Lee Rocker Thelma Terry Charnett Moffett Carl Smith Hank Wayland Hank Van Sickle Chubby Jackson Arvell Shaw Mark Izu Mark Helias Barre Phillips John Kirby Marshall Lytle Ken Filiano James Leary Eddie Gibbs Keter Betts Vinnie Burke Lynn Seaton Bill Crow Iggy Shevak Ira Coleman Kent Kessler Joe Comfort Charles Fambrough David Finck Henry Grimes Alvin Jackson Ray Leatherwood Papa John Joseph Major Holley Nat Reeves Saheb Sarbib Neal Starkey Joe Shulman Clint Houston Hal Robinson Ben Street Tom V. Ray Dennis Irwin Rufus Reid Curley Russell Jymie Merritt Hub Richard Davis Bill Black
Herman Wright, Larry Hurst, Tommy Williams, Andy McKee, Maximilian Dimoff, Oscar Zimmerman, Henry Lewis, John Kirby, Wyatt Ruther and Bill Moring know to play double bass and are a native of United States of America
Herman Wright Larry Hurst Tommy Williams Andy McKee Maximilian Dimoff Oscar Zimmerman Henry Lewis John Kirby Wyatt Ruther Bill Moring
action filter_type
action intersection
action find_reverse
entity double bass
relation instrument
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'instrument', 'double bass'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?u WHERE { ?u property:instrument resource:double_bass . ?u property:country_of_citizenship resource:United_States_of_America . ?u rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q23752771
P725
Q502895 Q386724
USER
How many works did approximately the same number of people dub for as Iron Man ?
(c(Q386724),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q23752771
relation P725
type Q386724
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?q ) WHERE { ?x property:P725 ?s . ?x rdf:type ontology:Q386724 . ?s rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q23752771 property:P725 ?r . ?r rdf:type ontology:Q386724 } } . FILTER ( ?q = ?h ) }
Iron Man
action count
action approx
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Iron Man
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?q ) WHERE { ?x property:voice_actor ?s . ?x rdf:type ontology:work . ?s rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Iron_Man property:voice_actor ?r . ?r rdf:type ontology:work } } . FILTER ( ?q = ?h ) }
[]
common name work
SYSTEM
12
Q26987217 Q26331781 Q26701981 Q23752771 Q27627540 Q26712000 Q26390366 Q26299860 Q26457246 Q26301623 Q26829863 Q23894983
(c(Q386724),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q23752771
relation P725
type Q386724
[ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?q ) WHERE { ?x property:P725 ?s . ?x rdf:type ontology:Q386724 . ?s rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q23752771 property:P725 ?r . ?r rdf:type ontology:Q386724 } } . FILTER ( ?q = ?h ) }
Hércules y la visita de Zeus Hércules y el examen de conducir Hércules y el grifo Iron Man Doctor Strange (Doctor Extraño) Hércules y los Tecno-Griegos Hércules y el rey de Tesalia Hércules y el primer médico del mundo Hércules y el arma secreta Hércules y el primer día de escuela Angry Birds: La película Iron Man 2
12
action count
action approx
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Iron Man
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?q ) WHERE { ?x property:voice_actor ?s . ?x rdf:type ontology:work . ?s rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Iron_Man property:voice_actor ?r . ?r rdf:type ontology:work } } . FILTER ( ?q = ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q23894983
P725
Q502895 Q386724
USER
And what about Iron Man 2?
(c(Q386724),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q23894983
relation P725
type Q386724
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?x ) WHERE { ?o rdf:type ontology:Q386724 . ?v rdf:type ontology:Q502895 . ?o property:P725 ?v } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i rdf:type ontology:Q386724 . resource:Q23894983 property:P725 ?i } } . FILTER ( ?x = ?r ) }
Iron Man 2
action count
action approx
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Iron Man 2
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?x ) WHERE { ?o rdf:type ontology:work . ?v rdf:type ontology:common_name . ?o property:voice_actor ?v } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i rdf:type ontology:work . resource:Iron_Man_2 property:voice_actor ?i } } . FILTER ( ?x = ?r ) }
[]
common name work
SYSTEM
12
Q26987217 Q26331781 Q26701981 Q23752771 Q27627540 Q26712000 Q26390366 Q26299860 Q26457246 Q26301623 Q26829863 Q23894983
(c(Q386724),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q23894983
relation P725
type Q386724
[ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?x ) WHERE { ?o rdf:type ontology:Q386724 . ?v rdf:type ontology:Q502895 . ?o property:P725 ?v } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i rdf:type ontology:Q386724 . resource:Q23894983 property:P725 ?i } } . FILTER ( ?x = ?r ) }
Hércules y la visita de Zeus Hércules y el examen de conducir Hércules y el grifo Iron Man Doctor Strange (Doctor Extraño) Hércules y los Tecno-Griegos Hércules y el rey de Tesalia Hércules y el primer médico del mundo Hércules y el arma secreta Hércules y el primer día de escuela Angry Birds: La película Iron Man 2
12
action count
action approx
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Iron Man 2
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?x ) WHERE { ?o rdf:type ontology:work . ?v rdf:type ontology:common_name . ?o property:voice_actor ?v } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i rdf:type ontology:work . resource:Iron_Man_2 property:voice_actor ?i } } . FILTER ( ?x = ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4910250
P136
Q151885
USER
Which concept can be considered as genre of Bill Moring ?
(Q4910250,P136,c(Q151885))
action filter_type
action find
entity Q4910250
relation P136
type Q151885
['Q4910250', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q151885 . resource:Q4910250 property:P136 ?b }
Bill Moring
action filter_type
action find
entity Bill Moring
relation genre
type concept
['Bill Moring', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:concept . resource:Bill_Moring property:genre ?b }
[]
concept
Q8341
SYSTEM
jazz
Q8341
(Q4910250,P136,c(Q151885))
action filter_type
action find
entity Q4910250
relation P136
type Q151885
[ANSWER] can be considered as genre of Bill Moring
['Q4910250', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q151885 . resource:Q4910250 property:P136 ?b }
jazz
Jazz can be considered as genre of Bill Moring
jazz
action filter_type
action find
entity Bill Moring
relation genre
type concept
['Bill Moring', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:concept . resource:Bill_Moring property:genre ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q338644
P264
Q334453
USER
What is the record label of John Kirby ?
(Q338644,P264,c(Q334453))
action filter_type
action find
entity Q338644
relation P264
type Q334453
['Q338644', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?k WHERE { resource:Q338644 property:P264 ?k . ?k rdf:type ontology:Q334453 }
John Kirby
action filter_type
action find
entity John Kirby
relation record label
type division
['John Kirby', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?k WHERE { resource:John_Kirby property:record_label ?k . ?k rdf:type ontology:division }
[]
division
Q2858450
SYSTEM
Apollo Records
Q2858450
(Q338644,P264,c(Q334453))
action filter_type
action find
entity Q338644
relation P264
type Q334453
The record label of John Kirby is the [ANSWER]
['Q338644', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?k WHERE { resource:Q338644 property:P264 ?k . ?k rdf:type ontology:Q334453 }
Apollo Records
The record label of John Kirby is the Apollo Records
Apollo Records
action filter_type
action find
entity John Kirby
relation record label
type division
['John Kirby', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?k WHERE { resource:John_Kirby property:record_label ?k . ?k rdf:type ontology:division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q338644
P106
Q12737077
USER
Which occupations are the professions of John Kirby ?
(Q338644,P106,c(Q12737077))
action filter_type
action find
entity Q338644
relation P106
type Q12737077
['Q338644', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q338644 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
John Kirby
action filter_type
action find
entity John Kirby
relation occupation
type occupation
['John Kirby', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:John_Kirby property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q15981151 Q806349 Q158852
SYSTEM
jazz musician, bandleader, conductor
Q15981151 Q806349 Q158852
(Q338644,P106,c(Q12737077))
action filter_type
action find
entity Q338644
relation P106
type Q12737077
The professions of John Kirby are a [ANSWERS]
['Q338644', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q338644 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
jazz musician bandleader conductor
The professions of John Kirby are a jazz musician, bandleader and conductor
jazz musician bandleader conductor
action filter_type
action find
entity John Kirby
relation occupation
type occupation
['John Kirby', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:John_Kirby property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5479435
P106
Q502895
USER
Do Francesco Maria Bonini have career as those occupations ?
(Q5479435,P106,Q15981151) (Q5479435,P106,Q806349) (Q5479435,P106,Q158852)
action is_in
entity prev_answer
action find
entity Q5479435
relation P106
['Q5479435', 'P106', 'Q15981151'] ['Q5479435', 'P106', 'Q806349'] ['Q5479435', 'P106', 'Q158852']
ASK WHERE { VALUES ( ?u ) { ( resource:Q15981151 ) ( resource:Q806349 ) ( resource:Q158852 ) } . resource:Q5479435 property:P106 ?u }
Francesco Maria Bonini
action is_in
entity prev_answer
action find
entity Francesco Maria Bonini
relation occupation
['Francesco Maria Bonini', 'occupation', 'jazz musician'] ['Francesco Maria Bonini', 'occupation', 'bandleader'] ['Francesco Maria Bonini', 'occupation', 'conductor']
ASK WHERE { VALUES ( ?u ) { ( resource:jazz_musician ) ( resource:bandleader ) ( resource:conductor ) } . resource:Francesco_Maria_Bonini property:occupation ?u }
[]
common name
SYSTEM
NO
(Q5479435,P106,Q15981151) (Q5479435,P106,Q806349) (Q5479435,P106,Q158852)
action is_in
entity prev_answer
action find
entity Q5479435
relation P106
[ANSWER]
['Q5479435', 'P106', 'Q15981151'] ['Q5479435', 'P106', 'Q806349'] ['Q5479435', 'P106', 'Q158852']
ASK WHERE { VALUES ( ?u ) { ( resource:Q15981151 ) ( resource:Q806349 ) ( resource:Q158852 ) } . resource:Q5479435 property:P106 ?u }
No
action is_in
entity prev_answer
action find
entity Francesco Maria Bonini
relation occupation
['Francesco Maria Bonini', 'occupation', 'jazz musician'] ['Francesco Maria Bonini', 'occupation', 'bandleader'] ['Francesco Maria Bonini', 'occupation', 'conductor']
ASK WHERE { VALUES ( ?u ) { ( resource:jazz_musician ) ( resource:bandleader ) ( resource:conductor ) } . resource:Francesco_Maria_Bonini property:occupation ?u }
[]