// Don't forget to bind it to a varible // if you're using it in a select clause select ?name ?age ( if(bound(?gen), ?gen, 'None') as ?gender )