Simple Question (Direct)
Simple Question
Q8336685
P21
Q290
USER
Which sex does Jean Neyret have ?
(Q8336685,P21,c(Q290))
action filter_type
action find
entity Q8336685
relation P21
type Q290
['Q8336685', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q8336685 property:P21 ?b }
Jean Neyret
action filter_type
action find
entity Jean Neyret
relation gender
type sex
['Jean Neyret', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Jean_Neyret property:gender ?b }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q8336685,P21,c(Q290))
action filter_type
action find
entity Q8336685
relation P21
type Q290
Jean Neyret has 1 [ANSWER]
['Q8336685', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q8336685 property:P21 ?b }
male
Jean Neyret has 1 male
male
action filter_type
action find
entity Jean Neyret
relation gender
type sex
['Jean Neyret', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Jean_Neyret property:gender ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8336685
P39
Q12737077
USER
What were the positions for which that person were appointed ?
(Q6581097,P39,c(Q12737077))
action filter_type
action find
entity Q8336685
relation P39
type Q12737077
['Q6581097', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q8336685 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Jean Neyret
action filter_type
action find
entity Jean Neyret
relation position held
type occupation
['male', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Jean_Neyret property:position_held ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q21032547 Q3044918
SYSTEM
senator of the French Third Republic, member of the French National Assembly
Q21032547 Q3044918
(Q6581097,P39,c(Q12737077))
action filter_type
action find
entity Q8336685
relation P39
type Q12737077
[ANSWERS]
['Q6581097', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q8336685 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
senator of the French Third Republic member of the French National Assembly
And senator of the French Third Republic and member of the French National Assembly
senator of the French Third Republic member of the French National Assembly
action filter_type
action find
entity Jean Neyret
relation position held
type occupation
['male', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Jean_Neyret property:position_held ?c . ?c rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q14945778
P39
Q502895
USER
Were Hannelore Lee-Jahnke appointed for the position of those occupations ?
(Q14945778,P39,Q21032547) (Q14945778,P39,Q3044918)
action is_in
entity prev_answer
action find
entity Q14945778
relation P39
['Q14945778', 'P39', 'Q21032547'] ['Q14945778', 'P39', 'Q3044918']
ASK WHERE { resource:Q14945778 property:P39 ?y . VALUES ( ?y ) { ( resource:Q21032547 ) ( resource:Q3044918 ) } }
Hannelore Lee-Jahnke
action is_in
entity prev_answer
action find
entity Hannelore Lee-Jahnke
relation position held
['Hannelore Lee-Jahnke', 'position held', 'senator of the French Third Republic'] ['Hannelore Lee-Jahnke', 'position held', 'member of the French\xa0National Assembly']
ASK WHERE { resource:Hannelore_Lee-Jahnke property:position_held ?y . VALUES ( ?y ) { ( resource:senator_of_the_French_Third_Republic ) ( resource:member_of_the_French National_Assembly ) } }
[]
common name
SYSTEM
NO
(Q14945778,P39,Q21032547) (Q14945778,P39,Q3044918)
action is_in
entity prev_answer
action find
entity Q14945778
relation P39
[ANSWER]
['Q14945778', 'P39', 'Q21032547'] ['Q14945778', 'P39', 'Q3044918']
ASK WHERE { resource:Q14945778 property:P39 ?y . VALUES ( ?y ) { ( resource:Q21032547 ) ( resource:Q3044918 ) } }
No
action is_in
entity prev_answer
action find
entity Hannelore Lee-Jahnke
relation position held
['Hannelore Lee-Jahnke', 'position held', 'senator of the French Third Republic'] ['Hannelore Lee-Jahnke', 'position held', 'member of the French\xa0National Assembly']
ASK WHERE { resource:Hannelore_Lee-Jahnke property:position_held ?y . VALUES ( ?y ) { ( resource:senator_of_the_French_Third_Republic ) ( resource:member_of_the_French National_Assembly ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1110905
P417
Q502895 Q12737077
USER
Which people are the patron saints of around the same number of occupations as Simplicio of Olbia ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q1110905
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:P417 ?t . ?t rdf:type ontology:Q502895 . ?k rdf:type ontology:Q12737077 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g rdf:type ontology:Q502895 . resource:Q1110905 property:P417 ?g } } . FILTER ( ?o = ?m ) }
Simplicio of Olbia
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Simplicio of Olbia
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:patron_saint ?t . ?t rdf:type ontology:common_name . ?k rdf:type ontology:occupation } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g rdf:type ontology:common_name . resource:Simplicio_of_Olbia property:patron_saint ?g } } . FILTER ( ?o = ?m ) }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q1110905
relation P417
type Q502895
[ANSWERS] are the patron saints of around the same number of occupations as Simplicio of Olbia
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:P417 ?t . ?t rdf:type ontology:Q502895 . ?k rdf:type ontology:Q12737077 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g rdf:type ontology:Q502895 . resource:Q1110905 property:P417 ?g } } . FILTER ( ?o = ?m ) }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the patron saints of around the same number of occupations as Simplicio of Olbia
Elizabeth II Tadeusz Kościuszko Louis IX of France
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Simplicio of Olbia
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:patron_saint ?t . ?t rdf:type ontology:common_name . ?k rdf:type ontology:occupation } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { ?g rdf:type ontology:common_name . resource:Simplicio_of_Olbia property:patron_saint ?g } } . FILTER ( ?o = ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q170547
P417
Q502895 Q12737077
USER
And what about Anthony the Great?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q170547
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:P417 ?r . ?b rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q502895 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Q170547 property:P417 ?n . ?n rdf:type ontology:Q502895 } } . FILTER ( ?t = ?g ) }
Anthony the Great
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Anthony the Great
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:patron_saint ?r . ?b rdf:type ontology:occupation . ?r rdf:type ontology:common_name } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Anthony_the_Great property:patron_saint ?n . ?n rdf:type ontology:common_name } } . FILTER ( ?t = ?g ) }
[]
common name occupation
Q166876 Q229190 Q44248
SYSTEM
Isidore of Seville, Catherine of Siena, Jerome
Q229190 Q328804 Q166876 Q170547 Q183240 Q196653 Q44265 Q744884 Q151967 Q44248
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q170547
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:P417 ?r . ?b rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q502895 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Q170547 property:P417 ?n . ?n rdf:type ontology:Q502895 } } . FILTER ( ?t = ?g ) }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Saint Lucy Saint Veronica Benedict of Nursia Zita Saint Blaise Jerome
Isidore of Seville Catherine of Siena Jerome
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Anthony the Great
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?t ) WHERE { ?b property:patron_saint ?r . ?b rdf:type ontology:occupation . ?r rdf:type ontology:common_name } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Anthony_the_Great property:patron_saint ?n . ?n rdf:type ontology:common_name } } . FILTER ( ?t = ?g ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do atmost 2128 people know to play ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2128
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?z <= 2128 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2128
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?z <= 2128 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2128
Atmost 2128 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?z <= 2128 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Atmost 2128 people know about davul, harpsichord and Wurlitzer electric piano
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2128
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?z ) WHERE { ?k property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?z <= 2128 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1303
Q502895
USER
How many people knows to play that musical instrument ?
(c(Q502895),P1303,Q81982)
[{'concept': 'Q502895'}, 'P1303', 'Q81982']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1303 resource:Q81982 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'instrument', 'harpsichord']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:instrument resource:harpsichord . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q1178361
SYSTEM
Did you mean davul ?
(c(Q502895),P1303,Q1178361) (c(Q502895),P1303,Q81982) (c(Q502895),P1303,Q1759986)
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1303 resource:Q81982 . ?z rdf:type ontology:Q502895 }
Did you mean davul ?
davul
[{'concept': 'common name'}, 'instrument', 'davul'] [{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'Wurlitzer electric piano']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:instrument resource:harpsichord . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant harpsichord. Could you tell me the answer for that?
(c(Q502895),P1303,Q81982)
Q81982
[{'concept': 'Q502895'}, 'P1303', 'Q81982']
[{'concept': 'common name'}, 'instrument', 'harpsichord']
[]
SYSTEM
155
Q5125310 Q3147213 Q45909 Q1270605 Q3218863 Q4497156 Q2965877 Q18889499 Q3613839 Q11434081 Q378905 Q96304 Q289847 Q446103 Q3295831 Q2805699 Q2556199 Q339128 Q876342 Q1348195 Q11454604 Q3560424 Q1895475 Q459715 Q3573587 Q17648436 Q2958126 Q3148824 Q1976924 Q551008 Q3619994 Q3724246 Q2528311 Q3181642 Q3106857 Q3411056 Q160257 Q3168308 Q3190862 Q434644 Q3667494 Q2424360 Q3827718 Q2034506 Q2553716 Q1284831 Q2535808 Q699207 Q463998 Q22712389 Q1046616 Q13334256 Q314799 Q3298708 Q457010 Q2094389 Q3350801 Q6264882 Q1709071 Q2526926 Q590410 Q965256 Q2837040 Q3452937 Q6733079 Q3168042 Q3142793 Q3568609 Q9253269 Q1959923 Q3183956 Q509362 Q254 Q3168842 Q434774 Q2414155 Q3154364 Q1339 Q963003 Q15041700 Q700648 Q18642513 Q70011 Q969937 Q3761917 Q3010160 Q3587893 Q2462092 Q1682366 Q21088137 Q231234 Q2564666 Q4526398 Q339929 Q1682344 Q3507386 Q2416902 Q3141950 Q3524273 Q199856 Q4979366 Q928954 Q571445 Q3446656 Q3219532 Q963831 Q2959912 Q1406863 Q2848507 Q3162009 Q3287715 Q119189 Q3136187 Q3315982 Q2451955 Q3725604 Q92244 Q5112624 Q376588 Q1843799 Q445985 Q521250 Q4980119 Q2140912 Q17630873 Q76735 Q181474 Q18214287 Q319306 Q435198 Q2870861 Q563321 Q2574241 Q597101 Q2982659 Q3351094 Q3187447 Q560325 Q2735112 Q697674 Q3294067 Q739019 Q274544 Q3147203 Q2898792 Q4133063 Q718398 Q2899489 Q3167320 Q3154996 Q23001989 Q609940 Q2856990 Q3317233 Q3293546
(c(Q502895),P1303,Q81982)
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q81982']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1303 resource:Q81982 . ?z rdf:type ontology:Q502895 }
Claire Schapira Iakovos Pappas John Cale Lars Ulrik Mortensen Laurence Boulay Stanislav Heller Christine Auger Francesco Mazzoli Ambrogio Minoja Naoya Ōtsuka Michael Wollny Tobias Koch Étienne Loulié Huguette Dreyfus Martine Roche Frédérick Haas Anne Gallet Rafael Puyana Fritz Neumeyer Louis-Emmanuel Jadin Kanoko Miyazaki Violet Gordon-Woodhouse Marguerite Roesgen-Champion Matteo Messori Yves Cuenot Władysław Kłosiewicz Charles-Henri Plantade Ilton Wjuniski Aimée Van de Wiele Jon Laukvik Antonio Palella Emilia Fadini Jovanka Marville John Grew Giovanni Pietro Del Buono Putnam Aldrich Wanda Landowska Jean-Patrice Brosse Jérôme Correas Christiane Jaccottet Chiara Massini Antoine Geoffroy-Dechaume Laura Alvini Luciano Sgrizzi Jean Rondeau Eta Harich-Schneider Václav Luks Joseph Anton Steffan James Nares Martine Reymond Tim Rice-Oxley Anne-Catherine Bucher Antonio Soler Mathieu Duguay Igor Kipnis Pietro Alessandro Guglielmi Olivier Baumont John Worgan Martha Goldstein Vincenzo Lavigna Christophe Rousset Alan Curtis Aline d'Ambricourt Ruggero Gerlin Mahan Esfahani Jean-Michel Hasler Huguette Grémy-Chauliac William Felton Elżbieta Stefańska Christine Whiffen Jory Vinikour Françoise-Charlotte de Senneterre Ménétou Wolfgang Amadeus Mozart Jean-Philippe Navarre Trevor Pinnock Skip Sempé Irina Danšina Johann Sebastian Bach Thurston Dart Cosimo Damiano Lanza Masaaki Suzuki Pierre-Alain Clerc Edith Picht-Axenfeld Denis Bédard Giacinto Manna Céline Frisch Élisabeth Joyé Pascal Dubreuil Jan Willem Jansen Yasuko Uyama-Bouvard Zuzana Růžičková Beatrice Berstel Miklós Spányi Thomas Linley the elder Joseph-Nicolas-Pancrace Royer Sylvie Pécot-Douatte Blandine Verlet Hubert Bédard Thierry Geffrotin Johann Christian Schieferdecker Bruno Procopio Vincenzo Manfredini Rinaldo Alessandrini Rudi Jacques Laurent Teycheney Ottavio Dantone Charles Noblet Fernando Valenti André Raynaud Janine Reiss Marc-Roger Normand Vital Julian Frey Nicholas McGegan Mireille Lagacé Yves Rechsteiner Enrico Baiano Johann Paul Schulthesius Christopher Jackson William Christie Frédéric Champion Emmanuelle Haïm Marcelle de Lacour Sophie Stebnowska Blandine Rannou Jean-Luc Ho Karl Richter Teodorico Pedrini Véronique Carrot Oscar Milani Christopher Hogwood Marguerite-Antoinette Couperin Kenneth Gilbert Elisabeth Chojnacka Ralph Kirkpatrick Colin Tilney Olivier Houette Joël Pontet Hervé Niquet William Babell René Clemencic Mark Edwards Giovanni Battista Lampugnani Isolde Ahlgrimm Iain Simcock Bernard de Bury Malcolm Hamilton Robert Veyron-Lacroix Bertrand Cuiller Jean-Marc Aymes Isabelle Nef György Vashegyi Marguerite-Louise Couperin Anton Bemetzrieder Mitzi Meyerson Mario Raskin
155
[{'concept': 'common name'}, 'instrument', 'harpsichord']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:instrument resource:harpsichord . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P88
Q502895 Q16970 Q234460
USER
Which people commissioned around 1 churches or texts ?
(c(Q16970)|c(Q234460),P88,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P88
type Q502895
type Q234460
value 1
[[{'concept': 'Q16970'}, {'concept': 'Q234460'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?p ) WHERE { { ?g property:P88 ?f . ?f rdf:type ontology:Q502895 . ?g rdf:type ontology:Q16970 } UNION { ?g property:P88 ?f . ?f rdf:type ontology:Q502895 . ?g rdf:type ontology:Q234460 } } GROUP BY ?f } }
action approx
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type church
action find_reverse_tuple_counts
relation commissioned by
type common name
type text
value 1
[[{'concept': 'church'}, {'concept': 'text'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?p ) WHERE { { ?g property:commissioned_by ?f . ?f rdf:type ontology:common_name . ?g rdf:type ontology:church } UNION { ?g property:commissioned_by ?f . ?f rdf:type ontology:common_name . ?g rdf:type ontology:text } } GROUP BY ?f } }
[]
common name church text
Q968484 Q37594 Q459684
SYSTEM
Mikołaj Krzysztof "the Orphan" Radziwiłł, William I of England, Kunigunde of Bohemia
Q459684 Q41834 Q37594 Q2094034 Q105378 Q586063 Q1213943 Q1527009 Q968484 Q8597
(c(Q16970)|c(Q234460),P88,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P88
type Q502895
type Q234460
value 1
[ANSWERS] commissioned around 1 churches or texts
[[{'concept': 'Q16970'}, {'concept': 'Q234460'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?p ) WHERE { { ?g property:P88 ?f . ?f rdf:type ontology:Q502895 . ?g rdf:type ontology:Q16970 } UNION { ?g property:P88 ?f . ?f rdf:type ontology:Q502895 . ?g rdf:type ontology:Q234460 } } GROUP BY ?f } }
Kunigunde of Bohemia Romanos IV Diogenes William I of England Edward Woyniłłowicz Henry the Lion Antoine-Adolphe Dupuch Karl Heinrich von Hornstein Albert von Bardewik Mikołaj Krzysztof "the Orphan" Radziwiłł Akbar
Mikołaj Krzysztof "the Orphan" Radziwiłł, William I of England and Kunigunde of Bohemia commissioned around 1 churches or texts
Mikołaj Krzysztof "the Orphan" Radziwiłł William I of England Kunigunde of Bohemia
action approx
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type church
action find_reverse_tuple_counts
relation commissioned by
type common name
type text
value 1
[[{'concept': 'church'}, {'concept': 'text'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?p ) WHERE { { ?g property:commissioned_by ?f . ?f rdf:type ontology:common_name . ?g rdf:type ontology:church } UNION { ?g property:commissioned_by ?f . ?f rdf:type ontology:common_name . ?g rdf:type ontology:text } } GROUP BY ?f } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q37594
P112
Q7743 Q41176
USER
How many homes or buildings were founded by William I of England ?
(c(Q7743),P112,Q37594) (c(Q41176),P112,Q37594)
action count
action union
action filter_type
action find_reverse
entity Q37594
relation P112
type Q7743
action filter_type
action find_reverse
entity Q37594
relation P112
type Q41176
[{'concept': 'Q7743'}, 'P112', 'Q37594'] [{'concept': 'Q41176'}, 'P112', 'Q37594']
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a rdf:type ?t . VALUES ( ?t ) { ( ontology:Q7743 ) ( ontology:Q41176 ) } }
William I of England
action count
action union
action filter_type
action find_reverse
entity William I of England
relation founder
type home
action filter_type
action find_reverse
entity William I of England
relation founder
type building
[{'concept': 'home'}, 'founder', 'William I of England'] [{'concept': 'building'}, 'founder', 'William I of England']
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a rdf:type ?t . VALUES ( ?t ) { ( ontology:home ) ( ontology:building ) } }
[]
home building
SYSTEM
2
Q727760 Q42646
(c(Q7743),P112,Q37594) (c(Q41176),P112,Q37594)
action count
action union
action filter_type
action find_reverse
entity Q37594
relation P112
type Q7743
action filter_type
action find_reverse
entity Q37594
relation P112
type Q41176
[ANSWER]
[{'concept': 'Q7743'}, 'P112', 'Q37594'] [{'concept': 'Q41176'}, 'P112', 'Q37594']
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a rdf:type ?t . VALUES ( ?t ) { ( ontology:Q7743 ) ( ontology:Q41176 ) } }
Lincoln Castle Windsor Castle
2
action count
action union
action filter_type
action find_reverse
entity William I of England
relation founder
type home
action filter_type
action find_reverse
entity William I of England
relation founder
type building
[{'concept': 'home'}, 'founder', 'William I of England'] [{'concept': 'building'}, 'founder', 'William I of England']
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a rdf:type ?t . VALUES ( ?t ) { ( ontology:home ) ( ontology:building ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q37594
P39
Q12737077 Q4164871
USER
How many occupations or positions were the positions for which William I of England were appointed ?
(Q37594,P39,c(Q12737077)) (Q37594,P39,c(Q4164871))
action count
action union
action filter_type
action find
entity Q37594
relation P39
type Q12737077
action filter_type
action find
entity Q37594
relation P39
type Q4164871
['Q37594', 'P39', {'concept': 'Q12737077'}] ['Q37594', 'P39', {'concept': 'Q4164871'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a rdf:type ?s . VALUES ( ?s ) { ( ontology:Q4164871 ) ( ontology:Q12737077 ) } }
William I of England
action count
action union
action filter_type
action find
entity William I of England
relation position held
type occupation
action filter_type
action find
entity William I of England
relation position held
type position
['William I of England', 'position held', {'concept': 'occupation'}] ['William I of England', 'position held', {'concept': 'position'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a rdf:type ?s . VALUES ( ?s ) { ( ontology:position ) ( ontology:occupation ) } }
[]
occupation position
SYSTEM
2
Q18810062 Q460244
(Q37594,P39,c(Q12737077)) (Q37594,P39,c(Q4164871))
action count
action union
action filter_type
action find
entity Q37594
relation P39
type Q12737077
action filter_type
action find
entity Q37594
relation P39
type Q4164871
[ANSWER]
['Q37594', 'P39', {'concept': 'Q12737077'}] ['Q37594', 'P39', {'concept': 'Q4164871'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a rdf:type ?s . VALUES ( ?s ) { ( ontology:Q4164871 ) ( ontology:Q12737077 ) } }
Monarch of England Duke of Normandy
2
action count
action union
action filter_type
action find
entity William I of England
relation position held
type occupation
action filter_type
action find
entity William I of England
relation position held
type position
['William I of England', 'position held', {'concept': 'occupation'}] ['William I of England', 'position held', {'concept': 'position'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a rdf:type ?s . VALUES ( ?s ) { ( ontology:position ) ( ontology:occupation ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q459684
P21 P40
Q502895
USER
Which people have Kunigunde of Bohemia as an offspring and are a male ?
AND((c(Q502895),P40,Q459684), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q459684
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q459684'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?q WHERE { ?q property:P40 resource:Q459684 . ?q property:P21 resource:Q6581097 . ?q rdf:type ontology:Q502895 }
male Kunigunde of Bohemia
action filter_type
action intersection
action find_reverse
entity Kunigunde of Bohemia
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Kunigunde of Bohemia'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?q WHERE { ?q property:child resource:Kunigunde_of_Bohemia . ?q property:gender resource:male . ?q rdf:type ontology:common_name }
[]
common name
Q150320
SYSTEM
Ottokar II of Bohemia
Q150320
AND((c(Q502895),P40,Q459684), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q459684
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Kunigunde of Bohemia as an offspring and are a male
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q459684'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?q WHERE { ?q property:P40 resource:Q459684 . ?q property:P21 resource:Q6581097 . ?q rdf:type ontology:Q502895 }
Ottokar II of Bohemia
Ottokar II of Bohemia have Kunigunde of Bohemia as an offspring and are a male
Ottokar II of Bohemia
action filter_type
action intersection
action find_reverse
entity Kunigunde of Bohemia
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Kunigunde of Bohemia'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?q WHERE { ?q property:child resource:Kunigunde_of_Bohemia . ?q property:gender resource:male . ?q rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P27
Q1048835
USER
How many political territories are that person a civilian of ?
(Q150320,P27,c(Q1048835))
action count
action filter_type
action find
entity Q150320
relation P27
type Q1048835
['Q150320', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Q150320 property:P27 ?c . ?c rdf:type ontology:Q1048835 }
action count
action filter_type
action find
entity Ottokar II of Bohemia
relation country of citizenship
type political territorial entity
['Ottokar II of Bohemia', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Ottokar_II_of_Bohemia property:country_of_citizenship ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q40
(Q150320,P27,c(Q1048835))
action count
action filter_type
action find
entity Q150320
relation P27
type Q1048835
[ANSWER]
['Q150320', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Q150320 property:P27 ?c . ?c rdf:type ontology:Q1048835 }
Austria
1
action count
action filter_type
action find
entity Ottokar II of Bohemia
relation country of citizenship
type political territorial entity
['Ottokar II of Bohemia', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Ottokar_II_of_Bohemia property:country_of_citizenship ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q150320
P40
Q502895
USER
How many people are a successors of Ottokar II of Bohemia ?
(Q150320,P40,c(Q502895))
action count
action filter_type
action find
entity Q150320
relation P40
type Q502895
['Q150320', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Q150320 property:P40 ?s . ?s rdf:type ontology:Q502895 }
Ottokar II of Bohemia
action count
action filter_type
action find
entity Ottokar II of Bohemia
relation child
type common name
['Ottokar II of Bohemia', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Ottokar_II_of_Bohemia property:child ?s . ?s rdf:type ontology:common_name }
[]
common name
SYSTEM
5
Q2656351 Q5361410 Q638363 Q459684 Q155581
(Q150320,P40,c(Q502895))
action count
action filter_type
action find
entity Q150320
relation P40
type Q502895
[ANSWER]
['Q150320', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Q150320 property:P40 ?s . ?s rdf:type ontology:Q502895 }
Agnes of Bohemia Elisabeth, daughter of Ottokar II Nicholas I of Bohemia Kunigunde of Bohemia Wenceslaus II of Bohemia
5
action count
action filter_type
action find
entity Ottokar II of Bohemia
relation child
type common name
['Ottokar II of Bohemia', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Ottokar_II_of_Bohemia property:child ?s . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2485385
Q502895
USER
And also tell me about Richard Boyle, 1st Earl of Cork?
(Q2485385,P40,c(Q502895))
action count
action filter_type
action find
entity Q2485385
relation P40
type Q502895
['Q2485385', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { resource:Q2485385 property:P40 ?l . ?l rdf:type ontology:Q502895 }
Richard Boyle, 1st Earl of Cork
action count
action filter_type
action find
entity Richard Boyle, 1st Earl of Cork
relation child
type common name
['Richard Boyle, 1st Earl of Cork', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { resource:Richard_Boyle,_1st_Earl_of_Cork property:child ?l . ?l rdf:type ontology:common_name }
[]
common name
SYSTEM
1
(Q2485385,P40,c(Q502895))
action count
action filter_type
action find
entity Q2485385
relation P40
type Q502895
[ANSWER]
['Q2485385', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { resource:Q2485385 property:P40 ?l . ?l rdf:type ontology:Q502895 }
1
action count
action filter_type
action find
entity Richard Boyle, 1st Earl of Cork
relation child
type common name
['Richard Boyle, 1st Earl of Cork', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { resource:Richard_Boyle,_1st_Earl_of_Cork property:child ?l . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q166142
USER
Which applications had atleast 15 people as the dubbing artist ?
(c(Q166142),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 15
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?g ) WHERE { ?a rdf:type ontology:Q166142 . ?c rdf:type ontology:Q502895 . ?a property:P725 ?c } GROUP BY ?a } . FILTER ( ?g >= 15 ) }
action atleast
action find_tuple_counts
relation voice actor
type application
type common name
value 15
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?g ) WHERE { ?a rdf:type ontology:application . ?c rdf:type ontology:common_name . ?a property:voice_actor ?c } GROUP BY ?a } . FILTER ( ?g >= 15 ) }
[]
common name application
Q843131 Q1371603 Q1052131
SYSTEM
Super Smash Bros. Brawl, Star Fox 64 3D, Super Smash Bros. Melee
Q1052131 Q843131 Q1371603 Q2666042
(c(Q166142),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 15
[ANSWERS] had atleast 15 people as the dubbing artist
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?g ) WHERE { ?a rdf:type ontology:Q166142 . ?c rdf:type ontology:Q502895 . ?a property:P725 ?c } GROUP BY ?a } . FILTER ( ?g >= 15 ) }
Super Smash Bros. Melee Super Smash Bros. Brawl Star Fox 64 3D Star Fox: Assault
Super Smash Bros. Brawl, Star Fox 64 3D and Super Smash Bros. Melee had atleast 15 people as the dubbing artist
Super Smash Bros. Brawl Star Fox 64 3D Super Smash Bros. Melee
action atleast
action find_tuple_counts
relation voice actor
type application
type common name
value 15
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?g ) WHERE { ?a rdf:type ontology:application . ?c rdf:type ontology:common_name . ?a property:voice_actor ?c } GROUP BY ?a } . FILTER ( ?g >= 15 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P725
Q502895
USER
How many people were that application dubbed by ?
(Q843131,P725,c(Q502895))
['Q843131', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q843131 property:Q2405480 ?z . ?z rdf:type ontology:Q502895 }
['Super Smash Bros. Brawl', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Super_Smash_Bros._Brawl property:voice_actor ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q1371603
SYSTEM
Did you mean Star Fox 64 3D ?
(Q843131,P725,c(Q502895)) (Q1371603,P725,c(Q502895)) (Q1052131,P725,c(Q502895))
[ANSWER]
['Q843131', 'P725', {'concept': 'Q502895'}] ['Q1371603', 'P725', {'concept': 'Q502895'}] ['Q1052131', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q843131 property:Q2405480 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Star Fox 64 3D ?
Star Fox 64 3D
['Super Smash Bros. Brawl', 'voice actor', {'concept': 'common name'}] ['Star Fox 64 3D', 'voice actor', {'concept': 'common name'}] ['Super Smash Bros. Melee', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Super_Smash_Bros._Brawl property:voice_actor ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Super Smash Bros. Brawl. Could you tell me the answer for that?
(Q843131,P725,c(Q502895))
Q843131
['Q843131', 'P725', {'concept': 'Q502895'}]
['Super Smash Bros. Brawl', 'voice actor', {'concept': 'common name'}]
[]
SYSTEM
52
Q1371555 Q1351561 Q11353296 Q21035092 Q1206700 Q1193042 Q11620436 Q1155778 Q2440809 Q1323029 Q1349299 Q233380 Q19819860 Q719326 Q4409940 Q1043889 Q239389 Q2409063 Q4910695 Q3140773 Q3117090 Q703384 Q2540053 Q2966639 Q711792 Q1132637 Q21035217 Q418649 Q21036155 Q1906721 Q9216199 Q3028534 Q21070613 Q1057620 Q6453064 Q1187800 Q932187 Q1043306 Q305233 Q12498487 Q592161 Q2601465 Q3416058 Q628591 Q21035577 Q4738855 Q16239152 Q1145291 Q255694 Q11548863 Q3482284 Q842746
(Q843131,P725,c(Q502895))
[ANSWER]
['Q843131', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q843131 property:Q2405480 ?z . ?z rdf:type ontology:Q502895 }
Kazumi Totaka Jun'ichi Kanemaru Ichiryūsai Teiya Jim Walker Tetsu Inada Mika Kanai Michihiko Hagi Kenji Nojima Hideyuki Tanaka Minami Takayama Hisao Egawa Ikue Ōtani Samantha Kelly Shin-ichiro Miki Kim Mai Guest Mahito Ōba Houko Kuwashima Lani Minella Bill Rogers Rikako Aikawa Jason Griffith Charles Martinet Ryō Horikawa Christopher Randolph David Hayter Makiko Ohmoto Jay Ward Akio Ōtsuka Eric Newsome Masahiro Sakurai Sachi Matsumoto Hironori Miyata Jason Adkins Akira Sasanuma Kyōko Tongū Atsushi Kisaichi Hajime Wakai Tomohisa Asō Takeshi Aono Michele Knotz Tomoko Kawakami Paul Eiding Rachael Lillis Sanae Kobayashi Mike McAuliffe Alésia Glidewell Dex Manley Daisuke Namikawa Hikaru Midorikawa Jun Mizusawa Shinobu Satouchi Tomoe Hanba
52
['Super Smash Bros. Brawl', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Super_Smash_Bros._Brawl property:voice_actor ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q843131
P400
Q241317
USER
What is the platform for which Super Smash Bros. Brawl was developed ?
(Q843131,P400,c(Q241317))
action filter_type
action find
entity Q843131
relation P400
type Q241317
['Q843131', 'P400', {'concept': 'Q241317'}]
SELECT DISTINCT ?v WHERE { resource:Q843131 property:P400 ?v . ?v rdf:type ontology:Q241317 }
Super Smash Bros. Brawl
action filter_type
action find
entity Super Smash Bros. Brawl
relation platform
type computing platform
['Super Smash Bros. Brawl', 'platform', {'concept': 'computing platform'}]
SELECT DISTINCT ?v WHERE { resource:Super_Smash_Bros._Brawl property:platform ?v . ?v rdf:type ontology:computing_platform }
[]
computing platform
Q8079
SYSTEM
Wii
Q8079
(Q843131,P400,c(Q241317))
action filter_type
action find
entity Q843131
relation P400
type Q241317
. [ANSWER]
['Q843131', 'P400', {'concept': 'Q241317'}]
SELECT DISTINCT ?v WHERE { resource:Q843131 property:P400 ?v . ?v rdf:type ontology:Q241317 }
Wii
. Wii
Wii
action filter_type
action find
entity Super Smash Bros. Brawl
relation platform
type computing platform
['Super Smash Bros. Brawl', 'platform', {'concept': 'computing platform'}]
SELECT DISTINCT ?v WHERE { resource:Super_Smash_Bros._Brawl property:platform ?v . ?v rdf:type ontology:computing_platform }
[]