I am getting accustomed to the Ruby RDF JSON-LD toolset and currently I'm trying to extract knowledge from plain JSON files which do not carry a JSON-LD context. Therefore I need a way to set a locally-provided context when loading them.
So what I am doing is using JSON::LD::API.toRdf
. But it seems I can't set a local context directly in its interface. How can it be done?