Simple Question (Direct)
Simple Question
Q2227171
P19
Q56061
USER
Which administrative territory was Jaap van Hattum born in ?
(Q2227171,P19,c(Q56061))
action filter_type
action find
entity Q2227171
relation P19
type Q56061
['Q2227171', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q2227171 property:P19 ?m }
Jaap van Hattum
action filter_type
action find
entity Jaap van Hattum
relation place of birth
type administrative territorial entity
['Jaap van Hattum', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Jaap_van_Hattum property:place_of_birth ?m }
[]
administrative territorial entity
Q3112153
SYSTEM
Wommels
Q3112153
(Q2227171,P19,c(Q56061))
action filter_type
action find
entity Q2227171
relation P19
type Q56061
Jaap van Hattum was born in [ANSWER]
['Q2227171', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q2227171 property:P19 ?m }
Wommels
Jaap van Hattum was born in Wommels
Wommels
action filter_type
action find
entity Jaap van Hattum
relation place of birth
type administrative territorial entity
['Jaap van Hattum', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Jaap_van_Hattum property:place_of_birth ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2227171
P21
Q290
USER
What is the sex of Jaap van Hattum ?
(Q2227171,P21,c(Q290))
action filter_type
action find
entity Q2227171
relation P21
type Q290
['Q2227171', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q2227171 property:P21 ?w }
Jaap van Hattum
action filter_type
action find
entity Jaap van Hattum
relation gender
type sex
['Jaap van Hattum', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Jaap_van_Hattum property:gender ?w }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2227171,P21,c(Q290))
action filter_type
action find
entity Q2227171
relation P21
type Q290
The sex of Jaap van Hattum is a [ANSWER]
['Q2227171', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q2227171 property:P21 ?w }
male
The sex of Jaap van Hattum is a male
male
action filter_type
action find
entity Jaap van Hattum
relation gender
type sex
['Jaap van Hattum', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Jaap_van_Hattum property:gender ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2227171
P27
Q15617994
USER
Which administrative territory is Jaap van Hattum a civilian of ?
(Q2227171,P27,c(Q15617994))
action filter_type
action find
entity Q2227171
relation P27
type Q15617994
['Q2227171', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q2227171 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Jaap van Hattum
action filter_type
action find
entity Jaap van Hattum
relation country of citizenship
type designation for an administrative territorial entity
['Jaap van Hattum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Jaap_van_Hattum property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q2227171,P27,c(Q15617994))
action filter_type
action find
entity Q2227171
relation P27
type Q15617994
The [ANSWER] is Jaap van Hattum a civilian of
['Q2227171', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q2227171 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
The Kingdom of the Netherlands is Jaap van Hattum a civilian of
Kingdom of the Netherlands
action filter_type
action find
entity Jaap van Hattum
relation country of citizenship
type designation for an administrative territorial entity
['Jaap van Hattum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Jaap_van_Hattum property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2227171
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q29999,P106,c(Q12737077))
action filter_type
action find
entity Q2227171
relation P106
type Q12737077
['Q29999', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q2227171 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Jaap van Hattum
action filter_type
action find
entity Jaap van Hattum
relation occupation
type occupation
['Kingdom of the Netherlands', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Jaap_van_Hattum property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q49757 Q36180
SYSTEM
poet, writer
Q49757 Q36180
(Q29999,P106,c(Q12737077))
action filter_type
action find
entity Q2227171
relation P106
type Q12737077
[ANSWERS] have that person as his/her 's career
['Q29999', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q2227171 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
poet writer
Poet and writer have that person as his/her 's career
poet writer
action filter_type
action find
entity Jaap van Hattum
relation occupation
type occupation
['Kingdom of the Netherlands', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Jaap_van_Hattum property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q10555430 Q2227171
P106
Q12737077
USER
Or Heidi Kivelä?
OR((Q2227171,P106,c(Q12737077)), (Q10555430,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2227171
relation P106
action find
entity Q10555430
relation P106
type Q12737077
{'OR': [['Q2227171', 'P106', {'concept': 'Q12737077'}], ['Q10555430', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q10555430 property:P106 ?i } UNION { resource:Q2227171 property:P106 ?i } } . ?i rdf:type ontology:Q12737077 }
Heidi Kivelä Jaap van Hattum
action filter_type
action union
action find
entity Jaap van Hattum
relation occupation
action find
entity Heidi Kivelä
relation occupation
type occupation
{'OR': [['Jaap van Hattum', 'occupation', {'concept': 'occupation'}], ['Heidi Kivelä', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Heidi_Kivelä property:occupation ?i } UNION { resource:Jaap_van_Hattum property:occupation ?i } } . ?i rdf:type ontology:occupation }
[]
occupation
Q36180 Q49757 Q937857
SYSTEM
writer, poet, association football player
Q36180 Q49757 Q937857
OR((Q2227171,P106,c(Q12737077)), (Q10555430,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q2227171
relation P106
action find
entity Q10555430
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q2227171', 'P106', {'concept': 'Q12737077'}], ['Q10555430', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q10555430 property:P106 ?i } UNION { resource:Q2227171 property:P106 ?i } } . ?i rdf:type ontology:Q12737077 }
writer poet association football player
writer poet association football player
action filter_type
action union
action find
entity Jaap van Hattum
relation occupation
action find
entity Heidi Kivelä
relation occupation
type occupation
{'OR': [['Jaap van Hattum', 'occupation', {'concept': 'occupation'}], ['Heidi Kivelä', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Heidi_Kivelä property:occupation ?i } UNION { resource:Jaap_van_Hattum property:occupation ?i } } . ?i rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q170164
P417
Q502895 Q12737077
USER
How many people are the names of the patron saint of less number of occupations than Helena of Constantinople ?
(c(Q12737077),P417,c(Q502895))
action count
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q170164
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:P417 ?z . ?u rdf:type ontology:Q12737077 . ?z rdf:type ontology:Q502895 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s rdf:type ontology:Q12737077 . ?s property:P417 resource:Q170164 } } . FILTER ( ?a < ?r ) }
Helena of Constantinople
action count
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Helena of Constantinople
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:patron_saint ?z . ?u rdf:type ontology:occupation . ?z rdf:type ontology:common_name } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s rdf:type ontology:occupation . ?s property:patron_saint resource:Helena_of_Constantinople } } . FILTER ( ?a < ?r ) }
[]
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 less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q170164
relation P417
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:P417 ?z . ?u rdf:type ontology:Q12737077 . ?z rdf:type ontology:Q502895 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s rdf:type ontology:Q12737077 . ?s property:P417 resource:Q170164 } } . FILTER ( ?a < ?r ) }
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 less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity Helena of Constantinople
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:patron_saint ?z . ?u rdf:type ontology:occupation . ?z rdf:type ontology:common_name } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s rdf:type ontology:occupation . ?s property:patron_saint resource:Helena_of_Constantinople } } . FILTER ( ?a < ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q328804
P417
Q502895 Q12737077
USER
And also tell me about John the Evangelist?
(c(Q12737077),P417,c(Q502895))
action count
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q328804
relation P417
type Q12737077
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:P417 ?m . ?n rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:P417 resource:Q328804 . ?l rdf:type ontology:Q12737077 } } . FILTER ( ?e < ?r ) }
John the Evangelist
action count
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity John the Evangelist
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:patron_saint ?m . ?n rdf:type ontology:occupation . ?m rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:patron_saint resource:John_the_Evangelist . ?l rdf:type ontology:occupation } } . FILTER ( ?e < ?r ) }
[]
common name occupation
SYSTEM
304
Q2366998 Q453698 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q152457 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q43689 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q163900 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q212850 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q374822 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q9438 Q1502088 Q8413 Q558148 Q160373 Q130997 Q515953 Q1274242 Q312758 Q443392 Q5575577 Q379685 Q191479 Q42887 Q3745904 Q191107 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q242274 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q119289 Q145746 Q15284282 Q360798 Q298845 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q48438 Q159834 Q119512 Q44281 Q63070 Q134666 Q170164 Q43399 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q508214 Q9200 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q193507 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q463600 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q43669 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q40662 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q283447 Q26486 Q324700 Q158504 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q312314 Q149727 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q232427 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q60059 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q17590 Q318347 Q271474 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action count
action less
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find_reverse
entity Q328804
relation P417
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:P417 ?m . ?n rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q502895 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:P417 resource:Q328804 . ?l rdf:type ontology:Q12737077 } } . FILTER ( ?e < ?r ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Saint Roch 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 Ambrose 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 Saint Francis Xavier 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 Vitus 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 Adrian of Nicomedia Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Thomas Aquinas Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Damasus I Maximilian of Lorch Romanus of Caesarea Jean-Baptiste de La Salle Saint Bibiana Gobnait Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Clare of Assisi 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 Dorothea of Caesarea 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 Leonard of Port Maurice Joseph Adolphus Saint Eligius Saint Florian Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Saint George Hubertus William of Maleval Ignatius of Loyola Mary Magdalene Stephen I Helena of Constantinople Andrew 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 Cyriacus Paul Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Christopher Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Saint Petronilla 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 Thomas the Apostle 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 John the Baptist Erasmus of Formiae Cyprian Camillus de Lellis Agnes of Rome Gaudentius of Novara John of God Emilianus of Trevi Ephysius Castrese di Sessa Alexius of Rome Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Saint Cecilia Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Apollonia Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Albertus Magnus Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Lawrence of Rome Sigismund of Burgundy Joseph of Arimathea 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 Charalampus Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
304
action count
action less
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find_reverse
entity John the Evangelist
relation patron saint
type occupation
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:patron_saint ?m . ?n rdf:type ontology:occupation . ?m rdf:type ontology:common_name } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:patron_saint resource:John_the_Evangelist . ?l rdf:type ontology:occupation } } . FILTER ( ?e < ?r ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q29999 Q766
P530
Q1048835
USER
How many political territories have diplomatic relationships with Kingdom of the Netherlands or Jamaica ?
(Q29999,P530,c(Q1048835)) (Q766,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q29999
relation P530
type Q1048835
action filter_type
action find
entity Q766
relation P530
type Q1048835
['Q29999', 'P530', {'concept': 'Q1048835'}] ['Q766', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?q property:P530 ?s . VALUES ( ?q ) { ( resource:Q29999 ) ( resource:Q766 ) } }
Kingdom of the Netherlands Jamaica
action count
action union
action filter_type
action find
entity Kingdom of the Netherlands
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
['Kingdom of the Netherlands', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Jamaica', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?q property:diplomatic_relation ?s . VALUES ( ?q ) { ( resource:Kingdom_of_the_Netherlands ) ( resource:Jamaica ) } }
[]
political territorial entity
SYSTEM
2
Q408 Q16
(Q29999,P530,c(Q1048835)) (Q766,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q29999
relation P530
type Q1048835
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWER]
['Q29999', 'P530', {'concept': 'Q1048835'}] ['Q766', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?q property:P530 ?s . VALUES ( ?q ) { ( resource:Q29999 ) ( resource:Q766 ) } }
Australia Canada
2
action count
action union
action filter_type
action find
entity Kingdom of the Netherlands
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
['Kingdom of the Netherlands', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Jamaica', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { ?q property:diplomatic_relation ?s . VALUES ( ?q ) { ( resource:Kingdom_of_the_Netherlands ) ( resource:Jamaica ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q29999 Q217169
P19
Q502895
USER
How many people were born at Kingdom of the Netherlands or Rhodesia ?
(c(Q502895),P19,Q29999) (c(Q502895),P19,Q217169)
action count
action union
action filter_type
action find_reverse
entity Q29999
relation P19
type Q502895
action filter_type
action find_reverse
entity Q217169
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q29999'] [{'concept': 'Q502895'}, 'P19', 'Q217169']
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { VALUES ( ?p ) { ( resource:Q29999 ) ( resource:Q217169 ) } . ?c property:P19 ?p }
Kingdom of the Netherlands Rhodesia
action count
action union
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation place of birth
type common name
action filter_type
action find_reverse
entity Rhodesia
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Kingdom of the Netherlands'] [{'concept': 'common name'}, 'place of birth', 'Rhodesia']
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { VALUES ( ?p ) { ( resource:Kingdom_of_the_Netherlands ) ( resource:Rhodesia ) } . ?c property:place_of_birth ?p }
[]
common name
SYSTEM
16
Q7460191 Q5932228 Q5083767 Q19664427 Q15996972 Q7494478 Q19302099 Q392763 Q5725728 Q2191675 Q18527768 Q276268 Q1645168 Q432934 Q5544478 Q6984238
(c(Q502895),P19,Q29999) (c(Q502895),P19,Q217169)
action count
action union
action filter_type
action find_reverse
entity Q29999
relation P19
type Q502895
action filter_type
action find_reverse
entity Q217169
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q29999'] [{'concept': 'Q502895'}, 'P19', 'Q217169']
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { VALUES ( ?p ) { ( resource:Q29999 ) ( resource:Q217169 ) } . ?c property:P19 ?p }
Shacky Tauro Hugh Page Charles Yohane Alan Parker Caesar Hull Shepherd Murape Mary Doodes Agent Sawu Henry McKop Geoffrey Nyarota Gideon Harvey Stella Chiweshe Clare Carey Arthur Mutambara George Shaya Neall Ellis
16
action count
action union
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation place of birth
type common name
action filter_type
action find_reverse
entity Rhodesia
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Kingdom of the Netherlands'] [{'concept': 'common name'}, 'place of birth', 'Rhodesia']
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { VALUES ( ?p ) { ( resource:Kingdom_of_the_Netherlands ) ( resource:Rhodesia ) } . ?c property:place_of_birth ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36180
P425
Q1914636
USER
Who is associated with the field of occupation writer ?
(Q36180,P425,c(Q1914636))
action filter_type
action find
entity Q36180
relation P425
type Q1914636
['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?z WHERE { resource:Q36180 property:P425 ?z . ?z rdf:type ontology:Q1914636 }
writer
action filter_type
action find
entity writer
relation field of this occupation
type activity
['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?z WHERE { resource:writer property:field_of_this_occupation ?z . ?z rdf:type ontology:activity }
[]
activity
Q8242
SYSTEM
literature
Q8242
(Q36180,P425,c(Q1914636))
action filter_type
action find
entity Q36180
relation P425
type Q1914636
Is [ANSWER] is associated with the field of occupation writer
['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?z WHERE { resource:Q36180 property:P425 ?z . ?z rdf:type ontology:Q1914636 }
literature
Is literature is associated with the field of occupation writer
literature
action filter_type
action find
entity writer
relation field of this occupation
type activity
['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?z WHERE { resource:writer property:field_of_this_occupation ?z . ?z rdf:type ontology:activity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q8242 Q538219
P106
Q502895
USER
Does Igor Oistrakh have career as that activity ?
(Q538219,P106,Q8242)
action is_in
entity Q538219
action find
entity Q8242
relation P106
['Q538219', 'P106', 'Q8242']
ASK WHERE { resource:Q8242 property:P106 resource:Q538219 }
literature Igor Oistrakh
action is_in
entity Igor Oistrakh
action find
entity literature
relation occupation
['Igor Oistrakh', 'occupation', 'literature']
ASK WHERE { resource:literature property:occupation resource:Igor_Oistrakh }
[]
common name
SYSTEM
NO
(Q538219,P106,Q8242)
action is_in
entity Q538219
action find
entity Q8242
relation P106
[ANSWER]
['Q538219', 'P106', 'Q8242']
ASK WHERE { resource:Q8242 property:P106 resource:Q538219 }
No
action is_in
entity Igor Oistrakh
action find
entity literature
relation occupation
['Igor Oistrakh', 'occupation', 'literature']
ASK WHERE { resource:literature property:occupation resource:Igor_Oistrakh }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4606604 Q937857
P425 P641
Q349
USER
Which sports have association football player as the associated fields of occupation or were 2006 Miami Valley Silverbacks season a part of ?
OR((Q937857,P425,c(Q349)), (Q4606604,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q4606604
relation P641
type Q349
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q4606604', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q937857 property:P425 ?l } UNION { resource:Q4606604 property:P641 ?l } } . ?l rdf:type ontology:Q349 }
2006 Miami Valley Silverbacks season association football player
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity 2006 Miami Valley Silverbacks season
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['2006 Miami Valley Silverbacks season', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?l WHERE { { { resource:association_football_player property:field_of_this_occupation ?l } UNION { resource:2006_Miami_Valley_Silverbacks_season property:sport ?l } } . ?l rdf:type ontology:sport }
[]
sport
Q41323 Q2736
SYSTEM
American football, association football
Q41323 Q2736
OR((Q937857,P425,c(Q349)), (Q4606604,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q4606604
relation P641
type Q349
Teams [ANSWERS] have association football player as the associated fields of occupation or were 2006 Miami Valley Silverbacks season a part of
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q4606604', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q937857 property:P425 ?l } UNION { resource:Q4606604 property:P641 ?l } } . ?l rdf:type ontology:Q349 }
American football association football
Teams American football and association football have association football player as the associated fields of occupation or were 2006 Miami Valley Silverbacks season a part of
American football association football
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity 2006 Miami Valley Silverbacks season
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['2006 Miami Valley Silverbacks season', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?l WHERE { { { resource:association_football_player property:field_of_this_occupation ?l } UNION { resource:2006_Miami_Valley_Silverbacks_season property:sport ?l } } . ?l rdf:type ontology:sport }
[]