Last modified: 2011-08-17 18:17:46 UTC
[MW 1.17, SMW 1.6] I'm trying to do a subquery based on a property, as described in: http://semantic-mediawiki.org/wiki/Help:Selecting_pages#Subqueries_for_properties If I understand correctly, the general idea is: -In Page 1: template1 including #ask query for pages that link to this page, returning a given property and formatted using template 2 -In Template 2: #ask query for pages with a property equal to the passed value I have put together something in the sandbox at: http://sandbox.semantic-mediawiki.org/wiki/Canada The two templates are: http://sandbox.semantic-mediawiki.org/wiki/Template:Subquerytest1 http://sandbox.semantic-mediawiki.org/wiki/Template:Subquerytest2 (I realize it's a wierd useless example, but I was trying to use existing sandbox data) It returns an odd error there, but on my server, the subquery returns nothing at all, even if I replace {{{2}}} with a literal value. Is there a setting I'm missing, or is there a bug?
Nevermind, it was a typo on my part...