Hi All,
My name is ankit. I am applying for Gsoc 2011 .I have prepared an
initial draft for the proposal(copied below) .I have taken feedback from my
mentor Yaron Koren on this. Please feel free to give your comments ..
Thanks
Gsoc proposal for Semantic Schemas
Short summary: Semantic Schemas a proposed extension , that would let users
and admins define everything about the wiki's data structure via XML
contained within wiki pages. That XML in turn would be used to generate all
the other relevant pages: templates, properties, forms, etc. And the XML
would be editable via a helper form, so that ideally users would never have
to do direct XML editing. Also, the XML could theoretically be imported
from, and exported to, other data-structure formats, like OWL and UML.
About me
My name is Ankit Garg . I am first year student of Computer Science
department , SKIT Jaipur, India. I am interested in applying for google
summer of code 2011. I am quite new to the open-source community and still
exploring it. I have been involved in MediaWiki development under the
guidance of Yaron Koren and have already done few projects in Semantic
MediaWiki.
I want to do this project because It will give me an opportunity to work
with a large open-source community so that I can learn more about it . I am
a passionate programmer . I have done programming in various languages
including C++,Java, PHP, Javascript , etc. I liked the idea that was
proposed by Yaron Koren to build a new Semantic MediaWiki extension namely
Semantic Schemas. with successful completion of my projects with Yaron on
MediaWiki gave me a good idea about the Semantic MediaWiki code-base and the
prospects of the proposed extension. I think it will be very useful to many
users who are using SMW and are looking for a common platform which combines
all the SMW extensions in a more manageable way.
== Some contributions to MediaWiki=========
1) Extension UrlGetParams :
The extension didn't have support for array parameters, like if you have
"?a[b]=c", there was no way to display "c" on the page. Modified the
extension to accept array parameters now . now u can write
{{#urlget:a[key]|default-value))
2)Extension:ReplaceText
(
http://www.mediawiki.org/wiki/Extension_talk:Replace_Text#Regex_.28big_wish…
)
added regular expression support for the extension . Now a user can type
regular expression for both search and replace patterns.
for eg. a(.*)b" into "search string" and "ab$1" into
"replacement string",
and then each instance of "acb" would change into "abc".
3)Calender format in Semantic Result Formats
calendar' format, which lets users display dates in a calendar. Some
people wanted to be able to change the first day of the week to something
other than Sunday
I added a fix for supporting any day as the first day in the calender
view.
Deliverables
1) Create a new extension, Semantic Schemas, that parses the defined
Semantic Schemas XML structure and stores it in memory, and provides hooks
for other extensions to add their own elements to the XML.
2) Add code to other extensions (most likely Semantic MediaWiki, Semantic
Forms and Semantic Drilldown) to add parsing for additional XML elements,
using those hooks.
3) Add to Semantic Schemas a simple mechanism for displaying the XML to
users.
4) Add a special page to Semantic Schemas, "Special:GenerateClassPages",
that lets users generate a set of wiki pages based on the XML in one page.
5) Add code to other extensions to create specific page types when
"GenerateClassPages" is called: Semantic Forms (would create templates and
forms), Semantic MediaWiki (would generate property pages) and Semantic
Drilldown (would generate filter pages).
6) Add another special page to Semantic Schemas, "Special:EditSchema", that
lets users create and edit the XML using a form.
Project schedule
1. 15th May: Getting to know the community.
2. 24th May- :- Programming Begins.
3. 23rd July:- Finishing at least 4 deliverables.
4. 23rd August : Project complete, with full documentation.
--
Ankit Garg
Student @ SKIT