On Fri, Mar 14, 2008, Andreas Wombacher wrote: > Hi, > > I would like to know whether there is somebody now working on an ask > api. I need such an api and if there is no one working on it would
> consider doing it myself. > If you are already working on it, is there maybe a possibility to get a > pre-view ;-) > > best regards > Andreas Hi, Although this topic is nearly 3 year old, I still did not find any API for executing SMW query. I do not know if I am missing something, but as I needed such API too, I created the extension SMWAskAPI ( http://www.mediawiki.org/wiki/Extension:SMWAskAPI ), that extends the regular mediawiki API by adding a 'ask' action. It is pretty basic for now but one can make a regular #ask query and specify printouts to display. I have been surprised to see how few people were looking for this feature in SMW, so maybe there is another simple way to achieve it that I missed? Can anyone tell me about it? Also, I would appreciate feedback about this extension, if someone tries it. Regards, Pierre > > Sergey Chernyshev wrote: > > No, actually, API is there for a while already, I'm using it on 1.11 and > > I think it was available even before that. > > In any case, aiming at older (much older) version of MediaWiki is not a > > very good idea - SMW itself require MediaWiki 1.11 > > > > On Wed, Feb 13, 2008 at 10:08 AM, Greenman, Ronald (NIH/CIT) [C] > > <greenma...@mail.nih.gov <mailto:greenma...@mail.nih.gov>> wrote: > > > > The problem with that API is that extending it cleanly requires > > MediaWiki 1.12. However, MediaWiki also has an AJAX framework that's > > been around for a lot longer and allows for clean extensions in > > older versions (http://www.mediawiki.org/wiki/Manual:Ajax). I've > > been considering experimenting with this route. > > > > Beecher Greenman > > NIH Contractor (SRA) > > greenma...@mail.nih.gov <mailto:greenma...@mail.nih.gov> > > > > > > > > ------------------------------------------------------------------------ > > *From:* Sergey Chernyshev > > [mailto:semediawiki-de...@antispam.sergeychernyshev.com > > <mailto:semediawiki-de...@antispam.sergeychernyshev.com>] > > *Sent:* Tuesday, February 12, 2008 11:21 PM > > *To:* Andreas Wombacher > > *Cc:* semediawiki-devel@lists.sourceforge.net > > <mailto:semediawiki-devel@lists.sourceforge.net> > > *Subject:* Re: [SMW-devel] semantic wiki query AJAX api > > > > I'm interested in this feature too. Actually I was researching > > MediaWiki API (http://www.mediawiki.org/wiki/API) and it seams to be > > quite simple to extend for ask query implementation. > > > > Sergey > > > > > > On Feb 12, 2008 6:45 AM, Andreas Wombacher <a.wombac...@utwente.nl > > <mailto:a.wombac...@utwente.nl>> wrote: > > > > Hi, > > > > I am wondering whether there is an API for building richer > > clients using > > semantic annotations of the wiki via an XML RPC or REST or any > > other kind of API which copuld be facilitated using AJAX? > > > > best regards > > Andreas > > > > > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Semediawiki-devel mailing list > > Semediawiki-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Semediawiki-devel mailing list > Semediawiki-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel