Apoc path expander functions

A general question regarding apoc path expander functions. In the Neo4J documentation, all examples are based on monopartite graph models. Can I use the expander functions with say a tri-partite graph model?
Basically something like this:
(p:Person)-[pl:PLAYS]->(s:Song)<-[ob:OWNED_BY]-(a:Artist)