Simple Question (Direct)
Simple Question
Q3016514
P22
Q502895
USER
Who was the dad of Darren E. Burrows ?
(Q3016514,P22,c(Q502895))
action filter_type
action find
entity Q3016514
relation P22
type Q502895
['Q3016514', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3016514 property:P22 ?w . ?w rdf:type ontology:Q502895 }
Darren E. Burrows
action filter_type
action find
entity Darren E. Burrows
relation father
type common name
['Darren E. Burrows', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Darren_E._Burrows property:father ?w . ?w rdf:type ontology:common_name }
[]
common name
Q446968
SYSTEM
Billy Drago
Q446968
(Q3016514,P22,c(Q502895))
action filter_type
action find
entity Q3016514
relation P22
type Q502895
The dad of Darren E. Burrows was a [ANSWER]
['Q3016514', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q3016514 property:P22 ?w . ?w rdf:type ontology:Q502895 }
Billy Drago
The dad of Darren E. Burrows was a Billy Drago
Billy Drago
action filter_type
action find
entity Darren E. Burrows
relation father
type common name
['Darren E. Burrows', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Darren_E._Burrows property:father ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q446968
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q446968,P106,c(Q12737077))
action filter_type
action find
entity Q446968
relation P106
type Q12737077
['Q446968', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q446968 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Billy Drago
action filter_type
action find
entity Billy Drago
relation occupation
type occupation
['Billy Drago', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Billy_Drago property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q10798782 Q33999
SYSTEM
television actor, actor
Q10798782 Q33999
(Q446968,P106,c(Q12737077))
action filter_type
action find
entity Q446968
relation P106
type Q12737077
The [ANSWERS] have that person as his/her 's career
['Q446968', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q446968 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
television actor actor
The television actor and actor have that person as his/her 's career
television actor actor
action filter_type
action find
entity Billy Drago
relation occupation
type occupation
['Billy Drago', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Billy_Drago property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q214917
P425
Q386724
USER
Which work has playwright as the associated field of occupation ?
(Q214917,P425,c(Q386724))
action filter_type
action find
entity Q214917
relation P425
type Q386724
['Q214917', 'P425', {'concept': 'Q386724'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q386724 . resource:Q214917 property:P425 ?o }
playwright
action filter_type
action find
entity playwright
relation field of this occupation
type work
['playwright', 'field of this occupation', {'concept': 'work'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:work . resource:playwright property:field_of_this_occupation ?o }
[]
work
Q25379
SYSTEM
play
Q25379
(Q214917,P425,c(Q386724))
action filter_type
action find
entity Q214917
relation P425
type Q386724
[ANSWER] has [ANSWER]wright as the associated field of occupation
['Q214917', 'P425', {'concept': 'Q386724'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q386724 . resource:Q214917 property:P425 ?o }
play
Play has playwright as the associated field of occupation
play
action filter_type
action find
entity playwright
relation field of this occupation
type work
['playwright', 'field of this occupation', {'concept': 'work'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:work . resource:playwright property:field_of_this_occupation ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3016514
P40
Q502895
USER
Which person has Darren E. Burrows as a child ?
(c(Q502895),P40,Q3016514)
action filter_type
action find_reverse
entity Q3016514
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q3016514']
SELECT DISTINCT ?q WHERE { ?q property:P40 resource:Q3016514 . ?q rdf:type ontology:Q502895 }
Darren E. Burrows
action filter_type
action find_reverse
entity Darren E. Burrows
relation child
type common name
[{'concept': 'common name'}, 'child', 'Darren E. Burrows']
SELECT DISTINCT ?q WHERE { ?q property:child resource:Darren_E._Burrows . ?q rdf:type ontology:common_name }
[]
common name
Q446968
SYSTEM
Billy Drago
Q446968
(c(Q502895),P40,Q3016514)
action filter_type
action find_reverse
entity Q3016514
relation P40
type Q502895
[ANSWER] has Darren E. Burrows as a child
[{'concept': 'Q502895'}, 'P40', 'Q3016514']
SELECT DISTINCT ?q WHERE { ?q property:P40 resource:Q3016514 . ?q rdf:type ontology:Q502895 }
Billy Drago
Billy Drago has Darren E. Burrows as a child
Billy Drago
action filter_type
action find_reverse
entity Darren E. Burrows
relation child
type common name
[{'concept': 'common name'}, 'child', 'Darren E. Burrows']
SELECT DISTINCT ?q WHERE { ?q property:child resource:Darren_E._Burrows . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q446968
P161
Q838948
USER
Which works of art have that person as actor ?
(c(Q838948),P161,Q446968)
action filter_type
action find_reverse
entity Q446968
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q446968']
SELECT DISTINCT ?w WHERE { ?w property:P161 resource:Q446968 . ?w rdf:type ontology:Q838948 }
Billy Drago
action filter_type
action find_reverse
entity Billy Drago
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Billy Drago']
SELECT DISTINCT ?w WHERE { ?w property:cast_member resource:Billy_Drago . ?w rdf:type ontology:work_of_art }
[]
work of art
Q108525 Q1141519 Q1626245
SYSTEM
The Untouchables, The Hills Have Eyes, Invasion U.S.A.
Q4188852 Q2605395 Q1141519 Q4526233 Q3999828 Q1147262 Q1184895 Q1146563 Q1421068 Q503338 Q2016370 Q5351652 Q5303300 Q929811 Q5256212 Q1749311 Q978131 Q4424355 Q1626245 Q3682161 Q2708890 Q3277202 Q3143345 Q108525 Q601650
(c(Q838948),P161,Q446968)
action filter_type
action find_reverse
entity Q446968
relation P161
type Q838948
The Untouchables, The Hills have Eyes and Invasion U.S.A. have that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q446968']
SELECT DISTINCT ?w WHERE { ?w property:P161 resource:Q446968 . ?w rdf:type ontology:Q838948 }
The Takeover Moving McAllister The Hills Have Eyes Freeway True Blood Cyborg 2 Delta Force 2: The Colombian Connection Cutter's Way Mysterious Skin Pale Rider Mad Dog Time El Muerto Downstream Vamp Demon Hunter Tremors 4: The Legend Begins Hero and the Terror Death Ring Invasion U.S.A. Martial Law 2: Undercover Children of the Corn: Genesis Deadly Heroes Hunter's Blood The Untouchables Guncrazy
The Untouchables, The Hills have Eyes and Invasion U.S.A. have that person as actor
The Untouchables The Hills Have Eyes Invasion U.S.A.
action filter_type
action find_reverse
entity Billy Drago
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Billy Drago']
SELECT DISTINCT ?w WHERE { ?w property:cast_member resource:Billy_Drago . ?w rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q108525 Q1141519 Q1626245
P58
Q502895
USER
Who served as the screenwriter for those works of art ?
(Q108525,P58,c(Q502895)) (Q1141519,P58,c(Q502895)) (Q1626245,P58,c(Q502895))
action filter_type
action find
entity prev_answer
relation P58
type Q502895
['Q108525', 'P58', {'concept': 'Q502895'}] ['Q1141519', 'P58', {'concept': 'Q502895'}] ['Q1626245', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?e ) { ( resource:Q4188852 ) ( resource:Q2605395 ) ( resource:Q1141519 ) } . ?q rdf:type ontology:Q502895 . ?e property:P58 ?q }
The Untouchables The Hills Have Eyes Invasion U.S.A.
action filter_type
action find
entity prev_answer
relation screenwriter
type common name
['The Untouchables', 'screenwriter', {'concept': 'common name'}] ['The Hills Have Eyes', 'screenwriter', {'concept': 'common name'}] ['Invasion U.S.A.', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?e ) { ( resource:The_Takeover ) ( resource:Moving_McAllister ) ( resource:The_Hills_Have_Eyes ) } . ?q rdf:type ontology:common_name . ?e property:screenwriter ?q }
[]
common name
Q269927 Q2673 Q358505
SYSTEM
David Mamet, Chuck Norris, Eliot Ness
Q269927 Q358505 Q7105984 Q528132 Q2657694 Q2673
(Q108525,P58,c(Q502895)) (Q1141519,P58,c(Q502895)) (Q1626245,P58,c(Q502895))
action filter_type
action find
entity prev_answer
relation P58
type Q502895
[ANSWERS] served as the screenwriter for those works of art
['Q108525', 'P58', {'concept': 'Q502895'}] ['Q1141519', 'P58', {'concept': 'Q502895'}] ['Q1626245', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?e ) { ( resource:Q4188852 ) ( resource:Q2605395 ) ( resource:Q1141519 ) } . ?q rdf:type ontology:Q502895 . ?e property:P58 ?q }
David Mamet Eliot Ness Oscar Fraley Alexandre Aja Grégory Levasseur Chuck Norris
David Mamet, Chuck Norris and Eliot Ness served as the screenwriter for those works of art
David Mamet Chuck Norris Eliot Ness
action filter_type
action find
entity prev_answer
relation screenwriter
type common name
['The Untouchables', 'screenwriter', {'concept': 'common name'}] ['The Hills Have Eyes', 'screenwriter', {'concept': 'common name'}] ['Invasion U.S.A.', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?e ) { ( resource:The_Takeover ) ( resource:Moving_McAllister ) ( resource:The_Hills_Have_Eyes ) } . ?q rdf:type ontology:common_name . ?e property:screenwriter ?q }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q269927 Q2673 Q358505
P19
Q56061
USER
Where were David Mamet, Chuck Norris and Eliot Ness born ?
(Q269927,P19,c(Q56061)) (Q2673,P19,c(Q56061)) (Q358505,P19,c(Q56061))
action union
action filter_type
action find
entity Q269927
relation P19
type Q56061
action filter_type
action find
entity Q2673
relation P19
type Q56061
action filter_type
action find
entity Q358505
relation P19
type Q56061
['Q269927', 'P19', {'concept': 'Q56061'}] ['Q2673', 'P19', {'concept': 'Q56061'}] ['Q358505', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { { resource:Q269927 property:P19 ?o . ?o rdf:type ontology:Q56061 } UNION { ?o rdf:type ontology:Q56061 . resource:Q2673 property:P19 ?o } }
David Mamet Chuck Norris Eliot Ness
action union
action filter_type
action find
entity David Mamet
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Chuck Norris
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Eliot Ness
relation place of birth
type administrative territorial entity
['David Mamet', 'place of birth', {'concept': 'administrative territorial entity'}] ['Chuck Norris', 'place of birth', {'concept': 'administrative territorial entity'}] ['Eliot Ness', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { resource:David_Mamet property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity } UNION { ?o rdf:type ontology:administrative_territorial_entity . resource:Chuck_Norris property:place_of_birth ?o } }
[]
administrative territorial entity
Q1297 Q1018294 Q1297
SYSTEM
Ryan for 2nd, Chicago for 1st, 3rd
Q1297 Q1018294 Q1297
(Q269927,P19,c(Q56061)) (Q2673,P19,c(Q56061)) (Q358505,P19,c(Q56061))
action union
action filter_type
action find
entity Q269927
relation P19
type Q56061
action filter_type
action find
entity Q2673
relation P19
type Q56061
action filter_type
action find
entity Q358505
relation P19
type Q56061
[ANSWERS]
['Q269927', 'P19', {'concept': 'Q56061'}] ['Q2673', 'P19', {'concept': 'Q56061'}] ['Q358505', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { { resource:Q269927 property:P19 ?o . ?o rdf:type ontology:Q56061 } UNION { ?o rdf:type ontology:Q56061 . resource:Q2673 property:P19 ?o } }
Chicago Ryan Chicago
David Mamet , Chuck Norris and Eliot Ness were born in Chicago, Ryan and Chicago
Chicago Ryan Chicago
action union
action filter_type
action find
entity David Mamet
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Chuck Norris
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Eliot Ness
relation place of birth
type administrative territorial entity
['David Mamet', 'place of birth', {'concept': 'administrative territorial entity'}] ['Chuck Norris', 'place of birth', {'concept': 'administrative territorial entity'}] ['Eliot Ness', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { resource:David_Mamet property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity } UNION { ?o rdf:type ontology:administrative_territorial_entity . resource:Chuck_Norris property:place_of_birth ?o } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1297
P163
Q17335294
USER
What has that administrative territory as its flag
(Q1297,P163,c(Q17335294))
action filter_type
action find
entity Q1297
relation P163
type Q17335294
['Q1297', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q17335294 . resource:Q1297 property:P163 ?j }
Chicago
action filter_type
action find
entity Chicago
relation flag
type flag or coat of arms
['Chicago', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:flag_or_coat_of_arms . resource:Chicago property:flag ?j }
[]
flag or coat of arms
Clarification for simple ques.
Q1297
SYSTEM
Did you mean Chicago ?
Q1297 Q1018294 Q1297
(Q1297,P163,c(Q17335294)) (Q1018294,P163,c(Q17335294)) (Q1297,P163,c(Q17335294))
[ANSWER]
['Q1297', 'P163', {'concept': 'Q17335294'}] ['Q1018294', 'P163', {'concept': 'Q17335294'}] ['Q1297', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q17335294 . resource:Q1297 property:P163 ?j }
Chicago Ryan Chicago
Did you mean Chicago ?
Chicago
['Chicago', 'flag', {'concept': 'flag or coat of arms'}] ['Ryan', 'flag', {'concept': 'flag or coat of arms'}] ['Chicago', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:flag_or_coat_of_arms . resource:Chicago property:flag ?j }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1297,P163,c(Q17335294))
['Q1297', 'P163', {'concept': 'Q17335294'}]
['Chicago', 'flag', {'concept': 'flag or coat of arms'}]
[]
Q1402799
SYSTEM
Flag of Chicago
Q1402799
(Q1297,P163,c(Q17335294))
action filter_type
action find
entity Q1297
relation P163
type Q17335294
City [ANSWER] has that administrative territory as its flag
['Q1297', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q17335294 . resource:Q1297 property:P163 ?j }
Flag of Chicago
City Flag of Chicago has that administrative territory as its flag
Flag of Chicago
action filter_type
action find
entity Chicago
relation flag
type flag or coat of arms
['Chicago', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:flag_or_coat_of_arms . resource:Chicago property:flag ?j }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q1297
P27 P551
Q502895
USER
Which people live in Chicago and are a citizen of United States of America ?
AND((c(Q502895),P551,Q1297), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q1297
relation P551
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P551', 'Q1297'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?x WHERE { ?x property:P551 resource:Q1297 . ?x property:P27 resource:Q30 . ?x rdf:type ontology:Q502895 }
United States of America Chicago
action filter_type
action intersection
action find_reverse
entity Chicago
relation residence
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'residence', 'Chicago'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?x WHERE { ?x property:residence resource:Chicago . ?x property:country_of_citizenship resource:United_States_of_America . ?x rdf:type ontology:common_name }
[]
common name
Q943530 Q24289589 Q2567451 Q230203 Q21597948 Q3177637 Q312561 Q16080418 Q5335897 Q579100
SYSTEM
Some of them are Francis Boggs, Ruth Brown Kahn, Hersey Hawkins, Amy Poehler, William W. Mullins, Jesse White, James Heckman, Alyce Frank, Eddie Burks, Mike Hagerty
Q6170556 Q166796 Q2477269 Q312561 Q16080418 Q21896951 Q7143399 Q21292854 Q18811284 Q215447 Q6253288 Q21682723 Q2567451 Q18811232 Q5044303 Q16192913 Q729117 Q21209377 Q20641959 Q727086 Q579100 Q3297140 Q6294 Q3051062 Q16023511 Q11156 Q3177637 Q270774 Q7366909 Q22001402 Q18152541 Q17180530 Q21748792 Q6217727 Q21785688 Q102454 Q41508 Q22001558 Q7106384 Q55192 Q7319400 Q205326 Q21151693 Q624017 Q21030483 Q549220 Q21129536 Q6133090 Q5362284 Q16015125 Q21785196 Q15987651 Q5040332 Q22001577 Q17637122 Q6792230 Q16821316 Q2567550 Q943530 Q6232142 Q21940006 Q6880785 Q17305697 Q83338 Q25933868 Q1290476 Q352093 Q21597948 Q230203 Q107730 Q76 Q21129689 Q21818567 Q7437456 Q7281591 Q7781911 Q7802841 Q937954 Q24289589 Q18811251 Q21062522 Q5335897 Q21879443 Q55800 Q24046035 Q109232
AND((c(Q502895),P551,Q1297), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q1297
relation P551
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWERS] live in Chicago and are a citizen of United States of America
{'AND': [[{'concept': 'Q502895'}, 'P551', 'Q1297'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?x WHERE { ?x property:P551 resource:Q1297 . ?x property:P27 resource:Q30 . ?x rdf:type ontology:Q502895 }
Jean Doumanian GoonRock Bobby Simmons James Heckman Alyce Frank Gregory Orloff Pat Dowell Gertrude Kuh Paul N. Nicholaioff CM Punk John Powers Albina Felski Hersey Hawkins Gertrude Hemken Carol Diehl Steve Sailer Edmund White Edward George Renesch Willie Wilson Hugh O'Brian Mike Hagerty Mike Russow Hillary Clinton Elisa Au Charles R. Weatherhogg Antonin Scalia Jesse White Julia Sweeney Rory Markham Josephine L. Reichmann Isaac Arthur Abt Barrie Jean Borich Carroll N. Bailey John A. Hasecoster Donald Mundt Paul Samuelson Ludwig Mies van der Rohe Karl Kelpe Osceola Macarthy Adams Gertrude Abercrombie Rey Colón Derrick Rose Georgia Louise Harris Brown AJ Lee Edgar Miller Colin Egglesfield Judith Chafee Terry Martin Elizabeth Alexander Helen Octavia Dickens Dominick Di Meo Maxamillian Schneider Carl Holty Kerig Pope Mike Else Maud Howe Elliott Allison Tolman Johnny Kerr Francis Boggs Walter Wangerin, Jr. Herbert Katzman Mitch Aliotta McArthur Binion Robin Williams Tunis Ponsen John Podesta Doc Rivers William W. Mullins Amy Poehler Vince Vaughn Barack Obama Beverly Loraine Greene Egbert Jacobson Scott Waguespack Radoslav Lorković Theodore Matlak Tillie Klimek Ed Gilbert Ruth Brown Kahn Ronal Sherwood Kayser Daniel Kraus Eddie Burks Frederick F. Fursman Oprah Winfrey Edmund W. Giesbert Rosanna Arquette
Francis Boggs, Ruth Brown Kahn, Hersey Hawkins, Amy Poehler, William W. Mullins, Jesse White, James Heckman, Alyce Frank, Eddie Burks and Mike Hagerty live in Chicago and are a citizen of United States of America
Francis Boggs Ruth Brown Kahn Hersey Hawkins Amy Poehler William W. Mullins Jesse White James Heckman Alyce Frank Eddie Burks Mike Hagerty
action filter_type
action intersection
action find_reverse
entity Chicago
relation residence
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'residence', 'Chicago'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?x WHERE { ?x property:residence resource:Chicago . ?x property:country_of_citizenship resource:United_States_of_America . ?x rdf:type ontology:common_name }
[]