anchor.diff:          {visible_for, 0}
       ],
       case m_rsc_update:insert(Props, [{acl_check, false}], Context) of
  -        {ok, Id} -> 
  +        {ok, Id} ->
               m_predicate:flush(Context),
               {ok, Id};
           {error, Reason} ->
  
positive.code: }, Context) ->
      PredicateId = ensure_predicate(Predicate, Context),
      m_edge:insert(
          m_rdf:ensure_resource(Subject, SubjectProps, Context), 
          PredicateId, 
          m_rdf:ensure_resource(Object, ObjectProps, Context),
          Context
      ).
  
  %% @doc Ensure predicate exists. If it doesn't yet exist, create it.
  %% @spec ensure_predicate(Uri, Context) -> int()
  ensure_predicate(Uri, Context) ->
      %% Check if the predicate already exists in Zotonic
      case m_rsc:uri_lookup(Uri, Context) of
          undefined ->
              %% predicate needs to be created
              {ok, Id} = create_predicate(Uri, Context),
              Id;
          Id -> Id
      end.
      
  %% @doc Create RDF predicate
  create_predicate(Uri, Context) ->
      Props = [
  
negative.code: -include_lib("../include/rdf.hrl").
  
  %% @doc Insert a triple, making sure no duplicates are created
  -spec insert(#triple{}, #context{}) -> {ok, integer()} | {error, string()}.
  insert(#triple{
      type=Type,
      subject=Subject,
  