More natural way

From semantic-mediawiki.org

Wouldn't it be more natural to have a subobject's property pointing at the parent page and query the latter's properties by chaining?

14:38, 14 June 2013

I thought about this too in the beginning (see this thread).

I tried to query for |?has subobject.PropertyOfParent but this didn't work.
Maybe I would have to create a subobject property holding the parent page and then query for that one.
Can someone try it and adapt the page? :)

Advantage of my proposed solution: It doesn't need another property.

22:50, 14 June 2013

Yes, I meant creating a property for subobject to backreference the parent page, then querying ?MyParentPage.PropertyOfParent. That's SIO way and in many cases such property is more meaningful than the property pointing from the parent page to the subobject. The backreference property may be universal or specific to the subobject class.

09:21, 15 June 2013