adding links to text inventory and triples