Last modified: 2010-03-29 21:22:07 UTC
In ask queries you can use property chains in the condition part of an ask query. For instance you can ask for all cities which are located in something that is member of (a union). {{#ask: [[Category:City]] [[locatedIn.MemberOf::+]]}} What you cannot do is to printout the values of chained properties, e.g. |?locatedIn.MemberOf This is something that is currently possible in SPARQL, but I think it would be nice to support this in SMW, too.
I'd really like to see that feature, too, since it is a common use case when you have a transitive relation between three objects. The workarounds with arraymap or output to a template that contains another #ask-command are ugly and bad to maintain. Stefan
(In reply to comment #1) > The workarounds with arraymap or output to a template that contains another > #ask-command are ugly and bad to maintain. Oh yes, they are. This just came up on the mailing list (again): http://tinyurl.com/yjdhgbc Would be great if that could be added :)