add relation query model

Change-Id: Idbd27eb8bb00a7927ec4070decab6d48ee0653c1
Signed-off-by: li levi <levi.li@sap.com>