Simple Question (Direct)
Simple Question
Q451771
P1196
Q1931388
USER
What manner did Amadeo de Souza Cardoso die ?
(Q451771,P1196,c(Q1931388))
action filter_type
action find
entity Q451771
relation P1196
type Q1931388
['Q451771', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?s WHERE { resource:Q451771 property:P1196 ?s . ?s rdf:type ontology:Q1931388 }
Amadeo de Souza Cardoso
action filter_type
action find
entity Amadeo de Souza Cardoso
relation manner of death
type cause of death
['Amadeo de Souza Cardoso', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?s WHERE { resource:Amadeo_de_Souza_Cardoso property:manner_of_death ?s . ?s rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q451771,P1196,c(Q1931388))
action filter_type
action find
entity Q451771
relation P1196
type Q1931388
Amadeo de Souza Cardoso died in [ANSWER]
['Q451771', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?s WHERE { resource:Q451771 property:P1196 ?s . ?s rdf:type ontology:Q1931388 }
natural causes
Amadeo de Souza Cardoso died in natural causes
natural causes
action filter_type
action find
entity Amadeo de Souza Cardoso
relation manner of death
type cause of death
['Amadeo de Souza Cardoso', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?s WHERE { resource:Amadeo_de_Souza_Cardoso property:manner_of_death ?s . ?s rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3739104
P509
Q502895
USER
Who died from that cause of death ?
(c(Q502895),P509,Q3739104)
action filter_type
action find_reverse
entity Q3739104
relation P509
type Q502895
[{'concept': 'Q502895'}, 'P509', 'Q3739104']
SELECT DISTINCT ?a WHERE { ?a property:P509 resource:Q3739104 . ?a rdf:type ontology:Q502895 }
natural causes
action filter_type
action find_reverse
entity natural causes
relation cause of death
type common name
[{'concept': 'common name'}, 'cause of death', 'natural causes']
SELECT DISTINCT ?a WHERE { ?a property:cause_of_death resource:natural_causes . ?a rdf:type ontology:common_name }
[]
common name
Q185007 Q170256 Q1057003
SYSTEM
Rita Levi-Montalcini, Chris Marker, The Rev
Q20748116 Q185007 Q316859 Q172928 Q3106793 Q1148054 Q774948 Q170256 Q5560590 Q1042915 Q168355 Q55391 Q3086496 Q381234 Q314929 Q1057003 Q3276795
(c(Q502895),P509,Q3739104)
action filter_type
action find_reverse
entity Q3739104
relation P509
type Q502895
[ANSWERS] died from that cause of death
[{'concept': 'Q502895'}, 'P509', 'Q3739104']
SELECT DISTINCT ?a WHERE { ?a property:P509 resource:Q3739104 . ?a rdf:type ontology:Q502895 }
Maria Cristina Villanova de Árbenz Rita Levi-Montalcini Ferdinand IV of Castile Clement IV Ginny Tyler William J. Tuttle Vesna Rožič Chris Marker Gil Perkins Carlos Franqui Don Beddoe Robert Bresson Françoise Giret Luis g berlanga Dick Francis The Rev James B. Clark
Rita Levi-Montalcini, Chris Marker and The Rev died from that cause of death
Rita Levi-Montalcini Chris Marker The Rev
action filter_type
action find_reverse
entity natural causes
relation cause of death
type common name
[{'concept': 'common name'}, 'cause of death', 'natural causes']
SELECT DISTINCT ?a WHERE { ?a property:cause_of_death resource:natural_causes . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P655
Q502895 Q2342494 Q7725634
USER
How many people are the translator of around 1 collectables or literary works ?
(c(Q2342494)|c(Q7725634),P655,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P655
type Q502895
type Q7725634
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q7725634'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?c ) WHERE { { ?m property:P655 ?q . ?q rdf:type ontology:Q502895 . ?m rdf:type ontology:Q2342494 } UNION { ?m property:P655 ?q . ?q rdf:type ontology:Q502895 . ?m rdf:type ontology:Q7725634 } } GROUP BY ?q } . FILTER ( ?c = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation translator
type common name
type collectable
action find_reverse_tuple_counts
relation translator
type common name
type literary work
value 1
[[{'concept': 'collectable'}, {'concept': 'literary work'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?c ) WHERE { { ?m property:translator ?q . ?q rdf:type ontology:common_name . ?m rdf:type ontology:collectable } UNION { ?m property:translator ?q . ?q rdf:type ontology:common_name . ?m rdf:type ontology:literary_work } } GROUP BY ?q } . FILTER ( ?c = 1 ) }
[]
common name collectable literary work
SYSTEM
133
Q15485966 Q1365246 Q6319456 Q8073032 Q15829932 Q166103 Q4776346 Q3893579 Q740181 Q5075584 Q15731133 Q583636 Q1204764 Q551916 Q315387 Q3002899 Q2034058 Q2342303 Q21198589 Q6106473 Q11892653 Q18057590 Q5592425 Q15830175 Q2426358 Q326446 Q19558763 Q5344871 Q173893 Q15730505 Q6221743 Q537725 Q27210315 Q948875 Q18194528 Q1261943 Q18910540 Q705464 Q736808 Q352725 Q2306330 Q12021951 Q117818 Q3435434 Q3480886 Q12347931 Q20741641 Q3750781 Q5083101 Q11867575 Q17384764 Q194797 Q6555626 Q964250 Q3666426 Q1291339 Q15845503 Q15730888 Q7833 Q24249650 Q15831362 Q15732079 Q5338555 Q4858769 Q1351224 Q25916882 Q16012057 Q13007 Q4374157 Q6830502 Q12044092 Q429915 Q5407336 Q11226970 Q5389664 Q12032593 Q26696385 Q2850611 Q5591211 Q24732882 Q12348796 Q12026167 Q993835 Q20880602 Q711132 Q2636383 Q7199 Q327853 Q11466035 Q7792959 Q17373543 Q78992 Q1142551 Q7791545 Q27645 Q5331522 Q2830584 Q18507214 Q12348348 Q1968214 Q4961807 Q503276 Q3370615 Q229646 Q9251137 Q6759575 Q600678 Q5076781 Q6218266 Q26696413 Q713705 Q4722337 Q263430 Q21993674 Q21121436 Q151720 Q435584 Q3570545 Q15731156 Q18912322 Q4231926 Q505466 Q23238000 Q356011 Q1077843 Q12355898 Q3361811 Q182905 Q3257803 Q15732879 Q15830142 Q2158925 Q4771483
(c(Q2342494)|c(Q7725634),P655,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P655
type Q502895
type Q7725634
value 1
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q7725634'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?c ) WHERE { { ?m property:P655 ?q . ?q rdf:type ontology:Q502895 . ?m rdf:type ontology:Q2342494 } UNION { ?m property:P655 ?q . ?q rdf:type ontology:Q502895 . ?m rdf:type ontology:Q7725634 } } GROUP BY ?q } . FILTER ( ?c = 1 ) }
Jay P. Green Vatslav Vorovsky Jyotirindranath Tagore Zlatoje Martinov August Radimský Étienne Lamotte Antonina W. Bouis Vilho Setälä Karel Sabina Charles Bertram Bronislaw Kuhl Bernhard Severin Ingemann Whittaker Chambers Jaume Grau Casas Frank P. Ramsey Cristoforo Armeno V. V. Adoratsky Gregory Rabassa William James Hickie J. Martin Holman Sauvo Puhtila Ernest Falconnet Graeme Wilson Jan Šafránek Thomas Nugent Antonin Klášterský Lucian Hobart Ryland Edward Plumptre John Wycliffe Isĥak Muĉnik John Bertram Phillips David Bellos Iain Patterson Ferenc Verseghy Henry Arthur Deuteros Phillips Karel Bohuš Kober Edward Philip Coleridge Masuji Ibuse John Sydenham Furnivall Richard Brinsley Sheridan Philip Henry Wicksteed Ivan Krestanov Jean Barbeyrac Robert Hurley Lewis Campbell Fran Janjić John P. O'Neill Antoni Rubió i Lluch Charles Valentine Le Grice Juho Jäykkä Konrad Alexis Waaranen Joscelyn Godwin Lionel Elvin Ilya Kaminsky-Halpérine Charles Kenneth Scott Moncrieff Edvard Fredin Anne Busnel Oskar Frode Boris Vian Jan Dolenský Václav Kredba Alexandra Mexin Edith Grossman Barbara Bray Pekka Hannikainen Julien François William Garcin Paull Franklin Baum Lidia Zamenhof Vladimir Posse Michael Gallagher Pavel J. Šulc Alexander Sumarokov Eugene H. Peterson Henrik Seppik Erkin Vohidov Ladislav Quis Itala Castellini Anna Swanwick Steven T. Byington Hynek Jaroslav Mejsnar Hendrik Coenraad Mees Josef Jiří Stankovský Otokar Fischer David Rosenberg Gerard van Swieten Richard Howard Marcel Proust C.V.A. Strandberg Atsuko Yamashita Thomas P. Whitney Jacek Giszczak Abraham Brill James Strang Thomas Kingsmill Abbott Mikhail Bakunin Ebba Segerberg Alan Sheridan Sarah Elizabeth Utterson Grenkamp Nikolay Khokhlov Breon Mitchell Charles Kay Ogden Paul Benoit G. E. M. Anscombe Edward Porębowicz Margaret Jull Costa Aleksey Pleshcheyev Charles DeKay John Addison Porter Natalia Rosi Herbert Giles Alfred Birnbaum Károly Szász Vincent Roudaut George Thornley Ken Liu Samuil Marshak Xan Fielding Andreo Fiŝer Thomas Bailey Saunders Natalia Konchalovskaïa Idries Shah Geoffrey Montague Cookson Richard Claverhouse Jebb Abdullah Yusuf Ali Tiberiu Morariu Pamphile LeMay Georgi Plekhanov Lodovico Domenichi Léon Bergiers Jan J. Benešovský-Veselý Robert Sutherland Rattray Anthea Bell
133
action count
action approx
action union
action find_reverse_tuple_counts
relation translator
type common name
type collectable
action find_reverse_tuple_counts
relation translator
type common name
type literary work
value 1
[[{'concept': 'collectable'}, {'concept': 'literary work'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?c ) WHERE { { ?m property:translator ?q . ?q rdf:type ontology:common_name . ?m rdf:type ontology:collectable } UNION { ?m property:translator ?q . ?q rdf:type ontology:common_name . ?m rdf:type ontology:literary_work } } GROUP BY ?q } . FILTER ( ?c = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q15726751
P725
Q502895 Q6619679
USER
How many fictional humanoids had their voice dubbing done by less number of people than Diamond Tiara ?
(c(Q6619679),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q15726751
relation P725
type Q502895
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?y ) WHERE { ?q property:P725 ?b . ?q rdf:type ontology:Q6619679 . ?b rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l rdf:type ontology:Q502895 . resource:Q15726751 property:P725 ?l } } . FILTER ( ?y < ?t ) }
Diamond Tiara
action count
action less
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Diamond Tiara
relation voice actor
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?y ) WHERE { ?q property:voice_actor ?b . ?q rdf:type ontology:fictional_humanoid . ?b rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l rdf:type ontology:common_name . resource:Diamond_Tiara property:voice_actor ?l } } . FILTER ( ?y < ?t ) }
[]
common name fictional humanoid
SYSTEM
25
Q1623086 Q1205263 Q4992177 Q24010814 Q819585 Q1079617 Q718965 Q3784876 Q4006757 Q15614636 Q1148698 Q1056953 Q250221 Q3149148 Q18156023 Q6989902 Q15726744 Q601978 Q757015 Q15620419 Q13471616 Q12879 Q19796729 Q716636 Q1154920
(c(Q6619679),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q15726751
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?y ) WHERE { ?q property:P725 ?b . ?q rdf:type ontology:Q6619679 . ?b rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l rdf:type ontology:Q502895 . resource:Q15726751 property:P725 ?l } } . FILTER ( ?y < ?t ) }
Hector Barbossa Eli Vance Cave Johnson Deckard Cain Jaina Proudmoore Wallace Breen Hinata Hyuga Henrietta Utena Tenjo Anna (Disney) Ai Haibara Minsc Alyx Vance Imoen Maud Pie Neku Sakuraba Silver Spoon Kyon Sailor Moon Elsa Mr. Bean Toph Beifong Michelle Mr. Burns Father Grigori
25
action count
action less
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Diamond Tiara
relation voice actor
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?y ) WHERE { ?q property:voice_actor ?b . ?q rdf:type ontology:fictional_humanoid . ?b rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l rdf:type ontology:common_name . resource:Diamond_Tiara property:voice_actor ?l } } . FILTER ( ?y < ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q15707554
P725
Q502895 Q6619679
USER
And also tell me about Apple Bloom?
(c(Q6619679),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q15707554
relation P725
type Q502895
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?a ) WHERE { ?p property:P725 ?h . ?p rdf:type ontology:Q6619679 . ?h rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Q15707554 property:P725 ?m . ?m rdf:type ontology:Q502895 } } . FILTER ( ?a < ?x ) }
Apple Bloom
action count
action less
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Apple Bloom
relation voice actor
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?a ) WHERE { ?p property:voice_actor ?h . ?p rdf:type ontology:fictional_humanoid . ?h rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Apple_Bloom property:voice_actor ?m . ?m rdf:type ontology:common_name } } . FILTER ( ?a < ?x ) }
[]
common name fictional humanoid
SYSTEM
29
Q1623086 Q1205263 Q11609133 Q15726751 Q4992177 Q24010814 Q11479883 Q819585 Q1079617 Q718965 Q3784876 Q4006757 Q15614636 Q1148698 Q1056953 Q18073923 Q250221 Q3149148 Q18156023 Q6989902 Q15726744 Q601978 Q757015 Q15620419 Q13471616 Q12879 Q19796729 Q716636 Q1154920
(c(Q6619679),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q15707554
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?a ) WHERE { ?p property:P725 ?h . ?p rdf:type ontology:Q6619679 . ?h rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Q15707554 property:P725 ?m . ?m rdf:type ontology:Q502895 } } . FILTER ( ?a < ?x ) }
Hector Barbossa Eli Vance Sayaka Miki Diamond Tiara Cave Johnson Deckard Cain Mami Tomoe Jaina Proudmoore Wallace Breen Hinata Hyuga Henrietta Utena Tenjo Anna (Disney) Ai Haibara Minsc Sunset Shimmer Alyx Vance Imoen Maud Pie Neku Sakuraba Silver Spoon Kyon Sailor Moon Elsa Mr. Bean Toph Beifong Michelle Mr. Burns Father Grigori
29
action count
action less
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Apple Bloom
relation voice actor
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?a ) WHERE { ?p property:voice_actor ?h . ?p rdf:type ontology:fictional_humanoid . ?h rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Apple_Bloom property:voice_actor ?m . ?m rdf:type ontology:common_name } } . FILTER ( ?a < ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q537750
P1303
Q34379 Q502895
USER
How many musical instruments can greater number of people perform with than Djembe ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q537750
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Q537750 property:P1303 ?l . ?l rdf:type ontology:Q34379 } } . FILTER ( ?v > ?b ) }
Djembe
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Djembe
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Djembe property:instrument ?l . ?l rdf:type ontology:musical_instrument } } . FILTER ( ?v > ?b ) }
[]
musical instrument common name
SYSTEM
22
Q80284 Q46185 Q80019 Q2563510 Q5994 Q81982 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q213100 Q626035 Q742180 Q1444 Q220971 Q128309 Q726306 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q537750
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Q537750 property:P1303 ?l . ?l rdf:type ontology:Q34379 } } . FILTER ( ?v > ?b ) }
viola bass guitar double bass steel-string acoustic guitar piano harpsichord vibraphone timpani trumpet cello violin harmonium upright piano tabla glockenspiel viola d'amore organ marimba drum kit erhu electronic keyboard drum
22
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Djembe
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Djembe property:instrument ?l . ?l rdf:type ontology:musical_instrument } } . FILTER ( ?v > ?b ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q170256 Q20162215
P735
Q82799
USER
How many names are the firstnames of Chris Marker or Winand of Rode ?
(Q170256,P735,c(Q82799)) (Q20162215,P735,c(Q82799))
action count
action union
action filter_type
action find
entity Q170256
relation P735
type Q82799
action filter_type
action find
entity Q20162215
relation P735
type Q82799
['Q170256', 'P735', {'concept': 'Q82799'}] ['Q20162215', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { VALUES ( ?o ) { ( resource:Q170256 ) ( resource:Q20162215 ) } . ?o property:P735 ?b }
Chris Marker Winand of Rode
action count
action union
action filter_type
action find
entity Chris Marker
relation given name
type name
action filter_type
action find
entity Winand of Rode
relation given name
type name
['Chris Marker', 'given name', {'concept': 'name'}] ['Winand of Rode', 'given name', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { VALUES ( ?o ) { ( resource:Chris_Marker ) ( resource:Winand_of_Rode ) } . ?o property:given_name ?b }
[]
name
SYSTEM
2
Q5082404 Q339346
(Q170256,P735,c(Q82799)) (Q20162215,P735,c(Q82799))
action count
action union
action filter_type
action find
entity Q170256
relation P735
type Q82799
action filter_type
action find
entity Q20162215
relation P735
type Q82799
[ANSWER]
['Q170256', 'P735', {'concept': 'Q82799'}] ['Q20162215', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { VALUES ( ?o ) { ( resource:Q170256 ) ( resource:Q20162215 ) } . ?o property:P735 ?b }
Wijnand Chris
2
action count
action union
action filter_type
action find
entity Chris Marker
relation given name
type name
action filter_type
action find
entity Winand of Rode
relation given name
type name
['Chris Marker', 'given name', {'concept': 'name'}] ['Winand of Rode', 'given name', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { VALUES ( ?o ) { ( resource:Chris_Marker ) ( resource:Winand_of_Rode ) } . ?o property:given_name ?b }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q838948
USER
Which works of art had their voice dubbing done by max number of people ?
(c(Q838948),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q838948
type Q502895
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?m ) { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?p ) WHERE { ?e property:P725 ?b . ?e rdf:type ontology:Q838948 . ?b rdf:type ontology:Q502895 } GROUP BY ?e } } . FILTER ( ?s = ?m ) . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?s ) WHERE { ?k property:P725 ?c . ?k rdf:type ontology:Q838948 . ?c rdf:type ontology:Q502895 } GROUP BY ?k } }
action argmax
action find_tuple_counts
relation voice actor
type work of art
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?m ) { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?p ) WHERE { ?e property:voice_actor ?b . ?e rdf:type ontology:work_of_art . ?b rdf:type ontology:common_name } GROUP BY ?e } } . FILTER ( ?s = ?m ) . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?s ) WHERE { ?k property:voice_actor ?c . ?k rdf:type ontology:work_of_art . ?c rdf:type ontology:common_name } GROUP BY ?k } }
[]
common name work of art
Q19263748
SYSTEM
The Anthem of the Heart
Q19263748
(c(Q838948),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q838948
type Q502895
[ANSWER] had their voice dubbing done by max number of people
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?m ) { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?p ) WHERE { ?e property:P725 ?b . ?e rdf:type ontology:Q838948 . ?b rdf:type ontology:Q502895 } GROUP BY ?e } } . FILTER ( ?s = ?m ) . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?s ) WHERE { ?k property:P725 ?c . ?k rdf:type ontology:Q838948 . ?c rdf:type ontology:Q502895 } GROUP BY ?k } }
The Anthem of the Heart
The Anthem of the Heart had their voice dubbing done by max number of people
The Anthem of the Heart
action argmax
action find_tuple_counts
relation voice actor
type work of art
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?m ) { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?p ) WHERE { ?e property:voice_actor ?b . ?e rdf:type ontology:work_of_art . ?b rdf:type ontology:common_name } GROUP BY ?e } } . FILTER ( ?s = ?m ) . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?s ) WHERE { ?k property:voice_actor ?c . ?k rdf:type ontology:work_of_art . ?c rdf:type ontology:common_name } GROUP BY ?k } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q133036
P2079
Q2695280 Q838948
USER
Which technicss are used for the assembly of greater number of works of art than lithography ?
(c(Q838948),P2079,c(Q2695280))
action greater
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find
entity Q133036
relation P2079
type Q2695280
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P2079 ?v . ?y rdf:type ontology:Q838948 . ?v rdf:type ontology:Q2695280 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { ?c rdf:type ontology:Q2695280 . resource:Q133036 property:P2079 ?c } } . FILTER ( ?n > ?l ) }
lithography
action greater
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find
entity lithography
relation fabrication method
type technics
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:fabrication_method ?v . ?y rdf:type ontology:work_of_art . ?v rdf:type ontology:technics } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { ?c rdf:type ontology:technics . resource:lithography property:fabrication_method ?c } } . FILTER ( ?n > ?l ) }
[]
technics work of art
Q1334300 Q170593
SYSTEM
gilding, collage
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action greater
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find
entity Q133036
relation P2079
type Q2695280
[ANSWERS] are used for the assembly of greater number of works of art than lithography
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:P2079 ?v . ?y rdf:type ontology:Q838948 . ?v rdf:type ontology:Q2695280 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { ?c rdf:type ontology:Q2695280 . resource:Q133036 property:P2079 ?c } } . FILTER ( ?n > ?l ) }
gilding collage
Gilding and collage are used for the assembly of greater number of works of art than lithography
gilding collage
action greater
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find
entity lithography
relation fabrication method
type technics
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?n ) WHERE { ?y property:fabrication_method ?v . ?y rdf:type ontology:work_of_art . ?v rdf:type ontology:technics } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { ?c rdf:type ontology:technics . resource:lithography property:fabrication_method ?c } } . FILTER ( ?n > ?l ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170593
P135
Q2695280
USER
Which technics did collage belong to
(Q170593,P135,c(Q2695280))
action filter_type
action find
entity Q170593
relation P135
type Q2695280
['Q170593', 'P135', {'concept': 'Q2695280'}]
SELECT DISTINCT ?b WHERE { resource:Q170593 property:P135 ?b . ?b rdf:type ontology:Q2695280 }
collage
action filter_type
action find
entity collage
relation movement
type technics
['collage', 'movement', {'concept': 'technics'}]
SELECT DISTINCT ?b WHERE { resource:collage property:movement ?b . ?b rdf:type ontology:technics }
[]
technics
Q123305
SYSTEM
appropriation
Q123305
(Q170593,P135,c(Q2695280))
action filter_type
action find
entity Q170593
relation P135
type Q2695280
Collage belonged to [ANSWER]
['Q170593', 'P135', {'concept': 'Q2695280'}]
SELECT DISTINCT ?b WHERE { resource:Q170593 property:P135 ?b . ?b rdf:type ontology:Q2695280 }
appropriation
Collage belonged to appropriation
appropriation
action filter_type
action find
entity collage
relation movement
type technics
['collage', 'movement', {'concept': 'technics'}]
SELECT DISTINCT ?b WHERE { resource:collage property:movement ?b . ?b rdf:type ontology:technics }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q123305
P136
Q502895
USER
Which person as that technics as its type ?
(c(Q502895),P136,Q123305)
action filter_type
action find_reverse
entity Q123305
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q123305']
SELECT DISTINCT ?h WHERE { ?h property:P136 resource:Q123305 . ?h rdf:type ontology:Q502895 }
appropriation
action filter_type
action find_reverse
entity appropriation
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'appropriation']
SELECT DISTINCT ?h WHERE { ?h property:genre resource:appropriation . ?h rdf:type ontology:common_name }
[]
common name
Q5568956
SYSTEM
Glenn Ligon
Q5568956
(c(Q502895),P136,Q123305)
action filter_type
action find_reverse
entity Q123305
relation P136
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P136', 'Q123305']
SELECT DISTINCT ?h WHERE { ?h property:P136 resource:Q123305 . ?h rdf:type ontology:Q502895 }
Glenn Ligon
Glenn Ligon
action filter_type
action find_reverse
entity appropriation
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'appropriation']
SELECT DISTINCT ?h WHERE { ?h property:genre resource:appropriation . ?h rdf:type ontology:common_name }
[]