getEntity
Returns the resource representation as a byte stream.
For an RDFResource this is the serialized RDF (JSON-LD); for a NonRDFResource it is the raw body. The caller owns the returned stream and should close it (or close this resource).
Throws
if the representation cannot be produced.