Steps to Reproduce:
(see SMW Sandbox)
-create a anonymous subobject:
{{#subobject: |Display title of=DisplayTitle}}
-create a named subobject:
{{#subobject: RealTitle |Display title of=DisplayTitle}}
-link to or query both:
{{#ask: [[-has subobject::{{FULLPAGENAME}}]] |?Display title of }}
Actual Results:
anonymous subobject creates link text "DisplayTitle" (as expected)
named subobject creates link text "DisplayTitle#RealTitle" instead
Expected Results:
both subobjects should create the same link text ("DisplayTitle")