Simple Question (Direct)
Simple Question
Q1243958
P140
Q874405
USER
What is the religious affiliation of Hanumappa Sudarshan ?
(Q1243958,P140,c(Q874405))
action filter_type
action find
entity Q1243958
relation P140
type Q874405
['Q1243958', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q874405 . resource:Q1243958 property:P140 ?s }
Hanumappa Sudarshan
action filter_type
action find
entity Hanumappa Sudarshan
relation religion
type social group
['Hanumappa Sudarshan', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:social_group . resource:Hanumappa_Sudarshan property:religion ?s }
[]
social group
Q9089
SYSTEM
Hinduism
Q9089
(Q1243958,P140,c(Q874405))
action filter_type
action find
entity Q1243958
relation P140
type Q874405
The religious affiliation of Hanumappa Sudarshan is of [ANSWER]
['Q1243958', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q874405 . resource:Q1243958 property:P140 ?s }
Hinduism
The religious affiliation of Hanumappa Sudarshan is of Hinduism
Hinduism
action filter_type
action find
entity Hanumappa Sudarshan
relation religion
type social group
['Hanumappa Sudarshan', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:social_group . resource:Hanumappa_Sudarshan property:religion ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1243958
P166
Q618779
USER
What were awarded to that person ?
(Q9089,P166,c(Q618779))
action filter_type
action find
entity Q1243958
relation P166
type Q618779
['Q9089', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q1243958 property:P166 ?f . ?f rdf:type ontology:Q618779 }
Hanumappa Sudarshan
action filter_type
action find
entity Hanumappa Sudarshan
relation award received
type award
['Hinduism', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Hanumappa_Sudarshan property:award_received ?f . ?f rdf:type ontology:award }
[]
award
Q152770 Q949193
SYSTEM
Right Livelihood Award, Padma Shri
Q152770 Q949193
(Q9089,P166,c(Q618779))
action filter_type
action find
entity Q1243958
relation P166
type Q618779
[ANSWERS] were awarded to that person
['Q9089', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q1243958 property:P166 ?f . ?f rdf:type ontology:Q618779 }
Right Livelihood Award Padma Shri
Right Livelihood Award and Padma Shri were awarded to that person
Right Livelihood Award Padma Shri
action filter_type
action find
entity Hanumappa Sudarshan
relation award received
type award
['Hinduism', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Hanumappa_Sudarshan property:award_received ?f . ?f rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q289718
P166
Q502895
USER
Were Shinobu Terajima awarded with those awards ?
(Q289718,P166,Q152770) (Q289718,P166,Q949193)
action is_in
entity prev_answer
action find
entity Q289718
relation P166
['Q289718', 'P166', 'Q152770'] ['Q289718', 'P166', 'Q949193']
ASK WHERE { resource:Q289718 property:P166 ?c . VALUES ( ?c ) { ( resource:Q152770 ) ( resource:Q949193 ) } }
Shinobu Terajima
action is_in
entity prev_answer
action find
entity Shinobu Terajima
relation award received
['Shinobu Terajima', 'award received', 'Right Livelihood Award'] ['Shinobu Terajima', 'award received', 'Padma Shri']
ASK WHERE { resource:Shinobu_Terajima property:award_received ?c . VALUES ( ?c ) { ( resource:Right_Livelihood_Award ) ( resource:Padma_Shri ) } }
[]
common name
SYSTEM
NO
(Q289718,P166,Q152770) (Q289718,P166,Q949193)
action is_in
entity prev_answer
action find
entity Q289718
relation P166
[ANSWER]
['Q289718', 'P166', 'Q152770'] ['Q289718', 'P166', 'Q949193']
ASK WHERE { resource:Q289718 property:P166 ?c . VALUES ( ?c ) { ( resource:Q152770 ) ( resource:Q949193 ) } }
No
action is_in
entity prev_answer
action find
entity Shinobu Terajima
relation award received
['Shinobu Terajima', 'award received', 'Right Livelihood Award'] ['Shinobu Terajima', 'award received', 'Padma Shri']
ASK WHERE { resource:Shinobu_Terajima property:award_received ?c . VALUES ( ?c ) { ( resource:Right_Livelihood_Award ) ( resource:Padma_Shri ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q152770 Q34
P17
Q15617994
USER
Is Right Livelihood Award present in Sweden ?
(Q152770,P17,Q34)
action is_in
entity Q34
action find
entity Q152770
relation P17
['Q152770', 'P17', 'Q34']
ASK WHERE { resource:Q152770 property:P17 resource:Q34 }
Right Livelihood Award Sweden
action is_in
entity Sweden
action find
entity Right Livelihood Award
relation country
['Right Livelihood Award', 'country', 'Sweden']
ASK WHERE { resource:Right_Livelihood_Award property:country resource:Sweden }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q152770,P17,Q34)
action is_in
entity Q34
action find
entity Q152770
relation P17
[ANSWER]
['Q152770', 'P17', 'Q34']
ASK WHERE { resource:Q152770 property:P17 resource:Q34 }
Yes
action is_in
entity Sweden
action find
entity Right Livelihood Award
relation country
['Right Livelihood Award', 'country', 'Sweden']
ASK WHERE { resource:Right_Livelihood_Award property:country resource:Sweden }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1243958 Q41051 Q668
P27
Q15617994
USER
Is Hanumappa Sudarshan a civilian of Borgoratto Mormorolo and India ?
(Q1243958,P27,Q41051) (Q1243958,P27,Q668)
action is_in
entity Q1243958
action intersection
action find_reverse
entity Q41051
relation P27
action find_reverse
entity Q668
relation P27
['Q1243958', 'P27', 'Q41051'] ['Q1243958', 'P27', 'Q668']
ASK WHERE { resource:Q1243958 property:P27 resource:Q41051 . resource:Q1243958 property:P27 resource:Q668 }
Hanumappa Sudarshan Borgoratto Mormorolo India
action is_in
entity Hanumappa Sudarshan
action intersection
action find_reverse
entity Borgoratto Mormorolo
relation country of citizenship
action find_reverse
entity India
relation country of citizenship
['Hanumappa Sudarshan', 'country of citizenship', 'Borgoratto Mormorolo'] ['Hanumappa Sudarshan', 'country of citizenship', 'India']
ASK WHERE { resource:Hanumappa_Sudarshan property:country_of_citizenship resource:Borgoratto_Mormorolo . resource:Hanumappa_Sudarshan property:country_of_citizenship resource:India }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q1243958,P27,Q41051) (Q1243958,P27,Q668)
action is_in
entity Q1243958
action intersection
action find_reverse
entity Q41051
relation P27
action find_reverse
entity Q668
relation P27
[ANSWER]
['Q1243958', 'P27', 'Q41051'] ['Q1243958', 'P27', 'Q668']
ASK WHERE { resource:Q1243958 property:P27 resource:Q41051 . resource:Q1243958 property:P27 resource:Q668 }
NO and YES respectively
action is_in
entity Hanumappa Sudarshan
action intersection
action find_reverse
entity Borgoratto Mormorolo
relation country of citizenship
action find_reverse
entity India
relation country of citizenship
['Hanumappa Sudarshan', 'country of citizenship', 'Borgoratto Mormorolo'] ['Hanumappa Sudarshan', 'country of citizenship', 'India']
ASK WHERE { resource:Hanumappa_Sudarshan property:country_of_citizenship resource:Borgoratto_Mormorolo . resource:Hanumappa_Sudarshan property:country_of_citizenship resource:India }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q152770
P166
Q11032 Q43229
USER
How many newspapers or organizations were awarded with Right Livelihood Award ?
(c(Q11032),P166,Q152770) (c(Q43229),P166,Q152770)
action count
action union
action filter_type
action find_reverse
entity Q152770
relation P166
type Q11032
action filter_type
action find_reverse
entity Q152770
relation P166
type Q43229
[{'concept': 'Q11032'}, 'P166', 'Q152770'] [{'concept': 'Q43229'}, 'P166', 'Q152770']
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { ?n rdf:type ontology:Q43229 . ?n property:P166 resource:Q152770 } UNION { ?n property:P166 resource:Q152770 . ?n rdf:type ontology:Q11032 } }
Right Livelihood Award
action count
action union
action filter_type
action find_reverse
entity Right Livelihood Award
relation award received
type newspaper
action filter_type
action find_reverse
entity Right Livelihood Award
relation award received
type organization
[{'concept': 'newspaper'}, 'award received', 'Right Livelihood Award'] [{'concept': 'organization'}, 'award received', 'Right Livelihood Award']
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { ?n rdf:type ontology:organization . ?n property:award_received resource:Right_Livelihood_Award } UNION { ?n property:award_received resource:Right_Livelihood_Award . ?n rdf:type ontology:newspaper } }
[]
newspaper organization
SYSTEM
4
Q1143794 Q7189673 Q1486670 Q20725660
(c(Q11032),P166,Q152770) (c(Q43229),P166,Q152770)
action count
action union
action filter_type
action find_reverse
entity Q152770
relation P166
type Q11032
action filter_type
action find_reverse
entity Q152770
relation P166
type Q43229
[ANSWER]
[{'concept': 'Q11032'}, 'P166', 'Q152770'] [{'concept': 'Q43229'}, 'P166', 'Q152770']
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { ?n rdf:type ontology:Q43229 . ?n property:P166 resource:Q152770 } UNION { ?n property:P166 resource:Q152770 . ?n rdf:type ontology:Q11032 } }
Cumhuriyet Physicians for Human Rights GRAIN Grameen Shakti
4
action count
action union
action filter_type
action find_reverse
entity Right Livelihood Award
relation award received
type newspaper
action filter_type
action find_reverse
entity Right Livelihood Award
relation award received
type organization
[{'concept': 'newspaper'}, 'award received', 'Right Livelihood Award'] [{'concept': 'organization'}, 'award received', 'Right Livelihood Award']
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { ?n rdf:type ontology:organization . ?n property:award_received resource:Right_Livelihood_Award } UNION { ?n property:award_received resource:Right_Livelihood_Award . ?n rdf:type ontology:newspaper } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q30 Q34
P27
Q502895
USER
Which people are civilians of Sweden and United States of America ?
AND((c(Q502895),P27,Q34), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q34
relation P27
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q34'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?b WHERE { ?b property:P27 resource:Q30 . ?b property:P27 resource:Q34 . ?b rdf:type ontology:Q502895 }
United States of America Sweden
action filter_type
action intersection
action find_reverse
entity Sweden
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Sweden'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?b WHERE { ?b property:country_of_citizenship resource:United_States_of_America . ?b property:country_of_citizenship resource:Sweden . ?b rdf:type ontology:common_name }
[]
common name
Q16595467 Q1578711 Q1349875 Q18817302 Q453654 Q1809038 Q267217 Q241854 Q295148 Q1544941
SYSTEM
Some of them are Ashley Key, Hans Bielenstein, Jimmy Woode, Elmer Nelson, Mercedes Masohn, Caroline Lagerfelt, Viveca Lindfors, Helena Mattsson, Peter Stormare, Walter Hellman
Q354095 Q370617 Q3639988 Q3714225 Q909297 Q1328897 Q434453 Q26927185 Q1555767 Q3019197 Q3127636 Q3990271 Q267217 Q4953110 Q254518 Q2076321 Q241854 Q3156258 Q5740817 Q20811022 Q21176775 Q434113 Q2626275 Q295148 Q1544941 Q3124702 Q3816020 Q467544 Q232059 Q1380028 Q4668863 Q1884568 Q316022 Q2983253 Q178758 Q1555418 Q18817305 Q18817302 Q4970710 Q19896737 Q3545095 Q15992154 Q7360459 Q5040599 Q685767 Q5443 Q977369 Q1349875 Q17416690 Q2695220 Q1294590 Q472510 Q1230175 Q174242 Q3731734 Q1310517 Q807482 Q20720200 Q6099541 Q464216 Q53458 Q636212 Q4972603 Q1390152 Q1578711 Q2918612 Q435398 Q5619161 Q4958871 Q10428700 Q1672319 Q453654 Q2045741 Q434466 Q288733 Q16594489 Q2076084 Q156731 Q6774421 Q48845 Q16595467 Q1809038 Q323470 Q7779204 Q60293 Q23957 Q4980221 Q180468 Q4939864 Q5587865 Q3110380 Q11815608 Q11283717
AND((c(Q502895),P27,Q34), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q34
relation P27
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWERS] are civilians of Sweden and United States of America
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q34'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?b WHERE { ?b property:P27 resource:Q30 . ?b property:P27 resource:Q34 . ?b rdf:type ontology:Q502895 }
Per Enflo J. Hugo Aronson Bill Magarity Doremus Bennerman Otto Folin Elia Cmíral Inger Stevens Björn Kjerfve Gustav Elmen Joël Lunell Harold S. Shapiro Theresa Andersson Viveca Lindfors Lisbeth Hedendahl Astrid Varnay Max Tegmark Helena Mattsson Ivar Frederick Tidestrøm August Franzén Mauritz Hugo Nils August Johanson Bengt Strömgren Georg Wadenius Peter Stormare Walter Hellman Hans Peter Anvin Knute Rahm Michelle Meldrum Ann-Margret Rolf Schock Abraham Fornander Magnus Johnson Harry Nyquist Estelle Bernadotte Fredrik Franson Gustav Eisen Ella Larson Nelson Elmer Nelson Fiona O'Sullivan Ulf Ramm Ericson Thom Filicia Greg Poehler Roland Thornqvist Carl Oscar Borg Richard N. Frye Greta Garbo Julius Hjulian Jimmy Woode Hanna Terry August Lindbergh Pehr G. Holmes Ernst Alexanderson John Morton Waldemar Lindgren Erik Rush Ernst Julius Berg Barbara Hendricks John Edward Winblad Ivor Thord-Gray Eddie Gustafsson Jasper Felder Bo Svenson Cyndee Peters Ulf Samuelsson Hans Bielenstein Paul Lekakis Eagle-Eye Cherry Gunnar Widforss Melinda Kinnaman Bernard Kirschenbaum Ira Coleman Mercedes Masohn Paco Axel Lagerstrom Anna Q. Nilsson Ida Ljungqvist Siv Cedering Frans August Larson Claes Oldenburg Martha Hedman Jeffery Taylor Ashley Key Caroline Lagerfelt RedOne Thure de Thulstrup Carl-Gustaf Rossby Warner Oland Cristina Stenbeck Albert Szent-Györgyi Sissela Bok Ralph Brown Gustaf Tenggren Per Rudling Adam Sorgi
Ashley Key, Hans Bielenstein, Jimmy Woode, Elmer Nelson, Mercedes Masohn, Caroline Lagerfelt, Viveca Lindfors, Helena Mattsson, Peter Stormare and Walter Hellman are civilians of Sweden and United States of America
Ashley Key Hans Bielenstein Jimmy Woode Elmer Nelson Mercedes Masohn Caroline Lagerfelt Viveca Lindfors Helena Mattsson Peter Stormare Walter Hellman
action filter_type
action intersection
action find_reverse
entity Sweden
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Sweden'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?b WHERE { ?b property:country_of_citizenship resource:United_States_of_America . ?b property:country_of_citizenship resource:Sweden . ?b rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1349875
P106
Q12737077
USER
What do that person do for a living ?
(Q1349875,P106,c(Q12737077))
action filter_type
action find
entity Q1349875
relation P106
type Q12737077
['Q1349875', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1349875 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Jimmy Woode
action filter_type
action find
entity Jimmy Woode
relation occupation
type occupation
['Jimmy Woode', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Jimmy_Woode property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q267217
SYSTEM
Did you mean Viveca Lindfors ?
Q16595467 Q1578711 Q1349875 Q18817302 Q453654 Q1809038 Q267217 Q241854 Q295148 Q1544941
(Q16595467,P106,c(Q12737077)) (Q1578711,P106,c(Q12737077)) (Q1349875,P106,c(Q12737077)) (Q18817302,P106,c(Q12737077)) (Q453654,P106,c(Q12737077)) (Q1809038,P106,c(Q12737077)) (Q267217,P106,c(Q12737077)) (Q241854,P106,c(Q12737077)) (Q295148,P106,c(Q12737077)) (Q1544941,P106,c(Q12737077))
[ANSWER]
['Q16595467', 'P106', {'concept': 'Q12737077'}] ['Q1578711', 'P106', {'concept': 'Q12737077'}] ['Q1349875', 'P106', {'concept': 'Q12737077'}] ['Q18817302', 'P106', {'concept': 'Q12737077'}] ['Q453654', 'P106', {'concept': 'Q12737077'}] ['Q1809038', 'P106', {'concept': 'Q12737077'}] ['Q267217', 'P106', {'concept': 'Q12737077'}] ['Q241854', 'P106', {'concept': 'Q12737077'}] ['Q295148', 'P106', {'concept': 'Q12737077'}] ['Q1544941', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1349875 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Ashley Key Hans Bielenstein Jimmy Woode Elmer Nelson Mercedes Masohn Caroline Lagerfelt Viveca Lindfors Helena Mattsson Peter Stormare Walter Hellman
Did you mean Viveca Lindfors ?
Viveca Lindfors
['Ashley Key', 'occupation', {'concept': 'occupation'}] ['Hans Bielenstein', 'occupation', {'concept': 'occupation'}] ['Jimmy Woode', 'occupation', {'concept': 'occupation'}] ['Elmer Nelson', 'occupation', {'concept': 'occupation'}] ['Mercedes Masohn', 'occupation', {'concept': 'occupation'}] ['Caroline Lagerfelt', 'occupation', {'concept': 'occupation'}] ['Viveca Lindfors', 'occupation', {'concept': 'occupation'}] ['Helena Mattsson', 'occupation', {'concept': 'occupation'}] ['Peter Stormare', 'occupation', {'concept': 'occupation'}] ['Walter Hellman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Jimmy_Woode property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Jimmy Woode. Could you tell me the answer for that?
(Q1349875,P106,c(Q12737077))
Q1349875
['Q1349875', 'P106', {'concept': 'Q12737077'}]
['Jimmy Woode', 'occupation', {'concept': 'occupation'}]
[]
Q15981151 Q33999
SYSTEM
jazz musician, actor
Q15981151 Q33999
(Q1349875,P106,c(Q12737077))
action filter_type
action find
entity Q1349875
relation P106
type Q12737077
That person do for a living [ANSWERS]
['Q1349875', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1349875 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
jazz musician actor
That person do for a living jazz musician and actor
jazz musician actor
action filter_type
action find
entity Jimmy Woode
relation occupation
type occupation
['Jimmy Woode', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Jimmy_Woode property:occupation ?b . ?b rdf:type ontology:occupation }
[]