Simple Question (Direct)
Simple Question
Q3166942
P22
Q502895
USER
Which person was the father of Jean-Louis Prevost ?
(Q3166942,P22,c(Q502895))
action filter_type
action find
entity Q3166942
relation P22
type Q502895
['Q3166942', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q3166942 property:P22 ?b }
Jean-Louis Prevost
action filter_type
action find
entity Jean-Louis Prevost
relation father
type common name
['Jean-Louis Prevost', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Jean-Louis_Prevost property:father ?b }
[]
common name
Q24188400
SYSTEM
Jean-René Prevost
Q24188400
(Q3166942,P22,c(Q502895))
action filter_type
action find
entity Q3166942
relation P22
type Q502895
De [ANSWER] was the father of Jean-Louis Prevost
['Q3166942', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q3166942 property:P22 ?b }
Jean-René Prevost
De Jean-René Prevost was the father of Jean-Louis Prevost
Jean-René Prevost
action filter_type
action find
entity Jean-Louis Prevost
relation father
type common name
['Jean-Louis Prevost', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Jean-Louis_Prevost property:father ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3166942
P40
Q502895
USER
Who has Jean-Louis Prevost as an offspring ?
(c(Q502895),P40,Q3166942)
action filter_type
action find_reverse
entity Q3166942
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q3166942']
SELECT DISTINCT ?p WHERE { ?p property:P40 resource:Q3166942 . ?p rdf:type ontology:Q502895 }
Jean-Louis Prevost
action filter_type
action find_reverse
entity Jean-Louis Prevost
relation child
type common name
[{'concept': 'common name'}, 'child', 'Jean-Louis Prevost']
SELECT DISTINCT ?p WHERE { ?p property:child resource:Jean-Louis_Prevost . ?p rdf:type ontology:common_name }
[]
common name
Q24188400
SYSTEM
Jean-René Prevost
Q24188400
(c(Q502895),P40,Q3166942)
action filter_type
action find_reverse
entity Q3166942
relation P40
type Q502895
[ANSWER] has Jean-Louis Prevost as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q3166942']
SELECT DISTINCT ?p WHERE { ?p property:P40 resource:Q3166942 . ?p rdf:type ontology:Q502895 }
Jean-René Prevost
Jean-René Prevost has Jean-Louis Prevost as an offspring
Jean-René Prevost
action filter_type
action find_reverse
entity Jean-Louis Prevost
relation child
type common name
[{'concept': 'common name'}, 'child', 'Jean-Louis Prevost']
SELECT DISTINCT ?p WHERE { ?p property:child resource:Jean-Louis_Prevost . ?p rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1502088
P417
Q502895 Q15617994 Q16970
USER
Which people are the patron saint of greater number of administrative territories or churches than Genesius of Arles ?
(c(Q15617994)|c(Q16970),P417,c(Q502895))
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 Q16970
action count
action filter_multi_types
action find_reverse
entity Q1502088
relation P417
type Q15617994
type Q16970
[[{'concept': 'Q15617994'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?p ) WHERE { VALUES ( ?k ) { ( ontology:Q15617994 ) ( ontology:Q16970 ) } . ?j rdf:type ?k } GROUP BY ?e } . FILTER ( ?p > ?h ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { VALUES ( ?q ) { ( ontology:Q15617994 ) ( ontology:Q16970 ) } . ?b rdf:type ?q } . ?b property:P417 resource:Q1502088 } } }
Genesius of Arles
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 church
action count
action filter_multi_types
action find_reverse
entity Genesius of Arles
relation patron saint
type designation for an administrative territorial entity
type church
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?p ) WHERE { VALUES ( ?k ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:church ) } . ?j rdf:type ?k } GROUP BY ?e } . FILTER ( ?p > ?h ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { VALUES ( ?q ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:church ) } . ?b rdf:type ?q } . ?b property:patron_saint resource:Genesius_of_Arles } } }
[]
common name designation for an administrative territorial entity church
Q346 Q8413 Q174044
SYSTEM
Louis IX of France, Constantine the Great, Alexander Nevsky
Q561838 Q133704 Q152457 Q61914 Q3893243 Q732865 Q43689 Q128267 Q328804 Q174044 Q240610 Q163900 Q170547 Q44024 Q3940728 Q149315 Q676555 Q2360539 Q3615108 Q244380 Q212850 Q1284971 Q188411 Q4011186 Q233067 Q8413 Q558148 Q42887 Q177903 Q315312 Q216946 Q33923 Q81634 Q161775 Q43954 Q37599 Q316599 Q183240 Q145746 Q167477 Q288295 Q297742 Q218921 Q316295 Q183332 Q48438 Q44281 Q63070 Q134666 Q170164 Q43399 Q379914 Q3906150 Q196527 Q336731 Q9200 Q346 Q180936 Q2142772 Q243427 Q43999 Q359259 Q12871 Q43669 Q181489 Q44269 Q232453 Q43982 Q58559 Q179718 Q445357 Q40662 Q359878 Q1976199 Q3663117 Q534691 Q80513 Q26486 Q740907 Q151967 Q149727 Q164294 Q42827 Q159862 Q543320 Q17590 Q200895 Q2424767 Q131945 Q127385 Q310633
(c(Q15617994)|c(Q16970),P417,c(Q502895))
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 Q16970
action count
action filter_multi_types
action find_reverse
entity Q1502088
relation P417
type Q15617994
type Q16970
[ANSWERS] are the patron saint of greater number of administrative territories or churches than Genesius of Arles
[[{'concept': 'Q15617994'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?p ) WHERE { VALUES ( ?k ) { ( ontology:Q15617994 ) ( ontology:Q16970 ) } . ?j rdf:type ?k } GROUP BY ?e } . FILTER ( ?p > ?h ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { VALUES ( ?q ) { ( ontology:Q15617994 ) ( ontology:Q16970 ) } . ?b rdf:type ?q } . ?b property:P417 resource:Q1502088 } } }
Alexander of Bergamo Martin of Tours Saint Roch Gotthard of Hildesheim Pamphilus of Sulmona Vitalis of Milan Ambrose Joseph John the Evangelist Alexander Nevsky Euphemia Saint Francis Xavier Anthony the Great Athanasius of Alexandria Romano martire Silverius Francis of Assisi Donatus of Arezzo Anatolia martire Saint Denis Vitus Victor Maurus Bernard of Clairvaux Vicinius of Sarsina Salome Constantine the Great Leonard of Noblac Clement I Stephen I of Hungary Januarius Charles Borromeo Peter Sixtus I Stephen Leo I Theodore of Amasea Saint Maurice Saint Lucy Joseph Anthony of Padua Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Saint George Ignatius of Loyola Mary Magdalene Stephen I Helena of Constantinople Andrew Saint Cajetan Placidus Saint Wenceslaus I, Duke of Bohemia Pancras of Rome Paul Louis IX of France Saint Gall Gereon Adalbert of Prague James Saint Emeric of Hungary Simon the Zealot Thomas the Apostle Eusebius of Vercelli Saint Nicholas Martha Bartholomew the Apostle Leo IX Catherine of Alexandria Henry John the Baptist Erasmus of Formiae Gaudentius of Novara Castrese di Sessa Paschal Baylon Saint Cecilia Ladislaus I of Hungary Barbatus of Benevento Saint Blaise Saint Giles Saint Anna Gregory I Elizabeth of Hungary Marina the Monk Lawrence of Rome Agatha of Sicily Anthony of Apamea Pius V Sixtus II Demetrius of Thessaloniki
Louis IX of France, Constantine the Great and Alexander Nevsky are the patron saint of greater number of administrative territories or churches than Genesius of Arles
Louis IX of France Constantine the Great Alexander Nevsky
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 church
action count
action filter_multi_types
action find_reverse
entity Genesius of Arles
relation patron saint
type designation for an administrative territorial entity
type church
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?p ) WHERE { VALUES ( ?k ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:church ) } . ?j rdf:type ?k } GROUP BY ?e } . FILTER ( ?p > ?h ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { VALUES ( ?q ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:church ) } . ?b rdf:type ?q } . ?b property:patron_saint resource:Genesius_of_Arles } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1284971
P417
Q502895 Q15617994 Q16970
USER
And what about Victor Maurus?
(c(Q15617994)|c(Q16970),P417,c(Q502895))
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 Q16970
action count
action filter_multi_types
action find_reverse
entity Q1284971
relation P417
type Q15617994
type Q16970
[[{'concept': 'Q15617994'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?i WHERE { { ?q property:P417 ?i . ?i rdf:type ontology:Q502895 . ?q rdf:type ontology:Q15617994 } UNION { ?q property:P417 ?i . ?i rdf:type ontology:Q502895 . ?q rdf:type ontology:Q16970 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:P417 resource:Q1284971 . { { ?e rdf:type ontology:Q15617994 } UNION { ?e rdf:type ontology:Q16970 } } } } . FILTER ( ?s > ?m ) }
Victor Maurus
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 church
action count
action filter_multi_types
action find_reverse
entity Victor Maurus
relation patron saint
type designation for an administrative territorial entity
type church
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?i WHERE { { ?q property:patron_saint ?i . ?i rdf:type ontology:common_name . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q property:patron_saint ?i . ?i rdf:type ontology:common_name . ?q rdf:type ontology:church } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:patron_saint resource:Victor_Maurus . { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e rdf:type ontology:church } } } } . FILTER ( ?s > ?m ) }
[]
common name designation for an administrative territorial entity church
Q174044 Q676555 Q188411
SYSTEM
Alexander Nevsky, Francis of Assisi, Bernard of Clairvaux
Q561838 Q133704 Q61914 Q43689 Q128267 Q328804 Q174044 Q676555 Q2360539 Q188411 Q42887 Q177903 Q33923 Q161775 Q167477 Q297742 Q218921 Q183332 Q48438 Q63070 Q43399 Q9200 Q43999 Q359259 Q44269 Q43982 Q40662 Q359878 Q1976199 Q164294 Q42827 Q543320 Q17590 Q200895 Q2424767
(c(Q15617994)|c(Q16970),P417,c(Q502895))
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 Q16970
action count
action filter_multi_types
action find_reverse
entity Q1284971
relation P417
type Q15617994
type Q16970
[ANSWERS]
[[{'concept': 'Q15617994'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?i WHERE { { ?q property:P417 ?i . ?i rdf:type ontology:Q502895 . ?q rdf:type ontology:Q15617994 } UNION { ?q property:P417 ?i . ?i rdf:type ontology:Q502895 . ?q rdf:type ontology:Q16970 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:P417 resource:Q1284971 . { { ?e rdf:type ontology:Q15617994 } UNION { ?e rdf:type ontology:Q16970 } } } } . FILTER ( ?s > ?m ) }
Alexander of Bergamo Martin of Tours Gotthard of Hildesheim Ambrose Joseph John the Evangelist Alexander Nevsky Francis of Assisi Donatus of Arezzo Bernard of Clairvaux Clement I Stephen I of Hungary Peter Stephen Anthony of Padua Margaret the Virgin Saint Eustace Saint Sebastian Saint George Mary Magdalene Andrew Paul James Saint Emeric of Hungary Saint Nicholas Bartholomew the Apostle John the Baptist Erasmus of Formiae Gaudentius of Novara Saint Anna Gregory I Marina the Monk Lawrence of Rome Agatha of Sicily Anthony of Apamea
Alexander Nevsky Francis of Assisi Bernard of Clairvaux
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 church
action count
action filter_multi_types
action find_reverse
entity Victor Maurus
relation patron saint
type designation for an administrative territorial entity
type church
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?i WHERE { { ?q property:patron_saint ?i . ?i rdf:type ontology:common_name . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q property:patron_saint ?i . ?i rdf:type ontology:common_name . ?q rdf:type ontology:church } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:patron_saint resource:Victor_Maurus . { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e rdf:type ontology:church } } } } . FILTER ( ?s > ?m ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q174044 Q676555 Q188411
P417
Q44539
USER
Who are those people a patron saint of ?
(c(Q44539),P417,Q174044) (c(Q44539),P417,Q676555) (c(Q44539),P417,Q188411)
action filter_type
action find_reverse
entity prev_answer
relation P417
type Q44539
[{'concept': 'Q44539'}, 'P417', 'Q174044'] [{'concept': 'Q44539'}, 'P417', 'Q676555'] [{'concept': 'Q44539'}, 'P417', 'Q188411']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q44539 . ?k property:P417 ?o . VALUES ( ?o ) { ( resource:Q561838 ) ( resource:Q133704 ) ( resource:Q61914 ) } }
Alexander Nevsky Francis of Assisi Bernard of Clairvaux
action filter_type
action find_reverse
entity prev_answer
relation patron saint
type temple
[{'concept': 'temple'}, 'patron saint', 'Alexander Nevsky'] [{'concept': 'temple'}, 'patron saint', 'Francis of Assisi'] [{'concept': 'temple'}, 'patron saint', 'Bernard of Clairvaux']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:temple . ?k property:patron_saint ?o . VALUES ( ?o ) { ( resource:Alexander_of_Bergamo ) ( resource:Martin_of_Tours ) ( resource:Gotthard_of_Hildesheim ) } }
[]
temple
Q3498663 Q2661965 Q1328725
SYSTEM
Saint-Bernard de la Chapelle, Alexander Nevsky Church, Church of St. Francis of Assisi
Q2661965 Q3581465 Q1328725 Q3498663
(c(Q44539),P417,Q174044) (c(Q44539),P417,Q676555) (c(Q44539),P417,Q188411)
action filter_type
action find_reverse
entity prev_answer
relation P417
type Q44539
Those people a patron saint of are Church [ANSWERS]
[{'concept': 'Q44539'}, 'P417', 'Q174044'] [{'concept': 'Q44539'}, 'P417', 'Q676555'] [{'concept': 'Q44539'}, 'P417', 'Q188411']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q44539 . ?k property:P417 ?o . VALUES ( ?o ) { ( resource:Q561838 ) ( resource:Q133704 ) ( resource:Q61914 ) } }
Alexander Nevsky Church Saint-François de Molitor Church of St. Francis of Assisi Saint-Bernard de la Chapelle
Those people a patron saint of are Church Saint-Bernard de la Chapelle, Alexander Nevsky Church and Church of St. Francis of Assisi
Saint-Bernard de la Chapelle Alexander Nevsky Church Church of St. Francis of Assisi
action filter_type
action find_reverse
entity prev_answer
relation patron saint
type temple
[{'concept': 'temple'}, 'patron saint', 'Alexander Nevsky'] [{'concept': 'temple'}, 'patron saint', 'Francis of Assisi'] [{'concept': 'temple'}, 'patron saint', 'Bernard of Clairvaux']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:temple . ?k property:patron_saint ?o . VALUES ( ?o ) { ( resource:Alexander_of_Bergamo ) ( resource:Martin_of_Tours ) ( resource:Gotthard_of_Hildesheim ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1328725
P119
Q502895
USER
Which people have that temple as place of burial ?
(c(Q502895),P119,Q1328725)
action filter_type
action find_reverse
entity Q1328725
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q1328725']
SELECT DISTINCT ?g WHERE { ?g property:P119 resource:Q1328725 . ?g rdf:type ontology:Q502895 }
Church of St. Francis of Assisi
action filter_type
action find_reverse
entity Church of St. Francis of Assisi
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Church of St. Francis of Assisi']
SELECT DISTINCT ?g WHERE { ?g property:place_of_burial resource:Church_of_St._Francis_of_Assisi . ?g rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q3498663
SYSTEM
Did you mean Saint-Bernard de la Chapelle ?
Q3498663 Q2661965 Q1328725
(c(Q502895),P119,Q3498663) (c(Q502895),P119,Q2661965) (c(Q502895),P119,Q1328725)
[ANSWER]
[{'concept': 'Q502895'}, 'P119', 'Q3498663'] [{'concept': 'Q502895'}, 'P119', 'Q2661965'] [{'concept': 'Q502895'}, 'P119', 'Q1328725']
SELECT DISTINCT ?g WHERE { ?g property:P119 resource:Q1328725 . ?g rdf:type ontology:Q502895 }
Saint-Bernard de la Chapelle Alexander Nevsky Church Church of St. Francis of Assisi
Did you mean Saint-Bernard de la Chapelle ?
Saint-Bernard de la Chapelle
[{'concept': 'common name'}, 'place of burial', 'Saint-Bernard de la Chapelle'] [{'concept': 'common name'}, 'place of burial', 'Alexander Nevsky Church'] [{'concept': 'common name'}, 'place of burial', 'Church of St. Francis of Assisi']
SELECT DISTINCT ?g WHERE { ?g property:place_of_burial resource:Church_of_St._Francis_of_Assisi . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Church of St. Francis of Assisi. Could you tell me the answer for that?
(c(Q502895),P119,Q1328725)
Q1328725
[{'concept': 'Q502895'}, 'P119', 'Q1328725']
[{'concept': 'common name'}, 'place of burial', 'Church of St. Francis of Assisi']
[]
Q4762545 Q53443
SYSTEM
Angela Salawa, Bolesław V the Chaste
Q4762545 Q53443
(c(Q502895),P119,Q1328725)
action filter_type
action find_reverse
entity Q1328725
relation P119
type Q502895
[ANSWERS] have that temple as place of burial
[{'concept': 'Q502895'}, 'P119', 'Q1328725']
SELECT DISTINCT ?g WHERE { ?g property:P119 resource:Q1328725 . ?g rdf:type ontology:Q502895 }
Angela Salawa Bolesław V the Chaste
Angela Salawa and Bolesław V the Chaste have that temple as place of burial
Angela Salawa Bolesław V the Chaste
action filter_type
action find_reverse
entity Church of St. Francis of Assisi
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Church of St. Francis of Assisi']
SELECT DISTINCT ?g WHERE { ?g property:place_of_burial resource:Church_of_St._Francis_of_Assisi . ?g rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P26
Q502895
USER
How many people are married to that person ?
(c(Q502895),P26,Q53443)
[{'concept': 'Q502895'}, 'P26', 'Q53443']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1196129 resource:Q53443 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'spouse', 'Bolesław V the Chaste']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:spouse resource:Bolesław_V_the_Chaste . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q4762545
SYSTEM
Did you mean Angela Salawa ?
(c(Q502895),P26,Q4762545) (c(Q502895),P26,Q53443)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q4762545'] [{'concept': 'Q502895'}, 'P26', 'Q53443']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1196129 resource:Q53443 . ?z rdf:type ontology:Q502895 }
Did you mean Angela Salawa ?
Angela Salawa
[{'concept': 'common name'}, 'spouse', 'Angela Salawa'] [{'concept': 'common name'}, 'spouse', 'Bolesław V the Chaste']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:spouse resource:Bolesław_V_the_Chaste . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Bolesław V the Chaste. Could you tell me the answer for that?
(c(Q502895),P26,Q53443)
Q53443
[{'concept': 'Q502895'}, 'P26', 'Q53443']
[{'concept': 'common name'}, 'spouse', 'Bolesław V the Chaste']
[]
SYSTEM
1
Q233012
(c(Q502895),P26,Q53443)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q53443']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1196129 resource:Q53443 . ?z rdf:type ontology:Q502895 }
Kinga of Poland
1
[{'concept': 'common name'}, 'spouse', 'Bolesław V the Chaste']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:spouse resource:Bolesław_V_the_Chaste . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q6619679
USER
Which fictional humanoids had min number of people as the dubbing artist ?
(c(Q6619679),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q6619679
type Q502895
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?k ) { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?s ) WHERE { ?a property:P725 ?i . ?a rdf:type ontology:Q6619679 . ?i rdf:type ontology:Q502895 } GROUP BY ?a } } . { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?t ) WHERE { ?x property:P725 ?c . ?x rdf:type ontology:Q6619679 . ?c rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?t = ?k ) }
action argmin
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?k ) { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?s ) WHERE { ?a property:voice_actor ?i . ?a rdf:type ontology:fictional_humanoid . ?i rdf:type ontology:common_name } GROUP BY ?a } } . { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?t ) WHERE { ?x property:voice_actor ?c . ?x rdf:type ontology:fictional_humanoid . ?c rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?t = ?k ) }
[]
common name fictional humanoid
Q1623086 Q1205263 Q3149148
SYSTEM
Hector Barbossa, Eli Vance, Imoen
Q1623086 Q1205263 Q4992177 Q24010814 Q819585 Q1079617 Q4006757 Q15614636 Q1056953 Q250221 Q3149148 Q757015 Q15620419 Q13471616 Q12879 Q1154920
(c(Q6619679),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q6619679
type Q502895
[ANSWERS] had min number of people as the dubbing artist
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?k ) { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?s ) WHERE { ?a property:P725 ?i . ?a rdf:type ontology:Q6619679 . ?i rdf:type ontology:Q502895 } GROUP BY ?a } } . { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?t ) WHERE { ?x property:P725 ?c . ?x rdf:type ontology:Q6619679 . ?c rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?t = ?k ) }
Hector Barbossa Eli Vance Cave Johnson Deckard Cain Jaina Proudmoore Wallace Breen Utena Tenjo Anna (Disney) Minsc Alyx Vance Imoen Sailor Moon Elsa Mr. Bean Toph Beifong Father Grigori
Hector Barbossa, Eli Vance and Imoen had min number of people as the dubbing artist
Hector Barbossa Eli Vance Imoen
action argmin
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?k ) { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?s ) WHERE { ?a property:voice_actor ?i . ?a rdf:type ontology:fictional_humanoid . ?i rdf:type ontology:common_name } GROUP BY ?a } } . { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?t ) WHERE { ?x property:voice_actor ?c . ?x rdf:type ontology:fictional_humanoid . ?c rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?t = ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q676555
P1412
Q34770
USER
What languages do Francis of Assisi speak in ?
(Q676555,P1412,c(Q34770))
action filter_type
action find
entity Q676555
relation P1412
type Q34770
['Q676555', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q676555 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
Francis of Assisi
action filter_type
action find
entity Francis of Assisi
relation languages spoken, written or signed
type language
['Francis of Assisi', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Francis_of_Assisi property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
language
Q397 Q652
SYSTEM
Latin, Italian
Q397 Q652
(Q676555,P1412,c(Q34770))
action filter_type
action find
entity Q676555
relation P1412
type Q34770
Francis of Assisi speak the [ANSWERS]
['Q676555', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q676555 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
Latin Italian
Francis of Assisi speak the Latin and Italian
Latin Italian
action filter_type
action find
entity Francis of Assisi
relation languages spoken, written or signed
type language
['Francis of Assisi', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Francis_of_Assisi property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3769329
Q34770
USER
And how about Giuliana Morandini?
(Q3769329,P1412,c(Q34770))
action filter_type
action find
entity Q3769329
relation P1412
type Q34770
['Q3769329', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q3769329 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
Giuliana Morandini
action filter_type
action find
entity Giuliana Morandini
relation languages spoken, written or signed
type language
['Giuliana Morandini', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Giuliana_Morandini property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q3769329,P1412,c(Q34770))
action filter_type
action find
entity Q3769329
relation P1412
type Q34770
[ANSWER]
['Q3769329', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q3769329 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
Italian
Italian
action filter_type
action find
entity Giuliana Morandini
relation languages spoken, written or signed
type language
['Giuliana Morandini', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Giuliana_Morandini property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q652
P103
Q502895
USER
Which people have that language as his/her mother tongue ?
(c(Q502895),P103,Q652)
action filter_type
action find_reverse
entity Q652
relation P103
type Q502895
[{'concept': 'Q502895'}, 'P103', 'Q652']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P103 resource:Q652 }
Italian
action filter_type
action find_reverse
entity Italian
relation native language
type common name
[{'concept': 'common name'}, 'native language', 'Italian']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:native_language resource:Italian }
[]
common name
Q12807 Q117763 Q3956186
SYSTEM
Umberto Eco, Giuseppe Caspar Mezzofanti, Sergio Mattarella
Q21573046 Q23045968 Q24239334 Q386459 Q318051 Q3036220 Q4132868 Q23017315 Q18921764 Q26262806 Q214119 Q50790 Q24192563 Q16632815 Q23045999 Q451001 Q22582937 Q3177183 Q24290513 Q1859227 Q27670507 Q1056504 Q81819 Q3904894 Q3956186 Q21571494 Q117269 Q3638740 Q2832777 Q3000044 Q13462929 Q379039 Q1327928 Q531777 Q2619546 Q286612 Q15136629 Q15936340 Q471342 Q3956118 Q24263776 Q23301 Q21438247 Q1348674 Q3386893 Q3960878 Q21777199 Q22334087 Q3067924 Q27670701 Q1406332 Q25927230 Q27095453 Q22666415 Q16744903 Q19960428 Q18288930 Q3876363 Q26857611 Q26868847 Q17419994 Q3894024 Q24229000 Q21562060 Q21573075 Q27092862 Q1357933 Q124138 Q23901354 Q24343738 Q1246106 Q16022242 Q24251191 Q24229386 Q1332457 Q20031259 Q26773031 Q21468414 Q5444 Q5442 Q21115018 Q21571466 Q117763 Q2939142 Q1991 Q20084191 Q27670622 Q1986094 Q22158749 Q9341480 Q7000000 Q1398937 Q471529 Q454923 Q19759295 Q17636273 Q506159 Q5450 Q529098 Q697955 Q16333749 Q24238094 Q9035872 Q22582970 Q22069302 Q340261 Q3929565 Q106057 Q20995723 Q24235213 Q602665 Q920493 Q191029 Q174277 Q17992169 Q18663487 Q15291208 Q3484635 Q3852869 Q124591 Q334219 Q17417958 Q27586390 Q3620090 Q3547811 Q153832 Q15140381 Q254462 Q215673 Q1357559 Q15726460 Q3770218 Q188107 Q20829985 Q294302 Q1989559 Q550884 Q12807 Q24260682 Q287741 Q513597 Q1042470 Q337260 Q4013102 Q666504 Q25931006 Q24233910 Q1055449 Q5857887 Q17302115 Q3839540 Q24265198 Q25894639 Q1402 Q3497953 Q454917 Q3632366 Q3860377 Q15714366 Q239404 Q517837 Q25631023 Q8317662 Q3838462 Q3706190 Q975500 Q956604 Q21004530 Q24229343 Q286600
(c(Q502895),P103,Q652)
action filter_type
action find_reverse
entity Q652
relation P103
type Q502895
[ANSWERS] have that language as his/her mother tongue
[{'concept': 'Q502895'}, 'P103', 'Q652']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P103 resource:Q652 }
Emilio Gabrielli Carlo Pagano Gaetano Mariani Paolo Tiralongo Alfredo Binda Donato Carrisi Arnaldo Galliera Marco Di Meco Daniele Garozzo Gabriele Rossetti Luciano Floridi Giovanni Visconti Eleonora Gaggero Andrea Zanni Corrado Gargiolli Moreno Argentin Lorenzo Losa Alberto Maggi Bruno Jossa Matteo Pelucchi Orazio Abbamonte Vincenzo Cabianca Monica Bellucci Pif Sergio Mattarella Gabriele Maestrelli Norman Gobbi Bernardino Zendrini Alessandro Di Stefano Gianni Carabelli Piero Nelli Samantha Cristoforetti Elena Viviani Ercole Baldini Alceo Galliera Maria, Queen of Sicily Frieda Brioschi Federico Tavola Learco Guerra Sergio Filippini Giulio Mastrototaro Roberto Benigni Francesco Recami Ercole Ferrata Pierre Rusconi Silvio Gambini Aureliano Amadei Giulio Landi Federico Pescanese Giuseppe Aloe Corrado Giustozzi Alessandro Sibilio Andrea D'Angelo Beatrice Scalvedi Roberto Quercetani Gianluigi Gamba Bonaventure de Sienne Nicola Silvaggi Rachele Risaliti Giovanni Tarditi Alessandro Giallocosta Paolo Facchinetti Benedetta Mazzucchetti Dario Taraborelli Sergio Ruzzenente Alberto Giurioli Giuseppe Nazzaro Gianni Infantino Fabio Basile Emanuele Antonelli Sandro Veronesi Michele Arcangelo Lupoli Vincenzo Barra Achille Monti Nicola Vizzoni Stefano Raffei Luca Martinelli Vincenzo Padovan Pietro Mennea Sara Simeoni Francesco Maria Dolce Giorgio Accordini Giuseppe Caspar Mezzofanti Carlo Acutis Michela Figini Lina Prosa Lillo Alessandro Nicola Boem Franco Bertolli Stanislao Loffreda Giuseppe Murnigotti Lorenzo Respighi Ludovico Antonio Muratori Gianni Bugno Francesco Palermo Masseo of Marignano Pino Caruso Antonietta Di Martino Vittorio Adorni Aroldo Tieri Gherardo Ortalli Orazio Lupis Riccardo Fraccaro Simone Cortesi Umberto Alongi Achille Varzi Raimondo Bucher Yves Montand Alice Sabatini Attilio Ferrari Antonio Juliano Paolo Sardi Giuseppe Peano Tazio Nuvolari Giacomo Barzellotti Domenico De Angelis Gianluigi Farioli Simonetta Cerrini Mauro Meconi Cornelio Sommaruga Andrea Camilleri Giuseppe Bessi Luciano Rocco Antonio Ricciardi Ugo Pierleoni Alcide De Gasperi Angelo Bottigelli Nicoletta Braschi Errico Malatesta Piero De Bernardi Davide Formolo Giuseppe Camuncoli Francesca Schiavone Sonia Fornasier Walter Zenga Armando Pierucci Michele Bartoli Umberto Eco Simonetta Pozzoli Sibilla Aleramo Augusto Lauro Carlo Rovelli Lino Ventura Vincenzo Battaglia Giuliano Pisapia Andrea Dallavalle Marco Meneschincheri Matteo Salvini F.T. Sandman Sio Luigi Crocetti Francesco Mei Mario Cavaliere Giovanni Boccaccio Stefano Cassetti Giuseppe Saronni Babaman The Nun of Monza Marta Bassino Laura Antonelli Aldo Capitini Mario Faccioli Jean Galli de Bibiena Lucia Joyce Enrico Fierro Giunta Pisano Damiano Caruso Nicola Paparusso Elena Gnoli Dacia Maraini
Umberto Eco, Giuseppe Caspar Mezzofanti and Sergio Mattarella have that language as his/her mother tongue
Umberto Eco Giuseppe Caspar Mezzofanti Sergio Mattarella
action filter_type
action find_reverse
entity Italian
relation native language
type common name
[{'concept': 'common name'}, 'native language', 'Italian']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:native_language resource:Italian }
[]