Skip to content

Commit

Permalink
Do not add a sameAs if it already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Wielemaker authored and Jan Wielemaker committed Nov 19, 2010
1 parent 881ecaf commit b2c1a51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/semweb/rdf_foaf.pl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
foaf_merge_raw(URI) :-
forall((rdf(URI, foaf:mbox_sha1sum, Hash),
rdf(URI2, foaf:mbox_sha1sum, Hash, Graph),
URI \== URI2),
URI \== URI2,
\+ rdf(URI2, owl:sameAs, URI)),
rdf_assert(URI2, owl:sameAs, URI, Graph)).


Expand Down

0 comments on commit b2c1a51

Please sign in to comment.