To give some more background for my thoughts, I realize that the main reasons for not including SMWWriter in core at the time, have been the dependencies it was relying upon (Page Object Model):
http://semantic-mediawiki.org/wiki/Help:SMWWriter The size of the code is also mentioned, but I wonder whether that is really a case anymore, with the growing size of the SMW core library itself anyway? I could mention that RDFIO currently depends on Wiki Object Model [1], rather than Page Object Model, due to better stability, but I had in my plans to try to drop even that dependency if possible, as the next step for RDFIO. // Samuel On 2013-10-21 15:23, Samuel Lampa wrote: > Hi all, > > What is the current status of (REST) APIs and import functionality in > SMW? > > As some of you might have noticed, I have been working a bit lately on > trying to finish the RDFIO extension to a workable state, efter many > years. At the same time, haing gone, over the last couple of years, to > a very green coder-wannabe, to having at least some year of working > coding experience, I start to get some perspective of what was the > situation before we started developing RDFIO, and what would have been > a more optimal path: > > 1. I realize Denny's SMWWriter was already very much operating in the > way one would want for this kind of module (exposed via the MediaWiki > REST API). > > 2. Thus, I wish I would have rather extended that with the SPARQL > functionality of the current RDFIO extension, and worked to drop the > dependency on the POM module. > > Instead, by lack of overview of things, I went away to create > specialized Special pages for everything (RDF Import, SPARQL endpoint, > and recently SPARQL endpoint copy / replication), and basically made > RDFIO into an add-on hack over how SMW normally works. > > It turns out I simply haven't seen the big picture clear enough to see > how things should have been done from the start, and to appreciate > Denny's work on this already :P > > So, when looking into the future, I would like to hear your thoughts > on the current situation regarding external APIs, and import > functionality, in SMW, and in which direction you would be interested > to work? > > Personally, while RDFIO is now there and functionality starts to be > reasonably stable*, I would love to have these things more packaged > like how the SMWWriter extension was (mostly exposing functionality > via MW API), and possibly integrated in the SMW core and less like how > it is now, with RDFIO as a separate box, doing it's stuff it's own way. > > For the move towards using MW API more, that would quite probably be > the future plans for RDFIO, if I can find an opportunity to continue > on it. > > A move towards SMW core of similar functionality (probably by newly > written code, and provided that is a thinkable direction for the core > devs), would most probably take a more skilled programmer / set of > programmers, than me alone, and I'm thus interested to hear what you > think about all this? > > Cheers > // Samuel > > -- Developer at www.uppmax.uu.se & www.farmbio.uu.se M: samuel.la...@it.uu.se G: samuel.la...@gmail.com S: samuellampa P: +4670-2073732 T: @smllmp B: saml.rilspace.org ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel