What is the {subject of international law} for {office held by head of the organisation} of {United Nations Secretary-General}
who subject of universal law for office held by head of the association of Joined together Countries Secretary-General?
who subject of international law for office held by head of the organisation of United Nations Secretary-General?
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:subject_of_international_law . ?w property:office_held_by_head_of_the_organization resource:Secretary-General_of_the_United_Nations }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2388> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q81066> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q1896989> } 
 select distinct ?sbj where { ?sbj wdt:P2388 wd:Q81066 . ?sbj wdt:P31 wd:Q1896989 } 