Simple Question (Direct)
Simple Question
Q10687421
P161
Q502895
USER
Which people are in The Masks of the Devil ?
(Q10687421,P161,c(Q502895))
action filter_type
action find
entity Q10687421
relation P161
type Q502895
['Q10687421', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q10687421 property:P161 ?i . ?i rdf:type ontology:Q502895 }
The Masks of the Devil
action filter_type
action find
entity The Masks of the Devil
relation cast member
type common name
['The Masks of the Devil', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:The_Masks_of_the_Devil property:cast_member ?i . ?i rdf:type ontology:common_name }
[]
common name
Q503956 Q1307857 Q450981
SYSTEM
John Gilbert, Frank Reicher, Alma Rubens
Q1384458 Q503956 Q3395384 Q3059263 Q3418251 Q1307857 Q450981
(Q10687421,P161,c(Q502895))
action filter_type
action find
entity Q10687421
relation P161
type Q502895
[ANSWERS] are in The Masks of the Devil
['Q10687421', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q10687421 property:P161 ?i . ?i rdf:type ontology:Q502895 }
Theodore Roberts John Gilbert Polly Ann Young Ethel Wales Ralph Forbes Frank Reicher Alma Rubens
John Gilbert, Frank Reicher and Alma Rubens are in The Masks of the Devil
John Gilbert Frank Reicher Alma Rubens
action filter_type
action find
entity The Masks of the Devil
relation cast member
type common name
['The Masks of the Devil', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:The_Masks_of_the_Devil property:cast_member ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10687421
P136
Q1792379
USER
What can be considered as category for The Masks of the Devil ?
(Q10687421,P136,c(Q1792379))
action filter_type
action find
entity Q10687421
relation P136
type Q1792379
['Q10687421', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?p WHERE { resource:Q10687421 property:P136 ?p . ?p rdf:type ontology:Q1792379 }
The Masks of the Devil
action filter_type
action find
entity The Masks of the Devil
relation genre
type art genre
['The Masks of the Devil', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?p WHERE { resource:The_Masks_of_the_Devil property:genre ?p . ?p rdf:type ontology:art_genre }
[]
art genre
Q130232
SYSTEM
drama film
Q130232
(Q10687421,P136,c(Q1792379))
action filter_type
action find
entity Q10687421
relation P136
type Q1792379
The [ANSWER] can be considered as category for The Masks of the Devil
['Q10687421', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?p WHERE { resource:Q10687421 property:P136 ?p . ?p rdf:type ontology:Q1792379 }
drama film
The drama film can be considered as category for The Masks of the Devil
drama film
action filter_type
action find
entity The Masks of the Devil
relation genre
type art genre
['The Masks of the Devil', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?p WHERE { resource:The_Masks_of_the_Devil property:genre ?p . ?p rdf:type ontology:art_genre }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q28941 Q503956
P58
Q201658
USER
Which film genres are John Gilbert or Frank Lloyd a screenwriter of ?
OR((c(Q201658),P58,Q503956), (c(Q201658),P58,Q28941))
action filter_type
action union
action find_reverse
entity Q503956
relation P58
action find_reverse
entity Q28941
relation P58
type Q201658
{'OR': [[{'concept': 'Q201658'}, 'P58', 'Q503956'], [{'concept': 'Q201658'}, 'P58', 'Q28941']]}
SELECT DISTINCT ?q WHERE { { { ?q property:P58 resource:Q503956 } UNION { ?q property:P58 resource:Q28941 } } . ?q rdf:type ontology:Q201658 }
Frank Lloyd John Gilbert
action filter_type
action union
action find_reverse
entity John Gilbert
relation screenwriter
action find_reverse
entity Frank Lloyd
relation screenwriter
type film genre
{'OR': [[{'concept': 'film genre'}, 'screenwriter', 'John Gilbert'], [{'concept': 'film genre'}, 'screenwriter', 'Frank Lloyd']]}
SELECT DISTINCT ?q WHERE { { { ?q property:screenwriter resource:John_Gilbert } UNION { ?q property:screenwriter resource:Frank_Lloyd } } . ?q rdf:type ontology:film_genre }
[]
film genre
Q18636635 Q6424978 Q7715351 Q2265019 Q3017202 Q4804886 Q3987505 Q3640746 Q15973333
SYSTEM
A Tale of Two Cities, The Great Redeemer, The Bait, Oliver Twist, Madame X, Ashes of Vengeance, The Heart of a Lion, Black Oxen, Deep Waters
Q18636635 Q6424978 Q7715351 Q2265019 Q3017202 Q4804886 Q3987505 Q3640746 Q15973333
OR((c(Q201658),P58,Q503956), (c(Q201658),P58,Q28941))
action filter_type
action union
action find_reverse
entity Q503956
relation P58
action find_reverse
entity Q28941
relation P58
type Q201658
[ANSWERS] are John Gilbert or Frank Lloyd a screenwriter of
{'OR': [[{'concept': 'Q201658'}, 'P58', 'Q503956'], [{'concept': 'Q201658'}, 'P58', 'Q28941']]}
SELECT DISTINCT ?q WHERE { { { ?q property:P58 resource:Q503956 } UNION { ?q property:P58 resource:Q28941 } } . ?q rdf:type ontology:Q201658 }
A Tale of Two Cities The Great Redeemer The Bait Oliver Twist Madame X Ashes of Vengeance The Heart of a Lion Black Oxen Deep Waters
A Tale of Two Cities, The Great Redeemer, The Bait, Oliver Twist, Madame X, Ashes of Vengeance, The Heart of a Lion, Black Oxen and Deep Waters are John Gilbert or Frank Lloyd a screenwriter of
A Tale of Two Cities The Great Redeemer The Bait Oliver Twist Madame X Ashes of Vengeance The Heart of a Lion Black Oxen Deep Waters
action filter_type
action union
action find_reverse
entity John Gilbert
relation screenwriter
action find_reverse
entity Frank Lloyd
relation screenwriter
type film genre
{'OR': [[{'concept': 'film genre'}, 'screenwriter', 'John Gilbert'], [{'concept': 'film genre'}, 'screenwriter', 'Frank Lloyd']]}
SELECT DISTINCT ?q WHERE { { { ?q property:screenwriter resource:John_Gilbert } UNION { ?q property:screenwriter resource:Frank_Lloyd } } . ?q rdf:type ontology:film_genre }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q18636635 Q6424978 Q7715351 Q2265019 Q3017202 Q4804886 Q3987505 Q3640746 Q15973333
P57
Q502895
USER
Which people served as the directed of A Tale of Two Cities, The Great Redeemer, The Bait, Oliver Twist, Madame X, Ashes of Vengeance, The Heart of a Lion, Black Oxen and Deep Waters ?
(Q18636635,P57,c(Q502895)) (Q6424978,P57,c(Q502895)) (Q7715351,P57,c(Q502895)) (Q2265019,P57,c(Q502895)) (Q3017202,P57,c(Q502895)) (Q4804886,P57,c(Q502895)) (Q3987505,P57,c(Q502895)) (Q3640746,P57,c(Q502895)) (Q15973333,P57,c(Q502895))
action union
action filter_type
action find
entity Q18636635
relation P57
type Q502895
action filter_type
action find
entity Q6424978
relation P57
type Q502895
action filter_type
action find
entity Q7715351
relation P57
type Q502895
action filter_type
action find
entity Q2265019
relation P57
type Q502895
action filter_type
action find
entity Q3017202
relation P57
type Q502895
action filter_type
action find
entity Q4804886
relation P57
type Q502895
action filter_type
action find
entity Q3987505
relation P57
type Q502895
action filter_type
action find
entity Q3640746
relation P57
type Q502895
action filter_type
action find
entity Q15973333
relation P57
type Q502895
['Q18636635', 'P57', {'concept': 'Q502895'}] ['Q6424978', 'P57', {'concept': 'Q502895'}] ['Q7715351', 'P57', {'concept': 'Q502895'}] ['Q2265019', 'P57', {'concept': 'Q502895'}] ['Q3017202', 'P57', {'concept': 'Q502895'}] ['Q4804886', 'P57', {'concept': 'Q502895'}] ['Q3987505', 'P57', {'concept': 'Q502895'}] ['Q3640746', 'P57', {'concept': 'Q502895'}] ['Q15973333', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { resource:Q18636635 property:P57 ?y . ?y rdf:type ontology:Q502895 } UNION { resource:Q6424978 property:P57 ?y . ?y rdf:type ontology:Q502895 } }
A Tale of Two Cities The Great Redeemer The Bait Oliver Twist Madame X Ashes of Vengeance The Heart of a Lion Black Oxen Deep Waters
action union
action filter_type
action find
entity A Tale of Two Cities
relation director
type common name
action filter_type
action find
entity The Great Redeemer
relation director
type common name
action filter_type
action find
entity The Bait
relation director
type common name
action filter_type
action find
entity Oliver Twist
relation director
type common name
action filter_type
action find
entity Madame X
relation director
type common name
action filter_type
action find
entity Ashes of Vengeance
relation director
type common name
action filter_type
action find
entity The Heart of a Lion
relation director
type common name
action filter_type
action find
entity Black Oxen
relation director
type common name
action filter_type
action find
entity Deep Waters
relation director
type common name
['A Tale of Two Cities', 'director', {'concept': 'common name'}] ['The Great Redeemer', 'director', {'concept': 'common name'}] ['The Bait', 'director', {'concept': 'common name'}] ['Oliver Twist', 'director', {'concept': 'common name'}] ['Madame X', 'director', {'concept': 'common name'}] ['Ashes of Vengeance', 'director', {'concept': 'common name'}] ['The Heart of a Lion', 'director', {'concept': 'common name'}] ['Black Oxen', 'director', {'concept': 'common name'}] ['Deep Waters', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { resource:A_Tale_of_Two_Cities property:director ?y . ?y rdf:type ontology:common_name } UNION { resource:The_Great_Redeemer property:director ?y . ?y rdf:type ontology:common_name } }
[]
common name
Q435029 Q28941 Q28941
SYSTEM
Clarence Brown for 1st, Frank Lloyd for 2nd, 3rd
Q28941 Q435029 Q1523434 Q1523434 Q28941 Q28941 Q28941 Q28941 Q28941 Q1523434
(Q18636635,P57,c(Q502895)) (Q6424978,P57,c(Q502895)) (Q7715351,P57,c(Q502895)) (Q2265019,P57,c(Q502895)) (Q3017202,P57,c(Q502895)) (Q4804886,P57,c(Q502895)) (Q3987505,P57,c(Q502895)) (Q3640746,P57,c(Q502895)) (Q15973333,P57,c(Q502895))
action union
action filter_type
action find
entity Q18636635
relation P57
type Q502895
action filter_type
action find
entity Q6424978
relation P57
type Q502895
action filter_type
action find
entity Q7715351
relation P57
type Q502895
action filter_type
action find
entity Q2265019
relation P57
type Q502895
action filter_type
action find
entity Q3017202
relation P57
type Q502895
action filter_type
action find
entity Q4804886
relation P57
type Q502895
action filter_type
action find
entity Q3987505
relation P57
type Q502895
action filter_type
action find
entity Q3640746
relation P57
type Q502895
action filter_type
action find
entity Q15973333
relation P57
type Q502895
[ANSWERS]
['Q18636635', 'P57', {'concept': 'Q502895'}] ['Q6424978', 'P57', {'concept': 'Q502895'}] ['Q7715351', 'P57', {'concept': 'Q502895'}] ['Q2265019', 'P57', {'concept': 'Q502895'}] ['Q3017202', 'P57', {'concept': 'Q502895'}] ['Q4804886', 'P57', {'concept': 'Q502895'}] ['Q3987505', 'P57', {'concept': 'Q502895'}] ['Q3640746', 'P57', {'concept': 'Q502895'}] ['Q15973333', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { resource:Q18636635 property:P57 ?y . ?y rdf:type ontology:Q502895 } UNION { resource:Q6424978 property:P57 ?y . ?y rdf:type ontology:Q502895 } }
Frank Lloyd Clarence Brown Maurice Tourneur Maurice Tourneur Frank Lloyd Frank Lloyd Frank Lloyd Frank Lloyd Frank Lloyd Maurice Tourneur
Clarence Brown, Frank Lloyd and Frank Lloyd served as the directed of A Tale of Two Cities, The Great Redeemer, The Bait, Oliver Twist, Madame X, Ashes of Vengeance, The Heart of a Lion, Black Oxen and Deep Waters
Clarence Brown Frank Lloyd Frank Lloyd
action union
action filter_type
action find
entity A Tale of Two Cities
relation director
type common name
action filter_type
action find
entity The Great Redeemer
relation director
type common name
action filter_type
action find
entity The Bait
relation director
type common name
action filter_type
action find
entity Oliver Twist
relation director
type common name
action filter_type
action find
entity Madame X
relation director
type common name
action filter_type
action find
entity Ashes of Vengeance
relation director
type common name
action filter_type
action find
entity The Heart of a Lion
relation director
type common name
action filter_type
action find
entity Black Oxen
relation director
type common name
action filter_type
action find
entity Deep Waters
relation director
type common name
['A Tale of Two Cities', 'director', {'concept': 'common name'}] ['The Great Redeemer', 'director', {'concept': 'common name'}] ['The Bait', 'director', {'concept': 'common name'}] ['Oliver Twist', 'director', {'concept': 'common name'}] ['Madame X', 'director', {'concept': 'common name'}] ['Ashes of Vengeance', 'director', {'concept': 'common name'}] ['The Heart of a Lion', 'director', {'concept': 'common name'}] ['Black Oxen', 'director', {'concept': 'common name'}] ['Deep Waters', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { resource:A_Tale_of_Two_Cities property:director ?y . ?y rdf:type ontology:common_name } UNION { resource:The_Great_Redeemer property:director ?y . ?y rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q503956
P26
Q502895
USER
Who are the spouse of John Gilbert ?
(c(Q502895),P26,Q503956)
action filter_type
action find
entity Q503956
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q503956']
SELECT DISTINCT ?d WHERE { resource:Q503956 property:P26 ?d . ?d rdf:type ontology:Q502895 }
John Gilbert
action filter_type
action find
entity John Gilbert
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'John Gilbert']
SELECT DISTINCT ?d WHERE { resource:John_Gilbert property:spouse ?d . ?d rdf:type ontology:common_name }
[]
common name
Q447559 Q242462 Q445333
SYSTEM
Ina Claire, Virginia Bruce, Leatrice Joy
Q447559 Q242462 Q445333
(c(Q502895),P26,Q503956)
action filter_type
action find
entity Q503956
relation P26
type Q502895
The spouse of John Gilbert are the [ANSWERS]
[{'concept': 'Q502895'}, 'P26', 'Q503956']
SELECT DISTINCT ?d WHERE { resource:Q503956 property:P26 ?d . ?d rdf:type ontology:Q502895 }
Ina Claire Virginia Bruce Leatrice Joy
The spouse of John Gilbert are the Ina Claire, Virginia Bruce and Leatrice Joy
Ina Claire Virginia Bruce Leatrice Joy
action filter_type
action find
entity John Gilbert
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'John Gilbert']
SELECT DISTINCT ?d WHERE { resource:John_Gilbert property:spouse ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q447559 Q242462 Q445333
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Ina Claire, Virginia Bruce and Leatrice Joy ?
(Q447559,P27,c(Q15617994)) (Q242462,P27,c(Q15617994)) (Q445333,P27,c(Q15617994))
action union
action filter_type
action find
entity Q447559
relation P27
type Q15617994
action filter_type
action find
entity Q242462
relation P27
type Q15617994
action filter_type
action find
entity Q445333
relation P27
type Q15617994
['Q447559', 'P27', {'concept': 'Q15617994'}] ['Q242462', 'P27', {'concept': 'Q15617994'}] ['Q445333', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { resource:Q447559 property:P27 ?q . ?q rdf:type ontology:Q15617994 } UNION { resource:Q242462 property:P27 ?q . ?q rdf:type ontology:Q15617994 } }
Ina Claire Virginia Bruce Leatrice Joy
action union
action filter_type
action find
entity Ina Claire
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Virginia Bruce
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Leatrice Joy
relation country of citizenship
type designation for an administrative territorial entity
['Ina Claire', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Virginia Bruce', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Leatrice Joy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { resource:Ina_Claire property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Virginia_Bruce property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q30 Q30 Q30
SYSTEM
United States of America
Q30 Q30 Q30
(Q447559,P27,c(Q15617994)) (Q242462,P27,c(Q15617994)) (Q445333,P27,c(Q15617994))
action union
action filter_type
action find
entity Q447559
relation P27
type Q15617994
action filter_type
action find
entity Q242462
relation P27
type Q15617994
action filter_type
action find
entity Q445333
relation P27
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are the countries of citizenship of Ina Claire, Virginia Bruce and Leatrice Joy
['Q447559', 'P27', {'concept': 'Q15617994'}] ['Q242462', 'P27', {'concept': 'Q15617994'}] ['Q445333', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { resource:Q447559 property:P27 ?q . ?q rdf:type ontology:Q15617994 } UNION { resource:Q242462 property:P27 ?q . ?q rdf:type ontology:Q15617994 } }
United States of America United States of America United States of America
United States of America, United States of America and United States of America are the countries of citizenship of Ina Claire, Virginia Bruce and Leatrice Joy
United States of America United States of America United States of America
action union
action filter_type
action find
entity Ina Claire
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Virginia Bruce
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Leatrice Joy
relation country of citizenship
type designation for an administrative territorial entity
['Ina Claire', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Virginia Bruce', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Leatrice Joy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { resource:Ina_Claire property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Virginia_Bruce property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q447559
P509
Q2057971
USER
What caused the death of Ina Claire ?
(Q447559,P509,c(Q2057971))
action filter_type
action find
entity Q447559
relation P509
type Q2057971
['Q447559', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?r WHERE { resource:Q447559 property:P509 ?r . ?r rdf:type ontology:Q2057971 }
Ina Claire
action filter_type
action find
entity Ina Claire
relation cause of death
type health problem
['Ina Claire', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?r WHERE { resource:Ina_Claire property:cause_of_death ?r . ?r rdf:type ontology:health_problem }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q447559,P509,c(Q2057971))
action filter_type
action find
entity Q447559
relation P509
type Q2057971
[ANSWER] caused the death of Ina Claire
['Q447559', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?r WHERE { resource:Q447559 property:P509 ?r . ?r rdf:type ontology:Q2057971 }
myocardial infarction
Myocardial infarction caused the death of Ina Claire
myocardial infarction
action filter_type
action find
entity Ina Claire
relation cause of death
type health problem
['Ina Claire', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?r WHERE { resource:Ina_Claire property:cause_of_death ?r . ?r rdf:type ontology:health_problem }
[]