OK; it's was a bug. A small one, but lethal to certain queries. I got it. =
Thanks a lot for pointing it out.
=46or a quick fix, do the following:
Edit line 477 in file SMW_InlineQueries.php which should be
$this->dbr->addQuotes($vtitle->getText()) . " AND
and change it to=20
$this->dbr->addQuotes($vtitle->getDBKey()) . " AND
On Monday 10 July 2006 17:27, Markus Kr=F6tzsch wrote:
> On Monday 10 July 2006 11:36, Davide Eynard wrote:
> > Hello,
> > I know it's probably a veeeery trivial problem, but I've just set up a
> > semantic mediawiki box and I have some problems while <ask>ing...
> > I've just created my user page, a new "meeting" page and a relation "is
> > attended by", then wrote that the meeting
> > [[is attended by::User:DavideEynard]
> > and did the same for some other wiki users.
> Fine. Note that you can have spaces in names (e.g. "User:Davide Eynard").
> > Now, if I just do a simple
> > triplesearch on "is attended by" I can easily find every meeting page
> > which has been attended by someone, so I guess everything has been saved
> > the right way. Now, if I go to my page and want to show all the meetings
> > I have attended, I would try with
> > <ask format=3D"ul">[[ha partecipante::User:DavideEynard]]</ask>
> > but it doesn't show me any output. I guess I've just used the wrong
> > syntax to specify it, but I cannot see what I've done wrong... any hint?
> > O:-)
> Well, you should write
> <ask format=3D"ul">[[is attended by::User:DavideEynard]]</ask>
> but I don't see why this should not work. If your problems persist, please
> send me your SMW version (see your page Special:Version) and I will see
> what I can do.
> Best regards,
> > Thanks a lot, cheers!
> > Davide
> > -----------------------------------------------------------------------=
> > Using Tomcat but need to do more? Need to support web services, securit=
> > Get stuff done quickly with pre-integrated technology to make your job
> > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> > Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
> > _______________________________________________
> > Semediawiki-user mailing list
> > Semediawiki-user@...
> > https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Institute AIFB, University of Karlsruhe, D-76128 Karlsruhe
mak@... phone +49 (0)721 608 7362
http://www.aifb.uni-karlsruhe.de/WBS/ fax +49 (0)721 693 717