Get the facet of a relationship between two entities

This is a very basic query, but I’ve been struggling with it for a bit.
I have a relationship between two nodes, and I want to return a particular facet on the relationship.

How can this be achieved ?- the input needs to be 2 uids, and the return needs to be a facet of the relation between those 2 nodes
Thank you

From your description of the query, do you mean something like this?

  q(func: uid(0x01)){ 
    relationship @filter(uid(0x02)) @facet(myfacet)

I am making a lot of assumptions here like you are in fact using known uids etc.