Simple Question (Direct)
Simple Question
Q3092708
P106
Q12737077
USER
What is the job of Férébory Doré ?
(Q3092708,P106,c(Q12737077))
action filter_type
action find
entity Q3092708
relation P106
type Q12737077
['Q3092708', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q3092708 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Férébory Doré
action filter_type
action find
entity Férébory Doré
relation occupation
type occupation
['Férébory Doré', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Férébory_Doré property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3092708,P106,c(Q12737077))
action filter_type
action find
entity Q3092708
relation P106
type Q12737077
The job of Férébory Doré is an [ANSWER]
['Q3092708', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q3092708 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
association football player
The job of Férébory Doré is an association football player
association football player
action filter_type
action find
entity Férébory Doré
relation occupation
type occupation
['Férébory Doré', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Férébory_Doré property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3092708
P641
Q349
USER
Which sport was that person a part of ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q3092708
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q349 . resource:Q3092708 property:P641 ?f }
Férébory Doré
action filter_type
action find
entity Férébory Doré
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sport . resource:Férébory_Doré property:sport ?f }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q3092708
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q349 . resource:Q3092708 property:P641 ?f }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Férébory Doré
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sport . resource:Férébory_Doré property:sport ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3092708
P21
Q290
USER
What is the sex of that person ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q3092708
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3092708 property:P21 ?t . ?t rdf:type ontology:Q290 }
Férébory Doré
action filter_type
action find
entity Férébory Doré
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Férébory_Doré property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q3092708
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3092708 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Férébory Doré
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Férébory_Doré property:gender ?t . ?t rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q276148
P417
Q502895 Q12737077
USER
Which people are the patron saints of greater number of occupations than Charalampus ?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q276148
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?e ) WHERE { ?x property:P417 ?w . ?w rdf:type ontology:Q502895 . ?x rdf:type ontology:Q12737077 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q276148 property:P417 ?f . ?f rdf:type ontology:Q502895 } } . FILTER ( ?e > ?c ) }
Charalampus
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Charalampus
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?e ) WHERE { ?x property:patron_saint ?w . ?w rdf:type ontology:common_name . ?x rdf:type ontology:occupation } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Charalampus property:patron_saint ?f . ?f rdf:type ontology:common_name } } . FILTER ( ?e > ?c ) }
[]
common name occupation
Q166876 Q229190 Q44248
SYSTEM
Isidore of Seville, Catherine of Siena, Jerome
Q229190 Q328804 Q166876 Q170547 Q128538 Q183240 Q196653 Q44265 Q192816 Q43982 Q179718 Q43600 Q744884 Q151967 Q200895 Q44248
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q276148
relation P417
type Q502895
[ANSWERS] are the patron saints of greater number of occupations than Charalampus
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?e ) WHERE { ?x property:P417 ?w . ?w rdf:type ontology:Q502895 . ?x rdf:type ontology:Q12737077 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q276148 property:P417 ?f . ?f rdf:type ontology:Q502895 } } . FILTER ( ?e > ?c ) }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Luke the Evangelist Saint Lucy Saint Veronica Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria Matthew the Apostle Zita Saint Blaise Agatha of Sicily Jerome
Isidore of Seville, Catherine of Siena and Jerome are the patron saints of greater number of occupations than Charalampus
Isidore of Seville Catherine of Siena Jerome
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Charalampus
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?e ) WHERE { ?x property:patron_saint ?w . ?w rdf:type ontology:common_name . ?x rdf:type ontology:occupation } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Charalampus property:patron_saint ?f . ?f rdf:type ontology:common_name } } . FILTER ( ?e > ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q149315
P417
Q502895 Q12737077
USER
And also tell me about Silverius?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q149315
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:P417 ?q . ?q rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:Q149315 property:P417 ?s . ?s rdf:type ontology:Q502895 } } . FILTER ( ?u > ?c ) }
Silverius
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Silverius
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:patron_saint ?q . ?q rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:Silverius property:patron_saint ?s . ?s rdf:type ontology:common_name } } . FILTER ( ?u > ?c ) }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q149315
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:P417 ?q . ?q rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:Q149315 property:P417 ?s . ?s rdf:type ontology:Q502895 } } . FILTER ( ?u > ?c ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Silverius
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?u ) WHERE { ?o property:patron_saint ?q . ?q rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:Silverius property:patron_saint ?s . ?s rdf:type ontology:common_name } } . FILTER ( ?u > ?c ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q9438 Q60059 Q166876
P21
Q290
USER
Which sexes do those people belong to ?
(Q9438,P21,c(Q290)) (Q60059,P21,c(Q290)) (Q166876,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q9438', 'P21', {'concept': 'Q290'}] ['Q60059', 'P21', {'concept': 'Q290'}] ['Q166876', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?h ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } . ?t rdf:type ontology:Q290 . ?h property:P21 ?t }
Thomas Aquinas Albertus Magnus Isidore of Seville
action filter_type
action find
entity prev_answer
relation gender
type sex
['Thomas Aquinas', 'gender', {'concept': 'sex'}] ['Albertus Magnus', 'gender', {'concept': 'sex'}] ['Isidore of Seville', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?h ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } . ?t rdf:type ontology:sex . ?h property:gender ?t }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q9438,P21,c(Q290)) (Q60059,P21,c(Q290)) (Q166876,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people belong to [ANSWER], [ANSWER] and [ANSWER]
['Q9438', 'P21', {'concept': 'Q290'}] ['Q60059', 'P21', {'concept': 'Q290'}] ['Q166876', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?h ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } . ?t rdf:type ontology:Q290 . ?h property:P21 ?t }
male male male
Those people belong to male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Thomas Aquinas', 'gender', {'concept': 'sex'}] ['Albertus Magnus', 'gender', {'concept': 'sex'}] ['Isidore of Seville', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?h ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } . ?t rdf:type ontology:sex . ?h property:gender ?t }
[]