Simple Question (Direct)
Simple Question
Q5346452
P1412
Q34770
USER
Which language is spoken by Edwin Gooch ?
(Q5346452,P1412,c(Q34770))
action filter_type
action find
entity Q5346452
relation P1412
type Q34770
['Q5346452', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q5346452 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
Edwin Gooch
action filter_type
action find
entity Edwin Gooch
relation languages spoken, written or signed
type language
['Edwin Gooch', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Edwin_Gooch property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5346452,P1412,c(Q34770))
action filter_type
action find
entity Q5346452
relation P1412
type Q34770
Is [ANSWER] is spoken by Edwin Gooch
['Q5346452', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q5346452 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
English
Is English is spoken by Edwin Gooch
English
action filter_type
action find
entity Edwin Gooch
relation languages spoken, written or signed
type language
['Edwin Gooch', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Edwin_Gooch property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5346452
P106
Q12737077
USER
Which occupation has Edwin Gooch as his/her 's career ?
(Q5346452,P106,c(Q12737077))
action filter_type
action find
entity Q5346452
relation P106
type Q12737077
['Q5346452', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q5346452 property:P106 ?b }
Edwin Gooch
action filter_type
action find
entity Edwin Gooch
relation occupation
type occupation
['Edwin Gooch', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Edwin_Gooch property:occupation ?b }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q5346452,P106,c(Q12737077))
action filter_type
action find
entity Q5346452
relation P106
type Q12737077
The [ANSWER] has Edwin Gooch as his/her 's career
['Q5346452', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q5346452 property:P106 ?b }
politician
The politician has Edwin Gooch as his/her 's career
politician
action filter_type
action find
entity Edwin Gooch
relation occupation
type occupation
['Edwin Gooch', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Edwin_Gooch property:occupation ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P425
Q3769299
USER
Which human behaviour is associated with the field of occupation that one ?
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q3769299 . resource:Q82955 property:P425 ?u }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:human_behaviour . resource:politician property:field_of_this_occupation ?u }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
That [ANSWER] is associated with the field of occupation that one
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q3769299 . resource:Q82955 property:P425 ?u }
politics
That politics is associated with the field of occupation that one
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:human_behaviour . resource:politician property:field_of_this_occupation ?u }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saints of min number of occupations ?
(c(Q12737077),P417,Q208331)
action argmin
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?l ) { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:P417 ?d . ?p rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q502895 } GROUP BY ?d } } . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q502895 . ?c property:P417 ?y } GROUP BY ?y } . FILTER ( ?h = ?l ) }
action argmin
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?l ) { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:patron_saint ?d . ?p rdf:type ontology:occupation . ?d rdf:type ontology:common_name } GROUP BY ?d } } . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ontology:occupation . ?y rdf:type ontology:common_name . ?c property:patron_saint ?y } GROUP BY ?y } . FILTER ( ?h = ?l ) }
[]
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,Q208331)
action argmin
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[ANSWERS] are the patron saints of min number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?l ) { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:P417 ?d . ?p rdf:type ontology:Q12737077 . ?d rdf:type ontology:Q502895 } GROUP BY ?d } } . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q502895 . ?c property:P417 ?y } GROUP BY ?y } . FILTER ( ?h = ?l ) }
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 min number of occupations
Elizabeth II Tadeusz Kościuszko Louis IX of France
action argmin
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?l ) { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?u ) WHERE { ?p property:patron_saint ?d . ?p rdf:type ontology:occupation . ?d rdf:type ontology:common_name } GROUP BY ?d } } . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?h ) WHERE { ?c rdf:type ontology:occupation . ?y rdf:type ontology:common_name . ?c property:patron_saint ?y } GROUP BY ?y } . FILTER ( ?h = ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1061259
P3091
Q3745054 Q502895 Q502895
USER
How many people utilize more number of horse breeds and people as steed than Johnny Murtagh ?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q1061259
relation P3091
type Q3745054
type Q502895
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Q1061259 property:P3091 ?t . { ?t rdf:type ?v . VALUES ( ?v ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } } } } . FILTER ( ?w > ?r ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) ?l WHERE { { ?l property:P3091 ?q . ?l rdf:type ontology:Q502895 . ?q rdf:type ontology:Q3745054 } UNION { ?l property:P3091 ?q . ?l rdf:type ontology:Q502895 . ?q rdf:type ontology:Q502895 } } GROUP BY ?l } }
Johnny Murtagh
action count
action greater
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
action count
action filter_multi_types
action find
entity Johnny Murtagh
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Johnny_Murtagh property:mount ?t . { ?t rdf:type ?v . VALUES ( ?v ) { ( ontology:common_name ) ( ontology:horse_breed ) } } } } . FILTER ( ?w > ?r ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) ?l WHERE { { ?l property:mount ?q . ?l rdf:type ontology:common_name . ?q rdf:type ontology:horse_breed } UNION { ?l property:mount ?q . ?l rdf:type ontology:common_name . ?q rdf:type ontology:common_name } } GROUP BY ?l } }
[]
horse breed common name common name
SYSTEM
113
Q2831786 Q2120529 Q2964761 Q2643622 Q69084 Q1682742 Q451395 Q1311486 Q682476 Q358777 Q1088130 Q527657 Q364671 Q235022 Q3089727 Q919677 Q16208274 Q3400624 Q15782408 Q3087038 Q947032 Q3428317 Q2057115 Q131691 Q17350580 Q14912896 Q438197 Q3591240 Q3169911 Q2396962 Q19630218 Q3106094 Q958372 Q319522 Q724288 Q78028 Q7647583 Q823503 Q147663 Q513487 Q494315 Q377345 Q5247967 Q538006 Q8409 Q2831635 Q952736 Q1710812 Q467676 Q1545318 Q34836 Q238769 Q745510 Q318626 Q608440 Q19839389 Q2287454 Q3134506 Q926771 Q3309932 Q517 Q1351428 Q62177 Q458399 Q2903241 Q529497 Q3380679 Q1617291 Q1337633 Q953867 Q364659 Q19880092 Q1119157 Q1581746 Q60968 Q72502 Q25906137 Q6765126 Q15972334 Q6148833 Q1391424 Q2094373 Q5079900 Q1277320 Q6369922 Q1985582 Q1342822 Q76246 Q1691413 Q288267 Q270476 Q272533 Q3074167 Q1930899 Q449891 Q1292304 Q1343527 Q690536 Q175930 Q43958 Q3428878 Q673136 Q886901 Q1261810 Q77560 Q62253 Q3308301 Q1538882 Q3524341 Q3591324 Q9682 Q1633084 Q2420937
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q1061259
relation P3091
type Q3745054
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Q1061259 property:P3091 ?t . { ?t rdf:type ?v . VALUES ( ?v ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } } } } . FILTER ( ?w > ?r ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) ?l WHERE { { ?l property:P3091 ?q . ?l rdf:type ontology:Q502895 . ?q rdf:type ontology:Q3745054 } UNION { ?l property:P3091 ?q . ?l rdf:type ontology:Q502895 . ?q rdf:type ontology:Q502895 } } GROUP BY ?l } }
Alberto Larraguibel Pénélope Leprevost Chris Kappler Alexandra Ledermann Paul Schockemöhle Janika Sprunger Fritz Thiedemann Mario Deslauriers Paul Estermann Yves Saint-Martin Maxime Guyon Margit Otto-Crépin Jean Teulère Anky van Grunsven Frédéric Cottier Nicolas Touzaint Barbara Minneci Sir Harry Llewellyn, 3rd Baronet Ali Al Rumaihi Freddy Head Pierre Jonquères d'Oriola Torrance Fleischmann Patrice Delaveau Arthur Wellesley, 1st Duke of Wellington Fernand Leredde Bassem Hassan Mohammed Helen Langehanenberg Éric Levallois Jean-René Gougeon Ron Turcotte Michel-Marcel Gougeon Gilles Bertrán de Balanda Piet Raijmakers Ulrich Kirchhoff Rodrigo Pessoa Marco Kutscher Susan Blinks Uwe Sauer Zara Phillips Linda Algotsson Gerco Schröder Lester Piggott Debbie McDonald Pat Eddery Alexander the Great Albert Voorn Nelson Pessoa Richard Spooner Reiner Klimke Greg Best Ulysses S. Grant Isabell Werth Ludo Philippaerts Lars Nieberg John Whitaker Abdelkebir Ouaddar Simon Delestre Hervé Godignon Earl Foster Thomson Michel Hécart Napoleon Eric Lamaze Hans Günter Winkler Laura Bechtolsheimer Bill Hartack Edwina Tops-Alexander Philippe Rozier Pierre Durand, Jr. Scott Brash Conrad Homfeld Cédric Lyard Lendon Gray Frankie Dettori Hans Peter Minderhoud Ludger Beerbaum Otto Becker Astier Nicolas Marion Coakes Natasha Baker Jan Ebeling Jos Lansink Rolf-Göran Bengtsson Charles Kurtsinger Roger-Yves Bost Karen O'Connor Nick Skelton William Fox-Pitt Marcus Ehning Joseph Fargis Éric Navet Sara Algotsson Ostholt Charlotte Dujardin Florian Angot Michel Robert Beezie Madden Edward Gal Karin Rehbein Pius Schwizer Ian Millar El Cid Reynald Angot Steve Guerdat Blyth Tait Eddie Macken Michael Jung Meredith Michaels-Beerbaum Michael Kinane Kevin Staut Thierry Jarnet Éric Raffin Elizabeth II Hubert Bourdy Thierry Pomel
113
action count
action greater
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
action count
action filter_multi_types
action find
entity Johnny Murtagh
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Johnny_Murtagh property:mount ?t . { ?t rdf:type ?v . VALUES ( ?v ) { ( ontology:common_name ) ( ontology:horse_breed ) } } } } . FILTER ( ?w > ?r ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) ?l WHERE { { ?l property:mount ?q . ?l rdf:type ontology:common_name . ?q rdf:type ontology:horse_breed } UNION { ?l property:mount ?q . ?l rdf:type ontology:common_name . ?q rdf:type ontology:common_name } } GROUP BY ?l } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q6765126
P3091
Q3745054 Q502895 Q502895
USER
And how about Marion Coakes?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q6765126
relation P3091
type Q3745054
type Q502895
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { resource:Q6765126 property:P3091 ?n . { VALUES ( ?x ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } . ?n rdf:type ?x } } } . FILTER ( ?h > ?e ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?k WHERE { { ?k property:P3091 ?b . ?k rdf:type ontology:Q502895 . ?b rdf:type ontology:Q3745054 } UNION { ?k property:P3091 ?b . ?k rdf:type ontology:Q502895 . ?b rdf:type ontology:Q502895 } } GROUP BY ?k } }
Marion Coakes
action count
action greater
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
action count
action filter_multi_types
action find
entity Marion Coakes
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { resource:Marion_Coakes property:mount ?n . { VALUES ( ?x ) { ( ontology:common_name ) ( ontology:horse_breed ) } . ?n rdf:type ?x } } } . FILTER ( ?h > ?e ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?k WHERE { { ?k property:mount ?b . ?k rdf:type ontology:common_name . ?b rdf:type ontology:horse_breed } UNION { ?k property:mount ?b . ?k rdf:type ontology:common_name . ?b rdf:type ontology:common_name } } GROUP BY ?k } }
[]
horse breed common name common name
SYSTEM
25
Q2120529 Q69084 Q358777 Q235022 Q3087038 Q2057115 Q14912896 Q3591240 Q3169911 Q724288 Q538006 Q952736 Q2287454 Q1617291 Q60968 Q1277320 Q6369922 Q1985582 Q288267 Q1930899 Q175930 Q673136 Q62253 Q3308301 Q1538882
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action greater
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action count
action filter_multi_types
action find
entity Q6765126
relation P3091
type Q3745054
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { resource:Q6765126 property:P3091 ?n . { VALUES ( ?x ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } . ?n rdf:type ?x } } } . FILTER ( ?h > ?e ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?k WHERE { { ?k property:P3091 ?b . ?k rdf:type ontology:Q502895 . ?b rdf:type ontology:Q3745054 } UNION { ?k property:P3091 ?b . ?k rdf:type ontology:Q502895 . ?b rdf:type ontology:Q502895 } } GROUP BY ?k } }
Pénélope Leprevost Paul Schockemöhle Yves Saint-Martin Anky van Grunsven Freddy Head Patrice Delaveau Bassem Hassan Mohammed Éric Levallois Jean-René Gougeon Rodrigo Pessoa Pat Eddery Nelson Pessoa Simon Delestre Pierre Durand, Jr. Ludger Beerbaum Roger-Yves Bost Karen O'Connor Nick Skelton Éric Navet Michel Robert Ian Millar Steve Guerdat Meredith Michaels-Beerbaum Michael Kinane Kevin Staut
25
action count
action greater
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
action count
action filter_multi_types
action find
entity Marion Coakes
relation mount
type horse breed
type common name
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { resource:Marion_Coakes property:mount ?n . { VALUES ( ?x ) { ( ontology:common_name ) ( ontology:horse_breed ) } . ?n rdf:type ?x } } } . FILTER ( ?h > ?e ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?k WHERE { { ?k property:mount ?b . ?k rdf:type ontology:common_name . ?b rdf:type ontology:horse_breed } UNION { ?k property:mount ?b . ?k rdf:type ontology:common_name . ?b rdf:type ontology:common_name } } GROUP BY ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9682
P9
Q502895
USER
Which person is the sister of Elizabeth II ?
(Q9682,P9,c(Q502895))
action filter_type
action find
entity Q9682
relation P9
type Q502895
['Q9682', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q9682 property:P9 ?g }
Elizabeth II
action filter_type
action find
entity Elizabeth II
relation sister
type common name
['Elizabeth II', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Elizabeth_II property:sister ?g }
[]
common name
Q153815
SYSTEM
Princess Margaret, Countess of Snowdon
Q153815
(Q9682,P9,c(Q502895))
action filter_type
action find
entity Q9682
relation P9
type Q502895
The [ANSWER] is the sister of Elizabeth II
['Q9682', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q9682 property:P9 ?g }
Princess Margaret, Countess of Snowdon
The Princess Margaret, Countess of Snowdon is the sister of Elizabeth II
Princess Margaret, Countess of Snowdon
action filter_type
action find
entity Elizabeth II
relation sister
type common name
['Elizabeth II', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Elizabeth_II property:sister ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q153815
P25
Q502895
USER
Which people have that one as mother ?
(c(Q502895),P25,Q153815)
action filter_type
action find_reverse
entity Q153815
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q153815']
SELECT DISTINCT ?n WHERE { ?n property:P25 resource:Q153815 . ?n rdf:type ontology:Q502895 }
Princess Margaret, Countess of Snowdon
action filter_type
action find_reverse
entity Princess Margaret, Countess of Snowdon
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Princess Margaret, Countess of Snowdon']
SELECT DISTINCT ?n WHERE { ?n property:mother resource:Princess_Margaret,_Countess_of_Snowdon . ?n rdf:type ontology:common_name }
[]
common name
Q1091237 Q1040807
SYSTEM
David Armstrong-Jones, Viscount Linley, Lady Sarah Chatto
Q1091237 Q1040807
(c(Q502895),P25,Q153815)
action filter_type
action find_reverse
entity Q153815
relation P25
type Q502895
[ANSWERS] have that one as mother
[{'concept': 'Q502895'}, 'P25', 'Q153815']
SELECT DISTINCT ?n WHERE { ?n property:P25 resource:Q153815 . ?n rdf:type ontology:Q502895 }
David Armstrong-Jones, Viscount Linley Lady Sarah Chatto
David Armstrong-Jones, Viscount Linley and Lady Sarah Chatto have that one as mother
David Armstrong-Jones, Viscount Linley Lady Sarah Chatto
action filter_type
action find_reverse
entity Princess Margaret, Countess of Snowdon
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Princess Margaret, Countess of Snowdon']
SELECT DISTINCT ?n WHERE { ?n property:mother resource:Princess_Margaret,_Countess_of_Snowdon . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q386724
USER
How many works have been dubbed by around 7 people ?
(c(Q386724),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 7
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?y ) WHERE { ?x property:P725 ?u . ?u rdf:type ontology:Q502895 . ?x rdf:type ontology:Q386724 } GROUP BY ?x } . FILTER ( ?y = 7 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type work
type common name
value 7
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?y ) WHERE { ?x property:voice_actor ?u . ?u rdf:type ontology:common_name . ?x rdf:type ontology:work } GROUP BY ?x } . FILTER ( ?y = 7 ) }
[]
common name work
SYSTEM
11
Q26987217 Q26701981 Q27627540 Q24175397 Q26390366 Q26715049 Q26299860 Q25858085 Q26457246 Q13516675 Q26829863
(c(Q386724),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 7
[ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?y ) WHERE { ?x property:P725 ?u . ?u rdf:type ontology:Q502895 . ?x rdf:type ontology:Q386724 } GROUP BY ?x } . FILTER ( ?y = 7 ) }
Hércules y la visita de Zeus Hércules y el grifo Doctor Strange (Doctor Extraño) Capitán América: El primer vengador Hércules y el rey de Tesalia Peter y el dragón Hércules y el primer médico del mundo Alicia a través del espejo Hércules y el arma secreta Sakura Trick Angry Birds: La película
11
action count
action approx
action find_tuple_counts
relation voice actor
type work
type common name
value 7
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?y ) WHERE { ?x property:voice_actor ?u . ?u rdf:type ontology:common_name . ?x rdf:type ontology:work } GROUP BY ?x } . FILTER ( ?y = 7 ) }
[]