Simple Question (Direct)
Simple Question
Q509538
P21
Q290
USER
What is the sex of William Axt ?
(Q509538,P21,c(Q290))
action filter_type
action find
entity Q509538
relation P21
type Q290
['Q509538', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q509538 property:P21 ?u }
William Axt
action filter_type
action find
entity William Axt
relation gender
type sex
['William Axt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:William_Axt property:gender ?u }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q509538,P21,c(Q290))
action filter_type
action find
entity Q509538
relation P21
type Q290
The sex of William Axt is the [ANSWER]
['Q509538', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q509538 property:P21 ?u }
male
The sex of William Axt is the male
male
action filter_type
action find
entity William Axt
relation gender
type sex
['William Axt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:William_Axt property:gender ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q509538
P86
Q838948
USER
What were composed by that person ?
(c(Q838948),P86,Q6581097)
action filter_type
action find_reverse
entity Q509538
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q6581097']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q838948 . ?k property:P86 resource:Q509538 }
William Axt
action filter_type
action find_reverse
entity William Axt
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'male']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:work_of_art . ?k property:composer resource:William_Axt }
[]
work of art
Q745884 Q1198497 Q722648
SYSTEM
Hollywood Party, The Thin Man, Dinner at Eight
Q3907622 Q18636631 Q2091999 Q1758675 Q18636435 Q560006 Q2026605 Q1311962 Q4003209 Q17119493 Q7165158 Q825079 Q5437014 Q2754892 Q3835884 Q3796033 Q1932023 Q185214 Q1236954 Q1214768 Q1724081 Q2414150 Q1618878 Q12126906 Q2006667 Q2592996 Q1753876 Q1336251 Q1688579 Q2547546 Q3645191 Q3793952 Q847042 Q16670860 Q666084 Q946030 Q1142707 Q1132680 Q7156778 Q3549487 Q1217678 Q745884 Q1911365 Q2548546 Q166425 Q1198497 Q7774347 Q7994082 Q7718182 Q17042684 Q1617337 Q7071956 Q4877938 Q176517 Q1271874 Q1972986 Q2025578 Q1602365 Q860764 Q1988100 Q2445729 Q690583 Q3016011 Q728555 Q722648 Q643374 Q1541167 Q375578 Q7598110 Q18636458 Q3233229 Q533902 Q2563560 Q3990072 Q1477051 Q3094006 Q10687421 Q610633 Q916450 Q1251713 Q5706507 Q1656073 Q1469134 Q246656 Q1142045 Q8057001
(c(Q838948),P86,Q6581097)
action filter_type
action find_reverse
entity Q509538
relation P86
type Q838948
[ANSWERS] were composed by that person
[{'concept': 'Q838948'}, 'P86', 'Q6581097']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q838948 . ?k property:P86 resource:Q509538 }
Polly of the Circus Tough Guy Inspiration Bombshell Espionage Anna Christie Operator 13 Storm at Daybreak The Murder Man Woman Wanted Penthouse Madame X Fast and Loose Big City The Unholy Night Old Hutch Midnight Mary Anna Christie Suzy The Mask of Fu Manchu Romance The Secret of Madame Blanche Smilin' Through Piccadilly Jim Possessed Wonder of Women The Girl from Missouri Tarzan and His Mate Their Own Desire Three Loves Has Nancy Broadway to Hollywood Age of Indiscretion Forsaking All Others Pursuit Mata Hari When Ladies Meet Trader Horn Hog Wild Payment Deferred Petticoat Fever Sons of the Desert Hollywood Party Everybody Sing Wanted – A Master Today We Live The Thin Man The Wet Parade Whistling in the Dark The Bishop Murder Case Outcast Lady Hide-Out O'Shaughnessy's Boy Beauty for Sale Reunion in Vienna After the Thin Man Tide of Empire The Viking Susan Lenox A Free Soul West of Zanzibar Death on the Diamond Greed They Go Boom Wild Orchids Dinner at Eight The Single Standard Moby Dick Libeled Lady Stand Up and Fight It's a Great Life Men in White Manhattan Melodrama Blondie of the Follies The Woman Racket Tarzan Finds a Son! Gabriel Over the White House The Masks of the Devil Eskimo West Point Untamed Hell Below The Last of Mrs. Cheyney Tarzan Escapes Grand Hotel Perfect Day You Can't Buy Everything
Hollywood Party, The Thin Man and Dinner at Eight were composed by that person
Hollywood Party The Thin Man Dinner at Eight
action filter_type
action find_reverse
entity William Axt
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'male']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:work_of_art . ?k property:composer resource:William_Axt }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q745884 Q1198497 Q722648
P58
Q502895
USER
Which people wrote the script for those works of art ?
(Q745884,P58,c(Q502895)) (Q1198497,P58,c(Q502895)) (Q722648,P58,c(Q502895))
action filter_type
action find
entity prev_answer
relation P58
type Q502895
['Q745884', 'P58', {'concept': 'Q502895'}] ['Q1198497', 'P58', {'concept': 'Q502895'}] ['Q722648', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?f property:P58 ?j . ?j rdf:type ontology:Q502895 . VALUES ( ?f ) { ( resource:Q3907622 ) ( resource:Q18636631 ) ( resource:Q2091999 ) } }
Hollywood Party The Thin Man Dinner at Eight
action filter_type
action find
entity prev_answer
relation screenwriter
type common name
['Hollywood Party', 'screenwriter', {'concept': 'common name'}] ['The Thin Man', 'screenwriter', {'concept': 'common name'}] ['Dinner at Eight', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?f property:screenwriter ?j . ?j rdf:type ontology:common_name . VALUES ( ?f ) { ( resource:Polly_of_the_Circus ) ( resource:Tough_Guy ) ( resource:Inspiration ) } }
[]
common name
Q508285 Q186335 Q1367568
SYSTEM
Frances Goodrich, Dashiell Hammett, Albert Hackett
Q2865177 Q186335 Q508285 Q1367568 Q463883 Q507861 Q956533
(Q745884,P58,c(Q502895)) (Q1198497,P58,c(Q502895)) (Q722648,P58,c(Q502895))
action filter_type
action find
entity prev_answer
relation P58
type Q502895
[ANSWERS] wrote the script for those works of art
['Q745884', 'P58', {'concept': 'Q502895'}] ['Q1198497', 'P58', {'concept': 'Q502895'}] ['Q722648', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?f property:P58 ?j . ?j rdf:type ontology:Q502895 . VALUES ( ?f ) { ( resource:Q3907622 ) ( resource:Q18636631 ) ( resource:Q2091999 ) } }
Arthur Kober Dashiell Hammett Frances Goodrich Albert Hackett Frances Marion Donald Ogden Stewart Herman J. Mankiewicz
Frances Goodrich, Dashiell Hammett and Albert Hackett wrote the script for those works of art
Frances Goodrich Dashiell Hammett Albert Hackett
action filter_type
action find
entity prev_answer
relation screenwriter
type common name
['Hollywood Party', 'screenwriter', {'concept': 'common name'}] ['The Thin Man', 'screenwriter', {'concept': 'common name'}] ['Dinner at Eight', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?f property:screenwriter ?j . ?j rdf:type ontology:common_name . VALUES ( ?f ) { ( resource:Polly_of_the_Circus ) ( resource:Tough_Guy ) ( resource:Inspiration ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q508285 Q186335 Q1367568
P1411
Q4220917
USER
Which film awards were those people a recipient of ?
(Q508285,P1411,c(Q4220917)) (Q186335,P1411,c(Q4220917)) (Q1367568,P1411,c(Q4220917))
action filter_type
action find
entity prev_answer
relation P1411
type Q4220917
['Q508285', 'P1411', {'concept': 'Q4220917'}] ['Q186335', 'P1411', {'concept': 'Q4220917'}] ['Q1367568', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?w ) { ( resource:Q2865177 ) ( resource:Q186335 ) ( resource:Q508285 ) } . ?w property:P1411 ?r . ?r rdf:type ontology:Q4220917 }
Frances Goodrich Dashiell Hammett Albert Hackett
action filter_type
action find
entity prev_answer
relation nominated for
type film award
['Frances Goodrich', 'nominated for', {'concept': 'film award'}] ['Dashiell Hammett', 'nominated for', {'concept': 'film award'}] ['Albert Hackett', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?w ) { ( resource:Arthur_Kober ) ( resource:Dashiell_Hammett ) ( resource:Frances_Goodrich ) } . ?w property:nominated_for ?r . ?r rdf:type ontology:film_award }
[]
film award
Q107258 Q107258 Q107258
SYSTEM
Academy Award for Best Writing, Adapted Screenplay
Q107258 Q107258 Q107258
(Q508285,P1411,c(Q4220917)) (Q186335,P1411,c(Q4220917)) (Q1367568,P1411,c(Q4220917))
action filter_type
action find
entity prev_answer
relation P1411
type Q4220917
Academy Award for Best Writing, adapted Screenplay, Academy Award for Best Writing, adapted Screenplay and Academy Award for Best Writing, adapted Screenplay were those people a recipient of
['Q508285', 'P1411', {'concept': 'Q4220917'}] ['Q186335', 'P1411', {'concept': 'Q4220917'}] ['Q1367568', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?w ) { ( resource:Q2865177 ) ( resource:Q186335 ) ( resource:Q508285 ) } . ?w property:P1411 ?r . ?r rdf:type ontology:Q4220917 }
Academy Award for Best Writing, Adapted Screenplay Academy Award for Best Writing, Adapted Screenplay Academy Award for Best Writing, Adapted Screenplay
Academy Award for Best Writing, adapted Screenplay, Academy Award for Best Writing, adapted Screenplay and Academy Award for Best Writing, adapted Screenplay were those people a recipient of
Academy Award for Best Writing, Adapted Screenplay Academy Award for Best Writing, Adapted Screenplay Academy Award for Best Writing, Adapted Screenplay
action filter_type
action find
entity prev_answer
relation nominated for
type film award
['Frances Goodrich', 'nominated for', {'concept': 'film award'}] ['Dashiell Hammett', 'nominated for', {'concept': 'film award'}] ['Albert Hackett', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?w ) { ( resource:Arthur_Kober ) ( resource:Dashiell_Hammett ) ( resource:Frances_Goodrich ) } . ?w property:nominated_for ?r . ?r rdf:type ontology:film_award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q186335
P50
Q2342494
USER
Which collectables have Dashiell Hammett as their author ?
(c(Q2342494),P50,Q186335)
action filter_type
action find_reverse
entity Q186335
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q186335']
SELECT DISTINCT ?h WHERE { ?h property:P50 resource:Q186335 . ?h rdf:type ontology:Q2342494 }
Dashiell Hammett
action filter_type
action find_reverse
entity Dashiell Hammett
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Dashiell Hammett']
SELECT DISTINCT ?h WHERE { ?h property:author resource:Dashiell_Hammett . ?h rdf:type ontology:collectable }
[]
collectable
Q870551 Q1935469 Q1193455
SYSTEM
The Maltese Falcon, Red Harvest, The Dain Curse
Q6035197 Q16251893 Q870551 Q1935469 Q1193455
(c(Q2342494),P50,Q186335)
action filter_type
action find_reverse
entity Q186335
relation P50
type Q2342494
[ANSWERS] have Dashiell Hammett as their author
[{'concept': 'Q2342494'}, 'P50', 'Q186335']
SELECT DISTINCT ?h WHERE { ?h property:P50 resource:Q186335 . ?h rdf:type ontology:Q2342494 }
The Glass Key The Gutting of Couffignal The Maltese Falcon Red Harvest The Dain Curse
The Maltese Falcon, Red Harvest and The Dain Curse have Dashiell Hammett as their author
The Maltese Falcon Red Harvest The Dain Curse
action filter_type
action find_reverse
entity Dashiell Hammett
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Dashiell Hammett']
SELECT DISTINCT ?h WHERE { ?h property:author resource:Dashiell_Hammett . ?h rdf:type ontology:collectable }
[]
Clarification
Simple Question|Single Entity|Indirect
Q870551
P364
Q34770
USER
Which language was used originally for the creation of that collectable ?
(Q870551,P364,c(Q34770))
action filter_type
action find
entity Q870551
relation P364
type Q34770
['Q870551', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q870551 property:P364 ?e . ?e rdf:type ontology:Q34770 }
The Maltese Falcon
action filter_type
action find
entity The Maltese Falcon
relation original language of work
type language
['The Maltese Falcon', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:The_Maltese_Falcon property:original_language_of_work ?e . ?e rdf:type ontology:language }
[]
language
Clarification for simple ques.
Q1935469
SYSTEM
Did you mean Red Harvest ?
Q870551 Q1935469 Q1193455
(Q870551,P364,c(Q34770)) (Q1935469,P364,c(Q34770)) (Q1193455,P364,c(Q34770))
[ANSWER]
['Q870551', 'P364', {'concept': 'Q34770'}] ['Q1935469', 'P364', {'concept': 'Q34770'}] ['Q1193455', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q870551 property:P364 ?e . ?e rdf:type ontology:Q34770 }
The Maltese Falcon Red Harvest The Dain Curse
Did you mean Red Harvest ?
Red Harvest
['The Maltese Falcon', 'original language of work', {'concept': 'language'}] ['Red Harvest', 'original language of work', {'concept': 'language'}] ['The Dain Curse', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:The_Maltese_Falcon property:original_language_of_work ?e . ?e rdf:type ontology:language }
[]
Simple Question (Coreferenced)
USER
No, I meant The Maltese Falcon. Could you tell me the answer for that?
(Q870551,P364,c(Q34770))
Q870551
['Q870551', 'P364', {'concept': 'Q34770'}]
['The Maltese Falcon', 'original language of work', {'concept': 'language'}]
[]
Q1860
SYSTEM
English
Q1860
(Q870551,P364,c(Q34770))
action filter_type
action find
entity Q870551
relation P364
type Q34770
[ANSWER] was used originally for the creation of that collectable
['Q870551', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q870551 property:P364 ?e . ?e rdf:type ontology:Q34770 }
English
English was used originally for the creation of that collectable
English
action filter_type
action find
entity The Maltese Falcon
relation original language of work
type language
['The Maltese Falcon', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:The_Maltese_Falcon property:original_language_of_work ?e . ?e rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1860 Q5329170 Q2511254
P361
Q5962346
USER
Is that language a component of Anglo-Frisian languages and Yolŋu languages ?
(Q1860,P361,Q5329170) (Q1860,P361,Q2511254)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q5329170
relation P361
action find_reverse
entity Q2511254
relation P361
['Q1860', 'P361', 'Q5329170'] ['Q1860', 'P361', 'Q2511254']
ASK WHERE { resource:Q1860 property:P361 resource:Q2511254 . resource:Q1860 property:P361 resource:Q5329170 }
English Anglo-Frisian languages Yolŋu languages
action is_in
entity English
action intersection
action find_reverse
entity Anglo-Frisian languages
relation part of
action find_reverse
entity Yolŋu languages
relation part of
['English', 'part of', 'Anglo-Frisian languages'] ['English', 'part of', 'Yolŋu languages']
ASK WHERE { resource:English property:part_of resource:Yolŋu_languages . resource:English property:part_of resource:Anglo-Frisian_languages }
[]
classification scheme
SYSTEM
YES and NO respectively
(Q1860,P361,Q5329170) (Q1860,P361,Q2511254)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q5329170
relation P361
action find_reverse
entity Q2511254
relation P361
[ANSWER]
['Q1860', 'P361', 'Q5329170'] ['Q1860', 'P361', 'Q2511254']
ASK WHERE { resource:Q1860 property:P361 resource:Q2511254 . resource:Q1860 property:P361 resource:Q5329170 }
YES and NO respectively
action is_in
entity English
action intersection
action find_reverse
entity Anglo-Frisian languages
relation part of
action find_reverse
entity Yolŋu languages
relation part of
['English', 'part of', 'Anglo-Frisian languages'] ['English', 'part of', 'Yolŋu languages']
ASK WHERE { resource:English property:part_of resource:Yolŋu_languages . resource:English property:part_of resource:Anglo-Frisian_languages }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2959251
P162
Q838948
USER
Which works of art have been produced by C. Graham Baker ?
(c(Q838948),P162,Q2959251)
action filter_type
action find_reverse
entity Q2959251
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q2959251']
SELECT DISTINCT ?y WHERE { ?y property:P162 resource:Q2959251 . ?y rdf:type ontology:Q838948 }
C. Graham Baker
action filter_type
action find_reverse
entity C. Graham Baker
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'C. Graham Baker']
SELECT DISTINCT ?y WHERE { ?y property:producer resource:C._Graham_Baker . ?y rdf:type ontology:work_of_art }
[]
work of art
Q7912370 Q7658871 Q6650905
SYSTEM
Valley of the Sun, Swiss Family Robinson, Little Men
Q7658871 Q7912370 Q7815085 Q6650905
(c(Q838948),P162,Q2959251)
action filter_type
action find_reverse
entity Q2959251
relation P162
type Q838948
The [ANSWERS] have been produced by C. Graham Baker
[{'concept': 'Q838948'}, 'P162', 'Q2959251']
SELECT DISTINCT ?y WHERE { ?y property:P162 resource:Q2959251 . ?y rdf:type ontology:Q838948 }
Swiss Family Robinson Valley of the Sun Tom Brown's School Days Little Men
The Valley of the Sun, Swiss Family Robinson and Little Men have been produced by C. Graham Baker
Valley of the Sun Swiss Family Robinson Little Men
action filter_type
action find_reverse
entity C. Graham Baker
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'C. Graham Baker']
SELECT DISTINCT ?y WHERE { ?y property:producer resource:C._Graham_Baker . ?y rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2959251
P20
Q486972
USER
Where did C. Graham Baker die ?
(Q2959251,P20,c(Q486972))
action filter_type
action find
entity Q2959251
relation P20
type Q486972
['Q2959251', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?c WHERE { resource:Q2959251 property:P20 ?c . ?c rdf:type ontology:Q486972 }
C. Graham Baker
action filter_type
action find
entity C. Graham Baker
relation place of death
type human settlement
['C. Graham Baker', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?c WHERE { resource:C._Graham_Baker property:place_of_death ?c . ?c rdf:type ontology:human_settlement }
[]
human settlement
Q7315195
SYSTEM
Reseda
Q7315195
(Q2959251,P20,c(Q486972))
action filter_type
action find
entity Q2959251
relation P20
type Q486972
C. did [ANSWER]
['Q2959251', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?c WHERE { resource:Q2959251 property:P20 ?c . ?c rdf:type ontology:Q486972 }
Reseda
C. did Reseda
Reseda
action filter_type
action find
entity C. Graham Baker
relation place of death
type human settlement
['C. Graham Baker', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?c WHERE { resource:C._Graham_Baker property:place_of_death ?c . ?c rdf:type ontology:human_settlement }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21524310
Q486972
USER
And also tell me about Howard Newton Porter?
(Q21524310,P20,c(Q486972))
action filter_type
action find
entity Q21524310
relation P20
type Q486972
['Q21524310', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?q WHERE { resource:Q21524310 property:P20 ?q . ?q rdf:type ontology:Q486972 }
Howard Newton Porter
action filter_type
action find
entity Howard Newton Porter
relation place of death
type human settlement
['Howard Newton Porter', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?q WHERE { resource:Howard_Newton_Porter property:place_of_death ?q . ?q rdf:type ontology:human_settlement }
[]
human settlement
Q2059134
SYSTEM
Yarmouth
Q2059134
(Q21524310,P20,c(Q486972))
action filter_type
action find
entity Q21524310
relation P20
type Q486972
[ANSWER]
['Q21524310', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?q WHERE { resource:Q21524310 property:P20 ?q . ?q rdf:type ontology:Q486972 }
Yarmouth
Yarmouth
action filter_type
action find
entity Howard Newton Porter
relation place of death
type human settlement
['Howard Newton Porter', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?q WHERE { resource:Howard_Newton_Porter property:place_of_death ?q . ?q rdf:type ontology:human_settlement }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1459393 Q1198497
P161 P138
Q502895
USER
Which people starred in The Thin Man or are namesakes of S.M.Kirov Military Medical Academy ?
OR((Q1198497,P161,c(Q502895)), (Q1459393,P138,c(Q502895)))
action filter_type
action union
action find
entity Q1198497
relation P161
action find
entity Q1459393
relation P138
type Q502895
{'OR': [['Q1198497', 'P161', {'concept': 'Q502895'}], ['Q1459393', 'P138', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q1198497 property:P161 ?b } UNION { resource:Q1459393 property:P138 ?b } } . ?b rdf:type ontology:Q502895 }
S.M.Kirov Military Medical Academy The Thin Man
action filter_type
action union
action find
entity The Thin Man
relation cast member
action find
entity S.M.Kirov Military Medical Academy
relation named after
type common name
{'OR': [['The Thin Man', 'cast member', {'concept': 'common name'}], ['S.M.Kirov Military Medical Academy', 'named after', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:The_Thin_Man property:cast_member ?b } UNION { resource:S.M.Kirov_Military_Medical_Academy property:named_after ?b } } . ?b rdf:type ontology:common_name }
[]
common name
Q2579176 Q1383202 Q3399241 Q443585 Q2960453 Q1793030 Q105941 Q6819212 Q3048506 Q105960
SYSTEM
Some of them are William "Bill" Henry, Leo White, Porter Hall, Cesar Romero, Charles Williams, Natalie Moorhead, Myrna Loy, Skippy, Edward Ellis, William Powell
Q1288004 Q987741 Q1754382 Q2579176 Q7360827 Q105960 Q6819212 Q1383202 Q230084 Q3368537 Q529489 Q207682 Q105941 Q443585 Q2960453 Q3399241 Q1793030 Q427316 Q3127612 Q3048506
OR((Q1198497,P161,c(Q502895)), (Q1459393,P138,c(Q502895)))
action filter_type
action union
action find
entity Q1198497
relation P161
action find
entity Q1459393
relation P138
type Q502895
[ANSWERS] starred in The Thin Man or are namesakes of S.M.Kirov Military Medical Academy
{'OR': [['Q1198497', 'P161', {'concept': 'Q502895'}], ['Q1459393', 'P138', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q1198497 property:P161 ?b } UNION { resource:Q1459393 property:P138 ?b } } . ?b rdf:type ontology:Q502895 }
Nat Pendleton Edward Brophy Creighton Hale William "Bill" Henry Rolfe Sedan William Powell Skippy Leo White Maureen O'Sullivan Pat Flaherty Minna Gombell Sergey Kirov Myrna Loy Cesar Romero Charles Williams Porter Hall Natalie Moorhead William Henry Harold Huber Edward Ellis
William "Bill" Henry, Leo White, Porter Hall, Cesar Romero, Charles Williams, Natalie Moorhead, Myrna Loy, Skippy, Edward Ellis and William Powell starred in The Thin Man or are namesakes of S.M.Kirov Military Medical Academy
William "Bill" Henry Leo White Porter Hall Cesar Romero Charles Williams Natalie Moorhead Myrna Loy Skippy Edward Ellis William Powell
action filter_type
action union
action find
entity The Thin Man
relation cast member
action find
entity S.M.Kirov Military Medical Academy
relation named after
type common name
{'OR': [['The Thin Man', 'cast member', {'concept': 'common name'}], ['S.M.Kirov Military Medical Academy', 'named after', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:The_Thin_Man property:cast_member ?b } UNION { resource:S.M.Kirov_Military_Medical_Academy property:named_after ?b } } . ?b rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q6819212
P161 P364
Q838948
USER
Which works of art have Skippy as actor and are known to be originally created in English language ?
AND((c(Q838948),P161,Q6819212), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q6819212
relation P161
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q6819212'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?c WHERE { ?c property:P161 resource:Q6819212 . ?c property:P364 resource:Q1860 . ?c rdf:type ontology:Q838948 }
English Skippy
action filter_type
action intersection
action find_reverse
entity Skippy
relation cast member
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Skippy'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?c WHERE { ?c property:cast_member resource:Skippy . ?c property:original_language_of_work resource:English . ?c rdf:type ontology:work_of_art }
[]
work of art
Q179743 Q1198497 Q1271867
SYSTEM
Bringing Up Baby, The Thin Man, Another Thin Man
Q179743 Q1198497 Q1271867
AND((c(Q838948),P161,Q6819212), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q6819212
relation P161
action find_reverse
entity Q1860
relation P364
type Q838948
[ANSWERS] have Skippy as actor and are known to be originally created in English language
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q6819212'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?c WHERE { ?c property:P161 resource:Q6819212 . ?c property:P364 resource:Q1860 . ?c rdf:type ontology:Q838948 }
Bringing Up Baby The Thin Man Another Thin Man
Bringing Up Baby, The Thin Man and Another Thin Man have Skippy as actor and are known to be originally created in English language
Bringing Up Baby The Thin Man Another Thin Man
action filter_type
action intersection
action find_reverse
entity Skippy
relation cast member
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Skippy'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?c WHERE { ?c property:cast_member resource:Skippy . ?c property:original_language_of_work resource:English . ?c rdf:type ontology:work_of_art }
[]