Simple Question (Direct)
Simple Question
Q327831
P106
Q12737077
USER
Which occupations are the professions of Will Knightley ?
(Q327831,P106,c(Q12737077))
action filter_type
action find
entity Q327831
relation P106
type Q12737077
['Q327831', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q327831 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Will Knightley
action filter_type
action find
entity Will Knightley
relation occupation
type occupation
['Will Knightley', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Will_Knightley property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q33999 Q2259451
SYSTEM
actor, stage actor
Q33999 Q2259451
(Q327831,P106,c(Q12737077))
action filter_type
action find
entity Q327831
relation P106
type Q12737077
The professions of Will Knightley are stage [ANSWERS]
['Q327831', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q327831 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
actor stage actor
The professions of Will Knightley are stage actor and stage actor
actor stage actor
action filter_type
action find
entity Will Knightley
relation occupation
type occupation
['Will Knightley', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Will_Knightley property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q327831
P22
Q502895
USER
Who have that one as a father ?
(c(Q502895),P22,Q33999) (c(Q502895),P22,Q2259451)
action filter_type
action find_reverse
entity Q327831
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q33999'] [{'concept': 'Q502895'}, 'P22', 'Q2259451']
SELECT DISTINCT ?t WHERE { ?t property:P22 resource:Q327831 . ?t rdf:type ontology:Q502895 }
Will Knightley
action filter_type
action find_reverse
entity Will Knightley
relation father
type common name
[{'concept': 'common name'}, 'father', 'actor'] [{'concept': 'common name'}, 'father', 'stage actor']
SELECT DISTINCT ?t WHERE { ?t property:father resource:Will_Knightley . ?t rdf:type ontology:common_name }
[]
common name
Q17303318 Q42581
SYSTEM
Caleb Knightley, Keira Knightley
Q17303318 Q42581
(c(Q502895),P22,Q33999) (c(Q502895),P22,Q2259451)
action filter_type
action find_reverse
entity Q327831
relation P22
type Q502895
[ANSWERS] have that one as a father
[{'concept': 'Q502895'}, 'P22', 'Q33999'] [{'concept': 'Q502895'}, 'P22', 'Q2259451']
SELECT DISTINCT ?t WHERE { ?t property:P22 resource:Q327831 . ?t rdf:type ontology:Q502895 }
Caleb Knightley Keira Knightley
Caleb Knightley and Keira Knightley have that one as a father
Caleb Knightley Keira Knightley
action filter_type
action find_reverse
entity Will Knightley
relation father
type common name
[{'concept': 'common name'}, 'father', 'actor'] [{'concept': 'common name'}, 'father', 'stage actor']
SELECT DISTINCT ?t WHERE { ?t property:father resource:Will_Knightley . ?t rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q42581
P1346
Q15275719
USER
Where was that person decalred as a champion ?
(c(Q15275719),P1346,Q42581)
action filter_type
action find_reverse
entity Q42581
relation P1346
type Q15275719
[{'concept': 'Q15275719'}, 'P1346', 'Q42581']
SELECT DISTINCT ?d WHERE { ?d property:P1346 resource:Q42581 . ?d rdf:type ontology:Q15275719 }
Keira Knightley
action filter_type
action find_reverse
entity Keira Knightley
relation winner
type recurring event
[{'concept': 'recurring event'}, 'winner', 'Keira Knightley']
SELECT DISTINCT ?d WHERE { ?d property:winner resource:Keira_Knightley . ?d rdf:type ontology:recurring_event }
[]
recurring event
Clarification for simple ques.
Q17303318
SYSTEM
Did you mean Caleb Knightley ?
Q17303318 Q42581
(c(Q15275719),P1346,Q17303318) (c(Q15275719),P1346,Q42581)
[ANSWER]
[{'concept': 'Q15275719'}, 'P1346', 'Q17303318'] [{'concept': 'Q15275719'}, 'P1346', 'Q42581']
SELECT DISTINCT ?d WHERE { ?d property:P1346 resource:Q42581 . ?d rdf:type ontology:Q15275719 }
Caleb Knightley Keira Knightley
Did you mean Caleb Knightley ?
Caleb Knightley
[{'concept': 'recurring event'}, 'winner', 'Caleb Knightley'] [{'concept': 'recurring event'}, 'winner', 'Keira Knightley']
SELECT DISTINCT ?d WHERE { ?d property:winner resource:Keira_Knightley . ?d rdf:type ontology:recurring_event }
[]
Simple Question (Coreferenced)
USER
No, I meant Keira Knightley. Could you tell me the answer for that?
(c(Q15275719),P1346,Q42581)
Q42581
[{'concept': 'Q15275719'}, 'P1346', 'Q42581']
[{'concept': 'recurring event'}, 'winner', 'Keira Knightley']
[]
Q17011108
SYSTEM
Teen Choice Award for Choice Hissy Fit
Q17011108
(c(Q15275719),P1346,Q42581)
action filter_type
action find_reverse
entity Q42581
relation P1346
type Q15275719
[ANSWER] that person was decalred as a champion
[{'concept': 'Q15275719'}, 'P1346', 'Q42581']
SELECT DISTINCT ?d WHERE { ?d property:P1346 resource:Q42581 . ?d rdf:type ontology:Q15275719 }
Teen Choice Award for Choice Hissy Fit
Teen Choice Award for Choice Hissy Fit that person was decalred as a champion
Teen Choice Award for Choice Hissy Fit
action filter_type
action find_reverse
entity Keira Knightley
relation winner
type recurring event
[{'concept': 'recurring event'}, 'winner', 'Keira Knightley']
SELECT DISTINCT ?d WHERE { ?d property:winner resource:Keira_Knightley . ?d rdf:type ontology:recurring_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42581
P9
Q502895
USER
Whose sister is Keira Knightley ?
(c(Q502895),P9,Q42581)
action filter_type
action find_reverse
entity Q42581
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q42581']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P9 resource:Q42581 }
Keira Knightley
action filter_type
action find_reverse
entity Keira Knightley
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Keira Knightley']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:sister resource:Keira_Knightley }
[]
common name
Q17303318
SYSTEM
Caleb Knightley
Q17303318
(c(Q502895),P9,Q42581)
action filter_type
action find_reverse
entity Q42581
relation P9
type Q502895
[ANSWER] is Keira Knightley
[{'concept': 'Q502895'}, 'P9', 'Q42581']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P9 resource:Q42581 }
Caleb Knightley
Caleb Knightley is Keira Knightley
Caleb Knightley
action filter_type
action find_reverse
entity Keira Knightley
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Keira Knightley']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:sister resource:Keira_Knightley }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42581
P25
Q502895
USER
Which female person was the parent of Keira Knightley ?
(Q42581,P25,c(Q502895))
action filter_type
action find
entity Q42581
relation P25
type Q502895
['Q42581', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q42581 property:P25 ?p }
Keira Knightley
action filter_type
action find
entity Keira Knightley
relation mother
type common name
['Keira Knightley', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Keira_Knightley property:mother ?p }
[]
common name
Q449569
SYSTEM
Sharman Macdonald
Q449569
(Q42581,P25,c(Q502895))
action filter_type
action find
entity Q42581
relation P25
type Q502895
[ANSWER] was the parent of Keira Knightley
['Q42581', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q42581 property:P25 ?p }
Sharman Macdonald
Sharman Macdonald was the parent of Keira Knightley
Sharman Macdonald
action filter_type
action find
entity Keira Knightley
relation mother
type common name
['Keira Knightley', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Keira_Knightley property:mother ?p }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q58063
Q502895
USER
And what about Princess Elisabeth of Hesse and by Rhine?
(Q58063,P25,c(Q502895))
action filter_type
action find
entity Q58063
relation P25
type Q502895
['Q58063', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q58063 property:P25 ?p }
Princess Elisabeth of Hesse and by Rhine
action filter_type
action find
entity Princess Elisabeth of Hesse and by Rhine
relation mother
type common name
['Princess Elisabeth of Hesse and by Rhine', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Princess_Elisabeth_of_Hesse_and_by_Rhine property:mother ?p }
[]
common name
Q155566
SYSTEM
Princess Alice of the United Kingdom
Q155566
(Q58063,P25,c(Q502895))
action filter_type
action find
entity Q58063
relation P25
type Q502895
[ANSWER]
['Q58063', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q58063 property:P25 ?p }
Princess Alice of the United Kingdom
Princess Alice of the United Kingdom
action filter_type
action find
entity Princess Elisabeth of Hesse and by Rhine
relation mother
type common name
['Princess Elisabeth of Hesse and by Rhine', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Princess_Elisabeth_of_Hesse_and_by_Rhine property:mother ?p }
[]