What is {previous job holder} of {dynasty} of {Mangalesa} ?
what is work holder is past mangalesa of tradition?
what is job holder is previous mangalesa of dynasty?
SELECT ?n WHERE { ?d property:replaces ?n . resource:Mangalesa property:family ?d }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q12444610> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P53>. ?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/P1365> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q12444610 wdt:P53 ?X . ?X wdt:P1365 ?answer}
Kadamba Dynasty