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 use Spark [1] and Sgvizler [2] but they don't have
all these terrific result formats that we have with #ask.

I wonder if it's thoretically possible to use our result formats to
format sparql queries without rewriting the whole thing?

[1] http://www.mediawiki.org/wiki/Extension:Spark
[2] https://code.google.com/p/sgvizler/
-----
Yury Katkov, WikiVote



On Sun, May 12, 2013 at 12:19 AM, Dan Bolser <dan.bol...@gmail.com> wrote:
> 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 using SPARQL to query  an endpoint on the
> semantic web, not my wiki itself, but if the wiki is configured as an
>  end point, then it's just a specific  case of that general feature. Now
> that SMW is implemented in a more RDF-ish way, in theory you could
> pull in semantic web data and handle it with SMW extensions... (but
> I'm probably over-simplifying ;-)
>
> Cheers,
> Dan.
>
> On 11 May 2013 20:45, Yury Katkov <katkov.ju...@gmail.com> wrote:
>> 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/Extension:SparqlExtension
>> -----
>> Yury Katkov, WikiVote
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their applications. This 200-page book is written by three acclaimed
>> leaders in the field. The early access version is available now.
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> _______________________________________________
>> Semediawiki-devel mailing list
>> Semediawiki-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to