What is {gender} of {Kartikeya}, that has {abreviated name} is {♂} ?
What is the sexual orientation of Kartikeya whose image is additionally ♂?
What is the gender of Kartikeya whose symbol is also ♂?
SELECT ?y WHERE { FILTER ( CONTAINS ( ?n , '♂' ) ) . resource:Murugan property:sex_or_gender ?y . ?y property:short_name ?n }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q380817> . ?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:Q380817 wdt:P21 ?answer . ?answer wdt:P1813 ?x FILTER(contains(?x , '♂'))}