Simple Question (Direct)
Simple Question
Q4714373
P21
Q290
USER
What is the sex of Alef Poh-ji ?
(Q4714373,P21,c(Q290))
action filter_type
action find
entity Q4714373
relation P21
type Q290
['Q4714373', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q4714373 property:P21 ?q . ?q rdf:type ontology:Q290 }
Alef Poh-ji
action filter_type
action find
entity Alef Poh-ji
relation gender
type sex
['Alef Poh-ji', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Alef_Poh-ji property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4714373,P21,c(Q290))
action filter_type
action find
entity Q4714373
relation P21
type Q290
The sex of Alef Poh-ji is the [ANSWER]
['Q4714373', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q4714373 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
The sex of Alef Poh-ji is the male
male
action filter_type
action find
entity Alef Poh-ji
relation gender
type sex
['Alef Poh-ji', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Alef_Poh-ji property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4714373
P27
Q15617994
USER
Which administrative territory does Alef Poh-ji belong to ?
(Q4714373,P27,c(Q15617994))
action filter_type
action find
entity Q4714373
relation P27
type Q15617994
['Q4714373', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q4714373 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Alef Poh-ji
action filter_type
action find
entity Alef Poh-ji
relation country of citizenship
type designation for an administrative territorial entity
['Alef Poh-ji', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Alef_Poh-ji property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q869
SYSTEM
Thailand
Q869
(Q4714373,P27,c(Q15617994))
action filter_type
action find
entity Q4714373
relation P27
type Q15617994
Alef Poh-ji belongs to [ANSWER]
['Q4714373', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q4714373 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Thailand
Alef Poh-ji belongs to Thailand
Thailand
action filter_type
action find
entity Alef Poh-ji
relation country of citizenship
type designation for an administrative territorial entity
['Alef Poh-ji', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Alef_Poh-ji property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q869
P30
Q2221906
USER
Which geographic location is that administrative territory a part of ?
(Q869,P30,c(Q2221906))
action filter_type
action find
entity Q869
relation P30
type Q2221906
['Q869', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?p WHERE { resource:Q869 property:P30 ?p . ?p rdf:type ontology:Q2221906 }
Thailand
action filter_type
action find
entity Thailand
relation continent
type geographic location
['Thailand', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?p WHERE { resource:Thailand property:continent ?p . ?p rdf:type ontology:geographic_location }
[]
geographic location
Q48
SYSTEM
Asia
Q48
(Q869,P30,c(Q2221906))
action filter_type
action find
entity Q869
relation P30
type Q2221906
[ANSWER] is that administrative territory a part of
['Q869', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?p WHERE { resource:Q869 property:P30 ?p . ?p rdf:type ontology:Q2221906 }
Asia
Asia is that administrative territory a part of
Asia
action filter_type
action find
entity Thailand
relation continent
type geographic location
['Thailand', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?p WHERE { resource:Thailand property:continent ?p . ?p rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P361
Q2221906
USER
How many geographic locations are that geographic location a part of ?
(Q48,P361,c(Q2221906))
action count
action filter_type
action find
entity Q48
relation P361
type Q2221906
['Q48', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Q48 property:P361 ?u . ?u rdf:type ontology:Q2221906 }
action count
action filter_type
action find
entity Asia
relation part of
type geographic location
['Asia', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Asia property:part_of ?u . ?u rdf:type ontology:geographic_location }
[]
geographic location
SYSTEM
2
Q2035462 Q5401
(Q48,P361,c(Q2221906))
action count
action filter_type
action find
entity Q48
relation P361
type Q2221906
[ANSWER]
['Q48', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Q48 property:P361 ?u . ?u rdf:type ontology:Q2221906 }
Ostfeste Eurasia
2
action count
action filter_type
action find
entity Asia
relation part of
type geographic location
['Asia', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Asia property:part_of ?u . ?u rdf:type ontology:geographic_location }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16211383 Q4714373
P106
Q12737077
USER
Which occupations have Alef Poh-ji or Jason McCartney as his/her as a career ?
OR((Q4714373,P106,c(Q12737077)), (Q16211383,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4714373
relation P106
action find
entity Q16211383
relation P106
type Q12737077
{'OR': [['Q4714373', 'P106', {'concept': 'Q12737077'}], ['Q16211383', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q4714373 property:P106 ?s } UNION { resource:Q16211383 property:P106 ?s } } . ?s rdf:type ontology:Q12737077 }
Jason McCartney Alef Poh-ji
action filter_type
action union
action find
entity Alef Poh-ji
relation occupation
action find
entity Jason McCartney
relation occupation
type occupation
{'OR': [['Alef Poh-ji', 'occupation', {'concept': 'occupation'}], ['Jason McCartney', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Alef_Poh-ji property:occupation ?s } UNION { resource:Jason_McCartney property:occupation ?s } } . ?s rdf:type ontology:occupation }
[]
occupation
Q13414980 Q15982858 Q937857
SYSTEM
Australian-rules footballer, motivational speaker, association football player
Q13414980 Q15982858 Q937857
OR((Q4714373,P106,c(Q12737077)), (Q16211383,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4714373
relation P106
action find
entity Q16211383
relation P106
type Q12737077
[ANSWERS] have Alef Poh-ji or Jason McCartney as his/her as a career
{'OR': [['Q4714373', 'P106', {'concept': 'Q12737077'}], ['Q16211383', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q4714373 property:P106 ?s } UNION { resource:Q16211383 property:P106 ?s } } . ?s rdf:type ontology:Q12737077 }
Australian-rules footballer motivational speaker association football player
Australian-rules footballer, motivational speaker and association football player have Alef Poh-ji or Jason McCartney as his/her as a career
Australian-rules footballer motivational speaker association football player
action filter_type
action union
action find
entity Alef Poh-ji
relation occupation
action find
entity Jason McCartney
relation occupation
type occupation
{'OR': [['Alef Poh-ji', 'occupation', {'concept': 'occupation'}], ['Jason McCartney', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Alef_Poh-ji property:occupation ?s } UNION { resource:Jason_McCartney property:occupation ?s } } . ?s rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saint of atmost 6 occupations ?
(c(Q12737077),P417,c(Q502895))
action atmost
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 6
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:P417 ?r . ?r rdf:type ontology:Q502895 . ?l rdf:type ontology:Q12737077 } GROUP BY ?r } . FILTER ( ?q <= 6 ) }
action atmost
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 6
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:patron_saint ?r . ?r rdf:type ontology:common_name . ?l rdf:type ontology:occupation } GROUP BY ?r } . FILTER ( ?q <= 6 ) }
[]
common name occupation
Q9682 Q9438 Q191479
SYSTEM
Elizabeth II, Thomas Aquinas, Tadeusz Kościuszko
Q2366998 Q453698 Q561838 Q380092 Q129674 Q133704 Q229190 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 Q328804 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q166876 Q163900 Q31966 Q170547 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 Q128538 Q37599 Q316599 Q232975 Q183240 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 Q196653 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 Q44265 Q232453 Q192816 Q43982 Q58559 Q179718 Q445357 Q40662 Q359878 Q190240 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q1343711 Q3663117 Q137947 Q534691 Q160374 Q442516 Q920226 Q80513 Q43600 Q283447 Q26486 Q324700 Q158504 Q744884 Q130005 Q740907 Q44015 Q44258 Q70991 Q318974 Q151967 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 Q200895 Q523662 Q284323 Q59071 Q1383532 Q160445 Q44248 Q1269112 Q2424767 Q459032 Q276148 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action atmost
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 6
[ANSWERS] are the patron saint of atmost 6 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:P417 ?r . ?r rdf:type ontology:Q502895 . ?l rdf:type ontology:Q12737077 } GROUP BY ?r } . FILTER ( ?q <= 6 ) }
Eurosia Saint Amand Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Catherine of Siena 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 John the Evangelist Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Isidore of Seville Saint Francis Xavier Mark the Evangelist Anthony the Great 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 Luke the Evangelist Theodore of Amasea Saint Maurice Anastasia of Sirmium Saint Lucy 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 Saint Veronica 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 Benedict of Nursia Martha Saint Barbara Bartholomew the Apostle Leo IX Catherine of Alexandria 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 Matthew the Apostle Lambert of Maastricht Ladislaus I of Hungary Urban of Langres Clement of Ohrid Zita Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Saint Blaise 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 Agatha of Sicily Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Jerome 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
Elizabeth II, Thomas Aquinas and Tadeusz Kościuszko are the patron saint of atmost 6 occupations
Elizabeth II Thomas Aquinas Tadeusz Kościuszko
action atmost
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 6
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:patron_saint ?r . ?r rdf:type ontology:common_name . ?l rdf:type ontology:occupation } GROUP BY ?r } . FILTER ( ?q <= 6 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atleast 3898 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3898
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?l >= 3898 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3898
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?l >= 3898 ) }
[]
musical instrument common name
Q5994 Q8355
SYSTEM
piano, violin
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3898
[ANSWERS] can atleast 3898 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?l >= 3898 ) }
piano violin
Piano and violin can atleast 3898 people perform with
piano violin
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3898
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?l >= 3898 ) }
[]