Tree format and subobjects - link to parents doesn't work


Hi all,

I stumbled upon a problem with the tree format, perhaps somebody here can help me. I use MW 1.23.2, SMW 2.0 and SRF 1.9 alpha.

As an example, I store locations in my wiki. For locations with a lot of information, I create a page, for locations with only some semantic data, I only create a subobject. The sematic attributes are the same for both. Both have the attributes "name is" and "located in".

I'd like to use the tree format to display a hierarchy of the places. I use the following query:

{{#ask: [[name is::+]] | ?name is | format=tree | parent=located in }}

All locations are found and listed, regardless if its only a subobject or not. However, the link with "located in" doesn't work with subobjects: If the parent is a subobject, its children are not listed below it. Is there any way to fix this?

Thanks in advance for your support!

11:43, 28 August 2014