I used the RDF vocabulary class to pass a ResResource ( ie. RDF::REST() or RDF::NIL() ) to the find function in an OntModel, however, they were treated like NULLs. Using a ResProperty (ie. new ResProperty(RDF_NAMESPACE_URI.'rest') instead fixes this behaviour.
This was done using RAP 0.9.5.