On Mon, Jun 30, 2008 at 4:12 PM, tantan2008 <email@example.com>
Hey have you figured out what could be the problem with querys on templates
with custom namespaces??
I am having trouble to have properties to show up as soon as the page
belongs to a custom namespace.
Guy Heathcote wrote:
> I've just started to experiment with custom namespace creation, but have
> run into difficulties when using semantic queries. The namespace
> definition itself has, as you would expect, been defined in
> LocalSettings.php (before the SMW calls) and SMW_Settings.php has also
> been updated accordingly.
> The actual namespace appears to have been created correctly. Using the
> regular Mediawiki search facility proves this, with my new namespace
> appearing in the list at the foot of the search page - regular MW searches
> limited to only my new namespace work as expected. Also, articles within
> the new namespace are being displayed correctly - the factbox is present
> and correct.
> However, if I try a semantic query, I get unexpected results. Using the
> Semantic Search tool, if I request something like [[Category:MyCategory]]
> then I get back results from both Main and my new namespace - it works
> fine. However, if I specify an additional property constraint, such as
> [[Category:MyCategory]][[MyProperty::value]], then only aricles in Main
> are returned. I've tried this with properties of various types (Page,
> string etc) and get the same result.
> So, is there another parameter to be set up somewhere?
View this message in context: http://www.nabble.com/Semantic-queries-with-custom-namespaces--tp15756834p18195359.html
Sent from the Semantic Mediawiki - User mailing list archive at Nabble.com.
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Semediawiki-user mailing list