What is {male} of {Adam}, that has {abreviated name} is {♂} ?
What is the male of Adam, that has abreviated title of o?
What is the male of Adam, that has abreviated name of o?
SELECT ?p WHERE { resource:Adam property:sex_or_gender ?p . FILTER ( CONTAINS ( ?h , '♂' ) ) . ?p property:short_name ?h }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q70899> . ?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:Q70899 wdt:P21 ?answer . ?answer wdt:P1813 ?x FILTER(contains(?x , '♂'))}