print_turtle


Description:

[ Version ( deprecated = true , deprecated_since = "3.4" ) ]
public string print_turtle (NamespaceManager? namespaces)

Warning: print_turtle is deprecated since 3.4.

Serialize all the information in resource as a Turtle document.

Note:

Use [method@Resource.print_rdf] instead.

The generated Turtle should correspond to this standard: https://www.w3.org/TR/2014/REC-turtle-20140225/

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.

Parameters:

this

a `TrackerResource`

namespaces

a set of prefixed URLs, or null to use the Nepomuk set

Returns:

a newly-allocated string