What is {sons} of {Emperor Wu of Jin}, that has {has surname} is {Sima} ?
Who are rhe sons of Emperor Wu of Jin whose surname is Sima?
Who are rhe sons of Emperor Wu of Jin whose surname is Sima?
SELECT ?o WHERE { resource:Emperor_Wu_of_Jin property:child ?o . ?o property:family_name resource:Sima }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q7356> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P40>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P734> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q592176> . }
SELECT ?answer WHERE { wd:Q7356 wdt:P40 ?answer . ?answer wdt:P734 wd:Q592176}
Emperor Hui of Jin Emperor Huai of Jin Sima Ying Sima Yan Sima Jian Sima Wei Sima Ai Sima Yun Sima Hui Sima Xian Sima Jing Sima Yan Sima Zhi Sima Yu Sima Gai Sima Gui Sima Xia Princess Changshan princess Pingyang princess Guangping princess Xinfeng princess Wuan Sima Mo princess Xingyang elder princess Xingyang princess Yingchuan princess Lingshou princess Fanchang princess Wannian princess Xiangcheng princess Yangping