Simple Question (Direct)
Simple Question
Q170654
P106
Q12737077
USER
What do Callixtus II do for a living ?
(Q170654,P106,c(Q12737077))
action filter_type
action find
entity Q170654
relation P106
type Q12737077
['Q170654', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q170654 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Callixtus II
action filter_type
action find
entity Callixtus II
relation occupation
type occupation
['Callixtus II', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Callixtus_II property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q193391 Q250867 Q2259532
SYSTEM
diplomat, Catholic priest, cleric
Q193391 Q250867 Q2259532
(Q170654,P106,c(Q12737077))
action filter_type
action find
entity Q170654
relation P106
type Q12737077
Callixtus do [ANSWERS]
['Q170654', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q170654 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
diplomat Catholic priest cleric
Callixtus do diplomat, Catholic priest and cleric
diplomat Catholic priest cleric
action filter_type
action find
entity Callixtus II
relation occupation
type occupation
['Callixtus II', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Callixtus_II property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170654
P21
Q290
USER
Which sex does Callixtus II belong to ?
(Q170654,P21,c(Q290))
action filter_type
action find
entity Q170654
relation P21
type Q290
['Q170654', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q170654 property:P21 ?d . ?d rdf:type ontology:Q290 }
Callixtus II
action filter_type
action find
entity Callixtus II
relation gender
type sex
['Callixtus II', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Callixtus_II property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q170654,P21,c(Q290))
action filter_type
action find
entity Q170654
relation P21
type Q290
To [ANSWER] does Callixtus II belong to
['Q170654', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q170654 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
To male does Callixtus II belong to
male
action filter_type
action find
entity Callixtus II
relation gender
type sex
['Callixtus II', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Callixtus_II property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170654
P7
Q502895
USER
Which people are the brothers of Callixtus II ?
(Q170654,P7,c(Q502895))
action filter_type
action find
entity Q170654
relation P7
type Q502895
['Q170654', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q170654 property:P7 ?w }
Callixtus II
action filter_type
action find
entity Callixtus II
relation brother
type common name
['Callixtus II', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Callixtus_II property:brother ?w }
[]
common name
Q562630 Q145112 Q1339109
SYSTEM
Raymond of Burgundy, Reginald II, Count of Burgundy, Stephen I, Count of Burgundy
Q562630 Q145112 Q1339109
(Q170654,P7,c(Q502895))
action filter_type
action find
entity Q170654
relation P7
type Q502895
[ANSWERS]
['Q170654', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q170654 property:P7 ?w }
Raymond of Burgundy Reginald II, Count of Burgundy Stephen I, Count of Burgundy
Raymond of Burgundy, Reginald II, Count of Burgundy and Stephen I, Count of Burgundy are the brothers of Callixtus II
Raymond of Burgundy Reginald II, Count of Burgundy Stephen I, Count of Burgundy
action filter_type
action find
entity Callixtus II
relation brother
type common name
['Callixtus II', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Callixtus_II property:brother ?w }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1082789
P169
Q502895 Q43229 Q2001305
USER
Which people are the chief executive officer of less number of organizations and television channels than Ian Livingstone ?
(c(Q43229)|c(Q2001305),P169,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q43229
action find_reverse_tuple_counts
relation P169
type Q502895
type Q2001305
action count
action filter_multi_types
action find_reverse
entity Q1082789
relation P169
type Q43229
type Q2001305
[[{'concept': 'Q43229'}, {'concept': 'Q2001305'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?z ) WHERE { { ?d property:P169 ?h . ?d rdf:type ontology:Q2001305 . ?h rdf:type ontology:Q502895 } UNION { ?d property:P169 ?h . ?d rdf:type ontology:Q43229 . ?h rdf:type ontology:Q502895 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:P169 resource:Q1082789 . { { ?y rdf:type ontology:Q2001305 } UNION { ?y rdf:type ontology:Q43229 } } } } . FILTER ( ?z < ?i ) }
Ian Livingstone
action less
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type organization
action find_reverse_tuple_counts
relation chief executive officer
type common name
type television channel
action count
action filter_multi_types
action find_reverse
entity Ian Livingstone
relation chief executive officer
type organization
type television channel
[[{'concept': 'organization'}, {'concept': 'television channel'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?z ) WHERE { { ?d property:chief_executive_officer ?h . ?d rdf:type ontology:television_channel . ?h rdf:type ontology:common_name } UNION { ?d property:chief_executive_officer ?h . ?d rdf:type ontology:organization . ?h rdf:type ontology:common_name } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:chief_executive_officer resource:Ian_Livingstone . { { ?y rdf:type ontology:television_channel } UNION { ?y rdf:type ontology:organization } } } } . FILTER ( ?z < ?i ) }
[]
common name organization television channel
Q317521 Q952737 Q103473
SYSTEM
Elon Musk, Diego Abad de Santillán, Georg August Zenker
Q19896671 Q19896679 Q6767603 Q18582318 Q2593207 Q4682572 Q23416738 Q7803096 Q4117176 Q3309313 Q7586364 Q7279392 Q19609868 Q626113 Q6180981 Q16886381 Q26722512 Q6195201 Q21000395 Q9024946 Q7803316 Q19803807 Q3170168 Q15966868 Q729842 Q1929047 Q6193526 Q21192348 Q1670490 Q55183 Q11898683 Q5300803 Q782805 Q7612483 Q16200426 Q17059044 Q2622748 Q6237227 Q5211708 Q952737 Q4980260 Q7024365 Q4487 Q18342983 Q16236293 Q21781591 Q19665536 Q3021823 Q597242 Q6227807 Q2745626 Q23664152 Q4707007 Q1901431 Q9000717 Q3369699 Q418622 Q5677222 Q5627332 Q1443742 Q6131851 Q103473 Q5524807 Q21263939 Q16188729 Q17627170 Q9097127 Q3507411 Q7340146 Q15439301 Q21066734 Q65445 Q524263 Q16163305 Q59474 Q7426870 Q435716 Q347418 Q49971 Q1392181 Q6274218 Q681012 Q450628 Q3658951 Q7668816 Q109782 Q4699676 Q20726318 Q12384244 Q18175766 Q5577535 Q711976 Q1710229 Q5619138 Q16733044 Q8421760 Q15293536 Q111695 Q17508950 Q7519396 Q16876158 Q491580 Q5231122 Q429046 Q6765006 Q12588013 Q19594969 Q46000 Q20203686 Q5619555 Q17627778 Q4228233 Q346081 Q5872324 Q6956802 Q6699092 Q3318585 Q1666888 Q1355678 Q26218178 Q11202781 Q4117408 Q19663497 Q23048203 Q251711 Q1701254 Q1150479 Q5959106 Q8051043 Q19664216 Q716082 Q6356756 Q16193869 Q3047406 Q181162 Q7810321 Q1572591 Q7688294 Q7329143 Q2324303 Q7340307 Q17486463 Q1443067 Q1721259 Q26903671 Q4777034 Q16937727 Q5045423 Q7341739 Q293679 Q5675607 Q2078625 Q912811 Q5214356 Q16148720 Q4452881 Q7804077 Q15064277 Q7608947 Q3159840 Q6491586 Q1173809 Q472330 Q4954314 Q1363852 Q7496573 Q389597 Q6070096 Q16999646 Q18324728 Q26207337 Q5704388 Q901670 Q732157 Q16011625 Q1608491 Q2849007 Q1701260 Q1700049 Q1344392 Q1074632 Q1692250 Q593330 Q20962527 Q709063 Q18233674 Q2165536 Q6181992 Q3340804 Q1223089 Q4760775 Q7159630 Q16195575 Q8070360 Q1239543 Q14927550 Q12606246 Q18755123 Q11875054 Q6161101 Q312556 Q2850820 Q1680807 Q6175245 Q3185348 Q186601 Q4948829 Q8992399 Q10297071 Q18344447 Q6090854 Q3218882 Q500976 Q7306657 Q20975613 Q19854934 Q118816 Q2756226 Q7608884 Q7176651 Q4090816 Q21278777 Q1376418 Q659356 Q1575930 Q4400069 Q6206566 Q6768102 Q9631179 Q1328888 Q26908223 Q1575640 Q7456439 Q6183209 Q18222074 Q4191933 Q11928620 Q26208348 Q6307615 Q20970812 Q107571 Q317521 Q4805143 Q4888662 Q10950854 Q22958497 Q5273200 Q7609478 Q1889898 Q6273164 Q26132792 Q20215432 Q18654783 Q10858630 Q2800420 Q4245 Q16730634 Q23759747 Q7794754 Q4482287 Q1586568 Q10321870 Q107797 Q5867981 Q18921689 Q117289 Q4655570 Q2468051 Q1386366 Q5618950 Q20743254 Q1169885 Q516550 Q17988783 Q449120 Q4935260 Q3023213 Q4123823 Q96270 Q92995 Q3082719 Q6172644 Q6708744 Q11935031 Q7698068 Q716902 Q313915 Q18091304 Q4297328 Q17119772 Q6113311 Q4716022 Q16337998 Q6178460 Q1690188 Q17114394 Q16855193 Q22096796 Q19878836
(c(Q43229)|c(Q2001305),P169,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q43229
action find_reverse_tuple_counts
relation P169
type Q502895
type Q2001305
action count
action filter_multi_types
action find_reverse
entity Q1082789
relation P169
type Q43229
type Q2001305
[ANSWERS] are the chief executive officer of less number of organizations and television channels than Ian Livingstone
[[{'concept': 'Q43229'}, {'concept': 'Q2001305'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?z ) WHERE { { ?d property:P169 ?h . ?d rdf:type ontology:Q2001305 . ?h rdf:type ontology:Q502895 } UNION { ?d property:P169 ?h . ?d rdf:type ontology:Q43229 . ?h rdf:type ontology:Q502895 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:P169 resource:Q1082789 . { { ?y rdf:type ontology:Q2001305 } UNION { ?y rdf:type ontology:Q43229 } } } } . FILTER ( ?z < ?i ) }
Tim Jenkins Zaw Thet Mark Fields Giuliana Mancini Peter Hartman Adhyaksa Dault Jason Barnard Tim Armstrong Robert Kotick Michel Combes Sridhar Vembu Rachel Schofield Chandra Shekhar Ghosh Cho Yang-ho Jeremiah Slaczka Erik Voorhees Antoni Cases Jim Gianopulos Franz Borgias Mayer Luis Bello Tim Clark Steven H. Gunby Jean-Yves Le Gall David Schraven Mark Pincus Michael Rockenschaub Jim Bankoff Ahmet Furkan Tarhan Wolfgang Büchner Susan Wojcicki Tuomo Saikkonen Doug Parker Samuel J. Palmisano Steve Ells Fraser Brown Nick Woodman Shantanu Narayen John Hailer Dalton Philips Diego Abad de Santillán Bryan Morrison Nicandro Durante Federico Gamboa Patrick Pouyanné William LeGate Lyubomir Penev Dan Siroker Delphine Ernotte Michael O'Leary John Cryan Bruce Chizen Andrew Conrad Alan Joyce Markus Dohle Lei Jun Patrick Michel Akio Toyoda Harvey Golub Justin King Philipp Kässbohrer James Cracchiolo Georg August Zenker Gary C. Kelly Paul Vogt Jaume Claramunt i Mesa Jim Zemlin Yoichi Erikawa Šimon Pánek Rob Fyfe Evan Spiegel Oscar Munoz Dieter Zetsche Joan Carreras i Martí Albert Royo i Mariné Bjørn Kjos Satya Nadella Thomas J. Watson Gabe Newell Ginni Rometty Muhtar Kent Jonathan Reckford Walter Isaacson Safra A. Catz Sergey Gaplikov T. Vincent Learson Heinrich Hiesinger Ajaypal Singh Banga Maximo Cavazzani Basilio Álvarez Kiyoshi Asai Goh Choon Phong Mark Hurd João do Rio Gunnar Svedberg James Murren Jay Walder Martyn Harrow Jakob Augstein Emmanuel Roman Simon Moutter Ryan Merkley Eric Mun David Barger Jay Park Mario Vella Kim Youngmin Ulrich Spiesshofer Thomas Watson José María de Mora Gunvor Ulstein Mark Darby Viktor Kolodyazhny Christophe de Margerie Félix Lorenzo Nabeel Gareeb Ludvig G. Braathen Mohamed Hassan Bensalah Stuart Gulliver Jim Skinner Maged Gamani Juha Wuolijoki Akbar Al Baker Bill Block Youssef al-Raissouni Ángel Herrera Oria John Oliver Driss Benhima Jan Ling Yechiel Eckstein Jason Kothari Eliezer Shkedi Ken Kobayashi Sophie Turner Laing Joseph Blanco White Steve Ballmer Titus Naikuni René Obermann Tatsumi Kimishima Richard Solomons Jørgen Vig Knudstorp Rob Lewis Binny Bansal Frank T. Cary Kai-Uwe Ricke Shubham Badal Antonio Vázquez Romero Thomas Jorberg Carolyn McCall Robert B. Pamplin, Jr. Al-Waleed bin Talal Andrés Borrego Peter Terium Brian Moynihan Dan Schulman Arnold W. Donald Vasil Tatsiy Tim O'Toole Andrew Wilson Stephen Cooper Jacques Rapoport Lars Kobberstad David Braben Howard Schultz Brad Tilden Louis V. Gerstner Shikha Sharma Russell Coutts Pedro Sala y Villaret Víctor Pérez i Pallarés Boyan Slat Aleksander Kutela Helga Stephenson Daniel Ek Yevgeny Adamov A. C. N. Nambiar Mike Davis Andrés Conesa Labastida John R. Opel John Fellows Akers John Warnock Jean-Cyril Spinetta Kjeld Kirk Kristiansen Jordi Carbonell i de Ballester Alex Algard Arthur D. Levinson Wu Xiaohui Ron Sommer Jeremy Vine Nicolas Surcouf Dieter von Holtzbrinck Andy Harrison Pedro Heilbron Muzzammil Hassan Zhang Xin Don Thompson Michael Lynton Yang Min-suk Harpal Kumar Lauri Kivinen Vicente Díez Canseco Jeff Bezos Anne-Marie Bertrand James McNerney Jeff Weiner Joseph Mayer Lee Min-woo Pam Fredman Yoshitaka Kitao Jeremy Darroch Michael Seifert Bo Samuelsson Laurence D. Fink Andreas Treichl Reed Hastings Seyed Salman Sadad Lincoln Leong Manfred Bischoff Simon Dominic Stephen Chan Peter Rogers Taymuraz Bolloyev Damien Duhamel Jeffrey Bewkes Luis José Sartorius, 1st Count of San Luis Hannes Ametsreiter Alexander Rumyantsev Joaquín Xaudaró Mark Hoplamazian Zhou Jiping Ulrich Lehner Alireza Salehi Nejad Marc Walder Seth Berkley Jerry Atkin Günther Greindl Dmitry Zimin Josep Laribal Lastortras Bartosz Skwarczek Julian Stone Jacques Branciard Wolfgang Reitzle Elon Musk Paul E. Jacobs José Lázaro Galdiano Natalia Majluf Peyush Bansal Dick Millman Stephen Hester Manfred Schneider Jonathan Ornstein Jonathan Seaton Scott Ernest Jeremy Reaves Barbara Byrd-Bennett Semyon Vaynshtok Jean-Michel Aulas Brad Katsuyama Alisa Miller Thomas Horton Yuri Fedutinov Harry Hohmeister Lyor Cohen Mathias Döpfner Francisco de Luis Díaz Steve Easterbrook Sergio Ermotti Christine Loh Steve O'Rourke Timotheus Höttges Gunnar Bovim Yves Alix Lewis E. Platt Kenneth Chenault Haruna Yukawa Irene Rosenfeld Bobby Koch Dennis Woodside Arkady Volozh Richard Kund Wolfgang Wahlster Frank Melloul Jed York Lyndon Rive Manuel de Lasarte i Rodríguez-Cardoso Temel Kotil Lucio Tan Sergey Kiriyenko Victor Galasyuk Viktor Mikhaylov Theodor Haagaas Jack J. Pelton Aleksi Bardy Philippe Clerget Jennifer Hyman Joachim Hoof Randi S. Øgrey Frédéric Gagey Lewis Von Thaer Colin Seery
Elon Musk, Diego Abad de Santillán and Georg August Zenker are the chief executive officer of less number of organizations and television channels than Ian Livingstone
Elon Musk Diego Abad de Santillán Georg August Zenker
action less
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type organization
action find_reverse_tuple_counts
relation chief executive officer
type common name
type television channel
action count
action filter_multi_types
action find_reverse
entity Ian Livingstone
relation chief executive officer
type organization
type television channel
[[{'concept': 'organization'}, {'concept': 'television channel'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?z ) WHERE { { ?d property:chief_executive_officer ?h . ?d rdf:type ontology:television_channel . ?h rdf:type ontology:common_name } UNION { ?d property:chief_executive_officer ?h . ?d rdf:type ontology:organization . ?h rdf:type ontology:common_name } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y property:chief_executive_officer resource:Ian_Livingstone . { { ?y rdf:type ontology:television_channel } UNION { ?y rdf:type ontology:organization } } } } . FILTER ( ?z < ?i ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q317521 Q952737 Q103473
P106
Q12737077
USER
Which occupations have those people as his/her 's career ?
(Q317521,P106,c(Q12737077)) (Q952737,P106,c(Q12737077)) (Q103473,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q317521', 'P106', {'concept': 'Q12737077'}] ['Q952737', 'P106', {'concept': 'Q12737077'}] ['Q103473', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . ?r property:P106 ?d . VALUES ( ?r ) { ( resource:Q19896671 ) ( resource:Q19896679 ) ( resource:Q6767603 ) } }
Elon Musk Diego Abad de Santillán Georg August Zenker
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Elon Musk', 'occupation', {'concept': 'occupation'}] ['Diego Abad de Santillán', 'occupation', {'concept': 'occupation'}] ['Georg August Zenker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . ?r property:occupation ?d . VALUES ( ?r ) { ( resource:Tim_Jenkins ) ( resource:Zaw_Thet ) ( resource:Mark_Fields ) } }
[]
occupation
Q131512 Q201788 Q1930187
SYSTEM
farmer, historian, journalist
Q205375 Q557880 Q15895020 Q43845 Q911554 Q81096 Q131524 Q201788 Q188094 Q82955 Q1930187 Q1607826 Q333634 Q36180 Q758780 Q2374149 Q131512 Q350979
(Q317521,P106,c(Q12737077)) (Q952737,P106,c(Q12737077)) (Q103473,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWERS] have those people as his/her 's career
['Q317521', 'P106', {'concept': 'Q12737077'}] ['Q952737', 'P106', {'concept': 'Q12737077'}] ['Q103473', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . ?r property:P106 ?d . VALUES ( ?r ) { ( resource:Q19896671 ) ( resource:Q19896679 ) ( resource:Q6767603 ) } }
inventor investor aerospace engineer businessperson business magnate engineer entrepreneur historian economist politician journalist editor translator writer gardener botanist farmer zoologist
Farmer, historian and journalist have those people as his/her 's career
farmer historian journalist
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Elon Musk', 'occupation', {'concept': 'occupation'}] ['Diego Abad de Santillán', 'occupation', {'concept': 'occupation'}] ['Georg August Zenker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . ?r property:occupation ?d . VALUES ( ?r ) { ( resource:Tim_Jenkins ) ( resource:Zaw_Thet ) ( resource:Mark_Fields ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q201788
P101
Q502895
USER
Which people have specialisation in that occupation ?
(c(Q502895),P101,Q201788)
action filter_type
action find_reverse
entity Q201788
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q201788']
SELECT DISTINCT ?s WHERE { ?s property:P101 resource:Q201788 . ?s rdf:type ontology:Q502895 }
historian
action filter_type
action find_reverse
entity historian
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'historian']
SELECT DISTINCT ?s WHERE { ?s property:field_of_work resource:historian . ?s rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q201788
SYSTEM
Did you mean historian ?
Q131512 Q201788 Q1930187
(c(Q502895),P101,Q131512) (c(Q502895),P101,Q201788) (c(Q502895),P101,Q1930187)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q131512'] [{'concept': 'Q502895'}, 'P101', 'Q201788'] [{'concept': 'Q502895'}, 'P101', 'Q1930187']
SELECT DISTINCT ?s WHERE { ?s property:P101 resource:Q201788 . ?s rdf:type ontology:Q502895 }
farmer historian journalist
Did you mean historian ?
historian
[{'concept': 'common name'}, 'field of work', 'farmer'] [{'concept': 'common name'}, 'field of work', 'historian'] [{'concept': 'common name'}, 'field of work', 'journalist']
SELECT DISTINCT ?s WHERE { ?s property:field_of_work resource:historian . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P101,Q201788)
[{'concept': 'Q502895'}, 'P101', 'Q201788']
[{'concept': 'common name'}, 'field of work', 'historian']
[]
Q981839 Q60217 Q61648
SYSTEM
Frederick Copleston, Johann Gustav Droysen, Georg Gottfried Gervinus
Q14436716 Q21042244 Q60217 Q75371 Q61648 Q101339 Q15432799 Q2408608 Q981839
(c(Q502895),P101,Q201788)
action filter_type
action find_reverse
entity Q201788
relation P101
type Q502895
[ANSWERS] have specialisation in that occupation
[{'concept': 'Q502895'}, 'P101', 'Q201788']
SELECT DISTINCT ?s WHERE { ?s property:P101 resource:Q201788 . ?s rdf:type ontology:Q502895 }
Knut Mykland Vicent Baydal Johann Gustav Droysen Johannes Fallati Georg Gottfried Gervinus Gustav Adolf Harald Stenzel Hugo Weczerka Patrick Cabanel Frederick Copleston
Frederick Copleston, Johann Gustav Droysen and Georg Gottfried Gervinus have specialisation in that occupation
Frederick Copleston Johann Gustav Droysen Georg Gottfried Gervinus
action filter_type
action find_reverse
entity historian
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'historian']
SELECT DISTINCT ?s WHERE { ?s property:field_of_work resource:historian . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P88
Q502895 Q3947 Q11060274
USER
How many people commissioned approximately 1 houses or prints ?
(c(Q3947)|c(Q11060274),P88,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q3947
action find_reverse_tuple_counts
relation P88
type Q502895
type Q11060274
value 1
[[{'concept': 'Q3947'}, {'concept': 'Q11060274'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) ?a WHERE { { ?t rdf:type ontology:Q3947 . ?a rdf:type ontology:Q502895 . ?t property:P88 ?a } UNION { ?t property:P88 ?a . ?a rdf:type ontology:Q502895 . ?t rdf:type ontology:Q11060274 } } GROUP BY ?a } . FILTER ( ?l = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type house
action find_reverse_tuple_counts
relation commissioned by
type common name
type print
value 1
[[{'concept': 'house'}, {'concept': 'print'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) ?a WHERE { { ?t rdf:type ontology:house . ?a rdf:type ontology:common_name . ?t property:commissioned_by ?a } UNION { ?t property:commissioned_by ?a . ?a rdf:type ontology:common_name . ?t rdf:type ontology:print } } GROUP BY ?a } . FILTER ( ?l = 1 ) }
[]
common name house print
SYSTEM
34
Q1434742 Q5482808 Q16328562 Q13422636 Q5344847 Q19635621 Q448169 Q3291384 Q130822 Q152245 Q18175809 Q38200 Q9439 Q15454222 Q5498834 Q153815 Q19403561 Q3132908 Q1542046 Q795117 Q8008060 Q3340239 Q335667 Q2935138 Q250732 Q354309 Q104190 Q740642 Q395635 Q7343203 Q1385734 Q3351435 Q57180 Q731799
(c(Q3947)|c(Q11060274),P88,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q3947
action find_reverse_tuple_counts
relation P88
type Q502895
type Q11060274
value 1
[ANSWER]
[[{'concept': 'Q3947'}, {'concept': 'Q11060274'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) ?a WHERE { { ?t rdf:type ontology:Q3947 . ?a rdf:type ontology:Q502895 . ?t property:P88 ?a } UNION { ?t property:P88 ?a . ?a rdf:type ontology:Q502895 . ?t rdf:type ontology:Q11060274 } } GROUP BY ?a } . FILTER ( ?l = 1 ) }
Ludwig Schneller Francis Willoughby Leonidas Deligiorgis Willy Bleissem Edward Phelips Gábor Patachich Alva Belmont Mariano Guadalupe Vallejo William IV of the United Kingdom Albert, Prince Consort Giorgio Contarini John Thynne Queen Victoria Josef Neven DuMont Frederick Tatham Princess Margaret, Countess of Snowdon Alfons Mauser Henry Le Tonnelier de Breteuil Wilhelm Girardet Christian Louis de Montmorency-Luxembourg William Duff, 1st Earl Fife Nicolas de Launay Henry Bathurst, 2nd Earl Bathurst Camillo Francesco Maria Pamphili John Linnell William Cecil, 1st Baron Burghley Robert Walpole Nicolas de Neufville de Villeroy Agostino Chigi Robert Cromek Francesco Pisani Olivier Voutier Frederick William IV of Prussia Giovanni Ricci
34
action count
action approx
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type house
action find_reverse_tuple_counts
relation commissioned by
type common name
type print
value 1
[[{'concept': 'house'}, {'concept': 'print'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) ?a WHERE { { ?t rdf:type ontology:house . ?a rdf:type ontology:common_name . ?t property:commissioned_by ?a } UNION { ?t property:commissioned_by ?a . ?a rdf:type ontology:common_name . ?t rdf:type ontology:print } } GROUP BY ?a } . FILTER ( ?l = 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1251563 Q981839
P50 P123
Q2342494
USER
Which collectables are Frederick Copleston an author of and were published by Doubleday ?
AND((c(Q2342494),P50,Q981839), (c(Q2342494),P123,Q1251563))
action filter_type
action intersection
action find_reverse
entity Q981839
relation P50
action find_reverse
entity Q1251563
relation P123
type Q2342494
{'AND': [[{'concept': 'Q2342494'}, 'P50', 'Q981839'], [{'concept': 'Q2342494'}, 'P123', 'Q1251563']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2342494 . ?s property:P50 resource:Q981839 . ?s property:P123 resource:Q1251563 }
Doubleday Frederick Copleston
action filter_type
action intersection
action find_reverse
entity Frederick Copleston
relation author
action find_reverse
entity Doubleday
relation publisher
type collectable
{'AND': [[{'concept': 'collectable'}, 'author', 'Frederick Copleston'], [{'concept': 'collectable'}, 'publisher', 'Doubleday']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:collectable . ?s property:author resource:Frederick_Copleston . ?s property:publisher resource:Doubleday }
[]
collectable
Q2306345
SYSTEM
A History of Philosophy
Q2306345
AND((c(Q2342494),P50,Q981839), (c(Q2342494),P123,Q1251563))
action filter_type
action intersection
action find_reverse
entity Q981839
relation P50
action find_reverse
entity Q1251563
relation P123
type Q2342494
[ANSWER] is Frederick Copleston an author of and were published by Doubleday
{'AND': [[{'concept': 'Q2342494'}, 'P50', 'Q981839'], [{'concept': 'Q2342494'}, 'P123', 'Q1251563']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2342494 . ?s property:P50 resource:Q981839 . ?s property:P123 resource:Q1251563 }
A History of Philosophy
A History of Philosophy is Frederick Copleston an author of and were published by Doubleday
A History of Philosophy
action filter_type
action intersection
action find_reverse
entity Frederick Copleston
relation author
action find_reverse
entity Doubleday
relation publisher
type collectable
{'AND': [[{'concept': 'collectable'}, 'author', 'Frederick Copleston'], [{'concept': 'collectable'}, 'publisher', 'Doubleday']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:collectable . ?s property:author resource:Frederick_Copleston . ?s property:publisher resource:Doubleday }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2306345 Q981839
P50
Q502895
USER
Was Frederick Copleston the writer of that collectable ?
(Q2306345,P50,Q981839)
action is_in
entity Q981839
action find
entity Q2306345
relation P50
['Q2306345', 'P50', 'Q981839']
ASK WHERE { resource:Q2306345 property:P50 resource:Q981839 }
A History of Philosophy Frederick Copleston
action is_in
entity Frederick Copleston
action find
entity A History of Philosophy
relation author
['A History of Philosophy', 'author', 'Frederick Copleston']
ASK WHERE { resource:A_History_of_Philosophy property:author resource:Frederick_Copleston }
[]
common name
SYSTEM
YES
(Q2306345,P50,Q981839)
action is_in
entity Q981839
action find
entity Q2306345
relation P50
[ANSWER]
['Q2306345', 'P50', 'Q981839']
ASK WHERE { resource:Q2306345 property:P50 resource:Q981839 }
Yes
action is_in
entity Frederick Copleston
action find
entity A History of Philosophy
relation author
['A History of Philosophy', 'author', 'Frederick Copleston']
ASK WHERE { resource:A_History_of_Philosophy property:author resource:Frederick_Copleston }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1441
Q2342494 Q15707583
USER
Which fictional taxons are present in atleast 2 collectables ?
(c(Q15707583),P1441,c(Q2342494))
action atleast
action find_tuple_counts
relation P1441
type Q15707583
type Q2342494
value 2
[{'concept': 'Q15707583'}, 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?n ) WHERE { ?a property:P1441 ?q . ?a rdf:type ontology:Q15707583 . ?q rdf:type ontology:Q2342494 } GROUP BY ?a } . FILTER ( ?n >= 2 ) }
action atleast
action find_tuple_counts
relation present in work
type fictional taxon
type collectable
value 2
[{'concept': 'fictional taxon'}, 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?n ) WHERE { ?a property:present_in_work ?q . ?a rdf:type ontology:fictional_taxon . ?q rdf:type ontology:collectable } GROUP BY ?a } . FILTER ( ?n >= 2 ) }
[]
collectable fictional taxon
Q6043512 Q2292021 Q3217957
SYSTEM
Szass Tam, Eagle, Larloch
Q6043512 Q2292021 Q3217957
(c(Q15707583),P1441,c(Q2342494))
action atleast
action find_tuple_counts
relation P1441
type Q15707583
type Q2342494
value 2
[ANSWERS] are present in atleast 2 collectables
[{'concept': 'Q15707583'}, 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?n ) WHERE { ?a property:P1441 ?q . ?a rdf:type ontology:Q15707583 . ?q rdf:type ontology:Q2342494 } GROUP BY ?a } . FILTER ( ?n >= 2 ) }
Szass Tam Eagle Larloch
Szass Tam, Eagle and Larloch are present in atleast 2 collectables
Szass Tam Eagle Larloch
action atleast
action find_tuple_counts
relation present in work
type fictional taxon
type collectable
value 2
[{'concept': 'fictional taxon'}, 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?n ) WHERE { ?a property:present_in_work ?q . ?a rdf:type ontology:fictional_taxon . ?q rdf:type ontology:collectable } GROUP BY ?a } . FILTER ( ?n >= 2 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P1441
Q2342494 Q166142
USER
How many collectables or applications feature that fictional taxon ?
(Q3217957,P1441,c(Q2342494)) (Q3217957,P1441,c(Q166142)) (Q6043512,P1441,c(Q2342494)) (Q6043512,P1441,c(Q166142)) (Q2292021,P1441,c(Q2342494)) (Q2292021,P1441,c(Q166142)) (Q3217957,P1441,c(Q2342494)) (Q3217957,P1441,c(Q166142))
['Q3217957', 'P1441', {'concept': 'Q2342494'}] ['Q3217957', 'P1441', {'concept': 'Q166142'}] ['Q6043512', 'P1441', {'concept': 'Q2342494'}] ['Q6043512', 'P1441', {'concept': 'Q166142'}] ['Q2292021', 'P1441', {'concept': 'Q2342494'}] ['Q2292021', 'P1441', {'concept': 'Q166142'}] ['Q3217957', 'P1441', {'concept': 'Q2342494'}] ['Q3217957', 'P1441', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q3217957 property:P1441 ?z } UNION { resource:Q3217957 property:P1441 ?y } UNION { resource:Q6043512 property:P1441 ?z } UNION { resource:Q6043512 property:P1441 ?y } UNION { resource:Q2083022 property:P1441 ?z } UNION { resource:Q2083022 property:P1441 ?y } UNION { resource:Q3217957 property:P1441 ?z } UNION { resource:Q3217957 property:P1441 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q166142 }
['Larloch', 'present in work', {'concept': 'collectable'}] ['Larloch', 'present in work', {'concept': 'application'}] ['Szass Tam', 'present in work', {'concept': 'collectable'}] ['Szass Tam', 'present in work', {'concept': 'application'}] ['Eagle', 'present in work', {'concept': 'collectable'}] ['Eagle', 'present in work', {'concept': 'application'}] ['Larloch', 'present in work', {'concept': 'collectable'}] ['Larloch', 'present in work', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Larloch property:present_in_work ?z } UNION { resource:Larloch property:present_in_work ?y } UNION { resource:Szass_Tam property:present_in_work ?z } UNION { resource:Szass_Tam property:present_in_work ?y } UNION { resource:Eagle property:present_in_work ?z } UNION { resource:Eagle property:present_in_work ?y } UNION { resource:Larloch property:present_in_work ?z } UNION { resource:Larloch property:present_in_work ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:application }
[]
collectable application
Quantitative|Count|Mult. entity type|Clarification
Q2292021
SYSTEM
Did you mean Eagle ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q3217957 property:P1441 ?z } UNION { resource:Q3217957 property:P1441 ?y } UNION { resource:Q6043512 property:P1441 ?z } UNION { resource:Q6043512 property:P1441 ?y } UNION { resource:Q2083022 property:P1441 ?z } UNION { resource:Q2083022 property:P1441 ?y } UNION { resource:Q3217957 property:P1441 ?z } UNION { resource:Q3217957 property:P1441 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q166142 }
Did you mean Eagle ?
Eagle
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Larloch property:present_in_work ?z } UNION { resource:Larloch property:present_in_work ?y } UNION { resource:Szass_Tam property:present_in_work ?z } UNION { resource:Szass_Tam property:present_in_work ?y } UNION { resource:Eagle property:present_in_work ?z } UNION { resource:Eagle property:present_in_work ?y } UNION { resource:Larloch property:present_in_work ?z } UNION { resource:Larloch property:present_in_work ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:application }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Larloch. Could you tell me the answer for that?
(Q3217957,P1441,c(Q2342494)) (Q3217957,P1441,c(Q166142)) (Q6043512,P1441,c(Q2342494)) (Q6043512,P1441,c(Q166142)) (Q2292021,P1441,c(Q2342494)) (Q2292021,P1441,c(Q166142)) (Q3217957,P1441,c(Q2342494)) (Q3217957,P1441,c(Q166142))
Q3217957
['Q3217957', 'P1441', {'concept': 'Q2342494'}] ['Q3217957', 'P1441', {'concept': 'Q166142'}] ['Q6043512', 'P1441', {'concept': 'Q2342494'}] ['Q6043512', 'P1441', {'concept': 'Q166142'}] ['Q2292021', 'P1441', {'concept': 'Q2342494'}] ['Q2292021', 'P1441', {'concept': 'Q166142'}] ['Q3217957', 'P1441', {'concept': 'Q2342494'}] ['Q3217957', 'P1441', {'concept': 'Q166142'}]
['Larloch', 'present in work', {'concept': 'collectable'}] ['Larloch', 'present in work', {'concept': 'application'}] ['Szass Tam', 'present in work', {'concept': 'collectable'}] ['Szass Tam', 'present in work', {'concept': 'application'}] ['Eagle', 'present in work', {'concept': 'collectable'}] ['Eagle', 'present in work', {'concept': 'application'}] ['Larloch', 'present in work', {'concept': 'collectable'}] ['Larloch', 'present in work', {'concept': 'application'}]
[]
SYSTEM
3
Q17035379 Q16966042 Q16267529
(Q3217957,P1441,c(Q2342494)) (Q3217957,P1441,c(Q166142)) (Q6043512,P1441,c(Q2342494)) (Q6043512,P1441,c(Q166142)) (Q2292021,P1441,c(Q2342494)) (Q2292021,P1441,c(Q166142)) (Q3217957,P1441,c(Q2342494)) (Q3217957,P1441,c(Q166142))
[ANSWER]
['Q3217957', 'P1441', {'concept': 'Q2342494'}] ['Q3217957', 'P1441', {'concept': 'Q166142'}] ['Q6043512', 'P1441', {'concept': 'Q2342494'}] ['Q6043512', 'P1441', {'concept': 'Q166142'}] ['Q2292021', 'P1441', {'concept': 'Q2342494'}] ['Q2292021', 'P1441', {'concept': 'Q166142'}] ['Q3217957', 'P1441', {'concept': 'Q2342494'}] ['Q3217957', 'P1441', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q3217957 property:P1441 ?z } UNION { resource:Q3217957 property:P1441 ?y } UNION { resource:Q6043512 property:P1441 ?z } UNION { resource:Q6043512 property:P1441 ?y } UNION { resource:Q2083022 property:P1441 ?z } UNION { resource:Q2083022 property:P1441 ?y } UNION { resource:Q3217957 property:P1441 ?z } UNION { resource:Q3217957 property:P1441 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q166142 }
Lords of Darkness Realms of the Elves Baldur's Gate II: Enhanced Edition
3
['Larloch', 'present in work', {'concept': 'collectable'}] ['Larloch', 'present in work', {'concept': 'application'}] ['Szass Tam', 'present in work', {'concept': 'collectable'}] ['Szass Tam', 'present in work', {'concept': 'application'}] ['Eagle', 'present in work', {'concept': 'collectable'}] ['Eagle', 'present in work', {'concept': 'application'}] ['Larloch', 'present in work', {'concept': 'collectable'}] ['Larloch', 'present in work', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Larloch property:present_in_work ?z } UNION { resource:Larloch property:present_in_work ?y } UNION { resource:Szass_Tam property:present_in_work ?z } UNION { resource:Szass_Tam property:present_in_work ?y } UNION { resource:Eagle property:present_in_work ?z } UNION { resource:Eagle property:present_in_work ?y } UNION { resource:Larloch property:present_in_work ?z } UNION { resource:Larloch property:present_in_work ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:application }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q952737
P21 P22
Q502895
USER
Which people have Diego Abad de Santillán as a parent and are a male ?
AND((c(Q502895),P22,Q952737), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q952737
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q952737'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?x WHERE { ?x property:P22 resource:Q952737 . ?x property:P21 resource:Q6581097 . ?x rdf:type ontology:Q502895 }
male Diego Abad de Santillán
action filter_type
action intersection
action find_reverse
entity Diego Abad de Santillán
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Diego Abad de Santillán'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?x WHERE { ?x property:father resource:Diego_Abad_de_Santillán . ?x property:gender resource:male . ?x rdf:type ontology:common_name }
[]
common name
Q5806589
SYSTEM
Diego Santillán
Q5806589
AND((c(Q502895),P22,Q952737), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q952737
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Diego Abad de Santillán as a parent and are a male
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q952737'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?x WHERE { ?x property:P22 resource:Q952737 . ?x property:P21 resource:Q6581097 . ?x rdf:type ontology:Q502895 }
Diego Santillán
Diego Santillán have Diego Abad de Santillán as a parent and are a male
Diego Santillán
action filter_type
action intersection
action find_reverse
entity Diego Abad de Santillán
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Diego Abad de Santillán'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?x WHERE { ?x property:father resource:Diego_Abad_de_Santillán . ?x property:gender resource:male . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q838948
USER
How many works of art did atleast 20 people do the dubbing for ?
(c(Q838948),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 20
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?r ) WHERE { ?k rdf:type ontology:Q838948 . ?x rdf:type ontology:Q502895 . ?k property:P725 ?x } GROUP BY ?k } . FILTER ( ?r >= 20 ) }
action count
action atleast
action find_tuple_counts
relation voice actor
type work of art
type common name
value 20
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?r ) WHERE { ?k rdf:type ontology:work_of_art . ?x rdf:type ontology:common_name . ?k property:voice_actor ?x } GROUP BY ?k } . FILTER ( ?r >= 20 ) }
[]
common name work of art
SYSTEM
4
Q477365 Q16857406 Q1058469 Q19263748
(c(Q838948),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 20
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?r ) WHERE { ?k rdf:type ontology:Q838948 . ?x rdf:type ontology:Q502895 . ?k property:P725 ?x } GROUP BY ?k } . FILTER ( ?r >= 20 ) }
101 Dalmatians II: Patch's London Adventure The Jungle Book Ghost in the Shell 2: Innocence The Anthem of the Heart
4
action count
action atleast
action find_tuple_counts
relation voice actor
type work of art
type common name
value 20
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?r ) WHERE { ?k rdf:type ontology:work_of_art . ?x rdf:type ontology:common_name . ?k property:voice_actor ?x } GROUP BY ?k } . FILTER ( ?r >= 20 ) }
[]