What is {gender identity} of {Yang Liwei}, that has {shortened name} is {мужской} ?
What is the sex character of Yang Liwei, abbreviated title for мужской?
What is the gender identity of Yang Liwei, shortened name for мужской?
SELECT ?y WHERE { FILTER ( CONTAINS ( ?s , 'мужской' ) ) . resource:Yang_Liwei property:sex_or_gender ?y . ?y property:short_name ?s }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q147581> . ?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> ?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/P1813> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <мужской> . }
SELECT ?answer WHERE { wd:Q147581 wdt:P21 ?answer . ?answer wdt:P1813 ?x FILTER(contains(?x , 'мужской'))}