More advanced RDF serialization