Simple Question (Direct)
Simple Question
Q14922951
P102
Q7210356
USER
Which party is Prakash Babanna Hukkeri affiliated with ?
(Q14922951,P102,c(Q7210356))
action filter_type
action find
entity Q14922951
relation P102
type Q7210356
['Q14922951', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q14922951 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Prakash Babanna Hukkeri
action filter_type
action find
entity Prakash Babanna Hukkeri
relation member of political party
type political organization
['Prakash Babanna Hukkeri', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Prakash_Babanna_Hukkeri property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
political organization
Q10225
SYSTEM
Indian National Congress
Q10225
(Q14922951,P102,c(Q7210356))
action filter_type
action find
entity Q14922951
relation P102
type Q7210356
Prakash Babanna Hukkeri is affiliated with [ANSWER]
['Q14922951', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q14922951 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Indian National Congress
Prakash Babanna Hukkeri is affiliated with Indian National Congress
Indian National Congress
action filter_type
action find
entity Prakash Babanna Hukkeri
relation member of political party
type political organization
['Prakash Babanna Hukkeri', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Prakash_Babanna_Hukkeri property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14922951
P106
Q12737077
USER
What is the profession of Prakash Babanna Hukkeri ?
(Q14922951,P106,c(Q12737077))
action filter_type
action find
entity Q14922951
relation P106
type Q12737077
['Q14922951', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q14922951 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Prakash Babanna Hukkeri
action filter_type
action find
entity Prakash Babanna Hukkeri
relation occupation
type occupation
['Prakash Babanna Hukkeri', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Prakash_Babanna_Hukkeri property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q14922951,P106,c(Q12737077))
action filter_type
action find
entity Q14922951
relation P106
type Q12737077
The profession of Prakash Babanna Hukkeri is a [ANSWER]
['Q14922951', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q14922951 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
politician
The profession of Prakash Babanna Hukkeri is a politician
politician
action filter_type
action find
entity Prakash Babanna Hukkeri
relation occupation
type occupation
['Prakash Babanna Hukkeri', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Prakash_Babanna_Hukkeri property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14922951
P21
Q290
USER
Which sex does that person belong to ?
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q14922951
relation P21
type Q290
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q14922951 property:P21 ?g . ?g rdf:type ontology:Q290 }
Prakash Babanna Hukkeri
action filter_type
action find
entity Prakash Babanna Hukkeri
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Prakash_Babanna_Hukkeri property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q14922951
relation P21
type Q290
That person belongs to [ANSWER]
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q14922951 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Prakash Babanna Hukkeri
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Prakash_Babanna_Hukkeri property:gender ?g . ?g rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q82955 Q43292
P106
Q502895
USER
How many people have career as politician and sultan ?
(c(Q502895),P106,Q82955) (c(Q502895),P106,Q43292)
action count
action intersection
action filter_type
action find_reverse
entity Q82955
relation P106
type Q502895
action filter_type
action find_reverse
entity Q43292
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q82955'] [{'concept': 'Q502895'}, 'P106', 'Q43292']
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:P106 resource:Q82955 . ?q rdf:type ontology:Q502895 . ?q property:P106 resource:Q43292 . ?q rdf:type ontology:Q502895 }
politician sultan
action count
action intersection
action filter_type
action find_reverse
entity politician
relation occupation
type common name
action filter_type
action find_reverse
entity sultan
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'politician'] [{'concept': 'common name'}, 'occupation', 'sultan']
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:occupation resource:politician . ?q rdf:type ontology:common_name . ?q property:occupation resource:sultan . ?q rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q276936 Q170514
(c(Q502895),P106,Q82955) (c(Q502895),P106,Q43292)
action count
action intersection
action filter_type
action find_reverse
entity Q82955
relation P106
type Q502895
action filter_type
action find_reverse
entity Q43292
relation P106
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q82955'] [{'concept': 'Q502895'}, 'P106', 'Q43292']
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:P106 resource:Q82955 . ?q rdf:type ontology:Q502895 . ?q property:P106 resource:Q43292 . ?q rdf:type ontology:Q502895 }
Abd al-Hafid of Morocco Mehmed IV
2
action count
action intersection
action filter_type
action find_reverse
entity politician
relation occupation
type common name
action filter_type
action find_reverse
entity sultan
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'politician'] [{'concept': 'common name'}, 'occupation', 'sultan']
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:occupation resource:politician . ?q rdf:type ontology:common_name . ?q property:occupation resource:sultan . ?q rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q196653
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of more number of occupations than Saint Veronica ?
(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 Q196653
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?i ) WHERE { ?s property:P417 ?c . ?c rdf:type ontology:Q502895 . ?s rdf:type ontology:Q12737077 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v rdf:type ontology:Q502895 . resource:Q196653 property:P417 ?v } } . FILTER ( ?i > ?p ) }
Saint Veronica
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Veronica
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?i ) WHERE { ?s property:patron_saint ?c . ?c rdf:type ontology:common_name . ?s rdf:type ontology:occupation } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v rdf:type ontology:common_name . resource:Saint_Veronica property:patron_saint ?v } } . FILTER ( ?i > ?p ) }
[]
common name occupation
Q128538 Q43982 Q43600
SYSTEM
Luke the Evangelist, Bartholomew the Apostle, Matthew the Apostle
Q128538 Q192816 Q43982 Q179718 Q43600 Q200895
(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 Q196653
relation P417
type Q502895
[ANSWERS] are the names of the patron saint of more number of occupations than Saint Veronica
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?i ) WHERE { ?s property:P417 ?c . ?c rdf:type ontology:Q502895 . ?s rdf:type ontology:Q12737077 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v rdf:type ontology:Q502895 . resource:Q196653 property:P417 ?v } } . FILTER ( ?i > ?p ) }
Luke the Evangelist Saint Barbara Bartholomew the Apostle Catherine of Alexandria Matthew the Apostle Agatha of Sicily
Luke the Evangelist, Bartholomew the Apostle and Matthew the Apostle are the names of the patron saint of more number of occupations than Saint Veronica
Luke the Evangelist Bartholomew the Apostle Matthew the Apostle
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Veronica
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?i ) WHERE { ?s property:patron_saint ?c . ?c rdf:type ontology:common_name . ?s rdf:type ontology:occupation } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v rdf:type ontology:common_name . resource:Saint_Veronica property:patron_saint ?v } } . FILTER ( ?i > ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q149727
P417
Q502895 Q12737077
USER
And how about Saint Giles?
(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 Q149727
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?p ) AS ?f ) WHERE { ?l rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 . ?p property:P417 ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q149727 property:P417 ?x . ?x rdf:type ontology:Q502895 } } . FILTER ( ?f > ?v ) }
Saint Giles
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Giles
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?p ) AS ?f ) WHERE { ?l rdf:type ontology:common_name . ?p rdf:type ontology:occupation . ?p property:patron_saint ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Saint_Giles property:patron_saint ?x . ?x rdf:type ontology:common_name } } . FILTER ( ?f > ?v ) }
[]
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 Q149727
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?p ) AS ?f ) WHERE { ?l rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 . ?p property:P417 ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q149727 property:P417 ?x . ?x rdf:type ontology:Q502895 } } . FILTER ( ?f > ?v ) }
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 Jerome
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Giles
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?p ) AS ?f ) WHERE { ?l rdf:type ontology:common_name . ?p rdf:type ontology:occupation . ?p property:patron_saint ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Saint_Giles property:patron_saint ?x . ?x rdf:type ontology:common_name } } . FILTER ( ?f > ?v ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q229190
P140
Q874405
USER
What is the religion associated with that person ?
(Q229190,P140,c(Q874405))
action filter_type
action find
entity Q229190
relation P140
type Q874405
['Q229190', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { resource:Q229190 property:P140 ?k . ?k rdf:type ontology:Q874405 }
Catherine of Siena
action filter_type
action find
entity Catherine of Siena
relation religion
type social group
['Catherine of Siena', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { resource:Catherine_of_Siena property:religion ?k . ?k rdf:type ontology:social_group }
[]
social group
Clarification for simple ques.
Q44248
SYSTEM
Did you mean Jerome ?
Q166876 Q229190 Q44248
(Q166876,P140,c(Q874405)) (Q229190,P140,c(Q874405)) (Q44248,P140,c(Q874405))
[ANSWER]
['Q166876', 'P140', {'concept': 'Q874405'}] ['Q229190', 'P140', {'concept': 'Q874405'}] ['Q44248', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { resource:Q229190 property:P140 ?k . ?k rdf:type ontology:Q874405 }
Isidore of Seville Catherine of Siena Jerome
Did you mean Jerome ?
Jerome
['Isidore of Seville', 'religion', {'concept': 'social group'}] ['Catherine of Siena', 'religion', {'concept': 'social group'}] ['Jerome', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { resource:Catherine_of_Siena property:religion ?k . ?k rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
USER
No, I meant Catherine of Siena. Could you tell me the answer for that?
(Q229190,P140,c(Q874405))
Q229190
['Q229190', 'P140', {'concept': 'Q874405'}]
['Catherine of Siena', 'religion', {'concept': 'social group'}]
[]
Q5043
SYSTEM
Christianity
Q5043
(Q229190,P140,c(Q874405))
action filter_type
action find
entity Q229190
relation P140
type Q874405
The religion associated with that person is [ANSWER]
['Q229190', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { resource:Q229190 property:P140 ?k . ?k rdf:type ontology:Q874405 }
Christianity
The religion associated with that person is Christianity
Christianity
action filter_type
action find
entity Catherine of Siena
relation religion
type social group
['Catherine of Siena', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { resource:Catherine_of_Siena property:religion ?k . ?k rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q229190
P138
Q811979
USER
Which architectural structure is the eponym of Catherine of Siena ?
(c(Q811979),P138,Q229190)
action filter_type
action find_reverse
entity Q229190
relation P138
type Q811979
[{'concept': 'Q811979'}, 'P138', 'Q229190']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q811979 . ?u property:P138 resource:Q229190 }
Catherine of Siena
action filter_type
action find_reverse
entity Catherine of Siena
relation named after
type architectural structure
[{'concept': 'architectural structure'}, 'named after', 'Catherine of Siena']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:architectural_structure . ?u property:named_after resource:Catherine_of_Siena }
[]
architectural structure
Q185303
SYSTEM
Santuario di Santa Caterina
Q185303
(c(Q811979),P138,Q229190)
action filter_type
action find_reverse
entity Q229190
relation P138
type Q811979
[ANSWER] is the eponym of Catherine of Siena
[{'concept': 'Q811979'}, 'P138', 'Q229190']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q811979 . ?u property:P138 resource:Q229190 }
Santuario di Santa Caterina
Santuario di Santa Caterina is the eponym of Catherine of Siena
Santuario di Santa Caterina
action filter_type
action find_reverse
entity Catherine of Siena
relation named after
type architectural structure
[{'concept': 'architectural structure'}, 'named after', 'Catherine of Siena']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:architectural_structure . ?u property:named_after resource:Catherine_of_Siena }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that architectural structure located in ?
(Q185303,P17,c(Q15617994))
action count
action filter_type
action find
entity Q185303
relation P17
type Q15617994
['Q185303', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Q185303 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Santuario di Santa Caterina
relation country
type designation for an administrative territorial entity
['Santuario di Santa Caterina', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Santuario_di_Santa_Caterina property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q38
(Q185303,P17,c(Q15617994))
action count
action filter_type
action find
entity Q185303
relation P17
type Q15617994
[ANSWER]
['Q185303', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Q185303 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Italy
1
action count
action filter_type
action find
entity Santuario di Santa Caterina
relation country
type designation for an administrative territorial entity
['Santuario di Santa Caterina', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Santuario_di_Santa_Caterina property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q5516516
Q15617994
USER
And what about Gael Force?
(Q5516516,P17,c(Q15617994))
action count
action filter_type
action find
entity Q5516516
relation P17
type Q15617994
['Q5516516', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { resource:Q5516516 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Gael Force
action count
action filter_type
action find
entity Gael Force
relation country
type designation for an administrative territorial entity
['Gael Force', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { resource:Gael_Force property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q5516516,P17,c(Q15617994))
action count
action filter_type
action find
entity Q5516516
relation P17
type Q15617994
[ANSWER]
['Q5516516', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { resource:Q5516516 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Gael Force
relation country
type designation for an administrative territorial entity
['Gael Force', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { resource:Gael_Force property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]