Page MenuHomePhabricator

Enhance show part of inline query to show subproperties
Closed, ResolvedPublic

Description

Author: felix.kratzer

Description:
The given scenario:
V is a property
X is a property
Y is a propery (with [[subproperty of::X]]
Z is a propery (with [[subproperty of::X]]

when I do a query like this
{{#ask [[V::someValue]]

?X

}}
only things with a direct association to X are shown, but in some use-cases it would be great to also see all associations with subproperties of X

I understand that such a thing is quite complicated and requires a lot of computing, so I suggest to add a special show style if a query should explicitly show subproperties as well.

So the query from above returns results as it does currently, whereas the following query would also show Y and Z in the results:
{{#ask [[V::someValue]]

+X

}}

I'm not sure whether "+" is the right character to use, but it clearly shows the difference between ? (zero or one) and + (one or more)


Version: unspecified
Severity: enhancement

Details

Reference
bz16709

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:25 PM
bzimport set Reference to bz16709.
  • This bug has been marked as a duplicate of bug 12822 ***