Simple Question (Direct)
Simple Question
Q209662
P40
Q502895
USER
Which people are a successors of Lucille Ball ?
(Q209662,P40,c(Q502895))
action filter_type
action find
entity Q209662
relation P40
type Q502895
['Q209662', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q209662 property:P40 ?w }
Lucille Ball
action filter_type
action find
entity Lucille Ball
relation child
type common name
['Lucille Ball', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Lucille_Ball property:child ?w }
[]
common name
Q469401 Q324882
SYSTEM
Lucie Arnaz, Desi Arnaz
Q469401 Q324882
(Q209662,P40,c(Q502895))
action filter_type
action find
entity Q209662
relation P40
type Q502895
[ANSWERS] are a successors of Lucille Ball
['Q209662', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q209662 property:P40 ?w }
Lucie Arnaz Desi Arnaz
Lucie Arnaz and Desi Arnaz are a successors of Lucille Ball
Lucie Arnaz Desi Arnaz
action filter_type
action find
entity Lucille Ball
relation child
type common name
['Lucille Ball', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Lucille_Ball property:child ?w }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q469401 Q324882
P26
Q502895
USER
Which people are married to Lucie Arnaz and Desi Arnaz ?
(c(Q502895),P26,Q469401) (c(Q502895),P26,Q324882)
action union
action filter_type
action find
entity Q469401
relation P26
type Q502895
action filter_type
action find
entity Q324882
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q469401'] [{'concept': 'Q502895'}, 'P26', 'Q324882']
SELECT DISTINCT ?y WHERE { ?o property:P26 ?y . VALUES ( ?o ) { ( resource:Q469401 ) ( resource:Q324882 ) } }
Lucie Arnaz Desi Arnaz
action union
action filter_type
action find
entity Lucie Arnaz
relation spouse
type common name
action filter_type
action find
entity Desi Arnaz
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Lucie Arnaz'] [{'concept': 'common name'}, 'spouse', 'Desi Arnaz']
SELECT DISTINCT ?y WHERE { ?o property:spouse ?y . VALUES ( ?o ) { ( resource:Lucie_Arnaz ) ( resource:Desi_Arnaz ) } }
[]
common name
Q356846 Q275619
SYSTEM
Laurence Luckinbill, Linda Purl
Q356846 Q275619
(c(Q502895),P26,Q469401) (c(Q502895),P26,Q324882)
action union
action filter_type
action find
entity Q469401
relation P26
type Q502895
action filter_type
action find
entity Q324882
relation P26
type Q502895
[ANSWERS] are married to Lucie Arnaz and Desi Arnaz
[{'concept': 'Q502895'}, 'P26', 'Q469401'] [{'concept': 'Q502895'}, 'P26', 'Q324882']
SELECT DISTINCT ?y WHERE { ?o property:P26 ?y . VALUES ( ?o ) { ( resource:Q469401 ) ( resource:Q324882 ) } }
Laurence Luckinbill Linda Purl
Laurence Luckinbill and Linda Purl are married to Lucie Arnaz and Desi Arnaz
Laurence Luckinbill Linda Purl
action union
action filter_type
action find
entity Lucie Arnaz
relation spouse
type common name
action filter_type
action find
entity Desi Arnaz
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Lucie Arnaz'] [{'concept': 'common name'}, 'spouse', 'Desi Arnaz']
SELECT DISTINCT ?y WHERE { ?o property:spouse ?y . VALUES ( ?o ) { ( resource:Lucie_Arnaz ) ( resource:Desi_Arnaz ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q209662
P25
Q502895
USER
Which people have Lucille Ball as mom ?
(c(Q502895),P25,Q209662)
action filter_type
action find_reverse
entity Q209662
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q209662']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P25 resource:Q209662 }
Lucille Ball
action filter_type
action find_reverse
entity Lucille Ball
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Lucille Ball']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:mother resource:Lucille_Ball }
[]
common name
Q469401 Q324882
SYSTEM
Lucie Arnaz, Desi Arnaz
Q469401 Q324882
(c(Q502895),P25,Q209662)
action filter_type
action find_reverse
entity Q209662
relation P25
type Q502895
[ANSWERS] have Lucille Ball as mom
[{'concept': 'Q502895'}, 'P25', 'Q209662']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P25 resource:Q209662 }
Lucie Arnaz Desi Arnaz
Lucie Arnaz and Desi Arnaz have Lucille Ball as mom
Lucie Arnaz Desi Arnaz
action filter_type
action find_reverse
entity Lucille Ball
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Lucille Ball']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:mother resource:Lucille_Ball }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q469401
P161
Q838948
USER
Which works of art stars Lucie Arnaz as actor ?
(c(Q838948),P161,Q469401)
action filter_type
action find_reverse
entity Q469401
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q469401']
SELECT DISTINCT ?o WHERE { ?o property:P161 resource:Q469401 . ?o rdf:type ontology:Q838948 }
Lucie Arnaz
action filter_type
action find_reverse
entity Lucie Arnaz
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Lucie Arnaz']
SELECT DISTINCT ?o WHERE { ?o property:cast_member resource:Lucie_Arnaz . ?o rdf:type ontology:work_of_art }
[]
work of art
Q1194604 Q255891 Q7443591
SYSTEM
The Jazz Singer, Down to You, Second Thoughts
Q4656436 Q7443591 Q255891 Q1194604
(c(Q838948),P161,Q469401)
action filter_type
action find_reverse
entity Q469401
relation P161
type Q838948
[ANSWERS] star Lucie Arnaz as actor
[{'concept': 'Q838948'}, 'P161', 'Q469401']
SELECT DISTINCT ?o WHERE { ?o property:P161 resource:Q469401 . ?o rdf:type ontology:Q838948 }
A Different Approach Second Thoughts Down to You The Jazz Singer
The Jazz Singer, Down to You and Second Thoughts star Lucie Arnaz as actor
The Jazz Singer Down to You Second Thoughts
action filter_type
action find_reverse
entity Lucie Arnaz
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Lucie Arnaz']
SELECT DISTINCT ?o WHERE { ?o property:cast_member resource:Lucie_Arnaz . ?o rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q255891
P462
Q1075
USER
Which color is that work of art associated with ?
(Q255891,P462,c(Q1075))
action filter_type
action find
entity Q255891
relation P462
type Q1075
['Q255891', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?j WHERE { resource:Q255891 property:P462 ?j . ?j rdf:type ontology:Q1075 }
Down to You
action filter_type
action find
entity Down to You
relation color
type color
['Down to You', 'color', {'concept': 'color'}]
SELECT DISTINCT ?j WHERE { resource:Down_to_You property:color ?j . ?j rdf:type ontology:color }
[]
color
Clarification for simple ques.
Q255891
SYSTEM
Did you mean Down to You ?
Q1194604 Q255891 Q7443591
(Q1194604,P462,c(Q1075)) (Q255891,P462,c(Q1075)) (Q7443591,P462,c(Q1075))
[ANSWER]
['Q1194604', 'P462', {'concept': 'Q1075'}] ['Q255891', 'P462', {'concept': 'Q1075'}] ['Q7443591', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?j WHERE { resource:Q255891 property:P462 ?j . ?j rdf:type ontology:Q1075 }
The Jazz Singer Down to You Second Thoughts
Did you mean Down to You ?
Down to You
['The Jazz Singer', 'color', {'concept': 'color'}] ['Down to You', 'color', {'concept': 'color'}] ['Second Thoughts', 'color', {'concept': 'color'}]
SELECT DISTINCT ?j WHERE { resource:Down_to_You property:color ?j . ?j rdf:type ontology:color }
[]
Simple Question (Coreferenced)
USER
Yes
(Q255891,P462,c(Q1075))
['Q255891', 'P462', {'concept': 'Q1075'}]
['Down to You', 'color', {'concept': 'color'}]
[]
Q22006653
SYSTEM
color
Q22006653
(Q255891,P462,c(Q1075))
action filter_type
action find
entity Q255891
relation P462
type Q1075
That work of art is associated with [ANSWER]
['Q255891', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?j WHERE { resource:Q255891 property:P462 ?j . ?j rdf:type ontology:Q1075 }
color
That work of art is associated with color
color
action filter_type
action find
entity Down to You
relation color
type color
['Down to You', 'color', {'concept': 'color'}]
SELECT DISTINCT ?j WHERE { resource:Down_to_You property:color ?j . ?j rdf:type ontology:color }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q22006653 Q1451948
P462
Q838948
USER
Is Paris that one in color ?
(Q1451948,P462,Q22006653)
action is_in
entity Q22006653
action find
entity Q1451948
relation P462
['Q1451948', 'P462', 'Q22006653']
ASK WHERE { resource:Q1451948 property:P462 resource:Q22006653 }
color Paris
action is_in
entity color
action find
entity Paris
relation color
['Paris', 'color', 'color']
ASK WHERE { resource:Paris property:color resource:color }
[]
work of art
SYSTEM
YES
(Q1451948,P462,Q22006653)
action is_in
entity Q22006653
action find
entity Q1451948
relation P462
[ANSWER]
['Q1451948', 'P462', 'Q22006653']
ASK WHERE { resource:Q1451948 property:P462 resource:Q22006653 }
Yes
action is_in
entity color
action find
entity Paris
relation color
['Paris', 'color', 'color']
ASK WHERE { resource:Paris property:color resource:color }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q324882 Q4699109
P27
Q15617994
USER
Is Aisby, West Lindsey the country of citizenship of Desi Arnaz ?
(Q324882,P27,Q4699109)
action is_in
entity Q4699109
action find
entity Q324882
relation P27
['Q324882', 'P27', 'Q4699109']
ASK WHERE { resource:Q324882 property:P27 resource:Q4699109 }
Desi Arnaz Aisby, West Lindsey
action is_in
entity Aisby, West Lindsey
action find
entity Desi Arnaz
relation country of citizenship
['Desi Arnaz', 'country of citizenship', 'Aisby, West Lindsey']
ASK WHERE { resource:Desi_Arnaz property:country_of_citizenship resource:Aisby,_West_Lindsey }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q324882,P27,Q4699109)
action is_in
entity Q4699109
action find
entity Q324882
relation P27
[ANSWER]
['Q324882', 'P27', 'Q4699109']
ASK WHERE { resource:Q324882 property:P27 resource:Q4699109 }
No
action is_in
entity Aisby, West Lindsey
action find
entity Desi Arnaz
relation country of citizenship
['Desi Arnaz', 'country of citizenship', 'Aisby, West Lindsey']
ASK WHERE { resource:Desi_Arnaz property:country_of_citizenship resource:Aisby,_West_Lindsey }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1194604 Q10510804
P86
Q502895
USER
Was The Jazz Singer composed by Gunilla Cederström ?
(Q1194604,P86,Q10510804)
action is_in
entity Q10510804
action find
entity Q1194604
relation P86
['Q1194604', 'P86', 'Q10510804']
ASK WHERE { resource:Q1194604 property:P86 resource:Q10510804 }
The Jazz Singer Gunilla Cederström
action is_in
entity Gunilla Cederström
action find
entity The Jazz Singer
relation composer
['The Jazz Singer', 'composer', 'Gunilla Cederström']
ASK WHERE { resource:The_Jazz_Singer property:composer resource:Gunilla_Cederström }
[]
common name
SYSTEM
NO
(Q1194604,P86,Q10510804)
action is_in
entity Q10510804
action find
entity Q1194604
relation P86
[ANSWER]
['Q1194604', 'P86', 'Q10510804']
ASK WHERE { resource:Q1194604 property:P86 resource:Q10510804 }
No
action is_in
entity Gunilla Cederström
action find
entity The Jazz Singer
relation composer
['The Jazz Singer', 'composer', 'Gunilla Cederström']
ASK WHERE { resource:The_Jazz_Singer property:composer resource:Gunilla_Cederström }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1194604
P495
Q15617994
USER
Which administrative territory is the origin of that work of art ?
action filter_type
action find
entity Q1194604
relation P495
type Q15617994
SELECT DISTINCT ?m WHERE { resource:Q1194604 property:P495 ?m . ?m rdf:type ontology:Q15617994 }
The Jazz Singer
action filter_type
action find
entity The Jazz Singer
relation country of origin
type designation for an administrative territorial entity
SELECT DISTINCT ?m WHERE { resource:The_Jazz_Singer property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
action filter_type
action find
entity Q1194604
relation P495
type Q15617994
[ANSWER] is the origin of that work of art
SELECT DISTINCT ?m WHERE { resource:Q1194604 property:P495 ?m . ?m rdf:type ontology:Q15617994 }
United States of America
United States of America is the origin of that work of art
United States of America
action filter_type
action find
entity The Jazz Singer
relation country of origin
type designation for an administrative territorial entity
SELECT DISTINCT ?m WHERE { resource:The_Jazz_Singer property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q30 Q7411133 Q9916
P6
Q502895
USER
Does that administrative territory have Samuel Cockerill and Dwight D. Eisenhower as its head of government ?
(Q30,P6,Q7411133) (Q30,P6,Q9916)
action is_in
entity Q30
action intersection
action find_reverse
entity Q7411133
relation P6
action find_reverse
entity Q9916
relation P6
['Q30', 'P6', 'Q7411133'] ['Q30', 'P6', 'Q9916']
ASK WHERE { resource:Q30 property:P6 resource:Q7411133 . resource:Q30 property:P6 resource:Q9916 }
United States of America Samuel Cockerill Dwight D. Eisenhower
action is_in
entity United States of America
action intersection
action find_reverse
entity Samuel Cockerill
relation head of government
action find_reverse
entity Dwight D. Eisenhower
relation head of government
['United States of America', 'head of government', 'Samuel Cockerill'] ['United States of America', 'head of government', 'Dwight D. Eisenhower']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Samuel_Cockerill . resource:United_States_of_America property:head_of_government resource:Dwight_D._Eisenhower }
[]
common name
SYSTEM
NO and YES respectively
(Q30,P6,Q7411133) (Q30,P6,Q9916)
action is_in
entity Q30
action intersection
action find_reverse
entity Q7411133
relation P6
action find_reverse
entity Q9916
relation P6
[ANSWER]
['Q30', 'P6', 'Q7411133'] ['Q30', 'P6', 'Q9916']
ASK WHERE { resource:Q30 property:P6 resource:Q7411133 . resource:Q30 property:P6 resource:Q9916 }
NO and YES respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity Samuel Cockerill
relation head of government
action find_reverse
entity Dwight D. Eisenhower
relation head of government
['United States of America', 'head of government', 'Samuel Cockerill'] ['United States of America', 'head of government', 'Dwight D. Eisenhower']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Samuel_Cockerill . resource:United_States_of_America property:head_of_government resource:Dwight_D._Eisenhower }
[]