Nameproperty

From semantic-mediawiki.org

All, I'm trying to use Graph with the 'nameproperty' variable.

E.g.

{{#ask: [[Category:City]]
| ?located in
| nameproperty=area
| format=graph
}}

That doesn't seem valid on this installation for me to test, but on my own installation of SMW, the 'nameproperty' variable seems to not work as I'd expect. I'd think the format would be "nameproperty=My Property Name", and then the nodes of the graph would take the value in that property for each page as the text label, but it doesn't work. It does work without trying to set nameproperty.

14:39, 8 November 2013