Re: [SMW-devel] Google Summer of Code: SMW projects wanted - Properties Edit-Tables

2014-02-11 Thread Hans Oleander
Hello Yaron  List,

I have been a SMW user for 2 years now, and my liking of this software has
been constantly rising ever since then. I have just completed my first
little piece of code (part of SRF) and will ask the community in the coming
days whether it would be worthwhile offering it for inclusion to SRF.

There is one idea about SMW I have been wanting and wondering about more
than once. I am inclined to put this on the idea/suggestion list mentioned
below. But before doing so I would highly appreciate to get a few
statements/opinions of experienced SMW folks (i.e. some of you guys)
whether this might simply be a dumb or completely unfeasible idea, not
worth bothering the SCoC suggestion list with.

The idea is, simply put, to write an extension or even modify SMW core by
an option that allows users to modify property values within #ask-result
tables. E.g. you have pages of objects containing a price property, you do
a query, and could then edit the resulting list with new prices. A special
write back properties then modifies all the values in the source pages.

I am fully aware that this would be quite some task, and even the concept
requires thoughtful consideration (what happens with pages containing a
property more than once, etc.pp.). However I have had many user requests
that seemed to justify to at least give it a try.

Any kind of comment (be frank, please) is appreciated.

Regards,
Hans



2014-02-11 15:18 GMT+01:00 Yaron Koren ya...@wikiworks.com:

 Hi everyone,

 The Google Summer of Code process has already begun. SMW projects will
 once again be done via the Wikimedia Foundation (that is, we're not trying
 to apply separately, unlike in some previous years). This year the GSoC
 schedule is earlier than I think it's ever been - the list of accepted
 organizations will be announced on February 24, which is also when students
 will start applying for projects:

 https://www.google-melange.com/gsoc/events/google/gsoc2014

 That's only two weeks away. So if you're thinking of trying to mentor a
 GSoC project, this is a good time to get involved. Here's where project
 ideas should go:


 https://www.mediawiki.org/wiki/Google_Summer_of_Code_2014#Semantic_MediaWiki

 I already added mine to the list. If you're looking for some inspiration,
 here's the set of SMW-related GSoC ideas people came up with last year:

 http://semantic-mediawiki.org/wiki/GSoC_2013

 I think about half of these have actually been done already, which is a
 good sign.

 By the way, this applies to non-semantic functionality as well - if you
 want to improve, say, an ad-display extension, that would be great also,
 and I think the WMF would be happy to take any such projects.

 -Yaron

 --
 WikiWorks · MediaWiki Consulting · http://wikiworks.com


 --
 Android apps run on BlackBerry 10
 Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
 Now with support for Jelly Bean, Bluetooth, Mapview and more.
 Get your Android app in front of a whole new audience.  Start now.

 http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk
 ___
 Semediawiki-devel mailing list
 Semediawiki-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


Re: [SMW-devel] Google Summer of Code: SMW projects wanted - Properties Edit-Tables

2014-02-11 Thread Jeroen De Dauw
Hey Hans,

This is a much discussed idea actually, which has been talked about on the
mailing lists several times.

General in-place result editing is practically impossible as far as I can
tell. One can do many irreversible computations (ie max) on results, and
the input values can be themselves the result of computations, or
non-editable values (ie page creation date). It is thus important to
clearly identify in which cases such support is feasible and which ones are
in scope of the system you will be creating.

An additional complication comes from the fact that the SMW query result
and query processing code is not in a very good state. It might be
difficult to extend it and use it in other contexts as the current ones,
which is what I suspect will be needed (or at least very useful) when doing
such a project.

So yes, I agree this would be great to have, and if we can get the
functionality for at least simple cases, that'd be fantastic. You are right
in that this would be quite some task, which I hope I underlined with this
mail.

When moving forward with such a project, I highly recommend

* to communicate with the active SMW devs and other interested parties.
Work in a public repo, ask for code review, and design review.
* to work in incremental steps. Getting a small amount of solid
functionality in a release that can then be expanded is much better then
writing a pile of half-working things that never reach usable state.
* write tests

All these steps are essential in making such a project succeed.

Cheers

--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil. ~=[,,_,,]:3
--
--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


Re: [SMW-devel] Google Summer of Code: SMW projects wanted - Properties Edit-Tables

2014-02-11 Thread Argbert
Hi all,

 

I am not sure, but didn't smwplus have an editable table as result format? I
remember one could change the result values in the table and it was
rewritten to the source page using ajax.

 

Anyone else remembers it?

 

Regards

 

 

Argi

 

Von: Jeroen De Dauw [mailto:jeroended...@gmail.com] 
Gesendet: Dienstag, 11. Februar 2014 18:41
An: Hans Oleander
Cc: Yaron Koren; Semantic MediaWiki developers
Betreff: Re: [SMW-devel] Google Summer of Code: SMW projects wanted -
Properties Edit-Tables

 

Hey Hans,

 

This is a much discussed idea actually, which has been talked about on the
mailing lists several times.

General in-place result editing is practically impossible as far as I can
tell. One can do many irreversible computations (ie max) on results, and the
input values can be themselves the result of computations, or non-editable
values (ie page creation date). It is thus important to clearly identify in
which cases such support is feasible and which ones are in scope of the
system you will be creating.

An additional complication comes from the fact that the SMW query result and
query processing code is not in a very good state. It might be difficult to
extend it and use it in other contexts as the current ones, which is what I
suspect will be needed (or at least very useful) when doing such a project.

So yes, I agree this would be great to have, and if we can get the
functionality for at least simple cases, that'd be fantastic. You are right
in that this would be quite some task, which I hope I underlined with this
mail.

 

When moving forward with such a project, I highly recommend

* to communicate with the active SMW devs and other interested parties. Work
in a public repo, ask for code review, and design review.

* to work in incremental steps. Getting a small amount of solid
functionality in a release that can then be expanded is much better then
writing a pile of half-working things that never reach usable state.

* write tests

All these steps are essential in making such a project succeed.


Cheers

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

--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


Re: [SMW-devel] Google Summer of Code: SMW projects wanted - Properties Edit-Tables

2014-02-11 Thread Yaron Koren
Hi,

I agree that SMW probably couldn't be used by itself for this, and that
Semantic Forms makes more sense. Thankfully, though, I don't need to create
a proof of concept for this opinion, because one already exists. :) In
2011, Christoph Tempich created this demo, showing how Semantic Forms - and
specifically the #autoedit function - in conjunction with some clever
Javascript, can be used to create an editable table:

http://smw.referata.com/wiki/Scrum

Double-click on a cell within the second table, and be amazed. :)

I've sent this link to the mailing list several times, by the way. as part
of different threads, but for some reason it has yet to really make an
impact. Still, I think Christoph's solution could be useful for a lot of
cases.

-Yaron
--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel