Simple Question (Direct)
Simple Question
Q2427234
P344
Q502895
USER
Who is the cinematographer of The Admiral Was a Lady ?
(Q2427234,P344,c(Q502895))
action filter_type
action find
entity Q2427234
relation P344
type Q502895
['Q2427234', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q2427234 property:P344 ?j . ?j rdf:type ontology:Q502895 }
The Admiral Was a Lady
action filter_type
action find
entity The Admiral Was a Lady
relation director of photography
type common name
['The Admiral Was a Lady', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:The_Admiral_Was_a_Lady property:director_of_photography ?j . ?j rdf:type ontology:common_name }
[]
common name
Q711913
SYSTEM
Stanley Cortez
Q711913
(Q2427234,P344,c(Q502895))
action filter_type
action find
entity Q2427234
relation P344
type Q502895
[ANSWER] is the cinematographer of The Admiral Was a Lady
['Q2427234', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q2427234 property:P344 ?j . ?j rdf:type ontology:Q502895 }
Stanley Cortez
Stanley Cortez is the cinematographer of The Admiral Was a Lady
Stanley Cortez
action filter_type
action find
entity The Admiral Was a Lady
relation director of photography
type common name
['The Admiral Was a Lady', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:The_Admiral_Was_a_Lady property:director_of_photography ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q711913
P119
Q43229
USER
Where is the place of burial for that person located ?
(Q711913,P119,c(Q43229))
action filter_type
action find
entity Q711913
relation P119
type Q43229
['Q711913', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { resource:Q711913 property:P119 ?r . ?r rdf:type ontology:Q43229 }
Stanley Cortez
action filter_type
action find
entity Stanley Cortez
relation place of burial
type organization
['Stanley Cortez', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { resource:Stanley_Cortez property:place_of_burial ?r . ?r rdf:type ontology:organization }
[]
organization
Q6923684
SYSTEM
Mount Sinai Memorial Park Cemetery
Q6923684
(Q711913,P119,c(Q43229))
action filter_type
action find
entity Q711913
relation P119
type Q43229
Is the place of burial for that person located in [ANSWER]
['Q711913', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { resource:Q711913 property:P119 ?r . ?r rdf:type ontology:Q43229 }
Mount Sinai Memorial Park Cemetery
Is the place of burial for that person located in Mount Sinai Memorial Park Cemetery
Mount Sinai Memorial Park Cemetery
action filter_type
action find
entity Stanley Cortez
relation place of burial
type organization
['Stanley Cortez', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { resource:Stanley_Cortez property:place_of_burial ?r . ?r rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2427234
P58
Q502895
USER
Who was the screenwriter for The Admiral Was a Lady ?
(Q2427234,P58,c(Q502895))
action filter_type
action find
entity Q2427234
relation P58
type Q502895
['Q2427234', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q2427234 property:P58 ?g . ?g rdf:type ontology:Q502895 }
The Admiral Was a Lady
action filter_type
action find
entity The Admiral Was a Lady
relation screenwriter
type common name
['The Admiral Was a Lady', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:The_Admiral_Was_a_Lady property:screenwriter ?g . ?g rdf:type ontology:common_name }
[]
common name
Q16031263
SYSTEM
John O'Dea
Q16031263
(Q2427234,P58,c(Q502895))
action filter_type
action find
entity Q2427234
relation P58
type Q502895
He [ANSWER] was the screenwriter for The Admiral Was a Lady
['Q2427234', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q2427234 property:P58 ?g . ?g rdf:type ontology:Q502895 }
John O'Dea
He John O'Dea was the screenwriter for The Admiral Was a Lady
John O'Dea
action filter_type
action find
entity The Admiral Was a Lady
relation screenwriter
type common name
['The Admiral Was a Lady', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:The_Admiral_Was_a_Lady property:screenwriter ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2427234
P162
Q502895
USER
Who is the creator of that work of art ?
(Q16031263,P162,c(Q502895))
action filter_type
action find
entity Q2427234
relation P162
type Q502895
['Q16031263', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q2427234 property:P162 ?d . ?d rdf:type ontology:Q502895 }
The Admiral Was a Lady
action filter_type
action find
entity The Admiral Was a Lady
relation producer
type common name
["John O'Dea", 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:The_Admiral_Was_a_Lady property:producer ?d . ?d rdf:type ontology:common_name }
[]
common name
Q20737698
SYSTEM
Edward Lewis
Q20737698
(Q16031263,P162,c(Q502895))
action filter_type
action find
entity Q2427234
relation P162
type Q502895
The creator of that work of art is Lewis [ANSWER]
['Q16031263', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q2427234 property:P162 ?d . ?d rdf:type ontology:Q502895 }
Edward Lewis
The creator of that work of art is Lewis Edward Lewis
Edward Lewis
action filter_type
action find
entity The Admiral Was a Lady
relation producer
type common name
["John O'Dea", 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:The_Admiral_Was_a_Lady property:producer ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2427234
P86
Q502895
USER
Who wrote the music for that work of art ?
(Q20737698,P86,c(Q502895))
action filter_type
action find
entity Q2427234
relation P86
type Q502895
['Q20737698', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q2427234 property:P86 ?i }
The Admiral Was a Lady
action filter_type
action find
entity The Admiral Was a Lady
relation composer
type common name
['Edward Lewis', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:The_Admiral_Was_a_Lady property:composer ?i }
[]
common name
Q1292620
SYSTEM
Edward J. Kay
Q1292620
(Q20737698,P86,c(Q502895))
action filter_type
action find
entity Q2427234
relation P86
type Q502895
[ANSWER] wrote the music for that work of art
['Q20737698', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q2427234 property:P86 ?i }
Edward J. Kay
Edward J. Kay wrote the music for that work of art
Edward J. Kay
action filter_type
action find
entity The Admiral Was a Lady
relation composer
type common name
['Edward Lewis', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:The_Admiral_Was_a_Lady property:composer ?i }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3523294 Q2427234
P161
Q502895
USER
Which people were casted in The Admiral Was a Lady or The Warrens of Virginia ?
OR((Q2427234,P161,c(Q502895)), (Q3523294,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2427234
relation P161
action find
entity Q3523294
relation P161
type Q502895
{'OR': [['Q2427234', 'P161', {'concept': 'Q502895'}], ['Q3523294', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . { { resource:Q3523294 property:P161 ?s } UNION { resource:Q2427234 property:P161 ?s } } }
The Warrens of Virginia The Admiral Was a Lady
action filter_type
action union
action find
entity The Admiral Was a Lady
relation cast member
action find
entity The Warrens of Virginia
relation cast member
type common name
{'OR': [['The Admiral Was a Lady', 'cast member', {'concept': 'common name'}], ['The Warrens of Virginia', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . { { resource:The_Warrens_of_Virginia property:cast_member ?s } UNION { resource:The_Admiral_Was_a_Lady property:cast_member ?s } } }
[]
common name
Q3020059 Q267718 Q119935 Q370280 Q3273781 Q13581033 Q3265616 Q3161300 Q241019 Q3430940
SYSTEM
Some of them are DeWitt Jennings, Blanche Sweet, Edmond O'Brien, Raymond Hatton, Mabel Van Buren, House Peters, Sr., Lucien Littlefield, James Neill, Mildred Harris, Richard L'Estrange
Q3265616 Q241019 Q3430940 Q370280 Q267718 Q13581033 Q119935 Q3026598 Q3020059 Q3161300 Q3273781
OR((Q2427234,P161,c(Q502895)), (Q3523294,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2427234
relation P161
action find
entity Q3523294
relation P161
type Q502895
[ANSWERS] were casted in The Admiral Was a Lady or The Warrens of Virginia
{'OR': [['Q2427234', 'P161', {'concept': 'Q502895'}], ['Q3523294', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . { { resource:Q3523294 property:P161 ?s } UNION { resource:Q2427234 property:P161 ?s } } }
Lucien Littlefield Mildred Harris Richard L'Estrange Raymond Hatton Blanche Sweet House Peters, Sr. Edmond O'Brien Dick La Reno DeWitt Jennings James Neill Mabel Van Buren
DeWitt Jennings, Blanche Sweet, Edmond O'Brien, Raymond Hatton, Mabel Van Buren, House Peters, Sr., Lucien Littlefield, James Neill, Mildred Harris and Richard L'Estrange were casted in The Admiral Was a Lady or The Warrens of Virginia
DeWitt Jennings Blanche Sweet Edmond O'Brien Raymond Hatton Mabel Van Buren House Peters, Sr. Lucien Littlefield James Neill Mildred Harris Richard L'Estrange
action filter_type
action union
action find
entity The Admiral Was a Lady
relation cast member
action find
entity The Warrens of Virginia
relation cast member
type common name
{'OR': [['The Admiral Was a Lady', 'cast member', {'concept': 'common name'}], ['The Warrens of Virginia', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . { { resource:The_Warrens_of_Virginia property:cast_member ?s } UNION { resource:The_Admiral_Was_a_Lady property:cast_member ?s } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q20737698
P106
Q12737077 Q28640
USER
How many occupations and professions are the professions of Edward Lewis ?
(Q20737698,P106,c(Q12737077)) (Q20737698,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q20737698
relation P106
type Q12737077
action filter_type
action find
entity Q20737698
relation P106
type Q28640
['Q20737698', 'P106', {'concept': 'Q12737077'}] ['Q20737698', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { ?k rdf:type ontology:Q12737077 . resource:Q20737698 property:P106 ?k } UNION { resource:Q20737698 property:P106 ?k . ?k rdf:type ontology:Q28640 } }
Edward Lewis
action count
action union
action filter_type
action find
entity Edward Lewis
relation occupation
type occupation
action filter_type
action find
entity Edward Lewis
relation occupation
type profession
['Edward Lewis', 'occupation', {'concept': 'occupation'}] ['Edward Lewis', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { ?k rdf:type ontology:occupation . resource:Edward_Lewis property:occupation ?k } UNION { resource:Edward_Lewis property:occupation ?k . ?k rdf:type ontology:profession } }
[]
occupation profession
SYSTEM
1 occupations and 1 professions
Q3282637 Q36180
(Q20737698,P106,c(Q12737077)) (Q20737698,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q20737698
relation P106
type Q12737077
action filter_type
action find
entity Q20737698
relation P106
type Q28640
[ANSWER]
['Q20737698', 'P106', {'concept': 'Q12737077'}] ['Q20737698', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { ?k rdf:type ontology:Q12737077 . resource:Q20737698 property:P106 ?k } UNION { resource:Q20737698 property:P106 ?k . ?k rdf:type ontology:Q28640 } }
film producer writer
1 occupations and 1 professions
action count
action union
action filter_type
action find
entity Edward Lewis
relation occupation
type occupation
action filter_type
action find
entity Edward Lewis
relation occupation
type profession
['Edward Lewis', 'occupation', {'concept': 'occupation'}] ['Edward Lewis', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { ?k rdf:type ontology:occupation . resource:Edward_Lewis property:occupation ?k } UNION { resource:Edward_Lewis property:occupation ?k . ?k rdf:type ontology:profession } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20737698
P21
Q290
USER
Which sex does that person belong to ?
action filter_type
action find
entity Q20737698
relation P21
type Q290
SELECT DISTINCT ?g WHERE { resource:Q20737698 property:P21 ?g . ?g rdf:type ontology:Q290 }
Edward Lewis
action filter_type
action find
entity Edward Lewis
relation gender
type sex
SELECT DISTINCT ?g WHERE { resource:Edward_Lewis property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q20737698
relation P21
type Q290
That person belongs to [ANSWER]
SELECT DISTINCT ?g WHERE { resource:Q20737698 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Edward Lewis
relation gender
type sex
SELECT DISTINCT ?g WHERE { resource:Edward_Lewis property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q119935
P1411
Q4220917
USER
Which film award was Edmond O'Brien nominated for ?
(Q119935,P1411,c(Q4220917))
action filter_type
action find
entity Q119935
relation P1411
type Q4220917
['Q119935', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q4220917 . resource:Q119935 property:P1411 ?k }
Edmond O'Brien
action filter_type
action find
entity Edmond O'Brien
relation nominated for
type film award
["Edmond O'Brien", 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:film_award . resource:Edmond_O'Brien property:nominated_for ?k }
[]
film award
Q106291
SYSTEM
Academy Award for Best Supporting Actor
Q106291
(Q119935,P1411,c(Q4220917))
action filter_type
action find
entity Q119935
relation P1411
type Q4220917
Edmond O'Brien was nominated for [ANSWER]
['Q119935', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q4220917 . resource:Q119935 property:P1411 ?k }
Academy Award for Best Supporting Actor
Edmond O'Brien was nominated for Academy Award for Best Supporting Actor
Academy Award for Best Supporting Actor
action filter_type
action find
entity Edmond O'Brien
relation nominated for
type film award
["Edmond O'Brien", 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:film_award . resource:Edmond_O'Brien property:nominated_for ?k }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3130587 Q3161300
P161
Q838948
USER
Which works of art have James Neill or Henri Attal as actor ?
OR((c(Q838948),P161,Q3161300), (c(Q838948),P161,Q3130587))
action filter_type
action union
action find_reverse
entity Q3161300
relation P161
action find_reverse
entity Q3130587
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q3161300'], [{'concept': 'Q838948'}, 'P161', 'Q3130587']]}
SELECT DISTINCT ?d WHERE { { { ?d property:P161 resource:Q3161300 } UNION { ?d property:P161 resource:Q3130587 } } . ?d rdf:type ontology:Q838948 }
Henri Attal James Neill
action filter_type
action union
action find_reverse
entity James Neill
relation cast member
action find_reverse
entity Henri Attal
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'James Neill'], [{'concept': 'work of art'}, 'cast member', 'Henri Attal']]}
SELECT DISTINCT ?d WHERE { { { ?d property:cast_member resource:James_Neill } UNION { ?d property:cast_member resource:Henri_Attal } } . ?d rdf:type ontology:work_of_art }
[]
work of art
Q1055139 Q3234617 Q3246433 Q674851 Q475286 Q1148491 Q3281998 Q938851 Q769712 Q1306392
SYSTEM
Some of them are Line of Demarcation, Girl on the Road, Méfiez-vous, My New Partner, Animal, My Life to Live, Par Où T'es Rentré? On T'a Pas Vu Sortir, Pierrot le Fou, Dr. Popaul, Story of Women
Q3091040 Q3246433 Q7304570 Q1578604 Q1513821 Q3439645 Q1170481 Q1148491 Q382629 Q475286 Q3523098 Q2631381 Q3221800 Q3522998 Q3281998 Q1193534 Q1760794 Q1196741 Q612271 Q2925237 Q528871 Q3228527 Q3354161 Q1306392 Q682328 Q1196339 Q3316293 Q1746058 Q594469 Q1858133 Q3203726 Q996020 Q1114422 Q16028760 Q232020 Q758588 Q1055139 Q1405943 Q1989832 Q195593 Q804816 Q2906983 Q841390 Q3223036 Q383220 Q1813438 Q604912 Q3234617 Q2473093 Q1107196 Q606935 Q1143460 Q3127380 Q3209800 Q3213184 Q115202 Q938851 Q1394486 Q3523294 Q850238 Q3213507 Q751550 Q769712 Q2886062 Q3228011 Q7476007 Q1211672 Q1395971 Q426332 Q3227969 Q255812 Q3030151 Q1517084 Q493892 Q3108201 Q3207917 Q3226956 Q3392255 Q16029032 Q1405931 Q894172 Q3232990 Q2414415 Q16677994 Q674851 Q357086 Q3535714 Q1588181 Q2625031 Q590397
OR((c(Q838948),P161,Q3161300), (c(Q838948),P161,Q3130587))
action filter_type
action union
action find_reverse
entity Q3161300
relation P161
action find_reverse
entity Q3130587
relation P161
type Q838948
[ANSWERS] have James Neill or Henri Attal as actor
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q3161300'], [{'concept': 'Q838948'}, 'P161', 'Q3130587']]}
SELECT DISTINCT ?d WHERE { { { ?d property:P161 resource:Q3161300 } UNION { ?d property:P161 resource:Q3130587 } } . ?d rdf:type ontology:Q838948 }
Furia à Bahia pour OSS 117 Méfiez-vous Red Margaret, Moonshiner Goodbye Again For a Cop's Hide Trap for the Assassin The Brain My Life to Live Just Before Nightfall Animal The Trouble Buster Backfire Le Corps de mon ennemi The Thousand-Dollar Husband Par Où T'es Rentré? On T'a Pas Vu Sortir Landru Borsalino & Co. The Cry of the Owl Fantômas se déchaîne Brigade antigangs Le Tigre aime la chair fraiche Speaking of Murder Ophelia Story of Women Masks La Zizanie Pillaged Violette Nozière The Unfaithful Wife Nada L'Homme pressé Fantômas Les Misérables Only the Brave Les Biches Arsene Lupin vs. Arsene Lupin Line of Demarcation Wise Guys Safe Conduct Masculin Féminin Faites sauter la banque! Bloodhounds of the North Le Solitaire Le Gang The Under-Gifted Madame Bovary Cop or Hood Girl on the Road Any Number Can Win Le Marginal The Swindle Vice and Virtue Hardi Pardaillan! La Horse La Totale! Innocents with Dirty Hands Pierrot le Fou The Train The Warrens of Virginia Betty La vengeance du serpent à plumes Marie-Chantal contre le docteur Kha Dr. Popaul Bartleby The Vampire of Düsseldorf The Lie The Flower of Evil Fantômas contre Scotland Yard Les Bonnes Femmes The Witness Chicken with Vinegar Discord and Harmony The Medic Male Hunt The Powder Puff Gang La Course à l'échalote The Champagne Murders Pleins feux sur Stanislas A Voice in the Dark Pleasure Party Borsalino The Gorillas Nutty Stop Thief My New Partner Adieu poulet Tout est calme Jo A Woman Is a Woman La Carapate
Line of Demarcation, Girl on the Road, Méfiez-vous, My New Partner, Animal, My Life to Live, Par Où T'es Rentré? On T'a Pas Vu Sortir, Pierrot le Fou, Dr. Popaul and Story of Women have James Neill or Henri Attal as actor
Line of Demarcation Girl on the Road Méfiez-vous My New Partner Animal My Life to Live Par Où T'es Rentré? On T'a Pas Vu Sortir Pierrot le Fou Dr. Popaul Story of Women
action filter_type
action union
action find_reverse
entity James Neill
relation cast member
action find_reverse
entity Henri Attal
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'James Neill'], [{'concept': 'work of art'}, 'cast member', 'Henri Attal']]}
SELECT DISTINCT ?d WHERE { { { ?d property:cast_member resource:James_Neill } UNION { ?d property:cast_member resource:Henri_Attal } } . ?d rdf:type ontology:work_of_art }
[]