What is {authors} of {Doonesbury}, that has {female} is {male} ?
Who are the creators of Doonesbury?
Who are the authors of Doonesbury?
SELECT ?l WHERE { ?l property:sex_or_gender resource:male . resource:Doonesbury property:author ?l }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q429433> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P50>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P21> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q6581097> . }
SELECT ?answer WHERE { wd:Q429433 wdt:P50 ?answer . ?answer wdt:P21 wd:Q6581097}
Garry Trudeau