[ Version ( since = "3.4" ) ]
public string print_rdf (NamespaceManager namespaces, RdfFormat format, string? graph)
Serialize all the information in resource into the selected RDF format.
The namespaces object is used to expand any compact URI values. In most cases you should pass the one returned by [
method@SparqlConnection.get_namespace_manager] from the connection that is the intended recipient of this data.
| this |
a `TrackerResource` |
| namespaces |
a set of prefixed URLs |
| format |
RDF format of the printed string |
| graph |
target graph of the resource RDF, or null for the default graph |
|
a newly-allocated string containing RDF data in the requested format. |