Simple Question (Direct)
Simple Question
Q4432984
P22
Q502895
USER
Which male person was the parent of Lady Liu Hua ?
(Q4432984,P22,c(Q502895))
action filter_type
action find
entity Q4432984
relation P22
type Q502895
['Q4432984', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q4432984 property:P22 ?f . ?f rdf:type ontology:Q502895 }
Lady Liu Hua
action filter_type
action find
entity Lady Liu Hua
relation father
type common name
['Lady Liu Hua', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Lady_Liu_Hua property:father ?f . ?f rdf:type ontology:common_name }
[]
common name
Q708360
SYSTEM
Liu Yin
Q708360
(Q4432984,P22,c(Q502895))
action filter_type
action find
entity Q4432984
relation P22
type Q502895
Of [ANSWER] was the parent of Lady Liu Hua
['Q4432984', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q4432984 property:P22 ?f . ?f rdf:type ontology:Q502895 }
Liu Yin
Of Liu Yin was the parent of Lady Liu Hua
Liu Yin
action filter_type
action find
entity Lady Liu Hua
relation father
type common name
['Lady Liu Hua', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Lady_Liu_Hua property:father ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4432984
P26
Q502895
USER
Which person is the life partner of Lady Liu Hua ?
(c(Q502895),P26,Q4432984)
action filter_type
action find
entity Q4432984
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q4432984']
SELECT DISTINCT ?y WHERE { resource:Q4432984 property:P26 ?y . ?y rdf:type ontology:Q502895 }
Lady Liu Hua
action filter_type
action find
entity Lady Liu Hua
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Lady Liu Hua']
SELECT DISTINCT ?y WHERE { resource:Lady_Liu_Hua property:spouse ?y . ?y rdf:type ontology:common_name }
[]
common name
Q2109927
SYSTEM
Wang Yanjun
Q2109927
(c(Q502895),P26,Q4432984)
action filter_type
action find
entity Q4432984
relation P26
type Q502895
[ANSWER] is the life partner of Lady Liu Hua
[{'concept': 'Q502895'}, 'P26', 'Q4432984']
SELECT DISTINCT ?y WHERE { resource:Q4432984 property:P26 ?y . ?y rdf:type ontology:Q502895 }
Wang Yanjun
Wang Yanjun is the life partner of Lady Liu Hua
Wang Yanjun
action filter_type
action find
entity Lady Liu Hua
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Lady Liu Hua']
SELECT DISTINCT ?y WHERE { resource:Lady_Liu_Hua property:spouse ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4432984
P40
Q502895
USER
Whose child is Lady Liu Hua ?
(c(Q502895),P40,Q4432984)
action filter_type
action find_reverse
entity Q4432984
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q4432984']
SELECT DISTINCT ?y WHERE { ?y property:P40 resource:Q4432984 . ?y rdf:type ontology:Q502895 }
Lady Liu Hua
action filter_type
action find_reverse
entity Lady Liu Hua
relation child
type common name
[{'concept': 'common name'}, 'child', 'Lady Liu Hua']
SELECT DISTINCT ?y WHERE { ?y property:child resource:Lady_Liu_Hua . ?y rdf:type ontology:common_name }
[]
common name
Q708360
SYSTEM
Liu Yin
Q708360
(c(Q502895),P40,Q4432984)
action filter_type
action find_reverse
entity Q4432984
relation P40
type Q502895
[ANSWER] is Lady Liu Hua
[{'concept': 'Q502895'}, 'P40', 'Q4432984']
SELECT DISTINCT ?y WHERE { ?y property:P40 resource:Q4432984 . ?y rdf:type ontology:Q502895 }
Liu Yin
Liu Yin is Lady Liu Hua
Liu Yin
action filter_type
action find_reverse
entity Lady Liu Hua
relation child
type common name
[{'concept': 'common name'}, 'child', 'Lady Liu Hua']
SELECT DISTINCT ?y WHERE { ?y property:child resource:Lady_Liu_Hua . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q708360
P734
Q101352
USER
Who is associated with that person ?
(Q708360,P734,c(Q101352))
action filter_type
action find
entity Q708360
relation P734
type Q101352
['Q708360', 'P734', {'concept': 'Q101352'}]
SELECT DISTINCT ?z WHERE { resource:Q708360 property:P734 ?z . ?z rdf:type ontology:Q101352 }
Liu Yin
action filter_type
action find
entity Liu Yin
relation family name
type family name
['Liu Yin', 'family name', {'concept': 'family name'}]
SELECT DISTINCT ?z WHERE { resource:Liu_Yin property:family_name ?z . ?z rdf:type ontology:family_name }
[]
family name
Q804970
SYSTEM
Liu
Q804970
(Q708360,P734,c(Q101352))
action filter_type
action find
entity Q708360
relation P734
type Q101352
[ANSWER] is associated with that person
['Q708360', 'P734', {'concept': 'Q101352'}]
SELECT DISTINCT ?z WHERE { resource:Q708360 property:P734 ?z . ?z rdf:type ontology:Q101352 }
Liu
Liu is associated with that person
Liu
action filter_type
action find
entity Liu Yin
relation family name
type family name
['Liu Yin', 'family name', {'concept': 'family name'}]
SELECT DISTINCT ?z WHERE { resource:Liu_Yin property:family_name ?z . ?z rdf:type ontology:family_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4834543 Q2109927
P7 P1346
Q502895
USER
Which people have Wang Yanjun as their sibling or were the winners of BAFTA Award for Most Promising Newcomer to Leading Film Roles ?
OR((Q2109927,P7,c(Q502895)), (Q4834543,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q2109927
relation P7
action find
entity Q4834543
relation P1346
type Q502895
{'OR': [['Q2109927', 'P7', {'concept': 'Q502895'}], ['Q4834543', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q2109927 property:P7 ?v } UNION { resource:Q4834543 property:P1346 ?v } } . ?v rdf:type ontology:Q502895 }
BAFTA Award for Most Promising Newcomer to Leading Film Roles Wang Yanjun
action filter_type
action union
action find
entity Wang Yanjun
relation brother
action find
entity BAFTA Award for Most Promising Newcomer to Leading Film Roles
relation winner
type common name
{'OR': [['Wang Yanjun', 'brother', {'concept': 'common name'}], ['BAFTA Award for Most Promising Newcomer to Leading Film Roles', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Wang_Yanjun property:brother ?v } UNION { resource:BAFTA_Award_for_Most_Promising_Newcomer_to_Leading_Film_Roles property:winner ?v } } . ?v rdf:type ontology:common_name }
[]
common name
Q219546 Q28054 Q8012995 Q435107 Q237805 Q329798 Q161819 Q5548249 Q2109907 Q705870
SYSTEM
Some of them are Albert Finney, Judi Dench, Wang Yanzheng, Rita Tushingham, Hayley Mills, Tom Courtenay, Julie Andrews, Georgina Hale, Wang Yanhan, David Kossoff
Q367629 Q5548249 Q316641 Q117995 Q104067 Q266397 Q2208402 Q2109907 Q235622 Q167520 Q705870 Q1294524 Q168721 Q219546 Q161819 Q237805 Q349217 Q41351 Q28054 Q3703113 Q1278871 Q3034857 Q310012 Q2061183 Q174311 Q312364 Q106365 Q435107 Q223988 Q307882 Q173158 Q20178 Q42930 Q329798 Q259461 Q8012995
OR((Q2109927,P7,c(Q502895)), (Q4834543,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q2109927
relation P7
action find
entity Q4834543
relation P1346
type Q502895
[ANSWERS] have Wang Yanjun as their sibling or were the winners of BAFTA Award for Most Promising Newcomer to Leading Film Roles
{'OR': [['Q2109927', 'P7', {'concept': 'Q502895'}], ['Q4834543', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q2109927 property:P7 ?v } UNION { resource:Q4834543 property:P1346 ?v } } . ?v rdf:type ontology:Q502895 }
Peter Egan Georgina Hale Joel Grey Phyllis Logan Eli Wallach Vivien Merchant Wang Yanxi Wang Yanhan Claire Bloom Jon Voight David Kossoff Eric Barker Faye Dunaway Albert Finney Julie Andrews Hayley Mills Norman Wisdom Jodie Foster Judi Dench Dai Bradley Dennis Christopher Dominic Guard James Fox Paul Massie Christopher Reeve Haing S. Ngor Isabelle Huppert Rita Tushingham Paul Scofield Judy Davis Ben Kingsley Joe Pesci Dustin Hoffman Tom Courtenay Valerie Perrine Wang Yanzheng
Albert Finney, Judi Dench, Wang Yanzheng, Rita Tushingham, Hayley Mills, Tom Courtenay, Julie Andrews, Georgina Hale, Wang Yanhan and David Kossoff have Wang Yanjun as their sibling or were the winners of BAFTA Award for Most Promising Newcomer to Leading Film Roles
Albert Finney Judi Dench Wang Yanzheng Rita Tushingham Hayley Mills Tom Courtenay Julie Andrews Georgina Hale Wang Yanhan David Kossoff
action filter_type
action union
action find
entity Wang Yanjun
relation brother
action find
entity BAFTA Award for Most Promising Newcomer to Leading Film Roles
relation winner
type common name
{'OR': [['Wang Yanjun', 'brother', {'concept': 'common name'}], ['BAFTA Award for Most Promising Newcomer to Leading Film Roles', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Wang_Yanjun property:brother ?v } UNION { resource:BAFTA_Award_for_Most_Promising_Newcomer_to_Leading_Film_Roles property:winner ?v } } . ?v rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P161
Q838948
USER
How many works of art do that person star in ?
(c(Q838948),P161,Q435107)
[{'concept': 'Q838948'}, 'P161', 'Q435107']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q435107 . ?z rdf:type ontology:Q838948 }
[{'concept': 'work of art'}, 'cast member', 'Rita Tushingham']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Rita_Tushingham . ?z rdf:type ontology:work_of_art }
[]
work of art
Quantitative|Count|Single entity type|Clarification
Q8012995
SYSTEM
Did you mean Wang Yanzheng ?
(c(Q838948),P161,Q219546) (c(Q838948),P161,Q28054) (c(Q838948),P161,Q8012995) (c(Q838948),P161,Q435107) (c(Q838948),P161,Q237805) (c(Q838948),P161,Q329798) (c(Q838948),P161,Q161819) (c(Q838948),P161,Q5548249) (c(Q838948),P161,Q2109907) (c(Q838948),P161,Q705870)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q219546'] [{'concept': 'Q838948'}, 'P161', 'Q28054'] [{'concept': 'Q838948'}, 'P161', 'Q8012995'] [{'concept': 'Q838948'}, 'P161', 'Q435107'] [{'concept': 'Q838948'}, 'P161', 'Q237805'] [{'concept': 'Q838948'}, 'P161', 'Q329798'] [{'concept': 'Q838948'}, 'P161', 'Q161819'] [{'concept': 'Q838948'}, 'P161', 'Q5548249'] [{'concept': 'Q838948'}, 'P161', 'Q2109907'] [{'concept': 'Q838948'}, 'P161', 'Q705870']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q435107 . ?z rdf:type ontology:Q838948 }
Did you mean Wang Yanzheng ?
Wang Yanzheng
[{'concept': 'work of art'}, 'cast member', 'Albert Finney'] [{'concept': 'work of art'}, 'cast member', 'Judi Dench'] [{'concept': 'work of art'}, 'cast member', 'Wang Yanzheng'] [{'concept': 'work of art'}, 'cast member', 'Rita Tushingham'] [{'concept': 'work of art'}, 'cast member', 'Hayley Mills'] [{'concept': 'work of art'}, 'cast member', 'Tom Courtenay'] [{'concept': 'work of art'}, 'cast member', 'Julie Andrews'] [{'concept': 'work of art'}, 'cast member', 'Georgina Hale'] [{'concept': 'work of art'}, 'cast member', 'Wang Yanhan'] [{'concept': 'work of art'}, 'cast member', 'David Kossoff']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Rita_Tushingham . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Rita Tushingham. Could you tell me the answer for that?
(c(Q838948),P161,Q435107)
Q435107
[{'concept': 'Q838948'}, 'P161', 'Q435107']
[{'concept': 'work of art'}, 'cast member', 'Rita Tushingham']
[]
SYSTEM
24
Q4658896 Q7316492 Q3794932 Q2549305 Q2678153 Q3283991 Q1198726 Q323827 Q3521552 Q2329726 Q3794370 Q3965856 Q3893171 Q502748 Q12105192 Q1439591 Q12103778 Q3204792 Q5463341 Q2905388 Q2492837 Q5655199 Q3414701 Q878987
(c(Q838948),P161,Q435107)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q435107']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q3297652 resource:Q435107 . ?z rdf:type ontology:Q838948 }
A Place to Go Resurrected The Hideout An Awfully Big Adventure Girl with Green Eyes Diamonds for Breakfast The Knack ...and How to Get It Doctor Zhivago The Leather Boys The 'Human' Factor The Guru Spaghetti House Pane, burro e marmellata The Trap The Calling Puffball The Boy from Mercury The Bed-Sitting Room Flying Black Journal Under the Skin Hard Days, Hard Nights Smashing Time A Taste of Honey
24
[{'concept': 'work of art'}, 'cast member', 'Rita Tushingham']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:cast_member resource:Rita_Tushingham . ?z rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q59071
P417
Q502895 Q15617994 Q12737077
USER
How many people are the names of the patron saint of more number of administrative territories or occupations than Peter de Regalado ?
(c(Q15617994)|c(Q12737077),P417,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q59071
relation P417
type Q15617994
type Q12737077
[[{'concept': 'Q15617994'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?u ) WHERE { { ?o property:P417 ?a . ?a rdf:type ontology:Q502895 . ?o rdf:type ontology:Q15617994 } UNION { ?o property:P417 ?a . ?a rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P417 resource:Q59071 . { { ?z rdf:type ontology:Q15617994 } UNION { ?z rdf:type ontology:Q12737077 } } } } . FILTER ( ?u > ?x ) }
Peter de Regalado
action count
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Peter de Regalado
relation patron saint
type designation for an administrative territorial entity
type occupation
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?u ) WHERE { { ?o property:patron_saint ?a . ?a rdf:type ontology:common_name . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o property:patron_saint ?a . ?a rdf:type ontology:common_name . ?o rdf:type ontology:occupation } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:patron_saint resource:Peter_de_Regalado . { { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?z rdf:type ontology:occupation } } } } . FILTER ( ?u > ?x ) }
[]
common name designation for an administrative territorial entity occupation
SYSTEM
202
Q2366998 Q453698 Q561838 Q129674 Q133704 Q229190 Q3922154 Q152457 Q1050218 Q464959 Q1141472 Q61914 Q349086 Q3893243 Q351635 Q732865 Q3759661 Q43689 Q236974 Q128267 Q101090 Q328804 Q47144 Q240610 Q166876 Q163900 Q31966 Q170547 Q603655 Q44024 Q3940728 Q313807 Q149315 Q676555 Q2360539 Q3615108 Q102131 Q505937 Q212850 Q243122 Q238744 Q3747052 Q3949261 Q1284971 Q132797 Q132100 Q188411 Q4011186 Q233067 Q3838743 Q374822 Q733308 Q118081 Q537686 Q312057 Q9438 Q1502088 Q8413 Q558148 Q160373 Q130997 Q312758 Q443392 Q5575577 Q42887 Q3745904 Q191107 Q3859960 Q203437 Q315312 Q43675 Q242274 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q43954 Q44047 Q128538 Q37599 Q316599 Q232975 Q183240 Q119289 Q360798 Q298845 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q48438 Q119512 Q44281 Q63070 Q134666 Q170164 Q43399 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q339541 Q160922 Q1115725 Q336731 Q196653 Q508214 Q9200 Q1270991 Q346 Q131159 Q3924139 Q193507 Q180936 Q83198 Q2182480 Q463600 Q243427 Q2456880 Q417686 Q303640 Q241423 Q43999 Q447384 Q6732208 Q3887342 Q310686 Q12871 Q43669 Q336704 Q181489 Q44269 Q587596 Q372668 Q3779522 Q977571 Q44265 Q232453 Q192816 Q43982 Q58559 Q179718 Q445357 Q40662 Q359878 Q332656 Q210096 Q1976199 Q320171 Q3724316 Q3663117 Q137947 Q534691 Q442516 Q80513 Q43600 Q324700 Q744884 Q130005 Q740907 Q44015 Q44258 Q151967 Q312314 Q149727 Q254896 Q3947956 Q1172641 Q3738578 Q367208 Q232427 Q164294 Q2270111 Q129603 Q60059 Q42827 Q543320 Q17590 Q318347 Q271474 Q3958514 Q317131 Q257960 Q385253 Q200895 Q523662 Q44248 Q2424767 Q276148 Q131945 Q127385 Q196157 Q310633
(c(Q15617994)|c(Q12737077),P417,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q59071
relation P417
type Q15617994
type Q12737077
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?u ) WHERE { { ?o property:P417 ?a . ?a rdf:type ontology:Q502895 . ?o rdf:type ontology:Q15617994 } UNION { ?o property:P417 ?a . ?a rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P417 resource:Q59071 . { { ?z rdf:type ontology:Q15617994 } UNION { ?z rdf:type ontology:Q12737077 } } } } . FILTER ( ?u > ?x ) }
Eurosia Saint Amand Alexander of Bergamo Andrew Bobola Martin of Tours Catherine of Siena Prisco di Nocera Saint Roch Catald Onuphrius Roger of Cannae Gotthard of Hildesheim Leopold III, Margrave of Austria Pamphilus of Sulmona Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Ambrose Radegund Joseph Eleuterus John the Evangelist Linus Euphemia Isidore of Seville Saint Francis Xavier Mark the Evangelist Anthony the Great Fidelis of Como Athanasius of Alexandria Romano martire Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Anatolia martire Marcellus I Vincent Pallotti Vitus Ferdinand III of Castile Peter of Verona Saint Fulk Saint Venera Victor Maurus Mark Anterus Bernard of Clairvaux Vicinius of Sarsina Salome Lucido di Aquara Adrian of Nicomedia Medardus Pope Celestine V Angelus of Jerusalem Saint Casimir Thomas Aquinas Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Damasus I Jean-Baptiste de La Salle Saint Bibiana Gobnait Clement I Fiorenzo di Bastia Clare of Assisi Modestinus Stanislaus Kostka Januarius Philip the Apostle Dorothea of Caesarea Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen Leo I James, son of Alphaeus Luke the Evangelist Theodore of Amasea Saint Maurice Anastasia of Sirmium Saint Lucy Leonard of Port Maurice 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 William of Maleval Ignatius of Loyola Mary Magdalene Stephen I Helena of Constantinople Andrew Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Rufinus of Assisi Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Saint Veronica Cyriacus Paul Eugenius of Carthage Louis IX of France Fabian Prospero da Centuripe Saint Christopher Saint Gall Pius I Felice Saint Petronilla Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Magnus of Cuneo Ottone Frangipane Dionysius the Areopagite Simon the Zealot Thomas the Apostle Sulpicius Severus Eusebius of Vercelli Saint Nicholas Magnus of Anagni John the Merciful Guido of Acqui 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 Camillus de Lellis Agnes of Rome Gaudentius of Novara John of God Emilianus of Trevi Castrese di Sessa Alexius of Rome Paschal Baylon Germanus of Auxerre Saint Cecilia Matthew the Apostle Urban of Langres Zita Edward the Confessor Barbatus of Benevento John the Apostle Basil of Caesarea Saint Blaise Bruno of Cologne Saint Giles Anastasius of Persia San Secondo Calogerus Falco di Palena Saint Remigius Saint Apollonia Saint Anna Maternus Caesarius of Africa Albertus Magnus Gregory I Marina the Monk Lawrence of Rome Sigismund of Burgundy Joseph of Arimathea Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Agostino Novello Agatha of Sicily Syrus of Pavia Jerome Anthony of Apamea Charalampus Pius V Sixtus II Louis of Toulouse Demetrius of Thessaloniki
202
action count
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Peter de Regalado
relation patron saint
type designation for an administrative territorial entity
type occupation
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?u ) WHERE { { ?o property:patron_saint ?a . ?a rdf:type ontology:common_name . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o property:patron_saint ?a . ?a rdf:type ontology:common_name . ?o rdf:type ontology:occupation } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:patron_saint resource:Peter_de_Regalado . { { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?z rdf:type ontology:occupation } } } } . FILTER ( ?u > ?x ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q708360
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Liu Yin ?
(Q708360,P27,c(Q15617994))
action filter_type
action find
entity Q708360
relation P27
type Q15617994
['Q708360', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q708360 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Liu Yin
action filter_type
action find
entity Liu Yin
relation country of citizenship
type designation for an administrative territorial entity
['Liu Yin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Liu_Yin property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q881
SYSTEM
Vietnam
Q881
(Q708360,P27,c(Q15617994))
action filter_type
action find
entity Q708360
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Liu Yin
['Q708360', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q708360 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Vietnam
Vietnam is the country of citizenship of Liu Yin
Vietnam
action filter_type
action find
entity Liu Yin
relation country of citizenship
type designation for an administrative territorial entity
['Liu Yin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Liu_Yin property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q881
P85
Q7725634
USER
Which literary work is the anthem for that administrative territory ?
(Q881,P85,c(Q7725634))
action filter_type
action find
entity Q881
relation P85
type Q7725634
['Q881', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?v WHERE { resource:Q881 property:P85 ?v . ?v rdf:type ontology:Q7725634 }
Vietnam
action filter_type
action find
entity Vietnam
relation anthem
type literary work
['Vietnam', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?v WHERE { resource:Vietnam property:anthem ?v . ?v rdf:type ontology:literary_work }
[]
literary work
Q208016
SYSTEM
Tiến Quân Ca
Q208016
(Q881,P85,c(Q7725634))
action filter_type
action find
entity Q881
relation P85
type Q7725634
[ANSWER] is the anthem for that administrative territory
['Q881', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?v WHERE { resource:Q881 property:P85 ?v . ?v rdf:type ontology:Q7725634 }
Tiến Quân Ca
Tiến Quân Ca is the anthem for that administrative territory
Tiến Quân Ca
action filter_type
action find
entity Vietnam
relation anthem
type literary work
['Vietnam', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?v WHERE { resource:Vietnam property:anthem ?v . ?v rdf:type ontology:literary_work }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q208016 Q1341853 Q881
P17
Q15617994
USER
Is that literary work present in Longmatan District and Vietnam ?
(Q208016,P17,Q1341853) (Q208016,P17,Q881)
action is_in
entity Q208016
action intersection
action find_reverse
entity Q1341853
relation P17
action find_reverse
entity Q881
relation P17
['Q208016', 'P17', 'Q1341853'] ['Q208016', 'P17', 'Q881']
ASK WHERE { resource:Q208016 property:P17 resource:Q1341853 . resource:Q208016 property:P17 resource:Q881 }
Tiến Quân Ca Longmatan District Vietnam
action is_in
entity Tiến Quân Ca
action intersection
action find_reverse
entity Longmatan District
relation country
action find_reverse
entity Vietnam
relation country
['Tiến Quân Ca', 'country', 'Longmatan District'] ['Tiến Quân Ca', 'country', 'Vietnam']
ASK WHERE { resource:Tiến_Quân_Ca property:country resource:Longmatan_District . resource:Tiến_Quân_Ca property:country resource:Vietnam }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q208016,P17,Q1341853) (Q208016,P17,Q881)
action is_in
entity Q208016
action intersection
action find_reverse
entity Q1341853
relation P17
action find_reverse
entity Q881
relation P17
[ANSWER]
['Q208016', 'P17', 'Q1341853'] ['Q208016', 'P17', 'Q881']
ASK WHERE { resource:Q208016 property:P17 resource:Q1341853 . resource:Q208016 property:P17 resource:Q881 }
NO and YES respectively
action is_in
entity Tiến Quân Ca
action intersection
action find_reverse
entity Longmatan District
relation country
action find_reverse
entity Vietnam
relation country
['Tiến Quân Ca', 'country', 'Longmatan District'] ['Tiến Quân Ca', 'country', 'Vietnam']
ASK WHERE { resource:Tiến_Quân_Ca property:country resource:Longmatan_District . resource:Tiến_Quân_Ca property:country resource:Vietnam }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q8012995 Q1086022
P7
Q502895
USER
Does Christoph Ullmann have Wang Yanzheng as their sibling ?
(Q8012995,P7,Q1086022)
action is_in
entity Q1086022
action find
entity Q8012995
relation P7
['Q8012995', 'P7', 'Q1086022']
ASK WHERE { resource:Q8012995 property:P7 resource:Q1086022 }
Wang Yanzheng Christoph Ullmann
action is_in
entity Christoph Ullmann
action find
entity Wang Yanzheng
relation brother
['Wang Yanzheng', 'brother', 'Christoph Ullmann']
ASK WHERE { resource:Wang_Yanzheng property:brother resource:Christoph_Ullmann }
[]
common name
SYSTEM
NO
(Q8012995,P7,Q1086022)
action is_in
entity Q1086022
action find
entity Q8012995
relation P7
[ANSWER]
['Q8012995', 'P7', 'Q1086022']
ASK WHERE { resource:Q8012995 property:P7 resource:Q1086022 }
No
action is_in
entity Christoph Ullmann
action find
entity Wang Yanzheng
relation brother
['Wang Yanzheng', 'brother', 'Christoph Ullmann']
ASK WHERE { resource:Wang_Yanzheng property:brother resource:Christoph_Ullmann }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q4432984
P25 P21
Q502895
USER
Which people have Lady Liu Hua as a mother and are a male ?
AND((c(Q502895),P25,Q4432984), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q4432984
relation P25
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P25', 'Q4432984'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?k WHERE { ?k property:P25 resource:Q4432984 . ?k property:P21 resource:Q6581097 . ?k rdf:type ontology:Q502895 }
male Lady Liu Hua
action filter_type
action intersection
action find_reverse
entity Lady Liu Hua
relation mother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'mother', 'Lady Liu Hua'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?k WHERE { ?k property:mother resource:Lady_Liu_Hua . ?k property:gender resource:male . ?k rdf:type ontology:common_name }
[]
common name
Q2109914
SYSTEM
Wang Jipeng
Q2109914
AND((c(Q502895),P25,Q4432984), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q4432984
relation P25
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Lady Liu Hua as a mother and are a male
{'AND': [[{'concept': 'Q502895'}, 'P25', 'Q4432984'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?k WHERE { ?k property:P25 resource:Q4432984 . ?k property:P21 resource:Q6581097 . ?k rdf:type ontology:Q502895 }
Wang Jipeng
Wang Jipeng have Lady Liu Hua as a mother and are a male
Wang Jipeng
action filter_type
action intersection
action find_reverse
entity Lady Liu Hua
relation mother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'mother', 'Lady Liu Hua'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?k WHERE { ?k property:mother resource:Lady_Liu_Hua . ?k property:gender resource:male . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2109914 Q4432984
P25
Q502895
USER
Was Lady Liu Hua the mother of that one ?
(Q2109914,P25,Q4432984)
action is_in
entity Q4432984
action find
entity Q2109914
relation P25
['Q2109914', 'P25', 'Q4432984']
ASK WHERE { resource:Q2109914 property:P25 resource:Q4432984 }
Wang Jipeng Lady Liu Hua
action is_in
entity Lady Liu Hua
action find
entity Wang Jipeng
relation mother
['Wang Jipeng', 'mother', 'Lady Liu Hua']
ASK WHERE { resource:Wang_Jipeng property:mother resource:Lady_Liu_Hua }
[]
common name
SYSTEM
YES
(Q2109914,P25,Q4432984)
action is_in
entity Q4432984
action find
entity Q2109914
relation P25
[ANSWER]
['Q2109914', 'P25', 'Q4432984']
ASK WHERE { resource:Q2109914 property:P25 resource:Q4432984 }
Yes
action is_in
entity Lady Liu Hua
action find
entity Wang Jipeng
relation mother
['Wang Jipeng', 'mother', 'Lady Liu Hua']
ASK WHERE { resource:Wang_Jipeng property:mother resource:Lady_Liu_Hua }
[]