Simple Question (Direct)
Simple Question
Q2058759
P161
Q502895
USER
Which people were casted in Dangerous When Wet ?
(Q2058759,P161,c(Q502895))
action filter_type
action find
entity Q2058759
relation P161
type Q502895
['Q2058759', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q2058759 property:P161 ?g . ?g rdf:type ontology:Q502895 }
Dangerous When Wet
action filter_type
action find
entity Dangerous When Wet
relation cast member
type common name
['Dangerous When Wet', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Dangerous_When_Wet property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
common name
Q42745 Q212048 Q1395104
SYSTEM
Rita Hayworth, Glenn Ford, William Demarest
Q232395 Q23615571 Q42745 Q1395104 Q450927 Q1393256 Q1146217 Q3179007 Q3430461 Q212048 Q2960984 Q355781
(Q2058759,P161,c(Q502895))
action filter_type
action find
entity Q2058759
relation P161
type Q502895
[ANSWERS] were casted in Dangerous When Wet
['Q2058759', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q2058759 property:P161 ?g . ?g rdf:type ontology:Q502895 }
Esther Williams Henri Letondal Rita Hayworth William Demarest Denise Darcel Jack Carson Fernando Lamas Jimmy Aubrey Richard Alexander Glenn Ford Charlotte Greenwood George Macready
Rita Hayworth, Glenn Ford and William Demarest were casted in Dangerous When Wet
Rita Hayworth Glenn Ford William Demarest
action filter_type
action find
entity Dangerous When Wet
relation cast member
type common name
['Dangerous When Wet', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Dangerous_When_Wet property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q42745 Q212048 Q1395104
P1196
Q1931388
USER
What situation did Rita Hayworth, Glenn Ford and William Demarest die in ?
(Q42745,P1196,c(Q1931388)) (Q212048,P1196,c(Q1931388)) (Q1395104,P1196,c(Q1931388))
action union
action filter_type
action find
entity Q42745
relation P1196
type Q1931388
action filter_type
action find
entity Q212048
relation P1196
type Q1931388
action filter_type
action find
entity Q1395104
relation P1196
type Q1931388
['Q42745', 'P1196', {'concept': 'Q1931388'}] ['Q212048', 'P1196', {'concept': 'Q1931388'}] ['Q1395104', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?u ) { ( resource:Q212048 ) ( resource:Q42745 ) } . ?u property:P1196 ?s }
Rita Hayworth Glenn Ford William Demarest
action union
action filter_type
action find
entity Rita Hayworth
relation manner of death
type cause of death
action filter_type
action find
entity Glenn Ford
relation manner of death
type cause of death
action filter_type
action find
entity William Demarest
relation manner of death
type cause of death
['Rita Hayworth', 'manner of death', {'concept': 'cause of death'}] ['Glenn Ford', 'manner of death', {'concept': 'cause of death'}] ['William Demarest', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?u ) { ( resource:Glenn_Ford ) ( resource:Rita_Hayworth ) } . ?u property:manner_of_death ?s }
[]
cause of death
Q3739104 Q3739104 Q3739104
SYSTEM
natural causes
Q3739104 Q3739104 Q3739104
(Q42745,P1196,c(Q1931388)) (Q212048,P1196,c(Q1931388)) (Q1395104,P1196,c(Q1931388))
action union
action filter_type
action find
entity Q42745
relation P1196
type Q1931388
action filter_type
action find
entity Q212048
relation P1196
type Q1931388
action filter_type
action find
entity Q1395104
relation P1196
type Q1931388
Rita Hayworth , Glenn Ford and William Demarest died in [ANSWER], [ANSWER] and [ANSWER]
['Q42745', 'P1196', {'concept': 'Q1931388'}] ['Q212048', 'P1196', {'concept': 'Q1931388'}] ['Q1395104', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?u ) { ( resource:Q212048 ) ( resource:Q42745 ) } . ?u property:P1196 ?s }
natural causes natural causes natural causes
Rita Hayworth , Glenn Ford and William Demarest died in natural causes, natural causes and natural causes
natural causes natural causes natural causes
action union
action filter_type
action find
entity Rita Hayworth
relation manner of death
type cause of death
action filter_type
action find
entity Glenn Ford
relation manner of death
type cause of death
action filter_type
action find
entity William Demarest
relation manner of death
type cause of death
['Rita Hayworth', 'manner of death', {'concept': 'cause of death'}] ['Glenn Ford', 'manner of death', {'concept': 'cause of death'}] ['William Demarest', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?u ) { ( resource:Glenn_Ford ) ( resource:Rita_Hayworth ) } . ?u property:manner_of_death ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42745
P1038
Q502895
USER
Who is related to Rita Hayworth ?
(Q42745,P1038,c(Q502895))
action filter_type
action find
entity Q42745
relation P1038
type Q502895
['Q42745', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q42745 property:P1038 ?m }
Rita Hayworth
action filter_type
action find
entity Rita Hayworth
relation relative
type common name
['Rita Hayworth', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Rita_Hayworth property:relative ?m }
[]
common name
Q327183
SYSTEM
Vinton Hayworth
Q327183
(Q42745,P1038,c(Q502895))
action filter_type
action find
entity Q42745
relation P1038
type Q502895
[ANSWER] is related to Rita Hayworth
['Q42745', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q42745 property:P1038 ?m }
Vinton Hayworth
Vinton Hayworth is related to Rita Hayworth
Vinton Hayworth
action filter_type
action find
entity Rita Hayworth
relation relative
type common name
['Rita Hayworth', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Rita_Hayworth property:relative ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42745
P25
Q502895
USER
Who has Rita Hayworth as a mother ?
(c(Q502895),P25,Q42745)
action filter_type
action find_reverse
entity Q42745
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q42745']
SELECT DISTINCT ?p WHERE { ?p property:P25 resource:Q42745 . ?p rdf:type ontology:Q502895 }
Rita Hayworth
action filter_type
action find_reverse
entity Rita Hayworth
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Rita Hayworth']
SELECT DISTINCT ?p WHERE { ?p property:mother resource:Rita_Hayworth . ?p rdf:type ontology:common_name }
[]
common name
Q8049824
SYSTEM
Yasmin Aga Khan
Q8049824
(c(Q502895),P25,Q42745)
action filter_type
action find_reverse
entity Q42745
relation P25
type Q502895
[ANSWER] has Rita Hayworth as a mother
[{'concept': 'Q502895'}, 'P25', 'Q42745']
SELECT DISTINCT ?p WHERE { ?p property:P25 resource:Q42745 . ?p rdf:type ontology:Q502895 }
Yasmin Aga Khan
Yasmin Aga Khan has Rita Hayworth as a mother
Yasmin Aga Khan
action filter_type
action find_reverse
entity Rita Hayworth
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Rita Hayworth']
SELECT DISTINCT ?p WHERE { ?p property:mother resource:Rita_Hayworth . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8049824
P9
Q502895
USER
Who is that one a sister of ?
(c(Q502895),P9,Q8049824)
action filter_type
action find_reverse
entity Q8049824
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q8049824']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P9 resource:Q8049824 }
Yasmin Aga Khan
action filter_type
action find_reverse
entity Yasmin Aga Khan
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Yasmin Aga Khan']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:sister resource:Yasmin_Aga_Khan }
[]
common name
Q311793
SYSTEM
Aga Khan IV
Q311793
(c(Q502895),P9,Q8049824)
action filter_type
action find_reverse
entity Q8049824
relation P9
type Q502895
That one a sister of is Khan [ANSWER]
[{'concept': 'Q502895'}, 'P9', 'Q8049824']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P9 resource:Q8049824 }
Aga Khan IV
That one a sister of is Khan Aga Khan IV
Aga Khan IV
action filter_type
action find_reverse
entity Yasmin Aga Khan
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Yasmin Aga Khan']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:sister resource:Yasmin_Aga_Khan }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q311793 Q120757
P7
Q502895
USER
Is that one a brother of Samuel Preiswerk ?
(Q120757,P7,Q311793)
action is_in
entity Q120757
action find
entity Q311793
relation P7
['Q120757', 'P7', 'Q311793']
ASK WHERE { resource:Q311793 property:P7 resource:Q120757 }
Aga Khan IV Samuel Preiswerk
action is_in
entity Samuel Preiswerk
action find
entity Aga Khan IV
relation brother
['Samuel Preiswerk', 'brother', 'Aga Khan IV']
ASK WHERE { resource:Aga_Khan_IV property:brother resource:Samuel_Preiswerk }
[]
common name
SYSTEM
NO
(Q120757,P7,Q311793)
action is_in
entity Q120757
action find
entity Q311793
relation P7
[ANSWER]
['Q120757', 'P7', 'Q311793']
ASK WHERE { resource:Q311793 property:P7 resource:Q120757 }
No
action is_in
entity Samuel Preiswerk
action find
entity Aga Khan IV
relation brother
['Samuel Preiswerk', 'brother', 'Aga Khan IV']
ASK WHERE { resource:Aga_Khan_IV property:brother resource:Samuel_Preiswerk }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q8049824 Q30
P27
Q15617994
USER
Is United States of America the native country of Yasmin Aga Khan ?
(Q8049824,P27,Q30)
action is_in
entity Q30
action find
entity Q8049824
relation P27
['Q8049824', 'P27', 'Q30']
ASK WHERE { resource:Q8049824 property:P27 resource:Q30 }
Yasmin Aga Khan United States of America
action is_in
entity United States of America
action find
entity Yasmin Aga Khan
relation country of citizenship
['Yasmin Aga Khan', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Yasmin_Aga_Khan property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q8049824,P27,Q30)
action is_in
entity Q30
action find
entity Q8049824
relation P27
[ANSWER]
['Q8049824', 'P27', 'Q30']
ASK WHERE { resource:Q8049824 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Yasmin Aga Khan
relation country of citizenship
['Yasmin Aga Khan', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Yasmin_Aga_Khan property:country_of_citizenship resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q212048 Q30
P27
Q15617994
USER
Is United States of America the country of citizenship of Glenn Ford ?
(Q212048,P27,Q30)
action is_in
entity Q30
action find
entity Q212048
relation P27
['Q212048', 'P27', 'Q30']
ASK WHERE { resource:Q212048 property:P27 resource:Q30 }
Glenn Ford United States of America
action is_in
entity United States of America
action find
entity Glenn Ford
relation country of citizenship
['Glenn Ford', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Glenn_Ford property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q212048,P27,Q30)
action is_in
entity Q30
action find
entity Q212048
relation P27
[ANSWER]
['Q212048', 'P27', 'Q30']
ASK WHERE { resource:Q212048 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Glenn Ford
relation country of citizenship
['Glenn Ford', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Glenn_Ford property:country_of_citizenship resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q42745 Q30
P27
Q15617994
USER
Does Rita Hayworth belong to United States of America ?
(Q42745,P27,Q30)
action is_in
entity Q30
action find
entity Q42745
relation P27
['Q42745', 'P27', 'Q30']
ASK WHERE { resource:Q42745 property:P27 resource:Q30 }
Rita Hayworth United States of America
action is_in
entity United States of America
action find
entity Rita Hayworth
relation country of citizenship
['Rita Hayworth', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Rita_Hayworth property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q42745,P27,Q30)
action is_in
entity Q30
action find
entity Q42745
relation P27
[ANSWER]
['Q42745', 'P27', 'Q30']
ASK WHERE { resource:Q42745 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Rita Hayworth
relation country of citizenship
['Rita Hayworth', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Rita_Hayworth property:country_of_citizenship resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q327183 Q12158408
P19
Q56061
USER
Was Studinița Vinton Hayworth born ?
(Q327183,P19,Q12158408)
action is_in
entity Q12158408
action find
entity Q327183
relation P19
['Q327183', 'P19', 'Q12158408']
ASK WHERE { resource:Q327183 property:P19 resource:Q12158408 }
Vinton Hayworth Studinița
action is_in
entity Studinița
action find
entity Vinton Hayworth
relation place of birth
['Vinton Hayworth', 'place of birth', 'Studinița']
ASK WHERE { resource:Vinton_Hayworth property:place_of_birth resource:Studinița }
[]
administrative territorial entity
SYSTEM
NO
(Q327183,P19,Q12158408)
action is_in
entity Q12158408
action find
entity Q327183
relation P19
[ANSWER]
['Q327183', 'P19', 'Q12158408']
ASK WHERE { resource:Q327183 property:P19 resource:Q12158408 }
No
action is_in
entity Studinița
action find
entity Vinton Hayworth
relation place of birth
['Vinton Hayworth', 'place of birth', 'Studinița']
ASK WHERE { resource:Vinton_Hayworth property:place_of_birth resource:Studinița }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4115086 Q327183
P161
Q838948
USER
Which works of art have Vinton Hayworth or Mostafa Zamani as actor ?
OR((c(Q838948),P161,Q327183), (c(Q838948),P161,Q4115086))
action filter_type
action union
action find_reverse
entity Q327183
relation P161
action find_reverse
entity Q4115086
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q327183'], [{'concept': 'Q838948'}, 'P161', 'Q4115086']]}
SELECT DISTINCT ?o WHERE { { { ?o property:P161 resource:Q4115086 } UNION { ?o property:P161 resource:Q327183 } } . ?o rdf:type ontology:Q838948 }
Mostafa Zamani Vinton Hayworth
action filter_type
action union
action find_reverse
entity Vinton Hayworth
relation cast member
action find_reverse
entity Mostafa Zamani
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Vinton Hayworth'], [{'concept': 'work of art'}, 'cast member', 'Mostafa Zamani']]}
SELECT DISTINCT ?o WHERE { { { ?o property:cast_member resource:Mostafa_Zamani } UNION { ?o property:cast_member resource:Vinton_Hayworth } } . ?o rdf:type ontology:work_of_art }
[]
work of art
Q2493780 Q2543205 Q1230318 Q1336867 Q5435020 Q108297 Q3307666
SYSTEM
The Great Man, The Sign of Zorro, Carefree, Hitting a New High, Farewell Baghdad, Spartacus, Mexican Spitfire Out West
Q2493780 Q2543205 Q1230318 Q1336867 Q5435020 Q108297 Q3307666
OR((c(Q838948),P161,Q327183), (c(Q838948),P161,Q4115086))
action filter_type
action union
action find_reverse
entity Q327183
relation P161
action find_reverse
entity Q4115086
relation P161
type Q838948
[ANSWERS] have Vinton Hayworth or Mostafa Zamani as actor
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q327183'], [{'concept': 'Q838948'}, 'P161', 'Q4115086']]}
SELECT DISTINCT ?o WHERE { { { ?o property:P161 resource:Q4115086 } UNION { ?o property:P161 resource:Q327183 } } . ?o rdf:type ontology:Q838948 }
The Great Man The Sign of Zorro Carefree Hitting a New High Farewell Baghdad Spartacus Mexican Spitfire Out West
The Great Man, The Sign of Zorro, Carefree, Hitting a New High, Farewell Baghdad, Spartacus and Mexican Spitfire Out West have Vinton Hayworth or Mostafa Zamani as actor
The Great Man The Sign of Zorro Carefree Hitting a New High Farewell Baghdad Spartacus Mexican Spitfire Out West
action filter_type
action union
action find_reverse
entity Vinton Hayworth
relation cast member
action find_reverse
entity Mostafa Zamani
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Vinton Hayworth'], [{'concept': 'work of art'}, 'cast member', 'Mostafa Zamani']]}
SELECT DISTINCT ?o WHERE { { { ?o property:cast_member resource:Mostafa_Zamani } UNION { ?o property:cast_member resource:Vinton_Hayworth } } . ?o rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4115086
P106
Q12737077
USER
What does Mostafa Zamani do for a living?
(Q2493780,P106,c(Q12737077)) (Q2543205,P106,c(Q12737077)) (Q1230318,P106,c(Q12737077)) (Q1336867,P106,c(Q12737077)) (Q5435020,P106,c(Q12737077)) (Q108297,P106,c(Q12737077)) (Q3307666,P106,c(Q12737077))
action filter_type
action find
entity Q4115086
relation P106
type Q12737077
['Q2493780', 'P106', {'concept': 'Q12737077'}] ['Q2543205', 'P106', {'concept': 'Q12737077'}] ['Q1230318', 'P106', {'concept': 'Q12737077'}] ['Q1336867', 'P106', {'concept': 'Q12737077'}] ['Q5435020', 'P106', {'concept': 'Q12737077'}] ['Q108297', 'P106', {'concept': 'Q12737077'}] ['Q3307666', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q4115086 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Mostafa Zamani
action filter_type
action find
entity Mostafa Zamani
relation occupation
type occupation
['The Great Man', 'occupation', {'concept': 'occupation'}] ['The Sign of Zorro', 'occupation', {'concept': 'occupation'}] ['Carefree', 'occupation', {'concept': 'occupation'}] ['Hitting a New High', 'occupation', {'concept': 'occupation'}] ['Farewell Baghdad', 'occupation', {'concept': 'occupation'}] ['Spartacus', 'occupation', {'concept': 'occupation'}] ['Mexican Spitfire Out West', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Mostafa_Zamani property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q2493780,P106,c(Q12737077)) (Q2543205,P106,c(Q12737077)) (Q1230318,P106,c(Q12737077)) (Q1336867,P106,c(Q12737077)) (Q5435020,P106,c(Q12737077)) (Q108297,P106,c(Q12737077)) (Q3307666,P106,c(Q12737077))
action filter_type
action find
entity Q4115086
relation P106
type Q12737077
[ANSWER] Mostafa Zamani does for a living
['Q2493780', 'P106', {'concept': 'Q12737077'}] ['Q2543205', 'P106', {'concept': 'Q12737077'}] ['Q1230318', 'P106', {'concept': 'Q12737077'}] ['Q1336867', 'P106', {'concept': 'Q12737077'}] ['Q5435020', 'P106', {'concept': 'Q12737077'}] ['Q108297', 'P106', {'concept': 'Q12737077'}] ['Q3307666', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q4115086 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
actor
Actor Mostafa Zamani does for a living
actor
action filter_type
action find
entity Mostafa Zamani
relation occupation
type occupation
['The Great Man', 'occupation', {'concept': 'occupation'}] ['The Sign of Zorro', 'occupation', {'concept': 'occupation'}] ['Carefree', 'occupation', {'concept': 'occupation'}] ['Hitting a New High', 'occupation', {'concept': 'occupation'}] ['Farewell Baghdad', 'occupation', {'concept': 'occupation'}] ['Spartacus', 'occupation', {'concept': 'occupation'}] ['Mexican Spitfire Out West', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Mostafa_Zamani property:occupation ?i . ?i rdf:type ontology:occupation }
[]