Re: [SMW-devel] SPARQL queries to my wiki

2013-05-11 Thread Dan Bolser
Hopefully results gathering and results formatting are 'loosely coupled' :-) On 11 May 2013 21:26, Yury Katkov wrote: > It's very unfortunate that #ask interface and SPARQL are now not > connected at all. We have a great deal of result formats for #ask, but > #ask is not as powerful as SPARQL and

Re: [SMW-devel] SPARQL queries to my wiki

2013-05-11 Thread Yury Katkov
It's very unfortunate that #ask interface and SPARQL are now not connected at all. We have a great deal of result formats for #ask, but #ask is not as powerful as SPARQL and to process complex queries we need to use format=template many times which makes the code less readable. With SPARQL we can

Re: [SMW-devel] SPARQL queries to my wiki

2013-05-11 Thread Dan Bolser
This is high on my wish-list too, and I believe it's possible to implement with 'plumbing'. I had a go a while back with RAP, and was able to issue sparql queries from within SMW. I don't have good internet at the moment, or I'd search the archive for you to find that discussion. Actually, I was us

[SMW-devel] SPARQL queries to my wiki

2013-05-11 Thread Yury Katkov
Hi everyone! So I've set up my SMW with 4store. How is it possible to query its data with sparql? I mean is there any way to do something like {{#sparql: SELECT * WHERE {?x ?y ?z} LIMIT 10 | format=broadtable }} I've seen SparqlExtension [1] but's outdated now. [1] http://www.mediawiki.org/wiki/