Simple Question (Direct)
Simple Question
Q376280
P9
Q502895
USER
Which people are the sisters of Henry Cromwell ?
(Q376280,P9,c(Q502895))
action filter_type
action find
entity Q376280
relation P9
type Q502895
['Q376280', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q376280 property:P9 ?f . ?f rdf:type ontology:Q502895 }
Henry Cromwell
action filter_type
action find
entity Henry Cromwell
relation sister
type common name
['Henry Cromwell', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Henry_Cromwell property:sister ?f . ?f rdf:type ontology:common_name }
[]
common name
Q17362794 Q17361986 Q5362596
SYSTEM
Frances Cromwell, Bridget Cromwell, Elizabeth Claypole
Q17362794 Q6779266 Q5362596 Q17361986
(Q376280,P9,c(Q502895))
action filter_type
action find
entity Q376280
relation P9
type Q502895
[ANSWERS] are the sisters of Henry Cromwell
['Q376280', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q376280 property:P9 ?f . ?f rdf:type ontology:Q502895 }
Frances Cromwell Mary Cromwell, Countess Fauconberg Elizabeth Claypole Bridget Cromwell
Frances Cromwell, Bridget Cromwell and Elizabeth Claypole are the sisters of Henry Cromwell
Frances Cromwell Bridget Cromwell Elizabeth Claypole
action filter_type
action find
entity Henry Cromwell
relation sister
type common name
['Henry Cromwell', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Henry_Cromwell property:sister ?f . ?f rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17362794
P40
Q502895
USER
Which people have that one as a child ?
(c(Q502895),P40,Q17362794)
action filter_type
action find_reverse
entity Q17362794
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q17362794']
SELECT DISTINCT ?h WHERE { ?h property:P40 resource:Q17362794 . ?h rdf:type ontology:Q502895 }
Frances Cromwell
action filter_type
action find_reverse
entity Frances Cromwell
relation child
type common name
[{'concept': 'common name'}, 'child', 'Frances Cromwell']
SELECT DISTINCT ?h WHERE { ?h property:child resource:Frances_Cromwell . ?h rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q17361986
SYSTEM
Did you mean Bridget Cromwell ?
Q17362794 Q17361986 Q5362596
(c(Q502895),P40,Q17362794) (c(Q502895),P40,Q17361986) (c(Q502895),P40,Q5362596)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q17362794'] [{'concept': 'Q502895'}, 'P40', 'Q17361986'] [{'concept': 'Q502895'}, 'P40', 'Q5362596']
SELECT DISTINCT ?h WHERE { ?h property:P40 resource:Q17362794 . ?h rdf:type ontology:Q502895 }
Frances Cromwell Bridget Cromwell Elizabeth Claypole
Did you mean Bridget Cromwell ?
Bridget Cromwell
[{'concept': 'common name'}, 'child', 'Frances Cromwell'] [{'concept': 'common name'}, 'child', 'Bridget Cromwell'] [{'concept': 'common name'}, 'child', 'Elizabeth Claypole']
SELECT DISTINCT ?h WHERE { ?h property:child resource:Frances_Cromwell . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Frances Cromwell. Could you tell me the answer for that?
(c(Q502895),P40,Q17362794)
Q17362794
[{'concept': 'Q502895'}, 'P40', 'Q17362794']
[{'concept': 'common name'}, 'child', 'Frances Cromwell']
[]
Q44279 Q3375118
SYSTEM
Oliver Cromwell, Elizabeth Cromwell
Q44279 Q3375118
(c(Q502895),P40,Q17362794)
action filter_type
action find_reverse
entity Q17362794
relation P40
type Q502895
[ANSWERS] have that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q17362794']
SELECT DISTINCT ?h WHERE { ?h property:P40 resource:Q17362794 . ?h rdf:type ontology:Q502895 }
Oliver Cromwell Elizabeth Cromwell
Oliver Cromwell and Elizabeth Cromwell have that one as a child
Oliver Cromwell Elizabeth Cromwell
action filter_type
action find_reverse
entity Frances Cromwell
relation child
type common name
[{'concept': 'common name'}, 'child', 'Frances Cromwell']
SELECT DISTINCT ?h WHERE { ?h property:child resource:Frances_Cromwell . ?h rdf:type ontology:common_name }
[]