Simple Question (Direct)
Simple Question
Q270693
P26
Q502895
USER
Who is married to Guo Jingjing ?
(Q270693,P26,c(Q502895))
action filter_type
action find
entity Q270693
relation P26
type Q502895
['Q270693', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q270693 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Guo Jingjing
action filter_type
action find
entity Guo Jingjing
relation spouse
type common name
['Guo Jingjing', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Guo_Jingjing property:spouse ?t . ?t rdf:type ontology:common_name }
[]
common name
Q8958593
SYSTEM
Kenneth Fok
Q8958593
(Q270693,P26,c(Q502895))
action filter_type
action find
entity Q270693
relation P26
type Q502895
[ANSWER] is married to Guo Jingjing
['Q270693', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q270693 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Kenneth Fok
Kenneth Fok is married to Guo Jingjing
Kenneth Fok
action filter_type
action find
entity Guo Jingjing
relation spouse
type common name
['Guo Jingjing', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Guo_Jingjing property:spouse ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8958593
P40
Q502895
USER
Who have that one as a child ?
(c(Q502895),P40,Q8958593)
action filter_type
action find_reverse
entity Q8958593
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q8958593']
SELECT DISTINCT ?s WHERE { ?s property:P40 resource:Q8958593 . ?s rdf:type ontology:Q502895 }
Kenneth Fok
action filter_type
action find_reverse
entity Kenneth Fok
relation child
type common name
[{'concept': 'common name'}, 'child', 'Kenneth Fok']
SELECT DISTINCT ?s WHERE { ?s property:child resource:Kenneth_Fok . ?s rdf:type ontology:common_name }
[]
common name
Q7807201 Q6668898
SYSTEM
Timothy Fok, Loletta Chu
Q7807201 Q6668898
(c(Q502895),P40,Q8958593)
action filter_type
action find_reverse
entity Q8958593
relation P40
type Q502895
[ANSWERS] have that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q8958593']
SELECT DISTINCT ?s WHERE { ?s property:P40 resource:Q8958593 . ?s rdf:type ontology:Q502895 }
Timothy Fok Loletta Chu
Timothy Fok and Loletta Chu have that one as a child
Timothy Fok Loletta Chu
action filter_type
action find_reverse
entity Kenneth Fok
relation child
type common name
[{'concept': 'common name'}, 'child', 'Kenneth Fok']
SELECT DISTINCT ?s WHERE { ?s property:child resource:Kenneth_Fok . ?s rdf:type ontology:common_name }
[]