Re: [SMW-devel] A list of suggested developments for undergrads to try?

2013-11-17 Thread Jeroen De Dauw
Hey Steve,

Do you need a small writeup of the ask query language parsing task? I'd be
happy to create this if it is likely your students will be working on it.

Cheers

--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


Re: [SMW-devel] A list of suggested developments for undergrads to try?

2013-11-17 Thread Chenoweth, Stephen V
Jereon,

That would be great - thanks!

We have quarters here at Rose-Hulman - My students are starting final exam 
week, and then will have a week off.  Look for a team who will be working on 
this to start looking active after that, as they begin  their related course in 
software design!

Steve Chenoweth
Assoc Prof, CSSE
RHIT

From: Jeroen De Dauw [mailto:jeroended...@gmail.com]
Sent: Sunday, November 17, 2013 12:57 PM
To: Chenoweth, Stephen V
Cc: James HK; Neill Mitchell; Semantic MediaWiki developers
Subject: Re: [SMW-devel] A list of suggested developments for undergrads to try?

Hey Steve,

Do you need a small writeup of the ask query language parsing task? I'd be 
happy to create this if it is likely your students will be working on it.

Cheers

--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


[SMW-devel] ajax=true - thinking about new global parameter for all Result Formats

2013-11-17 Thread Yury Katkov
Hi everyone!

I think that it would be cool to have the following three parameters
for #ask-queries:

|ajax=true   #if true, than results are retriewed with ajax
|update button=true   #if true, the update button appears so that user
can update only the results of the query
|update time=30 #the query will update its results with ajax
every 30 seconds

Now one of the common issue for many use cases of SMW is that it's not
responsive enough. I mean the caching. The situation can be somewhat
improved with NOCACHE extension but the system performance is growing
dramatically. With these three options we would have very flexible
system since every query can be updated every several seconds, or
completely on demand.

Two questions:
1) I think that a lot of parties will be interested in that feature
and we can try some groupfunding. Do you also think so?
2) could such feature be implemented in SMW core, that is: for all
result formats? Or must we add these parameters to every result format
separately?


-
Yury Katkov, WikiVote

--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


Re: [SMW-devel] ajax=true - thinking about new global parameter for all Result Formats

2013-11-17 Thread Jeroen De Dauw
Hey,

2) could such feature be implemented in SMW core, that is: for all
 result formats? Or must we add these parameters to every result format
 separately?


I'll answer this question from the technical side. Not every format
supports this functionality and this is also not going to happen. (Forcing
them to do is makes little sense.) Thus having a global parameter that
does not work for a lot of the result formats is rather awkward.

Cheers

--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


Re: [SMW-devel] ajax=true - thinking about new global parameter for all Result Formats

2013-11-17 Thread Yury Katkov
That wasn't very technical :-)

 Not every format supports this functionality and this is also not going to 
 happen.
I'd say, that's managerial point of view AKA I decline this
functionality with no explanation, like here: [1]. Come on, Jeroen,
you can do better than that!

 Forcing them to do is makes little sense
And this is problem domain/application point of view, which only
reflect your experience. In some of our applications wiki supports
some offline process and there it's crucial to have thi kind of
'update' button in every query including broadtable, ul, ol, filtered
and maps. And yes, people there don't know anything about wikis. I can
imagine similar problem in case of BPM (Alexander Gesinn) and
enterprise architecture - well anywhere where you need the information
to update quickly. I bet they's now using NOCACHE or struggling to
explain their users why their results doesn't appear instantly.

[1] 
http://comments.gmane.org/gmane.science.linguistics.wikipedia.technical/64153
, scroll to Tim Starling
-
Yury Katkov, WikiVote



On Mon, Nov 18, 2013 at 12:10 AM, Jeroen De Dauw jeroended...@gmail.com wrote:
 Hey,

 2) could such feature be implemented in SMW core, that is: for all
 result formats? Or must we add these parameters to every result format
 separately?


 I'll answer this question from the technical side. Not every format supports
 this functionality and this is also not going to happen. (Forcing them to do
 is makes little sense.) Thus having a global parameter that does not work
 for a lot of the result formats is rather awkward.

 Cheers

 --
 Jeroen De Dauw
 http://www.bn2vs.com
 Don't panic. Don't be evil. ~=[,,_,,]:3
 --

--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


Re: [SMW-devel] ajax=true - thinking about new global parameter for all Result Formats

2013-11-17 Thread Yury Katkov
Sorry if it have looked like an attack or if I've offended you,
Jeroen, I have to mind my tongue and emotions.

So, what do you think about this feature from purely technical point
of view? How hard is that? How much would it change the artictecture
if implemented?
-
Yury Katkov, WikiVote



