What is {diplomatic relation} of {East Timor} that is {statement is subject of} is {East Timor–Indonesia relations} ?
which is statement of east timor that is diplomatic relation subject of east timor-indonesia relations?
which is diplomatic relation of east timor that is statement is subject of east timor-indonesia relations?
SELECT ?w WHERE { resource:East_Timor property:diplomatic_relation ?g . ?g property:statement_is_subject_of resource:East_Timor–Indonesia_relations . ?g property:diplomatic_relation ?w }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q574> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P530> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P805> <http://wikidata.dbpedia.org/resource/Q5329541>
} 

SELECT ?obj WHERE { wd:Q574 p:P530 ?s . ?s ps:P530 ?obj . ?s pq:P805 wd:Q5329541 }