Contents:
Build a SPARQL query that walks up to step_count ancestors for the seeds.
Used for CURIE validation