handling sameAs for linksets in add-metadata.py