On Mon, Nov 18, 2013 at 12:30 AM, Yury Katkov katkov.ju...@gmail.com wrote:
 That wasn't very technical :-)

 Not every format supports this functionality and this is also not going to 
 happen.
 I'd say, that's managerial point of view AKA I decline this
 functionality with no explanation, like here: [1]. Come on, Jeroen,
 you can do better than that!

 Forcing them to do is makes little sense
 And this is problem domain/application point of view, which only
 reflect your experience. In some of our applications wiki supports
 some offline process and there it's crucial to have thi kind of
 'update' button in every query including broadtable, ul, ol, filtered
 and maps. And yes, people there don't know anything about wikis. I can
 imagine similar problem in case of BPM (Alexander Gesinn) and
 enterprise architecture - well anywhere where you need the information
 to update quickly. I bet they's now using NOCACHE or struggling to
 explain their users why their results doesn't appear instantly.

 [1] 
 http://comments.gmane.org/gmane.science.linguistics.wikipedia.technical/64153
 , scroll to Tim Starling
 -
 Yury Katkov, WikiVote



 On Mon, Nov 18, 2013 at 12:10 AM, Jeroen De Dauw jeroended...@gmail.com 
 wrote:
 Hey,

 2) could such feature be implemented in SMW core, that is: for all
 result formats? Or must we add these parameters to every result format
 separately?


 I'll answer this question from the technical side. Not every format supports
 this functionality and this is also not going to happen. (Forcing them to do
 is makes little sense.) Thus having a global parameter that does not work
 for a lot of the result formats is rather awkward.

 Cheers

 --
 Jeroen De Dauw
 http://www.bn2vs.com
 Don't panic. Don't be evil. ~=[,,_,,]:3
 --

--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


[SMW-devel] Ask 1.0 released!

2013-11-17 Thread Jeroen De Dauw
Hey all,

I'm happy to announce the initial release of the Ask library!

A small write-up of this release can be found at
http://www.bn2vs.com/blog/2013/11/17/ask-1-0-released/

The library itself and its documentation resides at
https://github.com/wmde/Ask

Cheers

--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


Re: [SMW-devel] ajax=true - thinking about new global parameter for all Result Formats

2013-11-17 Thread Yaron Koren
Hi,

Before we get too deep into the technical side of things, let me take a
step back:

Ajax, for those who don't know, is a technology where parts of the page can
be modified, based on new data from the server, without needing to refresh
the whole page. As far as I know, there are two advantages to having query
results use Ajax:

1) It leads to faster initial page loading - especially for more involved,
Javascript-based result formats, like the charting ones.
2) Results can be refreshed, manually or automatically, without reloading
the page.
3) It eliminates the problem of MediaWiki caching of query results (the old
why isn't that new page showing in the list? problem), because the query
results aren't cached along with the rest of the page.

Until now, I think I've mostly heard #1 as a reason to use Ajax in SMW
query results - though, Yury, you seem to be talking mostly about reason
#2. (Correct me if I'm wrong.) That seems strange to me, because I think on
the vast majority of wikis, changes don't happen nearly fast enough to
require any type of real-time refreshing; and certainly not for a refresh
rate measured in seconds.

Personally, I think reason #3 might be the strongest one, by the way.

In any case, I have a question: Yury - if Ajax is possible for every result
format, why both with an ajax=[true/false] parameter at all? In other
words, is there ever an advantage to *not* using Ajax, given the option?

-Yaron


On Sun, Nov 17, 2013 at 3:48 PM, Yury Katkov katkov.ju...@gmail.com wrote:

 Sorry if it have looked like an attack or if I've offended you,
 Jeroen, I have to mind my tongue and emotions.

 So, what do you think about this feature from purely technical point
 of view? How hard is that? How much would it change the artictecture
 if implemented?
 -
 Yury Katkov, WikiVote



 On Mon, Nov 18, 2013 at 12:30 AM, Yury Katkov katkov.ju...@gmail.com
 wrote:
  That wasn't very technical :-)
 
  Not every format supports this functionality and this is also not going
 to happen.
  I'd say, that's managerial point of view AKA I decline this
  functionality with no explanation, like here: [1]. Come on, Jeroen,
  you can do better than that!
 
  Forcing them to do is makes little sense
  And this is problem domain/application point of view, which only
  reflect your experience. In some of our applications wiki supports
  some offline process and there it's crucial to have thi kind of
  'update' button in every query including broadtable, ul, ol, filtered
  and maps. And yes, people there don't know anything about wikis. I can
  imagine similar problem in case of BPM (Alexander Gesinn) and
  enterprise architecture - well anywhere where you need the information
  to update quickly. I bet they's now using NOCACHE or struggling to
  explain their users why their results doesn't appear instantly.
 
  [1]
 http://comments.gmane.org/gmane.science.linguistics.wikipedia.technical/64153
  , scroll to Tim Starling
  -
  Yury Katkov, WikiVote
 
 
 
  On Mon, Nov 18, 2013 at 12:10 AM, Jeroen De Dauw jeroended...@gmail.com
 wrote:
  Hey,
 
  2) could such feature be implemented in SMW core, that is: for all
  result formats? Or must we add these parameters to every result format
  separately?
 
 
  I'll answer this question from the technical side. Not every format
 supports
  this functionality and this is also not going to happen. (Forcing them
 to do
  is makes little sense.) Thus having a global parameter that does not
 work
  for a lot of the result formats is rather awkward.
 
  Cheers
 
  --
  Jeroen De Dauw
  http://www.bn2vs.com
  Don't panic. Don't be evil. ~=[,,_,,]:3
  --


 --
 DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
 OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
 Free app hosting. Or install the open source package on any LAMP server.
 Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
 http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
 ___
 Semediawiki-devel mailing list
 Semediawiki-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/semediawiki-devel




