For completeness - I think we discounted temp:last_login^^xsd:dateTime in favour of date(temp:last_login) - ^^xsd:dateTime seems to be applied to literals and not predicates