Simple Question (Direct)
Simple Question
Q1069768
P26
Q502895
USER
Who are the spouses of Murong Chui ?
(Q1069768,P26,c(Q502895))
action filter_type
action find
entity Q1069768
relation P26
type Q502895
['Q1069768', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q1069768 property:P26 ?o }
Murong Chui
action filter_type
action find
entity Murong Chui
relation spouse
type common name
['Murong Chui', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Murong_Chui property:spouse ?o }
[]
common name
Q5374509 Q6646400 Q5374474
SYSTEM
Empress Duan Yuanfei, Princess Duan, Empress Dowager Duan
Q5374509 Q6646400 Q5374474
(Q1069768,P26,c(Q502895))
action filter_type
action find
entity Q1069768
relation P26
type Q502895
The spouses of Murong Chui are the [ANSWERS]
['Q1069768', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q1069768 property:P26 ?o }
Empress Duan Yuanfei Princess Duan Empress Dowager Duan
The spouses of Murong Chui are the Empress Duan Yuanfei, Princess Duan and Empress Dowager Duan
Empress Duan Yuanfei Princess Duan Empress Dowager Duan
action filter_type
action find
entity Murong Chui
relation spouse
type common name
['Murong Chui', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Murong_Chui property:spouse ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5374509
P734
Q82799
USER
Who has the surname Empress Duan Yuanfei ?
(Q5374509,P734,c(Q82799))
action filter_type
action find
entity Q5374509
relation P734
type Q82799
['Q5374509', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q5374509 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Empress Duan Yuanfei
action filter_type
action find
entity Empress Duan Yuanfei
relation family name
type name
['Empress Duan Yuanfei', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Empress_Duan_Yuanfei property:family_name ?p . ?p rdf:type ontology:name }
[]
name
Q1233098
SYSTEM
Duan
Q1233098
(Q5374509,P734,c(Q82799))
action filter_type
action find
entity Q5374509
relation P734
type Q82799
Emperor [ANSWER] has the surname Empress [ANSWER] Yuanfei
['Q5374509', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q5374509 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Duan
Emperor Duan has the surname Empress Duan Yuanfei
Duan
action filter_type
action find
entity Empress Duan Yuanfei
relation family name
type name
['Empress Duan Yuanfei', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Empress_Duan_Yuanfei property:family_name ?p . ?p rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5374509
P40
Q502895
USER
Who are the children of Empress Duan Yuanfei ?
(Q5374509,P40,c(Q502895))
action filter_type
action find
entity Q5374509
relation P40
type Q502895
['Q5374509', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q5374509 property:P40 ?a . ?a rdf:type ontology:Q502895 }
Empress Duan Yuanfei
action filter_type
action find
entity Empress Duan Yuanfei
relation child
type common name
['Empress Duan Yuanfei', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Empress_Duan_Yuanfei property:child ?a . ?a rdf:type ontology:common_name }
[]
common name
Q16076550 Q16076768
SYSTEM
Murong Jian, Murong Lang
Q16076550 Q16076768
(Q5374509,P40,c(Q502895))
action filter_type
action find
entity Q5374509
relation P40
type Q502895
The children of Empress Duan Yuanfei are named [ANSWERS]
['Q5374509', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q5374509 property:P40 ?a . ?a rdf:type ontology:Q502895 }
Murong Jian Murong Lang
The children of Empress Duan Yuanfei are named Murong Jian and Murong Lang
Murong Jian Murong Lang
action filter_type
action find
entity Empress Duan Yuanfei
relation child
type common name
['Empress Duan Yuanfei', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Empress_Duan_Yuanfei property:child ?a . ?a rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16076768
P7
Q502895
USER
Which people have that one as their brother ?
(c(Q502895),P7,Q16076768)
action filter_type
action find
entity Q16076768
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q16076768']
SELECT DISTINCT ?o WHERE { resource:Q16076768 property:P7 ?o . ?o rdf:type ontology:Q502895 }
Murong Lang
action filter_type
action find
entity Murong Lang
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Murong Lang']
SELECT DISTINCT ?o WHERE { resource:Murong_Lang property:brother ?o . ?o rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q16076768
SYSTEM
Did you mean Murong Lang ?
Q16076550 Q16076768
(c(Q502895),P7,Q16076550) (c(Q502895),P7,Q16076768)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q16076550'] [{'concept': 'Q502895'}, 'P7', 'Q16076768']
SELECT DISTINCT ?o WHERE { resource:Q16076768 property:P7 ?o . ?o rdf:type ontology:Q502895 }
Murong Jian Murong Lang
Did you mean Murong Lang ?
Murong Lang
[{'concept': 'common name'}, 'brother', 'Murong Jian'] [{'concept': 'common name'}, 'brother', 'Murong Lang']
SELECT DISTINCT ?o WHERE { resource:Murong_Lang property:brother ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P7,Q16076768)
[{'concept': 'Q502895'}, 'P7', 'Q16076768']
[{'concept': 'common name'}, 'brother', 'Murong Lang']
[]
Q1076801 Q11074098 Q1071544
SYSTEM
Murong Bao, Murong Ling, Murong Xi
Q1071544 Q16076614 Q16076550 Q3275346 Q16260603 Q1076801 Q6646439 Q6938839 Q11074098
(c(Q502895),P7,Q16076768)
action filter_type
action find
entity Q16076768
relation P7
type Q502895
[ANSWERS] have that one as their brother
[{'concept': 'Q502895'}, 'P7', 'Q16076768']
SELECT DISTINCT ?o WHERE { resource:Q16076768 property:P7 ?o . ?o rdf:type ontology:Q502895 }
Murong Xi Murong Wonu Murong Jian Murong Lin Murong Rou Murong Bao Murong Nong Murong Long Murong Ling
Murong Bao, Murong Ling and Murong Xi have that one as their brother
Murong Bao Murong Ling Murong Xi
action filter_type
action find
entity Murong Lang
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Murong Lang']
SELECT DISTINCT ?o WHERE { resource:Murong_Lang property:brother ?o . ?o rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3108110
P7
Q502895
USER
Did Giuseppe Moriani have those ones as brother ?
(Q3108110,P7,Q1076801) (Q3108110,P7,Q11074098) (Q3108110,P7,Q1071544)
action is_in
entity prev_answer
action find
entity Q3108110
relation P7
['Q3108110', 'P7', 'Q1076801'] ['Q3108110', 'P7', 'Q11074098'] ['Q3108110', 'P7', 'Q1071544']
ASK WHERE { VALUES ( ?w ) { ( resource:Q1071544 ) ( resource:Q16076614 ) ( resource:Q16076550 ) } . resource:Q3108110 property:P7 ?w }
Giuseppe Moriani
action is_in
entity prev_answer
action find
entity Giuseppe Moriani
relation brother
['Giuseppe Moriani', 'brother', 'Murong Bao'] ['Giuseppe Moriani', 'brother', 'Murong Ling'] ['Giuseppe Moriani', 'brother', 'Murong Xi']
ASK WHERE { VALUES ( ?w ) { ( resource:Murong_Xi ) ( resource:Murong_Wonu ) ( resource:Murong_Jian ) } . resource:Giuseppe_Moriani property:brother ?w }
[]
common name
SYSTEM
NO
(Q3108110,P7,Q1076801) (Q3108110,P7,Q11074098) (Q3108110,P7,Q1071544)
action is_in
entity prev_answer
action find
entity Q3108110
relation P7
[ANSWER]
['Q3108110', 'P7', 'Q1076801'] ['Q3108110', 'P7', 'Q11074098'] ['Q3108110', 'P7', 'Q1071544']
ASK WHERE { VALUES ( ?w ) { ( resource:Q1071544 ) ( resource:Q16076614 ) ( resource:Q16076550 ) } . resource:Q3108110 property:P7 ?w }
No
action is_in
entity prev_answer
action find
entity Giuseppe Moriani
relation brother
['Giuseppe Moriani', 'brother', 'Murong Bao'] ['Giuseppe Moriani', 'brother', 'Murong Ling'] ['Giuseppe Moriani', 'brother', 'Murong Xi']
ASK WHERE { VALUES ( ?w ) { ( resource:Murong_Xi ) ( resource:Murong_Wonu ) ( resource:Murong_Jian ) } . resource:Giuseppe_Moriani property:brother ?w }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q465131 Q11074098
P22
Q502895
USER
Which people were the father of Murong Ling or Sophie Charlotte of Hesse-Kassel ?
OR((Q11074098,P22,c(Q502895)), (Q465131,P22,c(Q502895)))
action filter_type
action union
action find
entity Q11074098
relation P22
action find
entity Q465131
relation P22
type Q502895
{'OR': [['Q11074098', 'P22', {'concept': 'Q502895'}], ['Q465131', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q11074098 property:P22 ?s } UNION { resource:Q465131 property:P22 ?s } } . ?s rdf:type ontology:Q502895 }
Sophie Charlotte of Hesse-Kassel Murong Ling
action filter_type
action union
action find
entity Murong Ling
relation father
action find
entity Sophie Charlotte of Hesse-Kassel
relation father
type common name
{'OR': [['Murong Ling', 'father', {'concept': 'common name'}], ['Sophie Charlotte of Hesse-Kassel', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Murong_Ling property:father ?s } UNION { resource:Sophie_Charlotte_of_Hesse-Kassel property:father ?s } } . ?s rdf:type ontology:common_name }
[]
common name
Q1069768 Q62516
SYSTEM
Murong Chui, Charles I, Landgrave of Hesse-Kassel
Q1069768 Q62516
OR((Q11074098,P22,c(Q502895)), (Q465131,P22,c(Q502895)))
action filter_type
action union
action find
entity Q11074098
relation P22
action find
entity Q465131
relation P22
type Q502895
[ANSWERS]
{'OR': [['Q11074098', 'P22', {'concept': 'Q502895'}], ['Q465131', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q11074098 property:P22 ?s } UNION { resource:Q465131 property:P22 ?s } } . ?s rdf:type ontology:Q502895 }
Murong Chui Charles I, Landgrave of Hesse-Kassel
Murong Chui and Charles I, Landgrave of Hesse-Kassel were the father of Murong Ling or Sophie Charlotte of Hesse-Kassel
Murong Chui Charles I, Landgrave of Hesse-Kassel
action filter_type
action union
action find
entity Murong Ling
relation father
action find
entity Sophie Charlotte of Hesse-Kassel
relation father
type common name
{'OR': [['Murong Ling', 'father', {'concept': 'common name'}], ['Sophie Charlotte of Hesse-Kassel', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Murong_Ling property:father ?s } UNION { resource:Sophie_Charlotte_of_Hesse-Kassel property:father ?s } } . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1069768 Q62516
P7
Q502895
USER
Who have those ones as their brother ?
(Q1069768,P7,c(Q502895)) (Q62516,P7,c(Q502895))
action filter_type
action find
entity prev_answer
relation P7
type Q502895
['Q1069768', 'P7', {'concept': 'Q502895'}] ['Q62516', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?z ) { ( resource:Q1069768 ) ( resource:Q62516 ) } . ?y rdf:type ontology:Q502895 . ?z property:P7 ?y }
Murong Chui Charles I, Landgrave of Hesse-Kassel
action filter_type
action find
entity prev_answer
relation brother
type common name
['Murong Chui', 'brother', {'concept': 'common name'}] ['Charles I, Landgrave of Hesse-Kassel', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?z ) { ( resource:Murong_Chui ) ( resource:Charles_I,_Landgrave_of_Hesse-Kassel ) } . ?y rdf:type ontology:common_name . ?z property:brother ?y }
[]
common name
Q1071329 Q837580 Q1069310
SYSTEM
Murong Jun, Murong Ke, Murong De
Q837580 Q1071329 Q1069310 Q61557 Q558323
(Q1069768,P7,c(Q502895)) (Q62516,P7,c(Q502895))
action filter_type
action find
entity prev_answer
relation P7
type Q502895
[ANSWERS] have those ones as their brother
['Q1069768', 'P7', {'concept': 'Q502895'}] ['Q62516', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?z ) { ( resource:Q1069768 ) ( resource:Q62516 ) } . ?y rdf:type ontology:Q502895 . ?z property:P7 ?y }
Murong Ke Murong Jun Murong De William VII, Landgrave of Hesse-Kassel Philip, Landgrave of Hesse-Philippsthal
Murong Jun, Murong Ke and Murong De have those ones as their brother
Murong Jun Murong Ke Murong De
action filter_type
action find
entity prev_answer
relation brother
type common name
['Murong Chui', 'brother', {'concept': 'common name'}] ['Charles I, Landgrave of Hesse-Kassel', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?z ) { ( resource:Murong_Chui ) ( resource:Charles_I,_Landgrave_of_Hesse-Kassel ) } . ?y rdf:type ontology:common_name . ?z property:brother ?y }
[]