-- 
WikiWorks · MediaWiki Consulting · http://wikiworks.com
--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


Re: [SMW-devel] Ask 1.0 released!

2013-11-17 Thread John McClure
Hi and very nice Jeroen. Any discussion which version of smw is expected 
to have this common library? I assume it's the same syntax as before, 
minus subobjects? Any other functional differences? thanks for the hard 
work/john


On 11/17/2013 2:11 PM, Jeroen De Dauw wrote:

Hey all,

I'm happy to announce the initial release of the Ask library!

A small write-up of this release can be found at 
http://www.bn2vs.com/blog/2013/11/17/ask-1-0-released/


The library itself and its documentation resides at 
https://github.com/wmde/Ask


Cheers

--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--


--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk


___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


Re: [SMW-devel] Ask 1.0 released!

2013-11-17 Thread Jeroen De Dauw
Hey John,

 Any discussion which version of smw is expected to have this common
library

There is no discussion about this, as quite some work needs to happen
before we can use Ask in SMW. All I can provide is a guess for the first
release in which SMW might realistically be using this library, which is
SMW 1.11. That is all assuming we manage to stick to our release roadmap
this time.

 I assume it's the same syntax as before, minus subobjects?

This library is a set of entities that represent data and contain some
business logic. It does not define syntax. When SMW adopts this library, it
can retain its current wikitext parsing and formatting code. Though I hope
this code will have been rewritten by that point (without functional
changes), as it is very much legacy code as well.

A library build on top of this new one provides the serialization and
deserialization code for the Ask language that will be used by the Wikidata
project. This could be used in SMWs web API instead, or as addition to, the
wikitext serialization of Ask. A release announcement of this will follow
hopefully soon.

https://github.com/wmde/AskSerialization


Cheers

--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


Re: [SMW-devel] ajax=true - thinking about new global parameter for all Result Formats

2013-11-17 Thread Yaron Koren
I meant why bother instead of why both before, by the way.
--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


Re: [SMW-devel] Ask 1.0 released!

2013-11-17 Thread Yury Katkov
Hi Jeroen!

Good stuff! Hopefully writing result formats will become even easier
and more pleasant task!

What do you think to do with growong number of dependencies of SMW? It
seems that by SMW 1.11 we're going to need to install Validator,
DataValues, Ask and maybe something else in order to install SMW. Of
course, there is a Composer but I'm pretty sure that there's not much
people using it. Maybe we should pack SMW tarball with these
extensions?
-
Yury Katkov, WikiVote



On Mon, Nov 18, 2013 at 4:10 AM, Jeroen De Dauw jeroended...@gmail.com wrote:
 Hey John,

 Any discussion which version of smw is expected to have this common
 library

 There is no discussion about this, as quite some work needs to happen before
 we can use Ask in SMW. All I can provide is a guess for the first release in
 which SMW might realistically be using this library, which is SMW 1.11. That
 is all assuming we manage to stick to our release roadmap this time.

 I assume it's the same syntax as before, minus subobjects?

 This library is a set of entities that represent data and contain some
 business logic. It does not define syntax. When SMW adopts this library, it
 can retain its current wikitext parsing and formatting code. Though I hope
 this code will have been rewritten by that point (without functional
 changes), as it is very much legacy code as well.

 A library build on top of this new one provides the serialization and
 deserialization code for the Ask language that will be used by the Wikidata
 project. This could be used in SMWs web API instead, or as addition to, the
 wikitext serialization of Ask. A release announcement of this will follow
 hopefully soon.

 https://github.com/wmde/AskSerialization


 Cheers

 --
 Jeroen De Dauw
 http://www.bn2vs.com
 Don't panic. Don't be evil. ~=[,,_,,]:3
 --

 --
 DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
 OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
 Free app hosting. Or install the open source package on any LAMP server.
 Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
 http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
 ___
 Semediawiki-devel mailing list
 Semediawiki-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel