What is the {sex or gender} and the {partner} of {Barbie} ?
Which sex is Barbie, and who is her partner?
What is the sex of Barbie and who is her partner?
SELECT ?u ?v WHERE { resource:Barbie property:sex_or_gender ?u . resource:Barbie property:unmarried_partner ?v }
 SELECT ?ans_1 ?ans_2 WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q167447> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P21> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?ans_1. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q167447> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P451> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?ans_2. } 
SELECT ?ans_1 ?ans_2 WHERE { wd:Q167447 wdt:P21 ?ans_1 . wd:Q167447 wdt:P451 ?ans_2 }
female Ken female Blaine