Simple Question (Direct)
Simple Question
Q679694
P344
Q502895
USER
Which person serves as the director of photography for Let's Make Money ?
(Q679694,P344,c(Q502895))
action filter_type
action find
entity Q679694
relation P344
type Q502895
['Q679694', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q679694 property:P344 ?t . ?t rdf:type ontology:Q502895 }
Let's Make Money
action filter_type
action find
entity Let's Make Money
relation director of photography
type common name
["Let's Make Money", 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Let's_Make_Money property:director_of_photography ?t . ?t rdf:type ontology:common_name }
[]
common name
Q86545
SYSTEM
Erwin Wagenhofer
Q86545
(Q679694,P344,c(Q502895))
action filter_type
action find
entity Q679694
relation P344
type Q502895
[ANSWER] serves as the director of photography for Let's Make Money
['Q679694', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q679694 property:P344 ?t . ?t rdf:type ontology:Q502895 }
Erwin Wagenhofer
Erwin Wagenhofer serves as the director of photography for Let's Make Money
Erwin Wagenhofer
action filter_type
action find
entity Let's Make Money
relation director of photography
type common name
["Let's Make Money", 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Let's_Make_Money property:director_of_photography ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q679694
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q86545,P136,c(Q1792379))
action filter_type
action find
entity Q679694
relation P136
type Q1792379
['Q86545', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { resource:Q679694 property:P136 ?o . ?o rdf:type ontology:Q1792379 }
Let's Make Money
action filter_type
action find
entity Let's Make Money
relation genre
type art genre
['Erwin Wagenhofer', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { resource:Let's_Make_Money property:genre ?o . ?o rdf:type ontology:art_genre }
[]
art genre
Q93204
SYSTEM
documentary film
Q93204
(Q86545,P136,c(Q1792379))
action filter_type
action find
entity Q679694
relation P136
type Q1792379
[ANSWER] can be considered as category for that work of art
['Q86545', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { resource:Q679694 property:P136 ?o . ?o rdf:type ontology:Q1792379 }
documentary film
Documentary film can be considered as category for that work of art
documentary film
action filter_type
action find
entity Let's Make Money
relation genre
type art genre
['Erwin Wagenhofer', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { resource:Let's_Make_Money property:genre ?o . ?o rdf:type ontology:art_genre }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1028
Q502895 Q1792379
USER
Which people donated to atmost 1 art genre ?
(c(Q1792379),P1028,c(Q502895))
action atmost
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
value 1
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:P1028 ?u . ?u rdf:type ontology:Q502895 . ?j rdf:type ontology:Q1792379 } GROUP BY ?u } . FILTER ( ?z <= 1 ) }
action atmost
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
value 1
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:donated_by ?u . ?u rdf:type ontology:common_name . ?j rdf:type ontology:art_genre } GROUP BY ?u } . FILTER ( ?z <= 1 ) }
[]
common name art genre
Q22686 Q134817 Q2677
SYSTEM
Donald Trump, Abdul Hamid II, Wilhelm II
Q43720 Q3133098 Q26459473 Q2637616 Q676301 Q23016142 Q26359798 Q27450423 Q1699735 Q26459024 Q26262410 Q213963 Q222458 Q5407510 Q1461924 Q26270023 Q26208057 Q17305789 Q4785964 Q23828909 Q18718742 Q2172853 Q2677 Q18529818 Q18681578 Q52930 Q23719193 Q26155343 Q26254144 Q7240564 Q382439 Q164500 Q2667 Q51056 Q18691655 Q272476 Q18711324 Q18676928 Q26262436 Q77210 Q37134 Q26290195 Q26289878 Q23055273 Q1460119 Q2914083 Q453523 Q26262301 Q26266175 Q134817 Q984 Q15433875 Q26262414 Q18676673 Q26270295 Q22815714 Q165568 Q26154073 Q8479 Q170398 Q15525738 Q365930 Q26262395 Q27431382 Q237463 Q233198 Q16018042 Q7459175 Q62196 Q12322315 Q18674610 Q747341 Q18681522 Q150652 Q26260039 Q19754058 Q27450503 Q22925473 Q26270343 Q27230873 Q3174202 Q7183322 Q4770723 Q95946 Q452811 Q876414 Q438322 Q26262455 Q18674603 Q6968011 Q26289675 Q764443 Q26266139 Q6688106 Q11919354 Q183226 Q4233718 Q154912 Q159416 Q26313983 Q18713952 Q269412 Q26282942 Q26520314 Q26492743 Q26254109 Q26216791 Q16860467 Q9013205 Q20683951 Q26207985 Q57538 Q207384 Q43922 Q1373397 Q26254138 Q1377426 Q26218064 Q6712648 Q18711061 Q26160551 Q9439 Q2551 Q26260093 Q1348898 Q22686 Q26689742 Q22829116 Q26476068 Q1106973 Q21125090 Q26266192 Q152935 Q18691646 Q26266198 Q26415672 Q26254121 Q57986 Q2594 Q589876 Q26262463 Q5088246 Q26262467 Q5396194 Q6141615 Q7399967 Q4924916
(c(Q1792379),P1028,c(Q502895))
action atmost
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
value 1
[ANSWERS] donated to atmost 1 art genre
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:P1028 ?u . ?u rdf:type ontology:Q502895 . ?j rdf:type ontology:Q1792379 } GROUP BY ?u } . FILTER ( ?z <= 1 ) }
Pius IX Henry Sugimoto Mrs. Rodney Davis Dowdell Albert M. Bender John VI of Portugal Barry Toubin Bob and Bonnie Hartman Stuart P. Feld John D. Rockefeller III Revell McCallum Loren F. Taylor Wilhelm Hoegner Frederick Stanley, 16th Earl of Derby Eugene McDermott Friedrich Schiedel Mrs. Randall Hanna Frederick Baekeland Claudia DeMonte Archer Milton Huntington Walter R. Heyneman Faye Bleicher-Berger Rudolf Hanauer Wilhelm II James Chance Carolann Smurthwaite Gustav III of Sweden Mildred Anna Williams Garo Antreasian Ted G. Decker Prentis Cobb Hale Jan Zamoyski Princess Victoria Melita of Saxe-Coburg and Gotha Paul von Hindenburg Franz Joseph I of Austria Orme Lewis Countess Palatine Elisabeth Auguste of Sulzbach Margaret Miller Carl S. Dentzel Clay Lockett Otto Grotewohl Frederick William III of Prussia Arthur Keating Sam Patania Lawrence K. Miller Henner Löffler Martin Hägglund Stanisław Żółkiewski Frederick R. Pleasants Joan Teer Jacobson Abdul Hamid II Miles Franklin Peter Becker Thomas R. Taylor Bryant M. Hanley, Jr. Terry Etherton Donald D. Harrington John XXII Sally Anderson Peter the Great William I of Württemberg Gerald Murphy Hussein Kamel of Egypt David Berg Vivian Hotchkiss Eleonora Gonzaga Therese of Saxe-Hildburghausen Arthur I. Appleton Seymour H. Knox II Peter Harry Carstensen Knud Højgaard Edward Marcus Edwin Binney Robert R. Rosenbaum Wilhelm I of Germany Gregory Kondos Otto Kallir Albert P. Strietmann Percy Moore Turner Riva Yares Charles F. Olney Jan Radlica Philip Campbell Curtis A. Conger Goodyear Ferdinand Mülhens Jakub Zadzik Reinhold Klika Herbert W. Ladd Faith Holsaert Nancy Hamon Natalia Clovis Ruth Corbett Cross August Wegmann Carlos Carulo Louis S. Cates Enric Serra Auqué Charles IV of Spain anonymous Olav V of Norway Naser al-Din Shah Qajar Roger J. Welter Everett F. Drumright George V Joel Coplin Dorothy C. Walker Susan S. Small Alma A. Konigslow Margarita Berg Onofre Garí i Torrent Josep Maria Garrut i Romà Walter P. Chrysler Jr. Martin and Nancy Melzer John of Saxony Alexander I of Yugoslavia Leo XIII James H. Clark Mr. and Mrs. Arthur W. Rogers Jerzy Ossoliński Michael Berman M. H. de Young William A. Small, Jr. Jack Balas Queen Victoria Johannes Rau Dennis J. Friedman Theodore M. Davis Donald Trump Frances M. Weidman Lorenz Anderman Arthur B. Adams Baldomero Giménez Rudolf Meimberg Margaret Kirkpatrick George II of Greece Thelma Kieckhefer Dan Leach Agnes Griffen Matthew Blacharski Frederick Augustus II of Saxony Theodor Heuss Mikołaj Kamieniecki John Rein Chauncey McCormick Laurence L. Shaw Erwin S. Barrie Madanjeet Singh Saidie May Blanchette Ferry Rockefeller
Donald Trump, Abdul Hamid II and Wilhelm II donated to atmost 1 art genre
Donald Trump Abdul Hamid II Wilhelm II
action atmost
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
value 1
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?z ) WHERE { ?j property:donated_by ?u . ?u rdf:type ontology:common_name . ?j rdf:type ontology:art_genre } GROUP BY ?u } . FILTER ( ?z <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22686
P6
Q15617994
USER
Which administrative territory has a government lead by Donald Trump ?
(c(Q15617994),P6,Q22686)
action filter_type
action find_reverse
entity Q22686
relation P6
type Q15617994
[{'concept': 'Q15617994'}, 'P6', 'Q22686']
SELECT DISTINCT ?b WHERE { ?b property:P6 resource:Q22686 . ?b rdf:type ontology:Q15617994 }
Donald Trump
action filter_type
action find_reverse
entity Donald Trump
relation head of government
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'head of government', 'Donald Trump']
SELECT DISTINCT ?b WHERE { ?b property:head_of_government resource:Donald_Trump . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(c(Q15617994),P6,Q22686)
action filter_type
action find_reverse
entity Q22686
relation P6
type Q15617994
[ANSWER] has a government lead by Donald Trump
[{'concept': 'Q15617994'}, 'P6', 'Q22686']
SELECT DISTINCT ?b WHERE { ?b property:P6 resource:Q22686 . ?b rdf:type ontology:Q15617994 }
United States of America
United States of America has a government lead by Donald Trump
United States of America
action filter_type
action find_reverse
entity Donald Trump
relation head of government
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'head of government', 'Donald Trump']
SELECT DISTINCT ?b WHERE { ?b property:head_of_government resource:Donald_Trump . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22686
P50
Q2342494
USER
Which collectables are written by that person ?
(c(Q2342494),P50,Q30)
action filter_type
action find_reverse
entity Q22686
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q30']
SELECT DISTINCT ?n WHERE { ?n property:P50 resource:Q22686 . ?n rdf:type ontology:Q2342494 }
Donald Trump
action filter_type
action find_reverse
entity Donald Trump
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'United States of America']
SELECT DISTINCT ?n WHERE { ?n property:author resource:Donald_Trump . ?n rdf:type ontology:collectable }
[]
collectable
Q7847758 Q21427293
SYSTEM
Trump: The Art of the Deal, Crippled America
Q7847758 Q21427293
(c(Q2342494),P50,Q30)
action filter_type
action find_reverse
entity Q22686
relation P50
type Q2342494
Trump: The Art of the Deal and crippled America are written by that person
[{'concept': 'Q2342494'}, 'P50', 'Q30']
SELECT DISTINCT ?n WHERE { ?n property:P50 resource:Q22686 . ?n rdf:type ontology:Q2342494 }
Trump: The Art of the Deal Crippled America
Trump: The Art of the Deal and crippled America are written by that person
Trump: The Art of the Deal Crippled America
action filter_type
action find_reverse
entity Donald Trump
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'United States of America']
SELECT DISTINCT ?n WHERE { ?n property:author resource:Donald_Trump . ?n rdf:type ontology:collectable }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q22686 Q27691569
P27
Q15617994
USER
How many administrative territories are Donald Trump or Janine M. Otalora Malassis a civilian of ?
(Q22686,P27,c(Q15617994)) (Q27691569,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q22686
relation P27
type Q15617994
action filter_type
action find
entity Q27691569
relation P27
type Q15617994
['Q22686', 'P27', {'concept': 'Q15617994'}] ['Q27691569', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { resource:Q22686 property:P27 ?n . ?n rdf:type ontology:Q15617994 } UNION { ?n rdf:type ontology:Q15617994 . resource:Q27691569 property:P27 ?n } }
Donald Trump Janine M. Otalora Malassis
action count
action union
action filter_type
action find
entity Donald Trump
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Janine M. Otalora Malassis
relation country of citizenship
type designation for an administrative territorial entity
['Donald Trump', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Janine M. Otalora Malassis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { resource:Donald_Trump property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Janine_M._Otalora_Malassis property:country_of_citizenship ?n } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q96 Q30
(Q22686,P27,c(Q15617994)) (Q27691569,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q22686
relation P27
type Q15617994
action filter_type
action find
entity Q27691569
relation P27
type Q15617994
[ANSWER]
['Q22686', 'P27', {'concept': 'Q15617994'}] ['Q27691569', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { resource:Q22686 property:P27 ?n . ?n rdf:type ontology:Q15617994 } UNION { ?n rdf:type ontology:Q15617994 . resource:Q27691569 property:P27 ?n } }
Mexico United States of America
2
action count
action union
action filter_type
action find
entity Donald Trump
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Janine M. Otalora Malassis
relation country of citizenship
type designation for an administrative territorial entity
['Donald Trump', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Janine M. Otalora Malassis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { { resource:Donald_Trump property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Janine_M._Otalora_Malassis property:country_of_citizenship ?n } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q22686
P19
Q2983893 Q41176
USER
How many urban districts or buildings are the places of birth of Donald Trump ?
(Q22686,P19,c(Q2983893)) (Q22686,P19,c(Q41176))
action count
action union
action filter_type
action find
entity Q22686
relation P19
type Q2983893
action filter_type
action find
entity Q22686
relation P19
type Q41176
['Q22686', 'P19', {'concept': 'Q2983893'}] ['Q22686', 'P19', {'concept': 'Q41176'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:Q2983893 ) ( ontology:Q41176 ) } }
Donald Trump
action count
action union
action filter_type
action find
entity Donald Trump
relation place of birth
type urban district
action filter_type
action find
entity Donald Trump
relation place of birth
type building
['Donald Trump', 'place of birth', {'concept': 'urban district'}] ['Donald Trump', 'place of birth', {'concept': 'building'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:urban_district ) ( ontology:building ) } }
[]
urban district building
SYSTEM
2
Q18424 Q23497866
(Q22686,P19,c(Q2983893)) (Q22686,P19,c(Q41176))
action count
action union
action filter_type
action find
entity Q22686
relation P19
type Q2983893
action filter_type
action find
entity Q22686
relation P19
type Q41176
[ANSWER]
['Q22686', 'P19', {'concept': 'Q2983893'}] ['Q22686', 'P19', {'concept': 'Q41176'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:Q2983893 ) ( ontology:Q41176 ) } }
Queens Jamaica Hospital
2
action count
action union
action filter_type
action find
entity Donald Trump
relation place of birth
type urban district
action filter_type
action find
entity Donald Trump
relation place of birth
type building
['Donald Trump', 'place of birth', {'concept': 'urban district'}] ['Donald Trump', 'place of birth', {'concept': 'building'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:urban_district ) ( ontology:building ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q232525
P1441
Q2342494 Q502895
USER
Which people are present in less number of collectables than Theodelinda ?
(c(Q502895),P1441,c(Q2342494))
action less
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action count
action filter_type
action find
entity Q232525
relation P1441
type Q2342494
[{'concept': 'Q502895'}, 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?g ) WHERE { ?l property:P1441 ?b . ?l rdf:type ontology:Q502895 . ?b rdf:type ontology:Q2342494 } GROUP BY ?l } . FILTER ( ?g < ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n rdf:type ontology:Q2342494 . resource:Q232525 property:P1441 ?n } } }
Theodelinda
action less
action find_tuple_counts
relation present in work
type common name
type collectable
action count
action filter_type
action find
entity Theodelinda
relation present in work
type collectable
[{'concept': 'common name'}, 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?g ) WHERE { ?l property:present_in_work ?b . ?l rdf:type ontology:common_name . ?b rdf:type ontology:collectable } GROUP BY ?l } . FILTER ( ?g < ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n rdf:type ontology:collectable . resource:Theodelinda property:present_in_work ?n } } }
[]
collectable common name
Q17457 Q110436 Q9077
SYSTEM
Donald Knuth, Cory Doctorow, Moses
Q41863 Q603233 Q2447493 Q80048 Q529984 Q23885172 Q1143157 Q4430779 Q1341397 Q249381 Q194064 Q240258 Q24579400 Q466687 Q7307192 Q321469 Q18699270 Q319116 Q18699272 Q12591 Q213633 Q131195 Q221514 Q30914 Q2426699 Q937827 Q24624067 Q4057937 Q214648 Q2574151 Q2052042 Q318912 Q18699312 Q4006447 Q363623 Q3343834 Q211663 Q176125 Q2451581 Q2046277 Q8423 Q715713 Q24577230 Q1938388 Q2040793 Q494455 Q673959 Q125102 Q2033697 Q954820 Q244912 Q313216 Q313214 Q24622402 Q645796 Q361636 Q20656752 Q205523 Q1281177 Q311556 Q1353836 Q19975705 Q560559 Q807236 Q25885222 Q1867479 Q2256348 Q879668 Q1686571 Q1675214 Q2170784 Q188794 Q844433 Q181538 Q24623408 Q28730 Q200902 Q3798672 Q8413 Q2600794 Q126689 Q9077 Q2282686 Q459606 Q145746 Q437417 Q463934 Q721295 Q3774081 Q1403627 Q1133523 Q24624893 Q1396131 Q3591188 Q2264125 Q608841 Q1133337 Q200637 Q3259530 Q24625686 Q81422 Q3187975 Q2116944 Q3783913 Q2137929 Q946939 Q888890 Q24577318 Q515828 Q24625326 Q1771358 Q25858050 Q26858752 Q923021 Q272277 Q460763 Q24633210 Q205372 Q715547 Q717814 Q830183 Q1446 Q1641601 Q6577515 Q63070 Q7493584 Q1300996 Q2073479 Q851686 Q1333225 Q40662 Q206238 Q400294 Q2723049 Q922184 Q156328 Q1346246 Q3785031 Q1768161 Q2578955 Q6323112 Q171724 Q550255 Q889694 Q1851709 Q8027483 Q816397 Q24625073 Q1380878 Q16879711 Q24623579 Q2038223 Q1377025 Q2276030 Q264699 Q313415 Q360378 Q2711883 Q363660 Q665541 Q1516550 Q886399 Q840401 Q326585 Q109920 Q536019 Q213850 Q74891 Q45090 Q336832 Q1941782 Q2304442 Q2651263 Q1542853 Q24577238 Q209793 Q24632700 Q1808889 Q587893 Q24626363 Q2685920 Q256076 Q184273 Q107626 Q205365 Q32295 Q24633126 Q477527 Q1091513 Q3658171 Q2601106 Q18699310 Q62788 Q4804479 Q26721185 Q2292243 Q2448083 Q313421 Q313423 Q633681 Q362021 Q24623790 Q200947 Q24083251 Q262766 Q1947936 Q225198 Q211396 Q25923184 Q313228 Q2075711 Q2361344 Q3275910 Q536485 Q273517 Q3752551 Q671872 Q2477603 Q110436 Q16845969 Q23906252 Q2519772 Q879088 Q192785 Q308320 Q183089 Q7734 Q2168182 Q878882 Q1030008 Q26858995 Q2487300 Q319049 Q18699300 Q18699268 Q372783 Q16006746 Q17457 Q786748 Q24626010 Q229702 Q574641 Q26858919 Q2590260 Q2047062 Q599907 Q282220 Q313237
(c(Q502895),P1441,c(Q2342494))
action less
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action count
action filter_type
action find
entity Q232525
relation P1441
type Q2342494
[ANSWERS] are present in less number of collectables than Theodelinda
[{'concept': 'Q502895'}, 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?g ) WHERE { ?l property:P1441 ?b . ?l rdf:type ontology:Q502895 . ?b rdf:type ontology:Q2342494 } GROUP BY ?l } . FILTER ( ?g < ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n rdf:type ontology:Q2342494 . resource:Q232525 property:P1441 ?n } } }
Halga Julius Asclepiodotus Ferrex Al Capone Eric Anundsson Victor Petit Jair Immanuel Michal Markandeya Ezekiel Olof Björnsson Jebidiah Farnsworth Damaris Refil Abishag Achim Nathan Eliud Nebuchadnezzar II Deborah Constantius Chlorus Manoah Ahaz Dyfnwal Moelmud Delilah Bea Hansen Adoniram Samson Sisillius III Mempricius Eric the Victorious Jacob Urianus Cassivellaunus Norman Winther Rehoboam Gideon Cordelia of Britain Parikshit Cyrus the Great Salvatore Maranzano Harriet Mutesi Miriam Reu Orville Wright Leil Necho II Sisillius I Yael Hezekiah Uzziah Ahaziah of Judah Frank Fauteux Ibzan Amnon Bernard C. Webber Zipporah Beowulf Allectus Hrothgar Daniel Webster Cluff Constans II Barak James Harcourt Jago of Britain Shealtiel Björn Ironside Jehu Ithamar Anund Uppsale Isaiah Kenan Rudolf Abel Eldon Hanan Saul Shem Ingeld Constantine the Great Erik Björnsson Jehoshaphat Moses Locrinus Ambrosius Aurelianus Joseph Cunobeline Athaliah Jezebel Gracianus Municeps Hrethel Jephthah Raymond Sybert Wilbur Wright Erik Refilsson Bladud Arvirargus Abner Japheth Loretta Jones Andy Fitzgerald Noah Judith Wealhþeow Heardred Gurgustius Phut Nahor Sara Katende Tasciovanus Miriam Webber Salomon Helen Kingsleigh Sarah Katende Gorboduc Bathsheba Benjamin George "Tiny" Myers Absalom Mandubracius Hadadezer Eve Caracalla Tattenai Samuel Mary Magdalene Sheleph Ehud Shaunaka Mephibosheth Elon John the Baptist Elisha Ahitophel Mayasura Caleb Manasseh of Judah Johnny Ringo Heoroweard Islamic views on Abraham Porrex I Nahor Daniel J. William Fulbright Hygelac Rud Hud Hudibras Wise woman of Abel Ben-Hadad I Richard Livesey Vortimer Sage Animandaya Wallace Quirey Amminadab Bharata Archmail Wil Wheaton Asa of Judah Adonijah Gurguit Barbtruc Elimelek Hosea Shamgar Maelgwn Gwynedd Laban Vortigern Jotham of Judah Ecgþeow Amos Jonathan Jesse Jehoahaz of Judah Nadabe Coel Hen Trahern Alphaeus Robert Katende Constantine III John Stello Kimarcus Sisillius II Mel Gouthro Bledudo Cunedagius Zedekiah Seth Cain Michael J. Massimino Donald Bangs Amram Son of Gorbonianus Phiona Mutesi Rukmi Matthan Jethro Ash Vasudevan Lena Gogan Rivallo Brutus Greenshield Abel Amon of Judah Björn Eriksson Eli D.A. Brown Ahmad ibn Fadlan Stan the Man Junia Beldgabred Belshazzar Magnus Maximus Elizabeth Ham Josiah Andragius Durvasa Anne Françoise Elisabeth Lange Othniel Abijah of Judah Freawaru Isaac Vaisampayana Cory Doctorow Hygd Caf' Francisco Sawyl Penuchel Björn at Haugi Goliath Abdon Publius Septimius Geta Joshua Ebraucus Togodumnus Tamar Aloysius Kyazze Cunedda Jeconiah Eleazar Zadok Adrian Cronauer James B. Donovan Donald Knuth Pedro González de Mendoza Ervin Maske Ham Balaam Hope Katende Ahijah the Shilonite Marius of Britain Baruch ben Neriah Judah Amaziah of Judah
Donald Knuth, Cory Doctorow and Moses are present in less number of collectables than Theodelinda
Donald Knuth Cory Doctorow Moses
action less
action find_tuple_counts
relation present in work
type common name
type collectable
action count
action filter_type
action find
entity Theodelinda
relation present in work
type collectable
[{'concept': 'common name'}, 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?g ) WHERE { ?l property:present_in_work ?b . ?l rdf:type ontology:common_name . ?b rdf:type ontology:collectable } GROUP BY ?l } . FILTER ( ?g < ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n rdf:type ontology:collectable . resource:Theodelinda property:present_in_work ?n } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2748742 Q22686
P161 P26
Q502895
USER
Which people are the life partner of Donald Trump or were casted in Sept hommes et une garce ?
OR((Q22686,P26,c(Q502895)), (Q2748742,P161,c(Q502895)))
action filter_type
action union
action find
entity Q22686
relation P26
action find
entity Q2748742
relation P161
type Q502895
{'OR': [['Q22686', 'P26', {'concept': 'Q502895'}], ['Q2748742', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q22686 property:P26 ?z } UNION { resource:Q2748742 property:P161 ?z } } . ?z rdf:type ontology:Q502895 }
Sept hommes et une garce Donald Trump
action filter_type
action union
action find
entity Donald Trump
relation spouse
action find
entity Sept hommes et une garce
relation cast member
type common name
{'OR': [['Donald Trump', 'spouse', {'concept': 'common name'}], ['Sept hommes et une garce', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Donald_Trump property:spouse ?z } UNION { resource:Sept_hommes_et_une_garce property:cast_member ?z } } . ?z rdf:type ontology:common_name }
[]
common name
Q3131246 Q168359 Q939781 Q3187483 Q7029326 Q5254991 Q3121730 Q3121553 Q138149 Q2597050
SYSTEM
Some of them are Henri Guégan, Jean Marais, Ettore Manni, Joëlle Bernard, Nicolae Secăreanu, Dem Rădulescu, Guy Delorme, Guy Bedos, Florin Piersic, Marla Maples
Q2597050 Q168359 Q3121730 Q5254991 Q939781 Q12720145 Q3121553 Q2087651 Q7029326 Q242351 Q432473 Q138149 Q460710 Q3131246 Q2888603 Q3507292 Q3187483
OR((Q22686,P26,c(Q502895)), (Q2748742,P161,c(Q502895)))
action filter_type
action union
action find
entity Q22686
relation P26
action find
entity Q2748742
relation P161
type Q502895
[ANSWERS] are the life partner of Donald Trump or were casted in Sept hommes et une garce
{'OR': [['Q22686', 'P26', {'concept': 'Q502895'}], ['Q2748742', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q22686 property:P26 ?z } UNION { resource:Q2748742 property:P161 ?z } } . ?z rdf:type ontology:Q502895 }
Marla Maples Jean Marais Guy Delorme Dem Rădulescu Ettore Manni Aimée Iacobescu Guy Bedos Philippe Lemaire Nicolae Secăreanu Ivana Trump Melania Trump Florin Piersic Marilù Tolo Henri Guégan Șerban Cantacuzino Sylvie Bréal Joëlle Bernard
Henri Guégan, Jean Marais, Ettore Manni, Joëlle Bernard, Nicolae Secăreanu, Dem Rădulescu, Guy Delorme, Guy Bedos, Florin Piersic and Marla Maples are the life partner of Donald Trump or were casted in Sept hommes et une garce
Henri Guégan Jean Marais Ettore Manni Joëlle Bernard Nicolae Secăreanu Dem Rădulescu Guy Delorme Guy Bedos Florin Piersic Marla Maples
action filter_type
action union
action find
entity Donald Trump
relation spouse
action find
entity Sept hommes et une garce
relation cast member
type common name
{'OR': [['Donald Trump', 'spouse', {'concept': 'common name'}], ['Sept hommes et une garce', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Donald_Trump property:spouse ?z } UNION { resource:Sept_hommes_et_une_garce property:cast_member ?z } } . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do min number of people know to play ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?m ) WHERE { ?l rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 . ?y property:P1303 ?l } GROUP BY ?l } . FILTER ( ?m = ?x ) . { SELECT DISTINCT ( MIN ( ?w ) AS ?x ) { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:P1303 ?j . ?c rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 } GROUP BY ?j } } }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?m ) WHERE { ?l rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name . ?y property:instrument ?l } GROUP BY ?l } . FILTER ( ?m = ?x ) . { SELECT DISTINCT ( MIN ( ?w ) AS ?x ) { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:instrument ?j . ?c rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument } GROUP BY ?j } } }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Min number of people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?m ) WHERE { ?l rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 . ?y property:P1303 ?l } GROUP BY ?l } . FILTER ( ?m = ?x ) . { SELECT DISTINCT ( MIN ( ?w ) AS ?x ) { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:P1303 ?j . ?c rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 } GROUP BY ?j } } }
spoon cajón wind instrument
Min number of people know about spoon, cajón and wind instrument
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?m ) WHERE { ?l rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name . ?y property:instrument ?l } GROUP BY ?l } . FILTER ( ?m = ?x ) . { SELECT DISTINCT ( MIN ( ?w ) AS ?x ) { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:instrument ?j . ?c rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument } GROUP BY ?j } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by max number of people ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?e ) { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?c ) WHERE { ?d property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?u } } . { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:P1303 ?r . ?o rdf:type ontology:Q502895 . ?r rdf:type ontology:Q34379 } GROUP BY ?r } . FILTER ( ?w = ?e ) }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?e ) { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?c ) WHERE { ?d property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?u } } . { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:instrument ?r . ?o rdf:type ontology:common_name . ?r rdf:type ontology:musical_instrument } GROUP BY ?r } . FILTER ( ?w = ?e ) }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWER] is played by max number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?e ) { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?c ) WHERE { ?d property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?u } } . { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:P1303 ?r . ?o rdf:type ontology:Q502895 . ?r rdf:type ontology:Q34379 } GROUP BY ?r } . FILTER ( ?w = ?e ) }
piano
Piano is played by max number of people
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?e ) { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?c ) WHERE { ?d property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?u } } . { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?w ) WHERE { ?o property:instrument ?r . ?o rdf:type ontology:common_name . ?r rdf:type ontology:musical_instrument } GROUP BY ?r } . FILTER ( ?w = ?e ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P61
Q502895
USER
How many people discovered or invented that musical instrument ?
(Q5994,P61,c(Q502895))
action count
action filter_type
action find
entity Q5994
relation P61
type Q502895
['Q5994', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Q5994 property:P61 ?e . ?e rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity piano
relation discoverer or inventor
type common name
['piano', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:piano property:discoverer_or_inventor ?e . ?e rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q301597
(Q5994,P61,c(Q502895))
action count
action filter_type
action find
entity Q5994
relation P61
type Q502895
[ANSWER]
['Q5994', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Q5994 property:P61 ?e . ?e rdf:type ontology:Q502895 }
Bartolomeo Cristofori
1
action count
action filter_type
action find
entity piano
relation discoverer or inventor
type common name
['piano', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:piano property:discoverer_or_inventor ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9077
P802
Q502895
USER
Who was Moses a notable student of ?
(Q9077,P802,c(Q502895))
action filter_type
action find
entity Q9077
relation P802
type Q502895
['Q9077', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q9077 property:P802 ?u . ?u rdf:type ontology:Q502895 }
Moses
action filter_type
action find
entity Moses
relation student
type common name
['Moses', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Moses property:student ?u . ?u rdf:type ontology:common_name }
[]
common name
Q7734
SYSTEM
Joshua
Q7734
(Q9077,P802,c(Q502895))
action filter_type
action find
entity Q9077
relation P802
type Q502895
Moses was a notable student of [ANSWER] of
['Q9077', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q9077 property:P802 ?u . ?u rdf:type ontology:Q502895 }
Joshua
Moses was a notable student of Joshua of
Joshua
action filter_type
action find
entity Moses
relation student
type common name
['Moses', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Moses property:student ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3172778
Q502895
USER
And also tell me about Jean Jacques Machado?
(Q3172778,P802,c(Q502895))
action filter_type
action find
entity Q3172778
relation P802
type Q502895
['Q3172778', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3172778 property:P802 ?f . ?f rdf:type ontology:Q502895 }
Jean Jacques Machado
action filter_type
action find
entity Jean Jacques Machado
relation student
type common name
['Jean Jacques Machado', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Jean_Jacques_Machado property:student ?f . ?f rdf:type ontology:common_name }
[]
common name
Q5441725 Q5335870
SYSTEM
Felicia Oh, Eddie Bravo
Q5441725 Q5335870
(Q3172778,P802,c(Q502895))
action filter_type
action find
entity Q3172778
relation P802
type Q502895
[ANSWERS]
['Q3172778', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3172778 property:P802 ?f . ?f rdf:type ontology:Q502895 }
Felicia Oh Eddie Bravo
Felicia Oh Eddie Bravo
action filter_type
action find
entity Jean Jacques Machado
relation student
type common name
['Jean Jacques Machado', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Jean_Jacques_Machado property:student ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5441725 Q5335870
P19
Q56061
USER
Which administrative territories are the places of birth of Felicia Oh and Eddie Bravo ?
(Q5441725,P19,c(Q56061)) (Q5335870,P19,c(Q56061))
action union
action filter_type
action find
entity Q5441725
relation P19
type Q56061
action filter_type
action find
entity Q5335870
relation P19
type Q56061
['Q5441725', 'P19', {'concept': 'Q56061'}] ['Q5335870', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?e ) { ( resource:Q5441725 ) ( resource:Q5335870 ) } . ?e property:P19 ?o }
Felicia Oh Eddie Bravo
action union
action filter_type
action find
entity Felicia Oh
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Eddie Bravo
relation place of birth
type administrative territorial entity
['Felicia Oh', 'place of birth', {'concept': 'administrative territorial entity'}] ['Eddie Bravo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?e ) { ( resource:Felicia_Oh ) ( resource:Eddie_Bravo ) } . ?e property:place_of_birth ?o }
[]
administrative territorial entity
Q5083 Q49244
SYSTEM
Seattle, Santa Ana
Q5083 Q49244
(Q5441725,P19,c(Q56061)) (Q5335870,P19,c(Q56061))
action union
action filter_type
action find
entity Q5441725
relation P19
type Q56061
action filter_type
action find
entity Q5335870
relation P19
type Q56061
[ANSWERS] are the places of birth of Felicia Oh and Eddie Bravo
['Q5441725', 'P19', {'concept': 'Q56061'}] ['Q5335870', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?e ) { ( resource:Q5441725 ) ( resource:Q5335870 ) } . ?e property:P19 ?o }
Seattle Santa Ana
Seattle and Santa Ana are the places of birth of Felicia Oh and Eddie Bravo
Seattle Santa Ana
action union
action filter_type
action find
entity Felicia Oh
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Eddie Bravo
relation place of birth
type administrative territorial entity
['Felicia Oh', 'place of birth', {'concept': 'administrative territorial entity'}] ['Eddie Bravo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?e ) { ( resource:Felicia_Oh ) ( resource:Eddie_Bravo ) } . ?e property:place_of_birth ?o }
[]