SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/president> <http://dbpedia.org/resource/Queen_Noor_of_Jordan> . ?x <http://dbpedia.org/property/president> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/School>}
Name presidents of the schools which have queen noor of Jordan as one of them ?
SELECT DISTINCT ?b WHERE { ?t rdf:type ontology:School . ?t property:president ?b . ?t property:president resource:Queen_Noor_of_Jordan }
Nelson Mandela, Queen Noor of Jordan, Louis Mountbatten, 1st Earl Mountbatten of Burma, Charles, Prince of Wales, Queen Noor of Jordan
The presidents of schools with also Queen Noor of Jordan as president are [Nelson Mandela, Queen Noor of Jordan, Louis Mountbatten, 1st Earl Mountbatten of Burma, Charles, Prince of Wales, Queen Noor of Jordan].
Pupils at schools whose president is Queen Noor of Jordan [Nelson Mandela, Queen Noor of Jordan, Louis Mountbatten, 1st Earl Mountbatten of Burma, Charles, Prince of Wales, Queen Noor of Jordan].