What is {guilty of} of {contestant} of {Descendants of the Sun} ?
Who is the hopeful of Relatives of the Sun?
Who is the contestant of Descendants of the Sun?
SELECT ?b WHERE { resource:Descendants_of_the_Sun property:cast_member ?j . ?j property:convicted_of ?b }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q18652415> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P161>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1399> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q18652415 wdt:P161 ?X . ?X wdt:P1399 ?answer}