If your query results in the path identified as âactual dataâ, you can construct a virtual path for each of the paths identified as âoutputâ using the apoc procedure/functions described in the link below.
https://neo4j.com/labs/apoc/4.2/virtual/virtual-nodes-rels/#_function_overview