Simple Question (Direct)
Simple Question
Q5623503
P69
Q3918
USER
Which university is the alma mater of Gwendolyn Midlo Hall ?
(Q5623503,P69,c(Q3918))
action filter_type
action find
entity Q5623503
relation P69
type Q3918
['Q5623503', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?t WHERE { resource:Q5623503 property:P69 ?t . ?t rdf:type ontology:Q3918 }
Gwendolyn Midlo Hall
action filter_type
action find
entity Gwendolyn Midlo Hall
relation educated at
type university
['Gwendolyn Midlo Hall', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?t WHERE { resource:Gwendolyn_Midlo_Hall property:educated_at ?t . ?t rdf:type ontology:university }
[]
university
Q230492
SYSTEM
University of Michigan
Q230492
(Q5623503,P69,c(Q3918))
action filter_type
action find
entity Q5623503
relation P69
type Q3918
[ANSWER] is the alma mater of Gwendolyn Midlo Hall
['Q5623503', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?t WHERE { resource:Q5623503 property:P69 ?t . ?t rdf:type ontology:Q3918 }
University of Michigan
University of Michigan is the alma mater of Gwendolyn Midlo Hall
University of Michigan
action filter_type
action find
entity Gwendolyn Midlo Hall
relation educated at
type university
['Gwendolyn Midlo Hall', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?t WHERE { resource:Gwendolyn_Midlo_Hall property:educated_at ?t . ?t rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5623503
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q230492,P106,c(Q12737077))
action filter_type
action find
entity Q5623503
relation P106
type Q12737077
['Q230492', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q5623503 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Gwendolyn Midlo Hall
action filter_type
action find
entity Gwendolyn Midlo Hall
relation occupation
type occupation
['University of Michigan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Gwendolyn_Midlo_Hall property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q201788
SYSTEM
historian
Q201788
(Q230492,P106,c(Q12737077))
action filter_type
action find
entity Q5623503
relation P106
type Q12737077
The [ANSWER] is the profession of that person
['Q230492', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q5623503 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
historian
The historian is the profession of that person
historian
action filter_type
action find
entity Gwendolyn Midlo Hall
relation occupation
type occupation
['University of Michigan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Gwendolyn_Midlo_Hall property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q172390
P417
Q502895 Q12737077
USER
How many people are the names of person who are the patron saints of more number of occupations than Martin I ?
(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 Q172390
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q172390 property:P417 ?i . ?i rdf:type ontology:Q502895 } } . FILTER ( ?k > ?j ) . { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q502895 . ?e property:P417 ?l } GROUP BY ?l } }
Martin I
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 Martin I
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Martin_I property:patron_saint ?i . ?i rdf:type ontology:common_name } } . FILTER ( ?k > ?j ) . { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:occupation . ?l rdf:type ontology:common_name . ?e property:patron_saint ?l } GROUP BY ?l } }
[]
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 Q172390
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q172390 property:P417 ?i . ?i rdf:type ontology:Q502895 } } . FILTER ( ?k > ?j ) . { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q502895 . ?e property:P417 ?l } GROUP BY ?l } }
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 Martin I
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Martin_I property:patron_saint ?i . ?i rdf:type ontology:common_name } } . FILTER ( ?k > ?j ) . { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:occupation . ?l rdf:type ontology:common_name . ?e property:patron_saint ?l } GROUP BY ?l } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q119512
P417
Q502895 Q12737077
USER
And also tell me about William of Maleval?
(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 Q119512
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:P417 ?j . ?u rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q502895 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Q119512 property:P417 ?h . ?h rdf:type ontology:Q502895 } } . FILTER ( ?c > ?r ) }
William of Maleval
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 William of Maleval
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:patron_saint ?j . ?u rdf:type ontology:occupation . ?j rdf:type ontology:common_name } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:William_of_Maleval property:patron_saint ?h . ?h rdf:type ontology:common_name } } . FILTER ( ?c > ?r ) }
[]
common name occupation
SYSTEM
16
Q229190 Q328804 Q166876 Q170547 Q128538 Q183240 Q196653 Q44265 Q192816 Q43982 Q179718 Q43600 Q744884 Q151967 Q200895 Q44248
(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 Q119512
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:P417 ?j . ?u rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q502895 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Q119512 property:P417 ?h . ?h rdf:type ontology:Q502895 } } . FILTER ( ?c > ?r ) }
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
16
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 William of Maleval
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:patron_saint ?j . ?u rdf:type ontology:occupation . ?j rdf:type ontology:common_name } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:William_of_Maleval property:patron_saint ?h . ?h rdf:type ontology:common_name } } . FILTER ( ?c > ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5623503
P108
Q875538
USER
Who is the employer of Gwendolyn Midlo Hall ?
(Q5623503,P108,c(Q875538))
action filter_type
action find
entity Q5623503
relation P108
type Q875538
['Q5623503', 'P108', {'concept': 'Q875538'}]
SELECT DISTINCT ?r WHERE { resource:Q5623503 property:P108 ?r . ?r rdf:type ontology:Q875538 }
Gwendolyn Midlo Hall
action filter_type
action find
entity Gwendolyn Midlo Hall
relation employer
type public university
['Gwendolyn Midlo Hall', 'employer', {'concept': 'public university'}]
SELECT DISTINCT ?r WHERE { resource:Gwendolyn_Midlo_Hall property:employer ?r . ?r rdf:type ontology:public_university }
[]
public university
Q499451
SYSTEM
Rutgers University
Q499451
(Q5623503,P108,c(Q875538))
action filter_type
action find
entity Q5623503
relation P108
type Q875538
The employer of Gwendolyn Midlo Hall is the [ANSWER]
['Q5623503', 'P108', {'concept': 'Q875538'}]
SELECT DISTINCT ?r WHERE { resource:Q5623503 property:P108 ?r . ?r rdf:type ontology:Q875538 }
Rutgers University
The employer of Gwendolyn Midlo Hall is the Rutgers University
Rutgers University
action filter_type
action find
entity Gwendolyn Midlo Hall
relation employer
type public university
['Gwendolyn Midlo Hall', 'employer', {'concept': 'public university'}]
SELECT DISTINCT ?r WHERE { resource:Gwendolyn_Midlo_Hall property:employer ?r . ?r rdf:type ontology:public_university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q230492
P485
Q502895
USER
Which person has archives located at University of Michigan ?
(c(Q502895),P485,Q230492)
action filter_type
action find_reverse
entity Q230492
relation P485
type Q502895
[{'concept': 'Q502895'}, 'P485', 'Q230492']
SELECT DISTINCT ?l WHERE { ?l property:P485 resource:Q230492 . ?l rdf:type ontology:Q502895 }
University of Michigan
action filter_type
action find_reverse
entity University of Michigan
relation archives at
type common name
[{'concept': 'common name'}, 'archives at', 'University of Michigan']
SELECT DISTINCT ?l WHERE { ?l property:archives_at resource:University_of_Michigan . ?l rdf:type ontology:common_name }
[]
common name
Q21132707
SYSTEM
Rebecca Shelley
Q21132707
(c(Q502895),P485,Q230492)
action filter_type
action find_reverse
entity Q230492
relation P485
type Q502895
[ANSWER] has archives located at University of Michigan
[{'concept': 'Q502895'}, 'P485', 'Q230492']
SELECT DISTINCT ?l WHERE { ?l property:P485 resource:Q230492 . ?l rdf:type ontology:Q502895 }
Rebecca Shelley
Rebecca Shelley has archives located at University of Michigan
Rebecca Shelley
action filter_type
action find_reverse
entity University of Michigan
relation archives at
type common name
[{'concept': 'common name'}, 'archives at', 'University of Michigan']
SELECT DISTINCT ?l WHERE { ?l property:archives_at resource:University_of_Michigan . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21132707
P463
Q43229
USER
Which organization had that person as its member ?
(Q21132707,P463,c(Q43229))
action filter_type
action find
entity Q21132707
relation P463
type Q43229
['Q21132707', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?v WHERE { resource:Q21132707 property:P463 ?v . ?v rdf:type ontology:Q43229 }
Rebecca Shelley
action filter_type
action find
entity Rebecca Shelley
relation member of
type organization
['Rebecca Shelley', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?v WHERE { resource:Rebecca_Shelley property:member_of ?v . ?v rdf:type ontology:organization }
[]
organization
Q1938003
SYSTEM
Phi Beta Kappa Society
Q1938003
(Q21132707,P463,c(Q43229))
action filter_type
action find
entity Q21132707
relation P463
type Q43229
[ANSWER] had that person as its member
['Q21132707', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?v WHERE { resource:Q21132707 property:P463 ?v . ?v rdf:type ontology:Q43229 }
Phi Beta Kappa Society
Phi Beta Kappa Society had that person as its member
Phi Beta Kappa Society
action filter_type
action find
entity Rebecca Shelley
relation member of
type organization
['Rebecca Shelley', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?v WHERE { resource:Rebecca_Shelley property:member_of ?v . ?v rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1938003 Q30
P17
Q15617994
USER
Is that organization present in United States of America ?
(Q1938003,P17,Q30)
action is_in
entity Q30
action find
entity Q1938003
relation P17
['Q1938003', 'P17', 'Q30']
ASK WHERE { resource:Q1938003 property:P17 resource:Q30 }
Phi Beta Kappa Society United States of America
action is_in
entity United States of America
action find
entity Phi Beta Kappa Society
relation country
['Phi Beta Kappa Society', 'country', 'United States of America']
ASK WHERE { resource:Phi_Beta_Kappa_Society property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1938003,P17,Q30)
action is_in
entity Q30
action find
entity Q1938003
relation P17
[ANSWER]
['Q1938003', 'P17', 'Q30']
ASK WHERE { resource:Q1938003 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Phi Beta Kappa Society
relation country
['Phi Beta Kappa Society', 'country', 'United States of America']
ASK WHERE { resource:Phi_Beta_Kappa_Society property:country resource:United_States_of_America }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2215768
P21
Q290
USER
Which sex does Salvatore Ronald Matano have ?
(Q2215768,P21,c(Q290))
action filter_type
action find
entity Q2215768
relation P21
type Q290
['Q2215768', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q2215768 property:P21 ?f . ?f rdf:type ontology:Q290 }
Salvatore Ronald Matano
action filter_type
action find
entity Salvatore Ronald Matano
relation gender
type sex
['Salvatore Ronald Matano', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Salvatore_Ronald_Matano property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2215768,P21,c(Q290))
action filter_type
action find
entity Q2215768
relation P21
type Q290
Salvatore Ronald Matano has a [ANSWER]
['Q2215768', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q2215768 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
Salvatore Ronald Matano has a male
male
action filter_type
action find
entity Salvatore Ronald Matano
relation gender
type sex
['Salvatore Ronald Matano', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Salvatore_Ronald_Matano property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20090484
Q290
USER
And how about Colton Underwood?
(Q20090484,P21,c(Q290))
action filter_type
action find
entity Q20090484
relation P21
type Q290
['Q20090484', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q20090484 property:P21 ?v . ?v rdf:type ontology:Q290 }
Colton Underwood
action filter_type
action find
entity Colton Underwood
relation gender
type sex
['Colton Underwood', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Colton_Underwood property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20090484,P21,c(Q290))
action filter_type
action find
entity Q20090484
relation P21
type Q290
[ANSWER]
['Q20090484', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q20090484 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Colton Underwood
relation gender
type sex
['Colton Underwood', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Colton_Underwood property:gender ?v . ?v rdf:type ontology:sex }
[]