If the Wikidata ID describes the trail as a whole then it should only be tagged on the relation that describes the whole trail. You have added the whole-trail wikidata ID to every individual section now which is wrong - only give wikidata tags to the individual sections if there is a wikidata item for that particular section.