Reasoning with geosparql

Hi,

I am trying to use geof:distnace in my schema inside a rule but it is always returning empty result. But it is perfectly working if I use it in a query. Does anyone has similar issue?
Anee