print out of chained property values
Closed, DeclinedPublic

Description

Author: zaltenbach

Description:
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.


Version: unspecified
Severity: enhancement

bzimport set Reference to bz21232.
bzimport created this task.Via LegacyOct 22 2009, 11:50 AM
bzimport added a comment.Via ConduitDec 18 2009, 11:56 AM

stefan.harwarth wrote:

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

bzimport added a comment.Via ConduitFeb 12 2010, 9:51 AM

mail wrote:

(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 :)

Aklapper closed this task as "Declined".Via WebTue, Mar 3, 5:51 PM
Aklapper added a subscriber: Aklapper.

The Semantic MediaWiki developers requested in https://phabricator.wikimedia.org/T64114 to move their task tracking to https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues and to close remaining tasks in Wikimedia Phabricator. If you still face the problem reported in this task in a supported version of SMW, please feel free to transfer your report to https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues . We are sorry for the inconvenience.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.