Simple Question (Direct)
Simple Question
Q4910111
P136
Q151885
USER
Which concept can be considered as genre of Bill McGlaughlin ?
(Q4910111,P136,c(Q151885))
action filter_type
action find
entity Q4910111
relation P136
type Q151885
['Q4910111', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?s WHERE { resource:Q4910111 property:P136 ?s . ?s rdf:type ontology:Q151885 }
Bill McGlaughlin
action filter_type
action find
entity Bill McGlaughlin
relation genre
type concept
['Bill McGlaughlin', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?s WHERE { resource:Bill_McGlaughlin property:genre ?s . ?s rdf:type ontology:concept }
[]
concept
Q9730
SYSTEM
classical music
Q9730
(Q4910111,P136,c(Q151885))
action filter_type
action find
entity Q4910111
relation P136
type Q151885
Ly [ANSWER] can be considered as genre of Bill McGlaughlin
['Q4910111', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?s WHERE { resource:Q4910111 property:P136 ?s . ?s rdf:type ontology:Q151885 }
classical music
Ly classical music can be considered as genre of Bill McGlaughlin
classical music
action filter_type
action find
entity Bill McGlaughlin
relation genre
type concept
['Bill McGlaughlin', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?s WHERE { resource:Bill_McGlaughlin property:genre ?s . ?s rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4910111
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q9730,P27,c(Q15617994))
action filter_type
action find
entity Q4910111
relation P27
type Q15617994
['Q9730', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q4910111 property:P27 ?m }
Bill McGlaughlin
action filter_type
action find
entity Bill McGlaughlin
relation country of citizenship
type designation for an administrative territorial entity
['classical music', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bill_McGlaughlin property:country_of_citizenship ?m }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q9730,P27,c(Q15617994))
action filter_type
action find
entity Q4910111
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q9730', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q4910111 property:P27 ?m }
United States of America
That person belongs to the United States of America
United States of America
action filter_type
action find
entity Bill McGlaughlin
relation country of citizenship
type designation for an administrative territorial entity
['classical music', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bill_McGlaughlin property:country_of_citizenship ?m }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q34 Q30
P27
Q502895
USER
Which people are a citizen of United States of America and Sweden ?
AND((c(Q502895),P27,Q30), (c(Q502895),P27,Q34))
action filter_type
action intersection
action find_reverse
entity Q30
relation P27
action find_reverse
entity Q34
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q30'], [{'concept': 'Q502895'}, 'P27', 'Q34']]}
SELECT DISTINCT ?p WHERE { ?p property:P27 resource:Q34 . ?p property:P27 resource:Q30 . ?p rdf:type ontology:Q502895 }
Sweden United States of America
action filter_type
action intersection
action find_reverse
entity United States of America
relation country of citizenship
action find_reverse
entity Sweden
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'United States of America'], [{'concept': 'common name'}, 'country of citizenship', 'Sweden']]}
SELECT DISTINCT ?p WHERE { ?p property:country_of_citizenship resource:Sweden . ?p property:country_of_citizenship resource:United_States_of_America . ?p rdf:type ontology:common_name }
[]
common name
Q2626275 Q5443 Q6774421 Q434466 Q434453 Q3639988 Q3545095 Q18817305 Q5619161 Q453654
SYSTEM
Some of them are Georg Wadenius, Greta Garbo, Martha Hedman, Anna Q. Nilsson, Inger Stevens, Bill Magarity, Thom Filicia, Ella Larson Nelson, Gunnar Widforss, Mercedes Masohn
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,Q30), (c(Q502895),P27,Q34))
action filter_type
action intersection
action find_reverse
entity Q30
relation P27
action find_reverse
entity Q34
relation P27
type Q502895
[ANSWERS] are a citizen of United States of America and Sweden
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q30'], [{'concept': 'Q502895'}, 'P27', 'Q34']]}
SELECT DISTINCT ?p WHERE { ?p property:P27 resource:Q34 . ?p property:P27 resource:Q30 . ?p 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
Georg Wadenius, Greta Garbo, Martha Hedman, Anna Q. Nilsson, Inger Stevens, Bill Magarity, Thom Filicia, Ella Larson Nelson, Gunnar Widforss and Mercedes Masohn are a citizen of United States of America and Sweden
Georg Wadenius Greta Garbo Martha Hedman Anna Q. Nilsson Inger Stevens Bill Magarity Thom Filicia Ella Larson Nelson Gunnar Widforss Mercedes Masohn
action filter_type
action intersection
action find_reverse
entity United States of America
relation country of citizenship
action find_reverse
entity Sweden
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'United States of America'], [{'concept': 'common name'}, 'country of citizenship', 'Sweden']]}
SELECT DISTINCT ?p WHERE { ?p property:country_of_citizenship resource:Sweden . ?p property:country_of_citizenship resource:United_States_of_America . ?p rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q3897824 Q18817305
P27
Q15617994
USER
Which administrative territories are the native countriesof Ella Larson Nelson and Patrizia Lopez ?
AND((Q18817305,P27,c(Q15617994)), (Q3897824,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q18817305
relation P27
action find
entity Q3897824
relation P27
type Q15617994
{'AND': [['Q18817305', 'P27', {'concept': 'Q15617994'}], ['Q3897824', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q18817305 property:P27 ?a . resource:Q3897824 property:P27 ?a }
Patrizia Lopez Ella Larson Nelson
action filter_type
action intersection
action find
entity Ella Larson Nelson
relation country of citizenship
action find
entity Patrizia Lopez
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Ella Larson Nelson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Patrizia Lopez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ella_Larson_Nelson property:country_of_citizenship ?a . resource:Patrizia_Lopez property:country_of_citizenship ?a }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q18817305,P27,c(Q15617994)), (Q3897824,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q18817305
relation P27
action find
entity Q3897824
relation P27
type Q15617994
The [ANSWER] is the native countriesof Ella Larson Nelson and Patrizia Lopez
{'AND': [['Q18817305', 'P27', {'concept': 'Q15617994'}], ['Q3897824', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q18817305 property:P27 ?a . resource:Q3897824 property:P27 ?a }
United States of America
The United States of America is the native countriesof Ella Larson Nelson and Patrizia Lopez
United States of America
action filter_type
action intersection
action find
entity Ella Larson Nelson
relation country of citizenship
action find
entity Patrizia Lopez
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Ella Larson Nelson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Patrizia Lopez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ella_Larson_Nelson property:country_of_citizenship ?a . resource:Patrizia_Lopez property:country_of_citizenship ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3897824
P19
Q56061
USER
Which administrative territory was Patrizia Lopez born in ?
(Q30,P19,c(Q56061))
action filter_type
action find
entity Q3897824
relation P19
type Q56061
['Q30', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q3897824 property:P19 ?r }
Patrizia Lopez
action filter_type
action find
entity Patrizia Lopez
relation place of birth
type administrative territorial entity
['United States of America', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Patrizia_Lopez property:place_of_birth ?r }
[]
administrative territorial entity
Q65
SYSTEM
Los Angeles
Q65
(Q30,P19,c(Q56061))
action filter_type
action find
entity Q3897824
relation P19
type Q56061
Patrizia Lopez was born in [ANSWER]
['Q30', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q3897824 property:P19 ?r }
Los Angeles
Patrizia Lopez was born in Los Angeles
Los Angeles
action filter_type
action find
entity Patrizia Lopez
relation place of birth
type administrative territorial entity
['United States of America', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Patrizia_Lopez property:place_of_birth ?r }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17310944 Q4910111
P106
Q12737077
USER
Which occupations are the job of Bill McGlaughlin or Julian Leow Beng Kim ?
OR((Q4910111,P106,c(Q12737077)), (Q17310944,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4910111
relation P106
action find
entity Q17310944
relation P106
type Q12737077
{'OR': [['Q4910111', 'P106', {'concept': 'Q12737077'}], ['Q17310944', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q4910111 property:P106 ?o } UNION { resource:Q17310944 property:P106 ?o } } . ?o rdf:type ontology:Q12737077 }
Julian Leow Beng Kim Bill McGlaughlin
action filter_type
action union
action find
entity Bill McGlaughlin
relation occupation
action find
entity Julian Leow Beng Kim
relation occupation
type occupation
{'OR': [['Bill McGlaughlin', 'occupation', {'concept': 'occupation'}], ['Julian Leow Beng Kim', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Bill_McGlaughlin property:occupation ?o } UNION { resource:Julian_Leow_Beng_Kim property:occupation ?o } } . ?o rdf:type ontology:occupation }
[]
occupation
Q250867 Q36834 Q158852 Q14915627 Q16145150 Q2722764
SYSTEM
Catholic priest, composer, conductor, musicologist, music educator, radio personality
Q250867 Q36834 Q158852 Q14915627 Q16145150 Q2722764
OR((Q4910111,P106,c(Q12737077)), (Q17310944,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4910111
relation P106
action find
entity Q17310944
relation P106
type Q12737077
The [ANSWERS] are the job of Bill McGlaughlin or Julian Leow Beng Kim
{'OR': [['Q4910111', 'P106', {'concept': 'Q12737077'}], ['Q17310944', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q4910111 property:P106 ?o } UNION { resource:Q17310944 property:P106 ?o } } . ?o rdf:type ontology:Q12737077 }
Catholic priest composer conductor musicologist music educator radio personality
The Catholic priest, composer, conductor, musicologist, music educator and radio personality are the job of Bill McGlaughlin or Julian Leow Beng Kim
Catholic priest composer conductor musicologist music educator radio personality
action filter_type
action union
action find
entity Bill McGlaughlin
relation occupation
action find
entity Julian Leow Beng Kim
relation occupation
type occupation
{'OR': [['Bill McGlaughlin', 'occupation', {'concept': 'occupation'}], ['Julian Leow Beng Kim', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Bill_McGlaughlin property:occupation ?o } UNION { resource:Julian_Leow_Beng_Kim property:occupation ?o } } . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P1313
Q895526
USER
Which authority organ is fulfilled by United States of America ?
(Q30,P1313,c(Q895526))
action filter_type
action find
entity Q30
relation P1313
type Q895526
['Q30', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?g WHERE { resource:Q30 property:P1313 ?g . ?g rdf:type ontology:Q895526 }
United States of America
action filter_type
action find
entity United States of America
relation office held by head of government
type authority organ
['United States of America', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?g WHERE { resource:United_States_of_America property:office_held_by_head_of_government ?g . ?g rdf:type ontology:authority_organ }
[]
authority organ
Q11696
SYSTEM
President of the United States of America
Q11696
(Q30,P1313,c(Q895526))
action filter_type
action find
entity Q30
relation P1313
type Q895526
United [ANSWER] is fulfilled by United States of America
['Q30', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?g WHERE { resource:Q30 property:P1313 ?g . ?g rdf:type ontology:Q895526 }
President of the United States of America
United President of the United States of America is fulfilled by United States of America
President of the United States of America
action filter_type
action find
entity United States of America
relation office held by head of government
type authority organ
['United States of America', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?g WHERE { resource:United_States_of_America property:office_held_by_head_of_government ?g . ?g rdf:type ontology:authority_organ }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P194
Q11204
USER
Which legislature governs United States of America ?
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?y WHERE { resource:Q30 property:P194 ?y . ?y rdf:type ontology:Q11204 }
United States of America
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?y WHERE { resource:United_States_of_America property:legislative_body ?y . ?y rdf:type ontology:legislature }
[]
legislature
Q11268
SYSTEM
United States Congress
Q11268
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
[ANSWER] governs United States of America
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?y WHERE { resource:Q30 property:P194 ?y . ?y rdf:type ontology:Q11204 }
United States Congress
United States Congress governs United States of America
United States Congress
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?y WHERE { resource:United_States_of_America property:legislative_body ?y . ?y rdf:type ontology:legislature }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q11268 Q1073716
P467
Q820655
USER
Was Chinese Exclusion Act passed by that legislature ?
(Q1073716,P467,Q11268)
action is_in
entity Q11268
action find
entity Q1073716
relation P467
['Q1073716', 'P467', 'Q11268']
ASK WHERE { resource:Q1073716 property:P467 resource:Q11268 }
United States Congress Chinese Exclusion Act
action is_in
entity United States Congress
action find
entity Chinese Exclusion Act
relation legislated by
['Chinese Exclusion Act', 'legislated by', 'United States Congress']
ASK WHERE { resource:Chinese_Exclusion_Act property:legislated_by resource:United_States_Congress }
[]
statute
SYSTEM
YES
(Q1073716,P467,Q11268)
action is_in
entity Q11268
action find
entity Q1073716
relation P467
[ANSWER]
['Q1073716', 'P467', 'Q11268']
ASK WHERE { resource:Q1073716 property:P467 resource:Q11268 }
Yes
action is_in
entity United States Congress
action find
entity Chinese Exclusion Act
relation legislated by
['Chinese Exclusion Act', 'legislated by', 'United States Congress']
ASK WHERE { resource:Chinese_Exclusion_Act property:legislated_by resource:United_States_Congress }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q11696 Q526857 Q224202
P1001
Q15617994
USER
Does President of the United States of America have control over the jurisdiction of Helse and Magliano Sabina ?
(Q11696,P1001,Q526857) (Q11696,P1001,Q224202)
action is_in
entity Q11696
action intersection
action find_reverse
entity Q526857
relation P1001
action find_reverse
entity Q224202
relation P1001
['Q11696', 'P1001', 'Q526857'] ['Q11696', 'P1001', 'Q224202']
ASK WHERE { resource:Q11696 property:P1001 resource:Q526857 . resource:Q11696 property:P1001 resource:Q224202 }
President of the United States of America Helse Magliano Sabina
action is_in
entity President of the United States of America
action intersection
action find_reverse
entity Helse
relation applies to jurisdiction
action find_reverse
entity Magliano Sabina
relation applies to jurisdiction
['President of the United States of America', 'applies to jurisdiction', 'Helse'] ['President of the United States of America', 'applies to jurisdiction', 'Magliano Sabina']
ASK WHERE { resource:President_of_the_United_States_of_America property:applies_to_jurisdiction resource:Helse . resource:President_of_the_United_States_of_America property:applies_to_jurisdiction resource:Magliano_Sabina }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q11696,P1001,Q526857) (Q11696,P1001,Q224202)
action is_in
entity Q11696
action intersection
action find_reverse
entity Q526857
relation P1001
action find_reverse
entity Q224202
relation P1001
[ANSWER]
['Q11696', 'P1001', 'Q526857'] ['Q11696', 'P1001', 'Q224202']
ASK WHERE { resource:Q11696 property:P1001 resource:Q526857 . resource:Q11696 property:P1001 resource:Q224202 }
No
action is_in
entity President of the United States of America
action intersection
action find_reverse
entity Helse
relation applies to jurisdiction
action find_reverse
entity Magliano Sabina
relation applies to jurisdiction
['President of the United States of America', 'applies to jurisdiction', 'Helse'] ['President of the United States of America', 'applies to jurisdiction', 'Magliano Sabina']
ASK WHERE { resource:President_of_the_United_States_of_America property:applies_to_jurisdiction resource:Helse . resource:President_of_the_United_States_of_America property:applies_to_jurisdiction resource:Magliano_Sabina }
[]