Relationships associate objects with other objects in Salesforce.com. For example, a relationship can link a custom object to standard object in a related list, such as linking a custom object called Bugs to cases to track product defects associated with customer cases. To view the parent and child relationships among standard objects, see the ERD diagrams in Data Model.
When you define a master-detail relationship, the custom object on which you are working is the “detail” side. Its data can appear as a custom related list on page layouts for the other object.
Custom objects with two master-detail relationships are supported in API version 11 and later.
To create relationships, use the Salesforce.com user interface or Salesforce.com Metadata API. For detailed information, see the Salesforce.com online help.
In Axis, the element for a relationship will be a query result for parent-to-child relationships or an sObject for child-to-parent relationships.