anchor.diff:      [Object].
       
   %% @doc Construct a #triple{} record.
  --spec triple(binary(), binary(), binary() | map(), map()) -> #triple{}.
  -triple(Subject, <<"http://", _binary>> = Predicate, Object, _Context) ->
  -    triple_resolved(Subject, Predicate, Object);
  -triple(Subject, <<"https://", _binary>> = Predicate, Object, _Context) ->
  -    triple_resolved(Subject, Predicate, Object);
  -triple(Subject, Predicate, Object, Context) ->
  -    triple_resolved(Subject, resolve_predicate(Predicate, Context), Object).
  -
  -triple_resolved(Subject, Predicate, <<"http://", _/binary>> = Object) ->
  +-spec triple(binary(), binary(), binary()) -> #triple{}.
  +triple(Subject, Predicate, <<"http://", _/binary>> = Object) ->
       #triple{type = resource, subject = Subject, predicate = Predicate, object = Object};
  -triple_resolved(Subject, Predicate, <<"https://", _/binary>> = Object)  ->
  +triple(Subject, Predicate, <<"https://", _/binary>> = Object)  ->
       #triple{type = resource, subject = Subject, predicate = Predicate, object = Object};
  -triple_resolved(Subject, Predicate, #{<<"@id">> := Uri} = Object) ->
  -    #triple{type = resource, subject = Subject, predicate = Predicate, object = Object};
  -triple_resolved(Subject, Predicate, <<"https://", _/binary>> = Object)  ->
  -    #triple{type = resource, subject = Subject, predicate = Predicate, object = Object};
  -triple_resolved(Subject, Predicate, #{<<"@language">> := Language, <<"@value">> := Value}) ->
  +triple(Subject, Predicate, #{<<"@id">> := Uri}) ->
  +    #triple{type = resource, subject = Subject, predicate = Predicate, object = Uri};
  +triple(Subject, Predicate, #{<<"@language">> := Language, <<"@value">> := Value}) ->
       Object = #rdf_value{value = Value, language = Language},
       #triple{subject = Subject, predicate = Predicate, object = Object};
  -triple_resolved(Subject, Predicate, Object) ->
  +triple(Subject, Predicate, Object) ->
       #triple{subject = Subject, predicate = Predicate, object = Object}.
   
   triple_to_json(#triple{predicate = <<?NS_RDF, "type">>, type = resource, object = Object}) ->
  
positive.code: 
  %% @doc Resolve a predicate's namespace
  -spec resolve_predicate(binary(), list()) -> binary() | undefined.
  resolve_predicate(Predicate, Context) ->
      case binary:split(Predicate, <<":">>) of
          [Namespace, Property] ->
  
negative.code:             deserialize(Key, Value, Acc, Context)
          end,
          #rdf_resource{},
          maps:remove(<<"@context">>, JsonLd)
      );
  deserialize(JsonLd) ->
      %% Fall back to mochijson {struct, ...} structure
  