Simple Question (Direct)
Simple Question
Q711942
P40
Q502895
USER
Who is a child of Liu Zhang ?
(Q711942,P40,c(Q502895))
action filter_type
action find
entity Q711942
relation P40
type Q502895
['Q711942', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q711942 property:P40 ?y . ?y rdf:type ontology:Q502895 }
Liu Zhang
action filter_type
action find
entity Liu Zhang
relation child
type common name
['Liu Zhang', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Liu_Zhang property:child ?y . ?y rdf:type ontology:common_name }
[]
common name
Q10897224
SYSTEM
Liu Xi
Q10897224
(Q711942,P40,c(Q502895))
action filter_type
action find
entity Q711942
relation P40
type Q502895
A child of Liu Zhang is called [ANSWER]
['Q711942', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q711942 property:P40 ?y . ?y rdf:type ontology:Q502895 }
Liu Xi
A child of Liu Zhang is called Liu Xi
Liu Xi
action filter_type
action find
entity Liu Zhang
relation child
type common name
['Liu Zhang', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Liu_Zhang property:child ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q711942
P7
Q502895
USER
Which people had Liu Zhang as brother ?
(c(Q502895),P7,Q711942)
action filter_type
action find
entity Q711942
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q711942']
SELECT DISTINCT ?p WHERE { resource:Q711942 property:P7 ?p . ?p rdf:type ontology:Q502895 }
Liu Zhang
action filter_type
action find
entity Liu Zhang
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Liu Zhang']
SELECT DISTINCT ?p WHERE { resource:Liu_Zhang property:brother ?p . ?p rdf:type ontology:common_name }
[]
common name
Q711401 Q10897312 Q10897894
SYSTEM
Liu Xiang, Liu An, Liu Bajun
Q10897528 Q10897312 Q10897894 Q10897303 Q10897125 Q712656 Q6653665 Q10897969 Q711401 Q10899487 Q6937408 Q10898057
(c(Q502895),P7,Q711942)
action filter_type
action find
entity Q711942
relation P7
type Q502895
[ANSWERS] had Liu Zhang as brother
[{'concept': 'Q502895'}, 'P7', 'Q711942']
SELECT DISTINCT ?p WHERE { resource:Q711942 property:P7 ?p . ?p rdf:type ontology:Q502895 }
Liu Zhi Liu An Liu Bajun Liu Ningguo Liu Xindou Liu Xingju Liu Piguang Liu Xian Liu Xiang Liu Ang Liu Jianglu Liu Xiongqu
Liu Xiang, Liu An and Liu Bajun had Liu Zhang as brother
Liu Xiang Liu An Liu Bajun
action filter_type
action find
entity Liu Zhang
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Liu Zhang']
SELECT DISTINCT ?p WHERE { resource:Liu_Zhang property:brother ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10897224
P22
Q502895
USER
Which person has Liu Xi as father ?
(c(Q502895),P22,Q10897224)
action filter_type
action find_reverse
entity Q10897224
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q10897224']
SELECT DISTINCT ?g WHERE { ?g property:P22 resource:Q10897224 . ?g rdf:type ontology:Q502895 }
Liu Xi
action filter_type
action find_reverse
entity Liu Xi
relation father
type common name
[{'concept': 'common name'}, 'father', 'Liu Xi']
SELECT DISTINCT ?g WHERE { ?g property:father resource:Liu_Xi . ?g rdf:type ontology:common_name }
[]
common name
Q10897487
SYSTEM
Liu Yan
Q10897487
(c(Q502895),P22,Q10897224)
action filter_type
action find_reverse
entity Q10897224
relation P22
type Q502895
[ANSWER] has Liu Xi as father
[{'concept': 'Q502895'}, 'P22', 'Q10897224']
SELECT DISTINCT ?g WHERE { ?g property:P22 resource:Q10897224 . ?g rdf:type ontology:Q502895 }
Liu Yan
Liu Yan has Liu Xi as father
Liu Yan
action filter_type
action find_reverse
entity Liu Xi
relation father
type common name
[{'concept': 'common name'}, 'father', 'Liu Xi']
SELECT DISTINCT ?g WHERE { ?g property:father resource:Liu_Xi . ?g rdf:type ontology:common_name }
[]