What is the {photo library} for {chairperson} of {Bill Gates}
Which is the photo library of the chairperson of Charge Gates?
Which is the photo library of the chairperson of Bill Gates?
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q2912944 . ?g property:chairperson resource:Bill_Gates }
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/P488> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q5284> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q2912944> } 
 select distinct ?sbj where { ?sbj wdt:P488 wd:Q5284 . ?sbj wdt:P31 wd:Q2912944 } 