Simple Question (Direct)
Simple Question
Q495786
P19
Q20667921
USER
Which french administrative division is the birthplace of Jimmy Engoulvent ?
(Q495786,P19,c(Q20667921))
action filter_type
action find
entity Q495786
relation P19
type Q20667921
['Q495786', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { resource:Q495786 property:P19 ?x . ?x rdf:type ontology:Q20667921 }
Jimmy Engoulvent
action filter_type
action find
entity Jimmy Engoulvent
relation place of birth
type type of french administrative division
['Jimmy Engoulvent', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { resource:Jimmy_Engoulvent property:place_of_birth ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1476
SYSTEM
Le Mans
Q1476
(Q495786,P19,c(Q20667921))
action filter_type
action find
entity Q495786
relation P19
type Q20667921
[ANSWER] is the birthplace of Jimmy Engoulvent
['Q495786', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { resource:Q495786 property:P19 ?x . ?x rdf:type ontology:Q20667921 }
Le Mans
Le Mans is the birthplace of Jimmy Engoulvent
Le Mans
action filter_type
action find
entity Jimmy Engoulvent
relation place of birth
type type of french administrative division
['Jimmy Engoulvent', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { resource:Jimmy_Engoulvent property:place_of_birth ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1476
P6
Q502895
USER
Which person does that french administrative division serve as the head of government for ?
(Q1476,P6,c(Q502895))
action filter_type
action find
entity Q1476
relation P6
type Q502895
['Q1476', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q1476 property:P6 ?i . ?i rdf:type ontology:Q502895 }
Le Mans
action filter_type
action find
entity Le Mans
relation head of government
type common name
['Le Mans', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Le_Mans property:head_of_government ?i . ?i rdf:type ontology:common_name }
[]
common name
Q3164858
SYSTEM
Jean-Claude Boulard
Q3164858
(Q1476,P6,c(Q502895))
action filter_type
action find
entity Q1476
relation P6
type Q502895
[ANSWER] that french administrative division serves as the head of government for
['Q1476', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q1476 property:P6 ?i . ?i rdf:type ontology:Q502895 }
Jean-Claude Boulard
Jean-Claude Boulard that french administrative division serves as the head of government for
Jean-Claude Boulard
action filter_type
action find
entity Le Mans
relation head of government
type common name
['Le Mans', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Le_Mans property:head_of_government ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1476
P551
Q502895
USER
Which people have residence at Le Mans ?
(c(Q502895),P551,Q1476)
action filter_type
action find_reverse
entity Q1476
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1476']
SELECT DISTINCT ?b WHERE { ?b property:P551 resource:Q1476 . ?b rdf:type ontology:Q502895 }
Le Mans
action filter_type
action find_reverse
entity Le Mans
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Le Mans']
SELECT DISTINCT ?b WHERE { ?b property:residence resource:Le_Mans . ?b rdf:type ontology:common_name }
[]
common name
Q22812885 Q20670113
SYSTEM
Alexander Zelkin, Nathalie Mauclair
Q22812885 Q20670113
(c(Q502895),P551,Q1476)
action filter_type
action find_reverse
entity Q1476
relation P551
type Q502895
[ANSWERS] have residence at Le Mans
[{'concept': 'Q502895'}, 'P551', 'Q1476']
SELECT DISTINCT ?b WHERE { ?b property:P551 resource:Q1476 . ?b rdf:type ontology:Q502895 }
Alexander Zelkin Nathalie Mauclair
Alexander Zelkin and Nathalie Mauclair have residence at Le Mans
Alexander Zelkin Nathalie Mauclair
action filter_type
action find_reverse
entity Le Mans
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Le Mans']
SELECT DISTINCT ?b WHERE { ?b property:residence resource:Le_Mans . ?b rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20670113
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q20670113,P106,c(Q12737077))
action filter_type
action find
entity Q20670113
relation P106
type Q12737077
['Q20670113', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q20670113 property:P106 ?r }
Nathalie Mauclair
action filter_type
action find
entity Nathalie Mauclair
relation occupation
type occupation
['Nathalie Mauclair', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Nathalie_Mauclair property:occupation ?r }
[]
occupation
Clarification for simple ques.
Q20670113
SYSTEM
Did you mean Nathalie Mauclair ?
Q22812885 Q20670113
(Q22812885,P106,c(Q12737077)) (Q20670113,P106,c(Q12737077))
[ANSWER]
['Q22812885', 'P106', {'concept': 'Q12737077'}] ['Q20670113', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q20670113 property:P106 ?r }
Alexander Zelkin Nathalie Mauclair
Did you mean Nathalie Mauclair ?
Nathalie Mauclair
['Alexander Zelkin', 'occupation', {'concept': 'occupation'}] ['Nathalie Mauclair', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Nathalie_Mauclair property:occupation ?r }
[]
Simple Question (Coreferenced)
USER
Yes
(Q20670113,P106,c(Q12737077))
['Q20670113', 'P106', {'concept': 'Q12737077'}]
['Nathalie Mauclair', 'occupation', {'concept': 'occupation'}]
[]
Q19827218
SYSTEM
ultramarathon runner
Q19827218
(Q20670113,P106,c(Q12737077))
action filter_type
action find
entity Q20670113
relation P106
type Q12737077
The [ANSWER] is the profession of that person
['Q20670113', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q20670113 property:P106 ?r }
ultramarathon runner
The ultramarathon runner is the profession of that person
ultramarathon runner
action filter_type
action find
entity Nathalie Mauclair
relation occupation
type occupation
['Nathalie Mauclair', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Nathalie_Mauclair property:occupation ?r }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2005417
P417
Q502895 Q12737077
USER
How many people are the patron saints of greater number of occupations than Privat de Mende ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q2005417
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:P417 ?j . ?j rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12737077 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Q2005417 property:P417 ?e . ?e rdf:type ontology:Q502895 } } . FILTER ( ?v > ?t ) }
Privat de Mende
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Privat de Mende
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:patron_saint ?j . ?j rdf:type ontology:common_name . ?a rdf:type ontology:occupation } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Privat_de_Mende property:patron_saint ?e . ?e rdf:type ontology:common_name } } . FILTER ( ?v > ?t ) }
[]
common name occupation
SYSTEM
54
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 count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q2005417
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:P417 ?j . ?j rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12737077 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Q2005417 property:P417 ?e . ?e rdf:type ontology:Q502895 } } . FILTER ( ?v > ?t ) }
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
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Privat de Mende
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:patron_saint ?j . ?j rdf:type ontology:common_name . ?a rdf:type ontology:occupation } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Privat_de_Mende property:patron_saint ?e . ?e rdf:type ontology:common_name } } . FILTER ( ?v > ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q235863
P417
Q502895 Q12737077
USER
And how about Genevieve?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q235863
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:P417 ?t . ?v rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ontology:Q502895 . resource:Q235863 property:P417 ?k } } . FILTER ( ?w > ?q ) }
Genevieve
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Genevieve
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:patron_saint ?t . ?v rdf:type ontology:occupation . ?t rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ontology:common_name . resource:Genevieve property:patron_saint ?k } } . FILTER ( ?w > ?q ) }
[]
common name occupation
SYSTEM
54
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 count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q235863
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:P417 ?t . ?v rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ontology:Q502895 . resource:Q235863 property:P417 ?k } } . FILTER ( ?w > ?q ) }
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
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Genevieve
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:patron_saint ?t . ?v rdf:type ontology:occupation . ?t rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { ?k rdf:type ontology:common_name . resource:Genevieve property:patron_saint ?k } } . FILTER ( ?w > ?q ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of approximately 1 occupation ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?q ) WHERE { ?y rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q502895 . ?y property:P417 ?s } GROUP BY ?s } . FILTER ( ?q = 1 ) }
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?q ) WHERE { ?y rdf:type ontology:occupation . ?s rdf:type ontology:common_name . ?y property:patron_saint ?s } GROUP BY ?s } . FILTER ( ?q = 1 ) }
[]
common name occupation
Q9438 Q60059 Q44281
SYSTEM
Thomas Aquinas, Albertus Magnus, Ignatius of Loyola
Q453698 Q152457 Q43689 Q163900 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q508214 Q9200 Q193507 Q463600 Q43669 Q40662 Q332656 Q320171 Q137947 Q80513 Q324700 Q44015 Q149727 Q232427 Q60059 Q17590 Q271474 Q276148
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[ANSWERS] are the names of the patron saint of approximately 1 occupation
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?q ) WHERE { ?y rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q502895 . ?y property:P417 ?s } GROUP BY ?s } . FILTER ( ?q = 1 ) }
Saint Amand Saint Roch Ambrose Saint Francis Xavier Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Urban of Langres John the Apostle Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Charalampus
Thomas Aquinas, Albertus Magnus and Ignatius of Loyola are the names of the patron saint of approximately 1 occupation
Thomas Aquinas Albertus Magnus Ignatius of Loyola
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?q ) WHERE { ?y rdf:type ontology:occupation . ?s rdf:type ontology:common_name . ?y property:patron_saint ?s } GROUP BY ?s } . FILTER ( ?q = 1 ) }
[]