Simple Question (Direct)
Simple Question
Q15179334
P641
Q349
USER
Which sport was Antoine Martínez a part of ?
(Q15179334,P641,c(Q349))
action filter_type
action find
entity Q15179334
relation P641
type Q349
['Q15179334', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q15179334 property:P641 ?g . ?g rdf:type ontology:Q349 }
Antoine Martínez
action filter_type
action find
entity Antoine Martínez
relation sport
type sport
['Antoine Martínez', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Antoine_Martínez property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q15179334,P641,c(Q349))
action filter_type
action find
entity Q15179334
relation P641
type Q349
The [ANSWER] was Antoine Martínez a part of
['Q15179334', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q15179334 property:P641 ?g . ?g rdf:type ontology:Q349 }
association football
The association football was Antoine Martínez a part of
association football
action filter_type
action find
entity Antoine Martínez
relation sport
type sport
['Antoine Martínez', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Antoine_Martínez property:sport ?g . ?g rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15179334
P106
Q12737077
USER
What is the profession of Antoine Martínez ?
(Q15179334,P106,c(Q12737077))
action filter_type
action find
entity Q15179334
relation P106
type Q12737077
['Q15179334', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q15179334 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Antoine Martínez
action filter_type
action find
entity Antoine Martínez
relation occupation
type occupation
['Antoine Martínez', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Antoine_Martínez property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q15179334,P106,c(Q12737077))
action filter_type
action find
entity Q15179334
relation P106
type Q12737077
The profession of Antoine Martínez is an [ANSWER]
['Q15179334', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q15179334 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
association football player
The profession of Antoine Martínez is an association football player
association football player
action filter_type
action find
entity Antoine Martínez
relation occupation
type occupation
['Antoine Martínez', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Antoine_Martínez property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15179334
P21
Q290
USER
Which sex does that person belong to ?
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q15179334
relation P21
type Q290
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q15179334 property:P21 ?x . ?x rdf:type ontology:Q290 }
Antoine Martínez
action filter_type
action find
entity Antoine Martínez
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Antoine_Martínez property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q15179334
relation P21
type Q290
That person belongs to [ANSWER]
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q15179334 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Antoine Martínez
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Antoine_Martínez property:gender ?x . ?x rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1289858
P417
Q502895 Q12737077
USER
How many people are the names of person who are the patron saints of approximately the same number of occupations as Saint Bassian ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q1289858
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P417 ?z . ?z rdf:type ontology:Q502895 . ?q rdf:type ontology:Q12737077 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Q1289858 property:P417 ?c . ?c rdf:type ontology:Q502895 } } . FILTER ( ?r = ?h ) }
Saint Bassian
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Bassian
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:patron_saint ?z . ?z rdf:type ontology:common_name . ?q rdf:type ontology:occupation } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Saint_Bassian property:patron_saint ?c . ?c rdf:type ontology:common_name } } . FILTER ( ?r = ?h ) }
[]
common name occupation
SYSTEM
266
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 count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q1289858
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P417 ?z . ?z rdf:type ontology:Q502895 . ?q rdf:type ontology:Q12737077 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Q1289858 property:P417 ?c . ?c rdf:type ontology:Q502895 } } . FILTER ( ?r = ?h ) }
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
266
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Bassian
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:patron_saint ?z . ?z rdf:type ontology:common_name . ?q rdf:type ontology:occupation } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Saint_Bassian property:patron_saint ?c . ?c rdf:type ontology:common_name } } . FILTER ( ?r = ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15179334
P734
Q82799
USER
Who is associated with Antoine Martínez ?
(Q15179334,P734,c(Q82799))
action filter_type
action find
entity Q15179334
relation P734
type Q82799
['Q15179334', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q15179334 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Antoine Martínez
action filter_type
action find
entity Antoine Martínez
relation family name
type name
['Antoine Martínez', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Antoine_Martínez property:family_name ?o . ?o rdf:type ontology:name }
[]
name
Q906471
SYSTEM
Martínez
Q906471
(Q15179334,P734,c(Q82799))
action filter_type
action find
entity Q15179334
relation P734
type Q82799
[ANSWER] is associated with Antoine [ANSWER]
['Q15179334', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q15179334 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Martínez
Martínez is associated with Antoine Martínez
Martínez
action filter_type
action find
entity Antoine Martínez
relation family name
type name
['Antoine Martínez', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Antoine_Martínez property:family_name ?o . ?o rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1608743
Q82799
USER
And what about Herbert Louis?
(Q1608743,P734,c(Q82799))
action filter_type
action find
entity Q1608743
relation P734
type Q82799
['Q1608743', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q1608743 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Herbert Louis
action filter_type
action find
entity Herbert Louis
relation family name
type name
['Herbert Louis', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Herbert_Louis property:family_name ?h . ?h rdf:type ontology:name }
[]
name
Q15728984
SYSTEM
Louis
Q15728984
(Q1608743,P734,c(Q82799))
action filter_type
action find
entity Q1608743
relation P734
type Q82799
[ANSWER]
['Q1608743', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q1608743 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Louis
Louis
action filter_type
action find
entity Herbert Louis
relation family name
type name
['Herbert Louis', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Herbert_Louis property:family_name ?h . ?h rdf:type ontology:name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1755217
P138
Q82799 Q12737077 Q82799
USER
How many names have less number of names or occupations as their namesake than Magowan ?
(c(Q82799),P138,c(Q82799)|c(Q12737077))
action count
action less
action union
action find_tuple_counts
relation P138
type Q82799
type Q82799
action find_tuple_counts
relation P138
type Q82799
type Q12737077
action count
action filter_multi_types
action find
entity Q1755217
relation P138
type Q82799
type Q12737077
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q82799'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { VALUES ( ?u ) { ( ontology:Q12737077 ) ( ontology:Q82799 ) } . ?b rdf:type ?u } . resource:Q1755217 property:P138 ?b } } . FILTER ( ?a < ?n ) . { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?a ) WHERE { VALUES ( ?f ) { ( ontology:Q82799 ) ( ontology:Q12737077 ) } . ?i rdf:type ?f } GROUP BY ?j } }
Magowan
action count
action less
action union
action find_tuple_counts
relation named after
type name
type name
action find_tuple_counts
relation named after
type name
type occupation
action count
action filter_multi_types
action find
entity Magowan
relation named after
type name
type occupation
[{'concept': 'name'}, 'named after', [{'concept': 'name'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { VALUES ( ?u ) { ( ontology:occupation ) ( ontology:name ) } . ?b rdf:type ?u } . resource:Magowan property:named_after ?b } } . FILTER ( ?a < ?n ) . { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?a ) WHERE { VALUES ( ?f ) { ( ontology:name ) ( ontology:occupation ) } . ?i rdf:type ?f } GROUP BY ?j } }
[]
name occupation name
SYSTEM
82
Q18335877 Q25212228 Q6501864 Q27022433 Q18198499 Q16281329 Q25368020 Q16428618 Q1069827 Q46767 Q1061262 Q19558843 Q16871796 Q23688105 Q1158323 Q1370531 Q8046631 Q13099004 Q21508058 Q16869754 Q20747163 Q17847495 Q15629400 Q1746111 Q23885849 Q1812295 Q25343999 Q21161805 Q21449089 Q1643088 Q2909103 Q24529820 Q807882 Q21448754 Q25058808 Q18198433 Q13553585 Q24805372 Q21491852 Q19847573 Q568872 Q25303577 Q714189 Q18309769 Q17643158 Q21506697 Q2160221 Q16865178 Q26985935 Q179234 Q21517798 Q18198435 Q688520 Q928249 Q318363 Q24566045 Q1724227 Q26262632 Q23773623 Q20027829 Q18578754 Q25201582 Q24035235 Q22738156 Q13626156 Q19831835 Q16965278 Q20818054 Q16883336 Q25326750 Q20963077 Q612479 Q17625919 Q26247962 Q22922124 Q16877784 Q23301520 Q16865123 Q20727079 Q16881199 Q21491815 Q24229341
(c(Q82799),P138,c(Q82799)|c(Q12737077))
action count
action less
action union
action find_tuple_counts
relation P138
type Q82799
type Q82799
action find_tuple_counts
relation P138
type Q82799
type Q12737077
action count
action filter_multi_types
action find
entity Q1755217
relation P138
type Q82799
type Q12737077
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q82799'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { VALUES ( ?u ) { ( ontology:Q12737077 ) ( ontology:Q82799 ) } . ?b rdf:type ?u } . resource:Q1755217 property:P138 ?b } } . FILTER ( ?a < ?n ) . { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?a ) WHERE { VALUES ( ?f ) { ( ontology:Q82799 ) ( ontology:Q12737077 ) } . ?i rdf:type ?f } GROUP BY ?j } }
Prévot Émile-Louis Kaplan Danziger Elizur Sha'aban Racine Súla Rosario Meyer Ruby Pseudo-Lucian Lancaster de Bragança Albrecht Meister (surname) Yael Larsen Delaroche Eastman Saccharomyces carlsbergensis Rózsa Dimorphotheca ecklonis Michael Gregorio Achaz Van Leemput Grenier Cain Lebreton Ramos Boissel Rameau Barbus Müller Ahrens Dumoulin Peleg Gold Bigot Poulain Laserbeak Palmer Vallon Duce Macdara If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Lenormand Roche Bureau Froment Cro-Magnon Appenzeller Phanuel Arminia Kelly Abel Pignon Rose Ofer Lamour Saxon Voisin Roux Kleineidam Zijlstra Ackermann Qutb Wald Giolla Íosa Silver Février Aryaman Koehler Du Moulin Master of The Hours of Henri II von Mecklenburg-Schwerin Napoli Aonchotheca moraveci Buffet Schultheiss Picard Le Guen Toscano
82
action count
action less
action union
action find_tuple_counts
relation named after
type name
type name
action find_tuple_counts
relation named after
type name
type occupation
action count
action filter_multi_types
action find
entity Magowan
relation named after
type name
type occupation
[{'concept': 'name'}, 'named after', [{'concept': 'name'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { VALUES ( ?u ) { ( ontology:occupation ) ( ontology:name ) } . ?b rdf:type ?u } . resource:Magowan property:named_after ?b } } . FILTER ( ?a < ?n ) . { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?a ) WHERE { VALUES ( ?f ) { ( ontology:name ) ( ontology:occupation ) } . ?i rdf:type ?f } GROUP BY ?j } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1433842 Q1608743
P27 P17
Q1048835
USER
Which political territories do Herbert Louis belong to and are Schwandorf Airport located in ?
AND((Q1608743,P27,c(Q1048835)), (Q1433842,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q1608743
relation P27
action find
entity Q1433842
relation P17
type Q1048835
{'AND': [['Q1608743', 'P27', {'concept': 'Q1048835'}], ['Q1433842', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { resource:Q1608743 property:P27 ?r . resource:Q1433842 property:P17 ?r . ?r rdf:type ontology:Q1048835 }
Schwandorf Airport Herbert Louis
action filter_type
action intersection
action find
entity Herbert Louis
relation country of citizenship
action find
entity Schwandorf Airport
relation country
type political territorial entity
{'AND': [['Herbert Louis', 'country of citizenship', {'concept': 'political territorial entity'}], ['Schwandorf Airport', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Herbert_Louis property:country_of_citizenship ?r . resource:Schwandorf_Airport property:country ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q1608743,P27,c(Q1048835)), (Q1433842,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q1608743
relation P27
action find
entity Q1433842
relation P17
type Q1048835
Herbert Louis belong to [ANSWER]
{'AND': [['Q1608743', 'P27', {'concept': 'Q1048835'}], ['Q1433842', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { resource:Q1608743 property:P27 ?r . resource:Q1433842 property:P17 ?r . ?r rdf:type ontology:Q1048835 }
Germany
Herbert Louis belong to Germany
Germany
action filter_type
action intersection
action find
entity Herbert Louis
relation country of citizenship
action find
entity Schwandorf Airport
relation country
type political territorial entity
{'AND': [['Herbert Louis', 'country of citizenship', {'concept': 'political territorial entity'}], ['Schwandorf Airport', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Herbert_Louis property:country_of_citizenship ?r . resource:Schwandorf_Airport property:country ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q38565
P361
Q2221906
USER
How many geographic locations are Germany or Tinaroo Falls a portion of ?
(Q183,P361,c(Q2221906)) (Q38565,P361,c(Q2221906))
action count
action union
action filter_type
action find
entity Q183
relation P361
type Q2221906
action filter_type
action find
entity Q38565
relation P361
type Q2221906
['Q183', 'P361', {'concept': 'Q2221906'}] ['Q38565', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { VALUES ( ?z ) { ( resource:Q183 ) ( resource:Q38565 ) } . ?z property:P361 ?t }
Germany Tinaroo Falls
action count
action union
action filter_type
action find
entity Germany
relation part of
type geographic location
action filter_type
action find
entity Tinaroo Falls
relation part of
type geographic location
['Germany', 'part of', {'concept': 'geographic location'}] ['Tinaroo Falls', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { VALUES ( ?z ) { ( resource:Germany ) ( resource:Tinaroo_Falls ) } . ?z property:part_of ?t }
[]
geographic location
SYSTEM
2
Q46 Q27509
(Q183,P361,c(Q2221906)) (Q38565,P361,c(Q2221906))
action count
action union
action filter_type
action find
entity Q183
relation P361
type Q2221906
action filter_type
action find
entity Q38565
relation P361
type Q2221906
[ANSWER]
['Q183', 'P361', {'concept': 'Q2221906'}] ['Q38565', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { VALUES ( ?z ) { ( resource:Q183 ) ( resource:Q38565 ) } . ?z property:P361 ?t }
Europe Central Europe
2
action count
action union
action filter_type
action find
entity Germany
relation part of
type geographic location
action filter_type
action find
entity Tinaroo Falls
relation part of
type geographic location
['Germany', 'part of', {'concept': 'geographic location'}] ['Tinaroo Falls', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { VALUES ( ?z ) { ( resource:Germany ) ( resource:Tinaroo_Falls ) } . ?z property:part_of ?t }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q3305213 Q838948
USER
How many names are depicted in around 43 paintings or works of art ?
(c(Q3305213)|c(Q838948),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
value 43
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?b WHERE { { ?y rdf:type ontology:Q3305213 . ?b rdf:type ontology:Q82799 . ?y property:P180 ?b } UNION { ?y property:P180 ?b . ?b rdf:type ontology:Q82799 . ?y rdf:type ontology:Q838948 } } GROUP BY ?b } . FILTER ( ?l = 43 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type work of art
value 43
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?b WHERE { { ?y rdf:type ontology:painting . ?b rdf:type ontology:name . ?y property:depicts ?b } UNION { ?y property:depicts ?b . ?b rdf:type ontology:name . ?y rdf:type ontology:work_of_art } } GROUP BY ?b } . FILTER ( ?l = 43 ) }
[]
name painting work of art
SYSTEM
54
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q3305213)|c(Q838948),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
value 43
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?b WHERE { { ?y rdf:type ontology:Q3305213 . ?b rdf:type ontology:Q82799 . ?y property:P180 ?b } UNION { ?y property:P180 ?b . ?b rdf:type ontology:Q82799 . ?y rdf:type ontology:Q838948 } } GROUP BY ?b } . FILTER ( ?l = 43 ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
54
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type work of art
value 43
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?b WHERE { { ?y rdf:type ontology:painting . ?b rdf:type ontology:name . ?y property:depicts ?b } UNION { ?y property:depicts ?b . ?b rdf:type ontology:name . ?y rdf:type ontology:work_of_art } } GROUP BY ?b } . FILTER ( ?l = 43 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q906471
P407
Q34770
USER
What is the language of Martínez ?
(Q906471,P407,c(Q34770))
action filter_type
action find
entity Q906471
relation P407
type Q34770
['Q906471', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q906471 property:P407 ?h . ?h rdf:type ontology:Q34770 }
Martínez
action filter_type
action find
entity Martínez
relation language of work or name
type language
['Martínez', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Martínez property:language_of_work_or_name ?h . ?h rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q906471,P407,c(Q34770))
action filter_type
action find
entity Q906471
relation P407
type Q34770
The language of Martínez is in [ANSWER]
['Q906471', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q906471 property:P407 ?h . ?h rdf:type ontology:Q34770 }
Spanish
The language of Martínez is in Spanish
Spanish
action filter_type
action find
entity Martínez
relation language of work or name
type language
['Martínez', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Martínez property:language_of_work_or_name ?h . ?h rdf:type ontology:language }
[]