2.1.9.9 [OData4.0-1Protocol] Section 10.16 Operation Result

The [OData4.0-1Protocol] specification states the following:

 Context URL templates:
  
     {context-url}#{entity-set}{/type-name}{select-list}
     {context-url}#{entity-set}{/type-name}{select-list}/$entity
     {context-url}#{entity}/{property-path}
     {context-url}#Collection({type-name})
     {context-url}#{type-name}
  
 If the response from an action or function is a collection of entities or a single entity 
 that is a member of an entity set, the context URL identifies the entity set. If the response 
 from an action or function is a property of a single entity, the context URL identifies the 
 entity and property. Otherwise, the context URL identifies the type returned by the 
 operation. The context URL will correspond to one of the former examples.

OData in the specified Microsoft implementations (section 1.3) partially supports this feature. The metadata URL for an operation result is the same as the metadata URL for the primitive or complex type, or collection of primitive or complex types, returned by the operation.