NEST - get the string path from a property on my model

Hi all,

So, I'm indexing the data from the POCO model, so far so good (and the attributes are great for this).

When querying elastic, sometime I've got to go deeper on model, for example

.Term(p=> p.Company.IsBoardOfDirectors.Items.First().PropertyValue, true)

I'm trying to get the path from the model, something like this (I know this is wrong, Is just to give the ideia):

string path = Company.IsBoardOfDirectors.Items.First().PropertyValue.ToPathString();
.Term(path, true);

This would become handy for making some filter constructors more re-usable. Is there way to accomplish this (using NEST)?