I could probably pull this if statement into the `SPARQL::Client#serialize_predicate` method.