Actually,, I meant this one :

require_once('$IP/extensions/SemanticCompoundQueries.php');

It did not work for me as is. I had to add this line to my settings file instead :

require_once('extensions/SemanticCompoundQueries.php');

- Laurent


From: "Charles Epaillard" <charles.epaillard@gmail.com>
Sent: Thursday, November 20, 2008 7:58 AM
To: semediawiki-user@lists.sourceforge.net
Subject: Re: [Semediawiki-user] New extension: Semantic Compound Queries


Thanks Yaron as well.
I think the line Laurent is speaking about is
require_once('extensions/SemanticMediaWiki/includes/storage/SMW_QueryResult.php');
Regards,
Charles

On Thu, Nov 20, 2008 at 7:01 PM, Laurent Alquier <laurent@alquier.org> wrote:
Thanks Yaron !

The extension is working great so far (although I ran into a few issues with the syntax of the 'require_once' line for my setup, but I got it to run).

I have a related question - is anything planned for linked queries ?

That would be the equivalent of joins in SQL - or feeding the result of one query into another one.

Example: I have Cities located in Countries, and Companies located in Cities.
The query I would like to see is : Ask for Companies in a particular Country.

- Laurent


From: "Yaron Koren" <yaron57@gmail.com>
Sent: Thursday, November 20, 2008 3:45 AM
To: zehetner@molgen.mpg.de, Temlakos <temlakos@gmail.com>
Subject: Re: [Semediawiki-user] New extension: Semantic Compound Queries


Gu - Thanks; I never tested it with multi-value properties - hopefully I can try it out at some point and see what the problem is.

Temlakos - it's odd that the code causes regular #ask queries to not work... my guess is that it's due to the hook processing, which is somehow failing in MediaWiki 1.12 - I've only tested it in MW 1.13 and 1.14. Unfortunately I can't think of a solution, short of waiting to see if other people have the same problem in MW 1.12 or earlier and are able to debug it.

-Yaron


-------------------------------------------------------------------------
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
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user