Simple Question (Direct)
Simple Question
Q882710
P25
Q502895
USER
Which female person has a child named Mswati II ?
(Q882710,P25,c(Q502895))
action filter_type
action find
entity Q882710
relation P25
type Q502895
['Q882710', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q882710 property:P25 ?c . ?c rdf:type ontology:Q502895 }
Mswati II
action filter_type
action find
entity Mswati II
relation mother
type common name
['Mswati II', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Mswati_II property:mother ?c . ?c rdf:type ontology:common_name }
[]
common name
Q7849357
SYSTEM
Tsandzile Ndwandwe of Swaziland
Q7849357
(Q882710,P25,c(Q502895))
action filter_type
action find
entity Q882710
relation P25
type Q502895
[ANSWER] has a child named Mswati II
['Q882710', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q882710 property:P25 ?c . ?c rdf:type ontology:Q502895 }
Tsandzile Ndwandwe of Swaziland
Tsandzile Ndwandwe of Swaziland has a child named Mswati II
Tsandzile Ndwandwe of Swaziland
action filter_type
action find
entity Mswati II
relation mother
type common name
['Mswati II', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Mswati_II property:mother ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q882710
P26
Q502895
USER
Which person is the life partner of Mswati II ?
(Q882710,P26,c(Q502895))
action filter_type
action find
entity Q882710
relation P26
type Q502895
['Q882710', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q882710 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Mswati II
action filter_type
action find
entity Mswati II
relation spouse
type common name
['Mswati II', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Mswati_II property:spouse ?a . ?a rdf:type ontology:common_name }
[]
common name
Q16886130
SYSTEM
Tibati Nkambule of Swaziland
Q16886130
(Q882710,P26,c(Q502895))
action filter_type
action find
entity Q882710
relation P26
type Q502895
[ANSWER] is the life partner of Mswati II
['Q882710', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q882710 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Tibati Nkambule of Swaziland
Tibati Nkambule of Swaziland is the life partner of Mswati II
Tibati Nkambule of Swaziland
action filter_type
action find
entity Mswati II
relation spouse
type common name
['Mswati II', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Mswati_II property:spouse ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q239386
Q502895
USER
And what about Agnes von Krusenstjerna?
(Q239386,P26,c(Q502895))
action filter_type
action find
entity Q239386
relation P26
type Q502895
['Q239386', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q239386 property:P26 ?g . ?g rdf:type ontology:Q502895 }
Agnes von Krusenstjerna
action filter_type
action find
entity Agnes von Krusenstjerna
relation spouse
type common name
['Agnes von Krusenstjerna', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Agnes_von_Krusenstjerna property:spouse ?g . ?g rdf:type ontology:common_name }
[]
common name
Q6185909
SYSTEM
David Sprengel
Q6185909
(Q239386,P26,c(Q502895))
action filter_type
action find
entity Q239386
relation P26
type Q502895
[ANSWER]
['Q239386', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q239386 property:P26 ?g . ?g rdf:type ontology:Q502895 }
David Sprengel
David Sprengel
action filter_type
action find
entity Agnes von Krusenstjerna
relation spouse
type common name
['Agnes von Krusenstjerna', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Agnes_von_Krusenstjerna property:spouse ?g . ?g rdf:type ontology:common_name }
[]