Simple Question (Direct)
Simple Question
Q15814877
P39
Q12737077
USER
Which occupation was a position held by Heinrich Westfal ?
(Q15814877,P39,c(Q12737077))
action filter_type
action find
entity Q15814877
relation P39
type Q12737077
['Q15814877', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q15814877 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
Heinrich Westfal
action filter_type
action find
entity Heinrich Westfal
relation position held
type occupation
['Heinrich Westfal', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Heinrich_Westfal property:position_held ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q708492
SYSTEM
councillor
Q708492
(Q15814877,P39,c(Q12737077))
action filter_type
action find
entity Q15814877
relation P39
type Q12737077
The [ANSWER] was a position held by Heinrich Westfal
['Q15814877', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q15814877 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
councillor
The councillor was a position held by Heinrich Westfal
councillor
action filter_type
action find
entity Heinrich Westfal
relation position held
type occupation
['Heinrich Westfal', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Heinrich_Westfal property:position_held ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q708492
P106
Q502895
USER
Who have a job as that occupation ?
(c(Q502895),P106,Q708492)
action filter_type
action find_reverse
entity Q708492
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q708492']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P106 resource:Q708492 }
councillor
action filter_type
action find_reverse
entity councillor
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'councillor']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:occupation resource:councillor }
[]
common name
Q7387725 Q15989988 Q90533
SYSTEM
S. O. Davies, Hugh Franklin, Rudi Pawelka
Q6831818 Q6232947 Q19776209 Q17047280 Q17022238 Q12022633 Q8001983 Q23908507 Q6387718 Q7659720 Q16014394 Q4685721 Q1342080 Q25917006 Q2716441 Q7615170 Q5700022 Q24040723 Q5129278 Q1984776 Q23901335 Q4963401 Q23908514 Q23765472 Q17505072 Q15989988 Q15733509 Q23908459 Q1085158 Q7346429 Q1784955 Q11912412 Q5110963 Q23722835 Q24877317 Q1411485 Q5930286 Q22575367 Q25403798 Q7609931 Q21877507 Q4717407 Q25106981 Q4892191 Q2468662 Q1442695 Q21529239 Q1080660 Q16728179 Q7177382 Q22893959 Q15438829 Q2137612 Q23908965 Q7363926 Q16221356 Q1459050 Q3249062 Q11216063 Q15431885 Q4777674 Q23732273 Q26903901 Q6787208 Q11692631 Q18341589 Q15428951 Q1910176 Q23061316 Q7416653 Q23908963 Q1687064 Q25106842 Q2078548 Q2696117 Q1350989 Q23765836 Q13422446 Q15435859 Q26769575 Q18626306 Q22958294 Q1561938 Q1230272 Q5111164 Q25106972 Q5667566 Q90533 Q23722885 Q4708696 Q7387725 Q7329769 Q734492 Q1401188 Q11681819 Q16766285 Q6205978 Q22575326 Q26822072 Q2888552 Q5526189 Q1359172 Q15438758 Q17306267 Q1693809 Q12264899 Q16888117 Q5606139 Q6148402 Q19295021 Q12053097 Q11293036 Q23765512 Q2589705 Q1991842 Q1598683
(c(Q502895),P106,Q708492)
action filter_type
action find_reverse
entity Q708492
relation P106
type Q502895
[ANSWERS] have a job as that occupation
[{'concept': 'Q502895'}, 'P106', 'Q708492']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P106 resource:Q708492 }
Michael Kelly John Fenty John Inglis Manel Ferré i Montañés Natalie Suleyman Jan Jílek Wilfrid Roberts Jaroslav Hejl Ken Guild Syd Rapson William Parker Henson Adrienne Ryan Engelhard von Nathusius Jitka Volfová Henning Bardenwerper Steven Purcell Antonio Vallejo Alberola Jules Coste Claudia Webbe Nicholas Ball Arnold Wlome Brian Coleman Lumír Kantor Pavel Himl Eve Dutton Hugh Franklin Kees IJmkers Jiří Čejka Christoph Herwart Robert Knox Matthäus Schlüter Carles Martí i Jufresa Christine Caughey Jiří Peřina Jindřich Bláha Nikolaus von Bismarck Hugh Casey Jiří Štěpán Marcel Hájek Stephen Mayne Tomáš Bouzek Alex MacLeod Jan Tvrdík Odón Elorza González Casper Willem de Sauvage Nolting Francois de Vroede Radek Popelka Christian Koppe Robin D. Cook Peter Tripodi Vlastislav Navrátil Valentin Heider Theodoricus Lyndemann Anna Hubáčková Ron Hoenig John Paul Jenkins Nicol Römer José Sarria Rafael Guerra del Río Helga Lange Antônio Vicente da Fontoura Šárka Jelínková Jean-François Quivogne Mathieu Eugene Miguel Barrachina Patrik Nacher Johann Daniel Reutern Matthias Naeff Johann Christoph Weigel Sandra Kabir Věra Ježková Jenny Randerson Ivan Doležal Peter Stromer Franz Carl Egloff Erhart Griesser Martin Mach Xabier de Antoñana Johann Heinrich Schröder Camille Dunant Johann Christian Schröder Jaromíra Vítková Veit Schnorr Johann Erasmus Senckenberg Christine Rose Jiří Brdlík Alfredo C. Ortiz Rudi Pawelka Vladimír Ninger Alastair Cranston S. O. Davies Richard Waldron Pascal Smet Jacob van den Eynde Fernando Castelló Alberto Garre Joanna Strathdee František Gábor Guido Reil Sergio Puyol Gary Womersley Ernst Lange Eberhard Heinrich Löhr Jim McMahon Johann Georg Ehrlich Nora Galparsoro Anton Thurler Greg Piper Tomás Alba Lucas von Spreckelsen Mary Barbour Henri Longville Jakub Lepš Wolfgang Glaner Nikolaus von the Lippe Heinrich Saff
S. O. Davies, Hugh Franklin and Rudi Pawelka have a job as that occupation
S. O. Davies Hugh Franklin Rudi Pawelka
action filter_type
action find_reverse
entity councillor
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'councillor']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:occupation resource:councillor }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15989988
P1399
Q18123755
USER
Which deed was that person sentenced for ?
(Q15989988,P1399,c(Q18123755))
action filter_type
action find
entity Q15989988
relation P1399
type Q18123755
['Q15989988', 'P1399', {'concept': 'Q18123755'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q18123755 . resource:Q15989988 property:P1399 ?j }
Hugh Franklin
action filter_type
action find
entity Hugh Franklin
relation convicted of
type deed
['Hugh Franklin', 'convicted of', {'concept': 'deed'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:deed . resource:Hugh_Franklin property:convicted_of ?j }
[]
deed
Clarification for simple ques.
Q7387725
SYSTEM
Did you mean S. O. Davies ?
Q7387725 Q15989988 Q90533
(Q7387725,P1399,c(Q18123755)) (Q15989988,P1399,c(Q18123755)) (Q90533,P1399,c(Q18123755))
[ANSWER]
['Q7387725', 'P1399', {'concept': 'Q18123755'}] ['Q15989988', 'P1399', {'concept': 'Q18123755'}] ['Q90533', 'P1399', {'concept': 'Q18123755'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q18123755 . resource:Q15989988 property:P1399 ?j }
S. O. Davies Hugh Franklin Rudi Pawelka
Did you mean S. O. Davies ?
S. O. Davies
['S. O. Davies', 'convicted of', {'concept': 'deed'}] ['Hugh Franklin', 'convicted of', {'concept': 'deed'}] ['Rudi Pawelka', 'convicted of', {'concept': 'deed'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:deed . resource:Hugh_Franklin property:convicted_of ?j }
[]
Simple Question (Coreferenced)
USER
No, I meant Hugh Franklin. Could you tell me the answer for that?
(Q15989988,P1399,c(Q18123755))
Q15989988
['Q15989988', 'P1399', {'concept': 'Q18123755'}]
['Hugh Franklin', 'convicted of', {'concept': 'deed'}]
[]
Q365680
SYSTEM
assault
Q365680
(Q15989988,P1399,c(Q18123755))
action filter_type
action find
entity Q15989988
relation P1399
type Q18123755
That person was sentenced for [ANSWER]
['Q15989988', 'P1399', {'concept': 'Q18123755'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q18123755 . resource:Q15989988 property:P1399 ?j }
assault
That person was sentenced for assault
assault
action filter_type
action find
entity Hugh Franklin
relation convicted of
type deed
['Hugh Franklin', 'convicted of', {'concept': 'deed'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:deed . resource:Hugh_Franklin property:convicted_of ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q365680
P1399
Q502895
USER
Which people were convicted of that deed ?
(c(Q502895),P1399,Q365680)
action filter_type
action find_reverse
entity Q365680
relation P1399
type Q502895
[{'concept': 'Q502895'}, 'P1399', 'Q365680']
SELECT DISTINCT ?e WHERE { ?e property:P1399 resource:Q365680 . ?e rdf:type ontology:Q502895 }
assault
action filter_type
action find_reverse
entity assault
relation convicted of
type common name
[{'concept': 'common name'}, 'convicted of', 'assault']
SELECT DISTINCT ?e WHERE { ?e property:convicted_of resource:assault . ?e rdf:type ontology:common_name }
[]
common name
Q180962 Q164521 Q44221
SYSTEM
Norman Mailer, George Best, Sean Penn
Q16191287 Q5526046 Q5220202 Q5562500 Q1079325 Q467409 Q2916075 Q202329 Q3243839 Q3699686 Q164521 Q708729 Q2221933 Q4149606 Q467216 Q467961 Q6409909 Q47159 Q5769240 Q5224996 Q6794630 Q3048634 Q11885 Q7147673 Q18978103 Q4500461 Q318204 Q164119 Q2657574 Q1154246 Q2121910 Q15989988 Q8003201 Q18208036 Q103939 Q3935051 Q1708504 Q6660716 Q199369 Q7436475 Q296822 Q44473 Q16195150 Q2345201 Q458508 Q862635 Q925115 Q5214235 Q7052771 Q44221 Q2743732 Q16739756 Q180962 Q3018627 Q372502 Q6200072 Q7831728 Q6500843 Q155700 Q3034864 Q437391 Q2064316 Q653935 Q7323688 Q4776162 Q8021572 Q7489322 Q5992412 Q4717523 Q7595845 Q1165563 Q242620 Q10588 Q6186153 Q7447835 Q15897 Q1616713 Q6135803 Q560440 Q3056728 Q312883 Q2658592 Q6078 Q16201702 Q5483660 Q3399609 Q5254507 Q6266649 Q6264876 Q16849238 Q15070192 Q2334039 Q3942138 Q16218750 Q1384898 Q6776861 Q2819691 Q14950350 Q4117001 Q4989634 Q2561495 Q7325446 Q6125007 Q750364 Q5545806 Q15455644 Q1325716 Q3161506 Q59185 Q79031 Q1064607 Q62766 Q6767836 Q2458070 Q16730886 Q8026129 Q214227 Q313367 Q368694 Q449634 Q230754 Q5181512 Q2332259 Q503110 Q557801 Q1930632 Q1607670 Q5108554 Q449245 Q7703615 Q388785 Q7273527 Q4964877 Q336924 Q5075552 Q7328753 Q6282955 Q7822775 Q6183039 Q6107 Q49264 Q5246142 Q76532 Q6279315 Q206032 Q315294 Q673854 Q2157710 Q598162 Q3640058 Q8058221 Q6147586 Q18421919 Q5950 Q159159 Q455880 Q6834648 Q167291 Q1664533 Q6106177 Q707032 Q7608901 Q6775114 Q5409776 Q5610976 Q6171002 Q6195254 Q4866662 Q784690 Q6500922 Q7847104 Q7350883 Q16195044 Q928167 Q715589 Q337869 Q347368 Q5222351 Q887533 Q7933536 Q6289726 Q248207 Q4764102 Q529328 Q1199995 Q1699615 Q44313 Q204590 Q708620 Q7344050 Q3314524 Q2386801 Q7701918 Q212772 Q465623 Q2428420 Q6514585 Q4805369 Q14766928 Q366719 Q1101616 Q967157 Q22338792 Q5191280 Q16187263 Q6535367 Q5660284 Q1702383 Q5185874 Q32219 Q452772 Q720722 Q6969523 Q939240 Q6270455 Q2624994 Q265429 Q16106590 Q3814407
(c(Q502895),P1399,Q365680)
action filter_type
action find_reverse
entity Q365680
relation P1399
type Q502895
[ANSWERS] were convicted of that deed
[{'concept': 'Q502895'}, 'P1399', 'Q365680']
SELECT DISTINCT ?e WHERE { ?e property:P1399 resource:Q365680 . ?e rdf:type ontology:Q502895 }
Martin Smith Gary Taylor Danny Cadamarteri Gilmer Hernandez Matt Wiese Tommy Morrison Dresta Joey Barton Diane Downs Curtis Warren George Best George Burdi Derren Nesbitt Vaughn Greenwood Amy Fisher Assata Shakur Kimberly Clark Saenz Nate Dogg Hiram Monserrate Darren Jones Max Butler Edward Paisnel Axl Rose Patrick Sookhdeo Stinson Hunter Robert Hawkins Floyd Mayweather Mark Wahlberg Brett Rogers DJ Quik Angelo Buono Hugh Franklin Will Wynn Shannon Torrez Charlie Sheen Ricky Manning Josh Homme Lizzie Grubman Naomi Campbell Scott Harrison Vinnie Jones O. J. Simpson Catherine Kieu Tommy Robinson Luis Resto Bill Walker Shelley Malil Dan Quinn Norman Scarth Sean Penn Adam Yahiye Gadahn Execution of Clayton Lockett Norman Mailer David Pipe Robert Black Jimmy Elliott Tracy E. Perkins Laurence Powell Chris Brown Dominic Noonan Shawty Lo Paul Daley Scott Bairstow Richard Allen Minsky Antoni Imiela Willie Horton Shaquanda Cotton Ignacio Ramos Alex Mosson Stacey Koon Dappy Foxy Brown Marlon King Jesse Birdsall Selena M. Salcedo Amy Winehouse Jayson Williams James Healey Gary Gilmore Maulana Karenga Boy George Rodney Alcala Dr. Dre James Upchurch Francisco Martin Duran Gary Madine Delroy Easton Grant Johnny Edgecombe John Worboys Robert Jackson Peter Roebuck Larry Johnson Ruben Patterson Jared Remy Hussein Fatal Martin Webster Panama Lewis Lawrence Phillips Ivan Frederick Sally Salisbury Isaiah Rider Richard Edmonds Jake Speight Eric Joyce George Waldegrave, 7th Earl Waldegrave Paul Ferris Eldridge Cleaver James von Brunn Busta Rhymes Mike Tyson Charles Graner Jay Z Mark Guardado Lee Hughes Kirk Reid Winston Silcott T.I. Gary Coleman Vincent Flemmi Da Brat Lady Sovereign Craig Sweeney Marvin Barnes Robert Stroud Whitey Bulger Richard Reid James Butler Chris Zebroski Alvin Robertson Terri Rachals Flavor Flav R. C. Soles, Jr. Brian Nichols Ol' Dirty Bastard Charles Bennett Richard Rossi Joseph F. Brennan Tony Lecomber Jerramy Stevens Tupac Shakur Lisa Nowak Dean Faiello William Joyce Jose Compean Erik Stighall Danny Simpson Stephen Hepburn Bobbie Joe Long Buddy Cianci Billy Ray Bates Young Lee Jamie Vardy Joshua Bonehill James Brown Andy Carroll Suge Knight Michael Stone Bez José Padilla J. James Marzilli, Jr. Richard Angelo Stephen Clancy Hill Martin Cardinal Eunice Spry Lee Collins Sanyika Shakur Jim Goad Baseline Killer Richard Allen Davis Laurence Westgaph Tru Life Robert Waterman Nino Durden David Goodwillie Kelvin Etuhu Stephen Donaldson Immortal Technique Darcus Howe Gary Charles Willie Sutton Joshua Claus Rick James Angus Diggle Alex Higgins Dereck Chisora John Christie Stone Cold Steve Austin Christian Slater Slick Rick Robert Elmer Kleason Milton Bradley Ian Watkins Terence Hogan Cheryl Fernandez-Versini Duncan Ferguson Chopper Read Lee Molyneux Ashley Blake Lum You GG Allin Josh Payne Charles Salvador Gordon Goody Crystal Mangum Mick Philpott Levi Bellfield Harold Challenor Johnny Paycheck Cris Kirkwood Jan Vapaavuori Rubin Carter Pimp C Nathaniel Brazill Oliver Miller Jon Burge Colin Pitchfork Bruce Reynolds John Cooper Kelly Ryan
Norman Mailer, George Best and Sean Penn were convicted of that deed
Norman Mailer George Best Sean Penn
action filter_type
action find_reverse
entity assault
relation convicted of
type common name
[{'concept': 'common name'}, 'convicted of', 'assault']
SELECT DISTINCT ?e WHERE { ?e property:convicted_of resource:assault . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q180962
P551
Q56061 Q852446
USER
How many administrative territories and US administrative territories did Norman Mailer live ?
(Q180962,P551,c(Q56061)) (Q180962,P551,c(Q852446))
action count
action union
action filter_type
action find
entity Q180962
relation P551
type Q56061
action filter_type
action find
entity Q180962
relation P551
type Q852446
['Q180962', 'P551', {'concept': 'Q56061'}] ['Q180962', 'P551', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { VALUES ( ?s ) { ( ontology:Q852446 ) ( ontology:Q56061 ) } . ?u rdf:type ?s }
Norman Mailer
action count
action union
action filter_type
action find
entity Norman Mailer
relation residence
type administrative territorial entity
action filter_type
action find
entity Norman Mailer
relation residence
type administrative territorial entity of the United States
['Norman Mailer', 'residence', {'concept': 'administrative territorial entity'}] ['Norman Mailer', 'residence', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { VALUES ( ?s ) { ( ontology:administrative_territorial_entity_of_the_United_States ) ( ontology:administrative_territorial_entity ) } . ?u rdf:type ?s }
[]
administrative territorial entity administrative territorial entity of the United States
SYSTEM
2 administrative territories and 2 US administrative territories
Q995231 Q49154 Q18419 Q1408
(Q180962,P551,c(Q56061)) (Q180962,P551,c(Q852446))
action count
action union
action filter_type
action find
entity Q180962
relation P551
type Q56061
action filter_type
action find
entity Q180962
relation P551
type Q852446
[ANSWER]
['Q180962', 'P551', {'concept': 'Q56061'}] ['Q180962', 'P551', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { VALUES ( ?s ) { ( ontology:Q852446 ) ( ontology:Q56061 ) } . ?u rdf:type ?s }
Long Branch Provincetown Brooklyn New Jersey
2 administrative territories and 2 US administrative territories
action count
action union
action filter_type
action find
entity Norman Mailer
relation residence
type administrative territorial entity
action filter_type
action find
entity Norman Mailer
relation residence
type administrative territorial entity of the United States
['Norman Mailer', 'residence', {'concept': 'administrative territorial entity'}] ['Norman Mailer', 'residence', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { VALUES ( ?s ) { ( ontology:administrative_territorial_entity_of_the_United_States ) ( ontology:administrative_territorial_entity ) } . ?u rdf:type ?s }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q386724
USER
Which works had max number of people as the dubbing artist ?
(c(Q386724),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q386724
type Q502895
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?l ) { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?q ) WHERE { ?z property:P725 ?u . ?u rdf:type ontology:Q502895 . ?z rdf:type ontology:Q386724 } GROUP BY ?z } } . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?y ) WHERE { ?j property:P725 ?m . ?j rdf:type ontology:Q386724 . ?m rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?y = ?l ) }
action argmax
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?l ) { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?q ) WHERE { ?z property:voice_actor ?u . ?u rdf:type ontology:common_name . ?z rdf:type ontology:work } GROUP BY ?z } } . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?y ) WHERE { ?j property:voice_actor ?m . ?j rdf:type ontology:work . ?m rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?y = ?l ) }
[]
common name work
Q26331781
SYSTEM
Hércules y el examen de conducir
Q26331781
(c(Q386724),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q386724
type Q502895
[ANSWER] had max number of people as the dubbing artist
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?l ) { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?q ) WHERE { ?z property:P725 ?u . ?u rdf:type ontology:Q502895 . ?z rdf:type ontology:Q386724 } GROUP BY ?z } } . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?y ) WHERE { ?j property:P725 ?m . ?j rdf:type ontology:Q386724 . ?m rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?y = ?l ) }
Hércules y el examen de conducir
Hércules y el examen de conducir had max number of people as the dubbing artist
Hércules y el examen de conducir
action argmax
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?l ) { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?q ) WHERE { ?z property:voice_actor ?u . ?u rdf:type ontology:common_name . ?z rdf:type ontology:work } GROUP BY ?z } } . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?y ) WHERE { ?j property:voice_actor ?m . ?j rdf:type ontology:work . ?m rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?y = ?l ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q15961987 Q386724
USER
Which television genres portray the ideas of fictional universe min number of works ?
(c(Q386724),P1445,Q18786436)
action argmin
action find_reverse_tuple_counts
relation P1445
type Q15961987
type Q386724
[{'concept': 'Q386724'}, 'P1445', 'Q18786436']
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?v ) WHERE { ?c rdf:type ontology:Q15961987 . ?u rdf:type ontology:Q386724 . ?u property:P1445 ?c } GROUP BY ?c } . FILTER ( ?v = ?x ) . { SELECT DISTINCT ( MIN ( ?p ) AS ?x ) { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?p ) WHERE { ?b property:P1445 ?t . ?t rdf:type ontology:Q15961987 . ?b rdf:type ontology:Q386724 } GROUP BY ?t } } }
action argmin
action find_reverse_tuple_counts
relation fictional universe described in
type television genre
type work
[{'concept': 'work'}, 'fictional universe described in', 'The Adventures of Puss in Boots']
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?v ) WHERE { ?c rdf:type ontology:television_genre . ?u rdf:type ontology:work . ?u property:fictional_universe_described_in ?c } GROUP BY ?c } . FILTER ( ?v = ?x ) . { SELECT DISTINCT ( MIN ( ?p ) AS ?x ) { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?p ) WHERE { ?b property:fictional_universe_described_in ?t . ?t rdf:type ontology:television_genre . ?b rdf:type ontology:work } GROUP BY ?t } } }
[]
television genre work
Q73622 Q2760256 Q3038453
SYSTEM
Futurama, Wakfu, Dr. Slump
Q602883 Q986000 Q3311864 Q2760256 Q73622 Q3038448 Q704651 Q3038453 Q13568247
(c(Q386724),P1445,Q18786436)
action argmin
action find_reverse_tuple_counts
relation P1445
type Q15961987
type Q386724
[ANSWERS] portray the ideas of fictional universe min number of works
[{'concept': 'Q386724'}, 'P1445', 'Q18786436']
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?v ) WHERE { ?c rdf:type ontology:Q15961987 . ?u rdf:type ontology:Q386724 . ?u property:P1445 ?c } GROUP BY ?c } . FILTER ( ?v = ?x ) . { SELECT DISTINCT ( MIN ( ?p ) AS ?x ) { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?p ) WHERE { ?b property:P1445 ?t . ?t rdf:type ontology:Q15961987 . ?b rdf:type ontology:Q386724 } GROUP BY ?t } } }
The Transformers Green Lantern: The Animated Series Mickey Mouse Wakfu Futurama Doctor Slump Dragon Ball Z Kai Dr. Slump Mickey Mouse
Futurama, Wakfu and Dr. Slump portray the ideas of fictional universe min number of works
Futurama Wakfu Dr. Slump
action argmin
action find_reverse_tuple_counts
relation fictional universe described in
type television genre
type work
[{'concept': 'work'}, 'fictional universe described in', 'The Adventures of Puss in Boots']
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?v ) WHERE { ?c rdf:type ontology:television_genre . ?u rdf:type ontology:work . ?u property:fictional_universe_described_in ?c } GROUP BY ?c } . FILTER ( ?v = ?x ) . { SELECT DISTINCT ( MIN ( ?p ) AS ?x ) { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?p ) WHERE { ?b property:fictional_universe_described_in ?t . ?t rdf:type ontology:television_genre . ?b rdf:type ontology:work } GROUP BY ?t } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P161
Q502895
USER
How many people were casted in that television genre ?
(Q3038453,P161,c(Q502895))
['Q3038453', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3038453 property:Q3297652 ?z . ?z rdf:type ontology:Q502895 }
['Dr. Slump', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Dr._Slump property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q73622
SYSTEM
Did you mean Futurama ?
(Q73622,P161,c(Q502895)) (Q2760256,P161,c(Q502895)) (Q3038453,P161,c(Q502895))
[ANSWER]
['Q73622', 'P161', {'concept': 'Q502895'}] ['Q2760256', 'P161', {'concept': 'Q502895'}] ['Q3038453', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3038453 property:Q3297652 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Futurama ?
Futurama
['Futurama', 'cast member', {'concept': 'common name'}] ['Wakfu', 'cast member', {'concept': 'common name'}] ['Dr. Slump', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Dr._Slump property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Dr. Slump. Could you tell me the answer for that?
(Q3038453,P161,c(Q502895))
Q3038453
['Q3038453', 'P161', {'concept': 'Q502895'}]
['Dr. Slump', 'cast member', {'concept': 'common name'}]
[]
SYSTEM
6
Q3293064 Q2462216 Q18008943 Q2468115 Q517337 Q535637
(Q3038453,P161,c(Q502895))
[ANSWER]
['Q3038453', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3038453 property:Q3297652 ?z . ?z rdf:type ontology:Q502895 }
Mariko Mukai Kazuko Sugiyama Naomi Jinbo Mami Koyama Toshio Furukawa Kenji Utsumi
6
['Dr. Slump', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Dr._Slump property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q73622
P495
Q15617994
USER
How many administrative territories are the origin of Futurama ?
(Q73622,P495,c(Q15617994))
action count
action filter_type
action find
entity Q73622
relation P495
type Q15617994
['Q73622', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Q73622 property:P495 ?f . ?f rdf:type ontology:Q15617994 }
Futurama
action count
action filter_type
action find
entity Futurama
relation country of origin
type designation for an administrative territorial entity
['Futurama', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Futurama property:country_of_origin ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q73622,P495,c(Q15617994))
action count
action filter_type
action find
entity Q73622
relation P495
type Q15617994
[ANSWER]
['Q73622', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Q73622 property:P495 ?f . ?f rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Futurama
relation country of origin
type designation for an administrative territorial entity
['Futurama', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Futurama property:country_of_origin ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q4103201
Q15617994
USER
And what about Boyhood?
(Q4103201,P495,c(Q15617994))
action count
action filter_type
action find
entity Q4103201
relation P495
type Q15617994
['Q4103201', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Q4103201 property:P495 ?o . ?o rdf:type ontology:Q15617994 }
Boyhood
action count
action filter_type
action find
entity Boyhood
relation country of origin
type designation for an administrative territorial entity
['Boyhood', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Boyhood property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q4103201,P495,c(Q15617994))
action count
action filter_type
action find
entity Q4103201
relation P495
type Q15617994
[ANSWER]
['Q4103201', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Q4103201 property:P495 ?o . ?o rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Boyhood
relation country of origin
type designation for an administrative territorial entity
['Boyhood', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Boyhood property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q717814
P1441
Q15961987 Q502895
USER
Which people are present in greater number of television genres than Hadadezer ?
(c(Q502895),P1441,c(Q15961987))
action greater
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action count
action filter_type
action find
entity Q717814
relation P1441
type Q502895
[{'concept': 'Q502895'}, 'P1441', {'concept': 'Q15961987'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?h ) WHERE { ?g property:P1441 ?t . ?g rdf:type ontology:Q502895 . ?t rdf:type ontology:Q15961987 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Q717814 property:P1441 ?f . ?f rdf:type ontology:Q502895 } } . FILTER ( ?h > ?m ) }
Hadadezer
action greater
action find_tuple_counts
relation present in work
type common name
type television genre
action count
action filter_type
action find
entity Hadadezer
relation present in work
type common name
[{'concept': 'common name'}, 'present in work', {'concept': 'television genre'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?h ) WHERE { ?g property:present_in_work ?t . ?g rdf:type ontology:common_name . ?t rdf:type ontology:television_genre } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Hadadezer property:present_in_work ?f . ?f rdf:type ontology:common_name } } . FILTER ( ?h > ?m ) }
[]
television genre common name
Q9077 Q32295 Q9181
SYSTEM
Moses, Michael J. Massimino, Abraham
Q9077 Q32295 Q9181
(c(Q502895),P1441,c(Q15961987))
action greater
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action count
action filter_type
action find
entity Q717814
relation P1441
type Q502895
[ANSWERS] are present in greater number of television genres than Hadadezer
[{'concept': 'Q502895'}, 'P1441', {'concept': 'Q15961987'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?h ) WHERE { ?g property:P1441 ?t . ?g rdf:type ontology:Q502895 . ?t rdf:type ontology:Q15961987 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Q717814 property:P1441 ?f . ?f rdf:type ontology:Q502895 } } . FILTER ( ?h > ?m ) }
Moses Michael J. Massimino Abraham
Moses, Michael J. Massimino and Abraham are present in greater number of television genres than Hadadezer
Moses Michael J. Massimino Abraham
action greater
action find_tuple_counts
relation present in work
type common name
type television genre
action count
action filter_type
action find
entity Hadadezer
relation present in work
type common name
[{'concept': 'common name'}, 'present in work', {'concept': 'television genre'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?h ) WHERE { ?g property:present_in_work ?t . ?g rdf:type ontology:common_name . ?t rdf:type ontology:television_genre } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Hadadezer property:present_in_work ?f . ?f rdf:type ontology:common_name } } . FILTER ( ?h > ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q321469
P1441
Q15961987 Q502895
USER
And what about Abishag?
(c(Q502895),P1441,c(Q15961987))
action greater
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action count
action filter_type
action find
entity Q321469
relation P1441
type Q502895
[{'concept': 'Q502895'}, 'P1441', {'concept': 'Q15961987'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?v ) WHERE { ?n property:P1441 ?c . ?c rdf:type ontology:Q15961987 . ?n rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Q321469 property:P1441 ?r . ?r rdf:type ontology:Q502895 } } . FILTER ( ?v > ?z ) }
Abishag
action greater
action find_tuple_counts
relation present in work
type common name
type television genre
action count
action filter_type
action find
entity Abishag
relation present in work
type common name
[{'concept': 'common name'}, 'present in work', {'concept': 'television genre'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?v ) WHERE { ?n property:present_in_work ?c . ?c rdf:type ontology:television_genre . ?n rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Abishag property:present_in_work ?r . ?r rdf:type ontology:common_name } } . FILTER ( ?v > ?z ) }
[]
television genre common name
Q9077 Q32295 Q9181
SYSTEM
Moses, Michael J. Massimino, Abraham
Q9077 Q32295 Q9181
(c(Q502895),P1441,c(Q15961987))
action greater
action find_tuple_counts
relation P1441
type Q502895
type Q15961987
action count
action filter_type
action find
entity Q321469
relation P1441
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1441', {'concept': 'Q15961987'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?v ) WHERE { ?n property:P1441 ?c . ?c rdf:type ontology:Q15961987 . ?n rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Q321469 property:P1441 ?r . ?r rdf:type ontology:Q502895 } } . FILTER ( ?v > ?z ) }
Moses Michael J. Massimino Abraham
Moses Michael J. Massimino Abraham
action greater
action find_tuple_counts
relation present in work
type common name
type television genre
action count
action filter_type
action find
entity Abishag
relation present in work
type common name
[{'concept': 'common name'}, 'present in work', {'concept': 'television genre'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?v ) WHERE { ?n property:present_in_work ?c . ?c rdf:type ontology:television_genre . ?n rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Abishag property:present_in_work ?r . ?r rdf:type ontology:common_name } } . FILTER ( ?v > ?z ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q44221
P161
Q838948
USER
How many works of art do Sean Penn star in ?
(c(Q838948),P161,Q44221)
action count
action filter_type
action find_reverse
entity Q44221
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q44221']
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P161 resource:Q44221 . ?e rdf:type ontology:Q838948 }
Sean Penn
action count
action filter_type
action find_reverse
entity Sean Penn
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Sean Penn']
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:cast_member resource:Sean_Penn . ?e rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
47
Q1111758 Q757976 Q1126637 Q7728531 Q1168460 Q318788 Q1193245 Q244257 Q786585 Q649165 Q1123902 Q7716220 Q3522637 Q1552765 Q602121 Q581964 Q469708 Q511347 Q637748 Q221586 Q221491 Q603857 Q798650 Q1302846 Q2162766 Q378891 Q1213746 Q1402901 Q617833 Q201687 Q1921451 Q13823993 Q1636538 Q759474 Q472313 Q939176 Q27751 Q214013 Q917254 Q1413292 Q3924412 Q587891 Q723187 Q1968798 Q187561 Q246997 Q844303
(c(Q838948),P161,Q44221)
action count
action filter_type
action find_reverse
entity Q44221
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q44221']
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P161 resource:Q44221 . ?e rdf:type ontology:Q838948 }
Colors The Assassination of Richard Nixon Casualties of War The Cutting Edge: The Magic of Movie Editing The Weight of Water Judgment in Berlin The Falcon and the Snowman The Tree of Life Sweet and Lowdown Being John Malkovich Cool Blue The Beaver Trilogy The Secret Life of Walter Mitty I'm Still Here Crackers All the King's Men It's All About Love This Must Be the Place She's So Lovely Mystic River The Thin Red Line 11'09"01 September 11 Bad Boys Fast Times at Ridgemont High Racing with the Moon What Just Happened Taps Up at the Villa We're No Angels Milk Hugo Pool The Gunman State of Grace At Close Range The Interpreter Carlito's Way Gangster Squad 21 Grams Fair Game Hurlyburly Loved Dead Man Walking The Game Shanghai Surprise Madonna: Truth or Dare Before Night Falls U Turn
47
action count
action filter_type
action find_reverse
entity Sean Penn
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Sean Penn']
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:cast_member resource:Sean_Penn . ?e rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q234551
P161
Q838948
USER
And what about Beverly D'Angelo?
(c(Q838948),P161,Q234551)
action count
action filter_type
action find_reverse
entity Q234551
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q234551']
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u property:P161 resource:Q234551 . ?u rdf:type ontology:Q838948 }
Beverly D'Angelo
action count
action filter_type
action find_reverse
entity Beverly D'Angelo
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', "Beverly D'Angelo"]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u property:cast_member resource:Beverly_D'Angelo . ?u rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
37
Q760229 Q7256790 Q1212210 Q1538224 Q3243447 Q1219310 Q955897 Q757156 Q1888524 Q466959 Q2376223 Q7099807 Q208572 Q233464 Q1617874 Q3503064 Q5977618 Q1165259 Q451324 Q1148079 Q1421476 Q6412333 Q5639485 Q1452232 Q609312 Q6012566 Q18155457 Q3796466 Q629570 Q1511623 Q1195524 Q1285467 Q5453222 Q12124834 Q2539202 Q930887 Q1656234
(c(Q838948),P161,Q234551)
action count
action filter_type
action find_reverse
entity Q234551
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q234551']
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u property:P161 resource:Q234551 . ?u rdf:type ontology:Q838948 }
Eye for an Eye Pterodactyl Woman from Beverly Hills Daddy's Dyin': Who's Got the Will? National Lampoon's European Vacation Maid to Order National Lampoon's Vacation Relative Strangers Hair Man Trouble The House Bunny Big Trouble Oranges American History X Annie Hall High Spirits Sugar Town I Heart Shakey Harold & Kumar Escape from Guantanamo Bay Highpoint Pacific Heights National Lampoon's Christmas Vacation King of the Corner Hair High The Miracle The Sentinel In the Mood Vacation Illuminata Nowhere Lightning Jack Every Which Way but Loose Coal Miner's Daughter First Love Honky Tonk Freeway Finders Keepers Vegas Vacation Paternity
37
action count
action filter_type
action find_reverse
entity Beverly D'Angelo
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', "Beverly D'Angelo"]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u property:cast_member resource:Beverly_D'Angelo . ?u rdf:type ontology:work_of_art }
[]