Simple Question (Direct)
Simple Question
Q1969627
P25
Q502895
USER
Which female person has a child named Samuel Wesley ?
(Q1969627,P25,c(Q502895))
action filter_type
action find
entity Q1969627
relation P25
type Q502895
['Q1969627', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1969627 property:P25 ?c . ?c rdf:type ontology:Q502895 }
Samuel Wesley
action filter_type
action find
entity Samuel Wesley
relation mother
type common name
['Samuel Wesley', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Samuel_Wesley property:mother ?c . ?c rdf:type ontology:common_name }
[]
common name
Q16258569
SYSTEM
Sarah Wesley
Q16258569
(Q1969627,P25,c(Q502895))
action filter_type
action find
entity Q1969627
relation P25
type Q502895
[ANSWER] has a child named Samuel Wesley
['Q1969627', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1969627 property:P25 ?c . ?c rdf:type ontology:Q502895 }
Sarah Wesley
Sarah Wesley has a child named Samuel Wesley
Sarah Wesley
action filter_type
action find
entity Samuel Wesley
relation mother
type common name
['Samuel Wesley', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Samuel_Wesley property:mother ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16258569
P26
Q502895
USER
Which person is married to that one ?
(c(Q502895),P26,Q16258569)
action filter_type
action find
entity Q16258569
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q16258569']
SELECT DISTINCT ?n WHERE { resource:Q16258569 property:P26 ?n . ?n rdf:type ontology:Q502895 }
Sarah Wesley
action filter_type
action find
entity Sarah Wesley
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Sarah Wesley']
SELECT DISTINCT ?n WHERE { resource:Sarah_Wesley property:spouse ?n . ?n rdf:type ontology:common_name }
[]
common name
Q349070
SYSTEM
Charles Wesley
Q349070
(c(Q502895),P26,Q16258569)
action filter_type
action find
entity Q16258569
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q16258569']
SELECT DISTINCT ?n WHERE { resource:Q16258569 property:P26 ?n . ?n rdf:type ontology:Q502895 }
Charles Wesley
Charles Wesley is married to that one
Charles Wesley
action filter_type
action find
entity Sarah Wesley
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Sarah Wesley']
SELECT DISTINCT ?n WHERE { resource:Sarah_Wesley property:spouse ?n . ?n rdf:type ontology:common_name }
[]