trouble with queries and custom name spaces

View: New views
1 Messages — Rating Filter:   Alert me  

trouble with queries and custom name spaces

by tantan2008 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

problem? maybe i have missed a step in the FAQs / Installations but i am having trouble with queries and custom name spaces

{{#arraymap:{{{subbranch of|}}}|,|x|[[Sub branch of::Branch:x]]}}

say this template belongs to category Banks
and Banks is a sub category of Entities

and property Sub branch of has name space Branch

say this property in an article has
[Mitsubishi, Sony, Panasonic ...]

my query: Subjectpagename is Branch:Sony
{{#ask: [[Category:Entities]][[Sub branch of::{{SUBJECTPAGENAME}}]]
| ?Name
| order = desc
| format = table
| default = None yet!
}}


This query returns me nothing.
However, if I have the branch without the Branch namespace but in the main namespace, it works fine.
The page also show up in the query if I create it inside main name space and then move it to the custom namespace.
LightInTheBox - Buy quality products at wholesale price