Properly define RDFNode#valueOf