[SMW-devel] representing hierarchies in SMW
Hi ! We're trying to create a form input for semantic forms that will allow users to pick the value of a field from the hierarchy (tree). For example we have hierarchical list of employee key competences that are structured like this: 1. Withstand the negative health effects 1.1. Withstand the negative weather effects 1.1.1 Withstand the wind 1.1.2. Withstand the fire 1.2. Withstand the negative psychological atmosphere 1.2.1. 1.2.2 ... and so on. We want to support such hierarchies and now are searching for a flexible way for that. We want such hierarchies to be input from the Semantic Forms and to be collapsible lists in the 'filtered' format. Of course, our desire is that these objects be native to SMW, but it seems unnecessary to to generate one page per hierarchy item Any ideas on how to better represent such trees in SMW? Cheers, Yury Katkov, WikiVote -- Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] representing hierarchies in SMW
Thanks Yaron! That may work but it means that I'll have to add N categories for each hierarchical library with N items in it. What do you think about subobjects? I don't know if I can bind together two subobjects with a property... can I? - Yury Katkov, WikiVote On Wed, Jan 16, 2013 at 9:59 PM, Yaron Koren ya...@wikiworks.com wrote: Hi, You can do that in Semantic Forms already with the category and categories input types. Those require the CategoryTree extension to be installed, and they only work with categories. However, you can create a set of categories just for the sake of creating an SF input - the template doesn't need to add the page to the category selected; it can treat the selected value as just a normal property value. That would be a hack, but then again, categories are a very convenient way of defining hierarchies within MediaWiki. If there were going to be an SMW-based way of defining hierarchy, though, I would think that, yes, it would require creating a separate page for each item. It may seem like overkill, but I can't think of another way to do it. -Yaron On Wed, Jan 16, 2013 at 11:43 AM, Yury Katkov katkov.ju...@gmail.com wrote: Hi ! We're trying to create a form input for semantic forms that will allow users to pick the value of a field from the hierarchy (tree). For example we have hierarchical list of employee key competences that are structured like this: 1. Withstand the negative health effects 1.1. Withstand the negative weather effects 1.1.1 Withstand the wind 1.1.2. Withstand the fire 1.2. Withstand the negative psychological atmosphere 1.2.1. 1.2.2 ... and so on. We want to support such hierarchies and now are searching for a flexible way for that. We want such hierarchies to be input from the Semantic Forms and to be collapsible lists in the 'filtered' format. Of course, our desire is that these objects be native to SMW, but it seems unnecessary to to generate one page per hierarchy item Any ideas on how to better represent such trees in SMW? Cheers, Yury Katkov, WikiVote -- Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] SMW-related organizations, where are you!
Hi guys! If you're representing the MediaWiki related business and you provide the development, consultancy or offer your packed solution, I think here is the nice place to register: it's a list of companies made by Mariya. http://www.mediawiki.org/wiki/MediaWiki_vendors If you're MW-freelancer, I think there is also room for you as well. MW-specialist are regrettably rare in those days and a company like ours would love to outsource many of the tasks. -- P.S. to Mariya and everyone else: this link may interest you, the list of consultants of Semantic MediaWiki. SMW is an extension so they all know pure MW as well: http://semantic-mediawiki.org/wiki/Professional_support Cheers, Yury Katkov, WikiVote -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] [SF] Any plans to support Visual Editor in Semantic Forms?
Hi! Yaron, the question is mostly addressed to you: are there have any plans to support VisualEditor in Semantic Forms? It has been deployed in English Wikipedia and works very well. Frankly speaking FCKEditor looked way too heavy in Forms with all its elements so even though VisualEditor is incomplete it would look very well in Forms free text inputs. Cheers, - Yury Katkov, WikiVote -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] The rest of the SMWCon conference is on YouTube
Hi guys! SMWCon Fall 2012, the conference on Semantic MediaWiki is now fully available on YouTube. Use this YouTube playlist: http://www.youtube.com/playlist?list=PLwtfwT1GnUQRaLki-YcF-_n8ndayi--W5 And the conference page is still here: http://semantic-mediawiki.org/wiki/SMWCon_Fall_2012 Here is the small review of the second day of the conference. In the keynote Peter Haase have presented Information Workbench platform. In fact it's an enterprise semantic wiki, it has lots of import\export features, visualizations and RDF support and visual editor. Nice mature product that have proven that semantic wiki can be useful in big companies. The talks about new features in well-known extensions have made me excited the most: Jeroen (+Nischay, +MWJames) have told about Semantic Maps and Semantic Result formats. Lots of new plots and graphs, interactive charts, SHAPES on the map, searching through markers, clusters... wow! Stephan Gambke have also presented his new 'filtered' format that have gained popularity immediately in our community. Stephan made 'filtered' format available for calendars and have great plans on further development. Big hooray to the developers that have made SMW even more functional and beautiful! Searching and SMW is the topic that is now being actively developed by GESIS institute, so we had two talks about SolrStore and SMW. Also we had two talks about the new SMW extensions that may be of interest: Semantic Image Annotator that guys from AIFB have developed to help annotate parts of the scan pages of books (Corpora analysis) and Semantic Expressiveness that allows you to use much shorter syntax for your queries: Daniel Werner described how it helps him to develop RPG Wiki. Among lightning talk there was Presentation of Toneelstof - pretty impressive visualization with a clear use csse that uses SMW in a background. At the end of the conference Joel Natividad described how linked data may help in city infrastructure. P.S. dear speakers, if you have time, please add to the template Talk link to your talk on YouTube in a parameter Video. I'm quite slow guy as you can see Yury Katkov, WikiVote, Program Chair -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [Semediawiki-user] s13n stands for semantification
Hi Markus! Answers are inline - Yury Katkov, WikiVote On Fri, Nov 23, 2012 at 11:26 PM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: On 18/11/12 13:30, Yury Katkov wrote: Ok, I understand that: the choice is between to store or not to store the source of the data by grouping the triples in graphs. Of course it's up to core developers to choose. Another set of questions: 1) how the s13n's programming interfaces for extension developers will look like? Specifying this is a major part of the task. 2) what is the priority of this task? I would say between 17 and 18. My (serious) point here is: priority must be relative. We have many requests for 1.9 (e.g. printouts for property chains and aggregates, paged query results, removing length restrictions on URL values, ...). The question is: what is the priority for doing this *before* any of these other, more long-standing requests? I think this can only be decided by collecting the main todos and then placing them in an order. 3) Is it possible to sponsor the development to make it quicker? I think that the companies interested in this feature can build together a fund/grant to support the volunteer. WikiVote can definitely take part in that sponsorship campaign. Thanks. A sponsored developer could help with specifying the requirements and producing technical documentation. The actual implementation is only possible after we know what we want to do. I totally agree. These are high-level use cases of the data that is making available through the semantic properties: http://semantic-mediawiki.org/wiki/User:Yury_Katkov/s13n_stands_for_semantification . Do you mean them when you speak of use cases? Do we have to add any details or restructurize this page? The project should start by collecting use-cases so that we get an idea of what we would need and how this new functionality could be invoked. Technically, the changes are blocked only by other changes in the store that are more urgent (further simplification of the table layout and data model, completion of the diff code). No other dependencies with ongoing SMW work is obvious to me now. Markus - Yury Katkov, WikiVote On Fri, Nov 16, 2012 at 9:35 PM, Jeroen De Dauw jeroended...@gmail.com wrote: Hey, Can you clarify the idea of named graphs a little bit? And what storage overhead we have in them? Instead of having rows such as ( subject id, property id, value ) in the store, you instead have ( subject id, property id, value, graph id ) Of course our schema is more complex then this, but it's the same idea. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Query formats min and max
The premises are clear: (1) the current implementation of the max parser function is slow and (2) there is a workaround for making max queries quicker. The conclusion is not clear: let's drop the max ASAP. It's not that hard to replace the current implementation of MAX format with the faster one and save the backward compatibility there. - Yury Katkov, WikiVote On Thu, Nov 22, 2012 at 1:23 PM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: Hi, I would like to ask about this: http://semantic-mediawiki.org/wiki/Help:Max_format I am afraid to say that this idea seems to be fundamentally broken. The above page seriously suggests to find the largest population number in the wiki by querying for a list of *all cities with and without population* and invoke PHP code that scans through this list to find the maximum (this is what format=max does, AFAIK). The query to do this is: {{#ask: [[Category:City]] | ?Population | format=max }} This is an extremely slow method of producing wrong results (the results will be wrong as soon as there are enough pages in the wiki so that the one with the maximum value is after the default query limit when ordering results alphabetically). What one would do instead is to ask for the one result that has the largest value right away, like this: {{#ask: [[Category:City]] | ?Population | sort=population | order=DESC | limit=1 | format=max }} The max format in this case is obsolete, since one could also just do {{#ask: [[Category:City]] | ?Population= | mainlabel=- | sort=population | order=DESC | limit=1 }} This has the big advantage that one can also use further output formatting on the resulting number, e.g., to get it in a plain format without any beautification. I just noted these problems since there seem to be cases where PHP runs out of time/memory due to users following the above query anti-pattern [1]. My conclusion would be: let's drop max/min as soon as possible and change the documentation to give the efficient query pattern I gave above. Markus [1] https://bugzilla.wikimedia.org/show_bug.cgi?id=42347 -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [Semediawiki-user] s13n stands for semantification
Ok, I understand that: the choice is between to store or not to store the source of the data by grouping the triples in graphs. Of course it's up to core developers to choose. Another set of questions: 1) how the s13n's programming interfaces for extension developers will look like? 2) what is the priority of this task? 3) Is it possible to sponsor the development to make it quicker? I think that the companies interested in this feature can build together a fund/grant to support the volunteer. WikiVote can definitely take part in that sponsorship campaign. - Yury Katkov, WikiVote On Fri, Nov 16, 2012 at 9:35 PM, Jeroen De Dauw jeroended...@gmail.com wrote: Hey, Can you clarify the idea of named graphs a little bit? And what storage overhead we have in them? Instead of having rows such as ( subject id, property id, value ) in the store, you instead have ( subject id, property id, value, graph id ) Of course our schema is more complex then this, but it's the same idea. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Results of the first day of SMWCon
Hi everyone! You can now watch all the talks that were on the first day of SMWCon. http://www.youtube.com/playlist?list=PLwtfwT1GnUQRaLki-YcF-_n8ndayi--W5 Here is a small summary for those who haven't been at the event. The day have begun with magnificent talk about Wikidata from its project leader, Denny Vrandečić. In some sense Wikidata implements the original vision of SMW and make the Wikipedia semantically annotated. We next had three sessions. First one was pretty technical and was dedicated mostly to performance issues: after the traditional talk about the current state of the project by Markus and Jeroen, Nischay told about the new storage meschnism in SMW. Then Eloy describes how SMW is used in Wikia and what benefits it gives to the wiki-owners and what problems it sometimes caused. Second session was not about SMW but about the other wiki engines that have similar functions. OntoWiki that separates the text and the semantic annotations is used by AKSW laboratory for a lot of Linked Data projects. BlueSpice, an extension bundle to make MediaWiki more user-friendly and ready-to-use in the enterprises. KWARC tools that allows to include machine-readable data to the mathematical content. There are a lot of things SMW community can learn from these great tools. Third session was dedicated to SMW applications in different domains. We've seen how SMW helps people to support structured discussion about the ontology objects (Cicero system). The other talk was about using enhanced SMW for synchronizing the long-term strategies of organizations to design the common future (Foresight creation). Benedikt shows how to apply the platform for financial analysis of a small organization. Finally Remco presented the case of government application of SMW (Architectural Knowledge). Ask questions here and on the talk's pages! Cheers, - Yury Katkov, WikiVote -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] s13n stands for semantification
Hi everyone! I talked about the topic of semanticfication of the MediaWiki extension with a lot of people in SMWCon and saw the great interest to this topic. We have tried to describe the problem on this page: http://semantic-mediawiki.org/wiki/User:Yury_Katkov/s13n_stands_for_semantification To the users: if you're interested in topics of s13n and have the use case that is not described there - please describe it. To the developers: let's think together what's needed to be done in the SMW core to make s13n of the extensions cleaner and easier. Also the rough time/effort estimate would be great (maybe SMW companies can sponsor the development?) Cheers, Yury Katkov, WikiVote -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] s13n stands for semantification
Hi Markus! That's very nice! How hard/long is that task? We can now use something like SMWStore::updateDataBefore hook, but not good approach sometimes: with voting and history s13n you'll need to create a lot of property values each time the data is updated. When you semantify the page history you'll need to create several hundreds datavalues representing the revisions of the current page - that's too exprensive. - Yury Katkov, WikiVote On Fri, Nov 16, 2012 at 4:34 PM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: On 16/11/12 11:27, Yury Katkov wrote: Hi everyone! I talked about the topic of semanticfication of the MediaWiki extension with a lot of people in SMWCon and saw the great interest to this topic. We have tried to describe the problem on this page: http://semantic-mediawiki.org/wiki/User:Yury_Katkov/s13n_stands_for_semantification To the users: if you're interested in topics of s13n and have the use case that is not described there - please describe it. To the developers: let's think together what's needed to be done in the SMW core to make s13n of the extensions cleaner and easier. Also the rough time/effort estimate would be great (maybe SMW companies can sponsor the development?) I have discussed this already with Jeroen. We can help to provide an infrastructure for this. However, the access paths for enabling efficient #ask queries are different from the traditional MW access paths to metadata, so all data that is to be s8ed (;-) will need to be replicated in SMW tables, even if the same MySQL DB is used. Cheers, Markus Cheers, Yury Katkov, WikiVote -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] s13n stands for semantification
s13n of page history is just converting all revision data into properties and subobjects. Many promising usecases have been show in Semantic History extension: http://tw.rpi.edu/proj/semhis.wiki/index.php/Main_Page Here are some examples of questions that can be answered with s13n of history: - Show me the edits made by postdocs - Show me the edits that were commented as 'style improvement' - Who has changed the first name of James Hendler? - What kind of properties do users from Category:Developers change mostly? - Yury Katkov, WikiVote On Fri, Nov 16, 2012 at 7:24 PM, Nischay Nahata nischay...@gmail.com wrote: Hi Yury, On Fri, Nov 16, 2012 at 8:02 PM, Yury Katkov katkov.ju...@gmail.com wrote: Hi Markus! That's very nice! How hard/long is that task? We can now use something like SMWStore::updateDataBefore hook, but not good approach sometimes: with voting and history s13n you'll need to create a lot of property values each time the data is updated. When you semantify the page history you'll need to create several hundreds datavalues representing the revisions of the current page - that's too exprensive. The update of data can take long if there are way too many properties, but I think they will do fine with about 10-15 on each page edit. More experienced developers will know more :) What do you mean by semantify the page history? Is this a ask query that shows up history? - Yury Katkov, WikiVote On Fri, Nov 16, 2012 at 4:34 PM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: On 16/11/12 11:27, Yury Katkov wrote: Hi everyone! I talked about the topic of semanticfication of the MediaWiki extension with a lot of people in SMWCon and saw the great interest to this topic. We have tried to describe the problem on this page: http://semantic-mediawiki.org/wiki/User:Yury_Katkov/s13n_stands_for_semantification To the users: if you're interested in topics of s13n and have the use case that is not described there - please describe it. To the developers: let's think together what's needed to be done in the SMW core to make s13n of the extensions cleaner and easier. Also the rough time/effort estimate would be great (maybe SMW companies can sponsor the development?) I have discussed this already with Jeroen. We can help to provide an infrastructure for this. However, the access paths for enabling efficient #ask queries are different from the traditional MW access paths to metadata, so all data that is to be s8ed (;-) will need to be replicated in SMW tables, even if the same MySQL DB is used. Cheers, Markus Cheers, Yury Katkov, WikiVote -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Cheers, Nischay Nahata nischayn22.in -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [Semediawiki-user] s13n stands for semantification
Hi! Can you clarify the idea of named graphs a little bit? And what storage overhead we have in them? - Yury Katkov, WikiVote On Fri, Nov 16, 2012 at 7:33 PM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: On 16/11/12 14:32, Yury Katkov wrote: Hi Markus! That's very nice! How hard/long is that task? Unknown. First we need to decide what we want to have. We can now use something like SMWStore::updateDataBefore hook, but not good approach sometimes: with voting and history s13n you'll need to create a lot of property values each time the data is updated. When you semantify the page history you'll need to create several hundreds datavalues representing the revisions of the current page - that's too exprensive. The idea was to have data that is not governed by page updates. There are two basic designs: (1) We introduce something like named graphs. All data belongs to a graph. Only data in the default graph is updated with the page contents; other writing methods are provided for the rest. Maximally flexible, but some storage overhead. (2) We do not use graphs but bind this information to properties: some properties are governed by page contents, other properties are governed in other ways. Less flexible, but no storage overhead. Cheers, Markus - Yury Katkov, WikiVote On Fri, Nov 16, 2012 at 4:34 PM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: On 16/11/12 11:27, Yury Katkov wrote: Hi everyone! I talked about the topic of semanticfication of the MediaWiki extension with a lot of people in SMWCon and saw the great interest to this topic. We have tried to describe the problem on this page: http://semantic-mediawiki.org/wiki/User:Yury_Katkov/s13n_stands_for_semantification To the users: if you're interested in topics of s13n and have the use case that is not described there - please describe it. To the developers: let's think together what's needed to be done in the SMW core to make s13n of the extensions cleaner and easier. Also the rough time/effort estimate would be great (maybe SMW companies can sponsor the development?) I have discussed this already with Jeroen. We can help to provide an infrastructure for this. However, the access paths for enabling efficient #ask queries are different from the traditional MW access paths to metadata, so all data that is to be s8ed (;-) will need to be replicated in SMW tables, even if the same MySQL DB is used. Cheers, Markus Cheers, Yury Katkov, WikiVote -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Semediawiki-user mailing list semediawiki-u...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-user -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Help with ask queries - using intermediate results
Well you can also use template format if you don't like subqueries... It would also help you to use the intermediate results. - Yury Katkov, WikiVote On Wed, Nov 7, 2012 at 5:44 PM, Marcelo Chiaradía chiaradiamarc...@gmail.com wrote: Hi everyone, I'm trying to make an #ask query, using intermediates results to do more queries within. I have this scenario: I have several pages of a category A. Some of them are related to other pages of category B, through a has B property. Then, my B pages are related to pages of category C, through has C property, and finally my C pages have an attribute att1, through has att1 property, wich has defined a specific set of values. I would like to make an ask query, asking for all my A pages, whose must have at least one B page, which must have at least one C page, and which must have the att1 = SOME_VALUE, where some value should be a parameter. I read about subqueries, doing something like: {{#ask: [[Category::A]] [[has B::q[[Category::B]] [[has C:: q[[Category::C]] [[has att1::{{SOME_VALUE}}]]/q]] /q]] |?att1 }} Is this the right way to do this? is there a more elegant way? One other thing, I would like that if the user doesn't complete the SOME_VALUE parameter, then return all the pages of category A. I tried this with the + and * characters, but didnt work. How is the best way to achieve this? Thanks a lot in advance, Marcelo. -- LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Wiki of the Month - November 2012: One Laptop per Child
Love these guys! Great wiki for the great mission! - Yury Katkov, WikiVote On Thu, Nov 1, 2012 at 4:53 PM, Desiree Gennaro desiree.genn...@gmail.comwrote: Hello Everyone, I am pleased to announce that the Semantic MediaWiki of the month for November 2012 is the One Laptop per Child Wiki. http://semantic-mediawiki.org/wiki/One_Laptop_per_Child The One Laptop per Child Wiki focuses on children's education, access to networks of collaboration, and access to knowledge in every region, in the local language, and for every age range and subject matter. Congratulations to the One Laptop per Child Wiki team for all of your hard work and thank you for sharing your wiki with us. As always, please do not forget to nominate your wiki. Just follow the instructions here: http://semantic-mediawiki.org/wiki/Wiki_of_the_Month#Nominate_a_wiki. Thanks, -Desi -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] [SF] no validation in forms?
Hi Yaron and everyone! We experimented a bit with Semantic Forms and found that the forms do not validate the correctness of the values for 'values from category'. Here is an example: I define a form with the field {{field|nameofthefield|values from category=Mycategory|input type=dropdown}} My intuition is that it's impossible to enter the value that is not listed in a dropdown, so I want to rely on some validation mechanism of SF. It's not so, unfortunately. Using Firebug or Chrome Developer (see [1]) I can alter any option in a dropdown and send the data that is not allowed (see [2]). Yaron, is the enhanced secuirity and validation of Forms currently in the roadmap? IMHO it's a serious issue for those who use semantic forms to really restrict the editing of the pages. [1] http://i.imm.io/Jdm3.png [2] http://i.imgur.com/WkPpG.png - Yury Katkov, WikiVote -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] SMWCon live broadcast
Thanks for everyone who is asking questions! We're broadcsting today and tomorrow as well and in 2 minutes we will have a talk on OntoWiki! We're welcome remote participants! - Yury Katkov, WikiVote On Wed, Oct 24, 2012 at 9:19 AM, Yury Katkov katkov.ju...@gmail.com wrote: Hi everyone! The first tutorial day of the SMWCon Fall 2012 has just been started! Good news, we have the live translation with Adobe Connect: https://webconf.vc.dfn.de/smwcon/ Choose the guest account and join us remotely! To see the agenda, go here http://semantic-mediawiki.org/wiki/SMWCon_Fall_2012/Agenda - Yury Katkov, WikiVote, Program Chair -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] SMWCon live broadcast
Hi everyone! The first tutorial day of the SMWCon Fall 2012 has just been started! Good news, we have the live translation with Adobe Connect: https://webconf.vc.dfn.de/smwcon/ Choose the guest account and join us remotely! To see the agenda, go here http://semantic-mediawiki.org/wiki/SMWCon_Fall_2012/Agenda - Yury Katkov, WikiVote, Program Chair -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Dynamic filtered output
Hi Andru! It looks terrific and we really need similar AJAX-feature for fitered format. 1) Do I understand correctly that by default (with no filters turned on) you show some amount of results (say 20 results)? 2) a question to developers: how fast are the count queries? Maybe it's good to use them when the user And your skin is also lovely, if you have any plans to release it as open source, I'll gladly help with that. - Yury Katkov, WIkiVote On Mon, Oct 15, 2012 at 12:48 PM, Andru Vallance an...@tinymighty.comwrote: For the wiki I develop, I was interested in using the filtered output format, but needed the results to be loaded dynamically when filters were changed, as I have 7000+ results to filter. I began making changes to this effect, but under time pressure and with no documentation on the filtered output plugin, I realised it would be quicker to roll my own plugin which interfaces with the SMW API to create dynamic filters. My plugin operates quite differently, functioning as a parser function which takes a JSON object of settings to initiate rather than operating as an output format for an ask query, however if there is demand I could try and merge the dynamic functionality into the filtered output. You can see my plugin in action here: http://practicalplants.org/wiki/Search Would there be any demand for this? Or is it distinct enough in operation that it would be preferred that I polish up my own plugin and release it as a separate entity? If the former, is there any documentation on the operation of output formats to assist me in integration? Ta Andru Vallance -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [Semediawiki-user] further development of filtered output
I see. Yes, that's pretty useful, but I personally don't know an easy way to program such a thing, since all the filtering occurs on a client side. So we either need to form CSV from javascript (seems unusual) or somehow send the list of filtered information to a server and form the list there. So maybe such a feature will require about 2-3 days of a programmer job. - Yury Katkov On Fri, Oct 12, 2012 at 10:47 PM, Krabina Bernhard krab...@kdz.or.atwrote: this is one of the main features from the exhibit format. In a project/seminar management wiki, you filter for experts with special experiences (participation in projects, langage skills...). The resulting list should not only be displayed, but I want to export the names and contact addresses of the persons to write them e-mails... regards, Bernhard what do you need such a feature for? I can't imagine a use case myself. CSV export of filtered results, please!!! ;-) regards, Bernhard - Ursprüngliche Mail - Hi all. The next piece of functionality for the filtered format is calendar support. Stephan Gambke is working on this for me as we speak :) Please feel free to send me wishes. Maps is certainly on the list. This would be pretty useful, especially when coupled with the distance slider functionality the filtered format now has. Cheers Neill. On 12/10/12 16:38, Yury Katkov wrote: On Sun, Sep 30, 2012 at 10:00 PM, Krabina Bernhard krab...@kdz.or.at wrote: Hi, http://kalmar12.fzi.de/testskinwiki/index.php/Spezial:Anwendungsliste that's great! Is the skin available somewhere? I asked the developer, she said that they no plans in opening the source code of the skin :( . Who is interested in adding the following features of filtered in a Roadmap [1]? 1) support more than 'list' value in 'list view type'. For example what about make filters on a maps, wouldn't that be useful in any wiki with maps? Or timelines? Or the most powerful 'template' output? I would need the possibility of exporting the filtered entries to an csv file! This is very application specific feature, or so it seems to me. regards, Bernhard -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [News] SMWCon Fall 2012 Program
Hi everyone, it's some hot SMWCon news! Ask the speaker is an experimental feature of our conference that we want you to try to make it more exciting and to adjust the contents of the talks to your specific need. Each talk has an infobox with the link Ask the speaker that allows you to ask the presenter questions you're interested in. Do you want the speaker to talk more about the technical details of the topic? or maybe you're interested in business model? or maybe you need more scientific details? Don't hesitate to communicate the speaker even before the conference begins. All the talks are listed in the Agenda: http://semantic-mediawiki.org/wiki/SMWCon_Fall_2012/Agenda See you in Cologne! Yury Katkov P.S. yes,yes, nowadays 'Ask the speake'r just links to the discussion page of the talk. :) On Wed, Oct 10, 2012 at 8:44 PM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: Dear all, the program for the upcoming SMWCon in Cologne is becoming more and more stable [1]. Most talks should be at their almost final location now. There are quite a few highlights that are worth mentioning: * We have two exciting keynote talks by Denny Vrandecic (Wikimedia Germany e.V.) and Peter Haase (fluidOps): Denny will introduce Wikidata, the next big thing for Wikipedia, and the underlying software Wikibase. The co-operation of SMW and Wikidata will be an important topic of this SMWCon. Peter will introduce the Information Workbench, a semantic knowledge management solution by fluidOps. For the first time, SMWCon will include a number of talks on related systems that are not SMW. Other highlights in this category include OntoWiki, BlueSpice, SlideWiki, and the Drupal-based Planetary System. I am sure that it will be insightful and inspiring to exchange experiences with these projects. * We'll have a number of practical experience talks. I am particularly looking forward to the insights of Wikia Inc., presented by Krzysztof Krzyżaniak (eloy). * Joel Natividad will join us live from NY to report about his award-winning sites and new smart city projects. * And of course there will be plenty of updates on SMW and its old and new extensions, including a number of presentations about using SMW in completely new ways. The tutorial day will leave more space for discussions and practical work, especially to discuss problems and ideas with the developers (as usual, we will have a very high concentration of those). As a special non-semantic tutorial, Yury Katkov will share his first-hand experience in fighting spam on semanticweb.org and semantic-mediawiki.org, a topic that concerns many public SMW sites. Cheers, Markus [1] http://semantic-mediawiki.org/wiki/SMWCon_Fall_2012/Agenda -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [Semediawiki-user] further development of filtered output
On Sun, Sep 30, 2012 at 10:00 PM, Krabina Bernhard krab...@kdz.or.atwrote: Hi, http://kalmar12.fzi.de/testskinwiki/index.php/Spezial:Anwendungsliste that's great! Is the skin available somewhere? I asked the developer, she said that they no plans in opening the source code of the skin :( . Who is interested in adding the following features of filtered in a Roadmap [1]? 1) support more than 'list' value in 'list view type'. For example what about make filters on a maps, wouldn't that be useful in any wiki with maps? Or timelines? Or the most powerful 'template' output? I would need the possibility of exporting the filtered entries to an csv file! This is very application specific feature, or so it seems to me. regards, Bernhard -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [Semediawiki-user] further development of filtered output
I thought that the search textbox can be of use. Imagine - the reseul of your query is a filtered interface and you can even search through its results. - Yury Katkov On Fri, Oct 12, 2012 at 7:38 PM, Yury Katkov katkov.ju...@gmail.com wrote: On Sun, Sep 30, 2012 at 10:00 PM, Krabina Bernhard krab...@kdz.or.atwrote: Hi, http://kalmar12.fzi.de/testskinwiki/index.php/Spezial:Anwendungsliste that's great! Is the skin available somewhere? I asked the developer, she said that they no plans in opening the source code of the skin :( . Who is interested in adding the following features of filtered in a Roadmap [1]? 1) support more than 'list' value in 'list view type'. For example what about make filters on a maps, wouldn't that be useful in any wiki with maps? Or timelines? Or the most powerful 'template' output? I would need the possibility of exporting the filtered entries to an csv file! This is very application specific feature, or so it seems to me. regards, Bernhard -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [Semediawiki-user] further development of filtered output
Hi Bernard, what do you need such a feature for? I can't imagine a use case myself. - Yury Katkov On Fri, Oct 12, 2012 at 10:33 PM, Krabina Bernhard krab...@kdz.or.atwrote: CSV export of filtered results, please!!! ;-) regards, Bernhard - Ursprüngliche Mail - Hi all. The next piece of functionality for the filtered format is calendar support. Stephan Gambke is working on this for me as we speak :) Please feel free to send me wishes. Maps is certainly on the list. This would be pretty useful, especially when coupled with the distance slider functionality the filtered format now has. Cheers Neill. On 12/10/12 16:38, Yury Katkov wrote: On Sun, Sep 30, 2012 at 10:00 PM, Krabina Bernhard krab...@kdz.or.at wrote: Hi, http://kalmar12.fzi.de/testskinwiki/index.php/Spezial:Anwendungsliste that's great! Is the skin available somewhere? I asked the developer, she said that they no plans in opening the source code of the skin :( . Who is interested in adding the following features of filtered in a Roadmap [1]? 1) support more than 'list' value in 'list view type'. For example what about make filters on a maps, wouldn't that be useful in any wiki with maps? Or timelines? Or the most powerful 'template' output? I would need the possibility of exporting the filtered entries to an csv file! This is very application specific feature, or so it seems to me. regards, Bernhard -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [Semediawiki-user] [SF] the advanced usage of forms
I need the first one. There are some problems with this UrlGetParameters approach: it seems that it will work for article creation using the #formlink but it will not work for article edition using 'Edit with Form' button. Another problem is that the parameters for allowed value set restrictions may not be defined from the beginning. Linking together pages inside the website section is typical example of such feature. Am I right that the most frighting thing here is making ask-queries in AJAX code? - Yury Katkov On Mon, Oct 1, 2012 at 7:16 PM, Yaron Koren ya...@wikiworks.com wrote: Hi, No, the two examples are different - the silly one involves two substitions, based on editable fields, while the real one involves one substitution, directly from the query string. Can you clarify the discrepancy? What is the form that you actually need? -Yaron On Mon, Oct 1, 2012 at 11:11 AM, Yury Katkov katkov.ju...@gmail.com wrote: Hi Yaron! No, these two examples (the synthetic and silly flower example and the real-world brainstorming example) are really the same. What I need is to use the data that user put in the field1 as the parameter of the query that defines the allowed values set in the field2. Anyway, I'll try to clarify: So the user edits the Flower Rose. He entered the Genus of Rose : Rosa. He entered the color of Rose - for example Red. The field 'related flowers' will be the listbox of all red flowers with genus Rosa: {{field|related flowers|values from query=[[Category:$1]][[Color::$2]][[Owner::+]]|substitute=Flowers[Genus],Flowers[Color]|input type=listbox}} - Yury Katkov On Mon, Oct 1, 2012 at 6:35 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, I don't understand - are your data needs more complex than what you put in that sample form definition code earlier? If so, can you revise that sample code to more accurately reflect what you want your form to look like? -Yaron On Mon, Oct 1, 2012 at 2:53 AM, Yury Katkov katkov.ju...@gmail.com wrote: Hi Yaron! There is no problem in passing the Session parameter I can use either 'query string' parameter of the formlink or the urlget function. In this Trend form my main problem is to restrict the set of possible values which will be displayed in the Related events listboxes: 1) All these values are pagenames for pages in Events category 2) All these pages belongs to the same Session as the Trend, that I'm currently looking at The same is for related Technologies: I want to link objects only inside the session, so that the participants of the session The Future of Food don't try to link there Trends and possible events with objects from the Session The future of titan manufacturing . The two restrictions to possible values in the listbox I'have just noted can be three or four; and all of them can be dependent on what is currently entered in the form. - Yury Katkov On Mon, Oct 1, 2012 at 4:26 AM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, This sounds like a very different example - here the original, source field is just a hidden field that gets its value from the query string. In that case, I would think the ideal solution would be to use the UrlGetParameters extension, to directly use the query string value: https://www.mediawiki.org/wiki/Extension:UrlGetParameters I'm not entirely sure that this would work, because I don't remember which parts of the form syntax let you embed a parser function within them - but if it doesn't work, then getting it to work would seem like the simpler, and better, solution. -Yaron On Sun, Sep 30, 2012 at 3:41 PM, Yury Katkov katkov.ju...@gmail.com wrote: Hi Yaron! My example is surely very silly and synthetic so let's just forget about the flowers I'll try to explain the real problem I faced with in a Foresight wiki. Here is my problem domain. There are several brainstorming sessions about the forecasts on a distant future, all of them have different topics. Each of those sessions has various objects as the results of the brainstorming: future trends, possible technologies that may appear in the future, possible important events. All these data are loaded to the wiki using the semantic forms. After the brainstorming ends, the participants can improve the objects, categorize them and link them together. Here for example I have the Trend objects. I want to connect Trends to the Events and to Technologies but only inside the current brainstorming session. The semantic form for Trend will look like that: FORM... {{{field|session name|hidden|required}}} // the only valid way to create a trend is using the #formlink on a Session's page. Formlink will fill this value with the name of the session {{{field|related events|values from
Re: [SMW-devel] [Semediawiki-user] [SF] the advanced usage of forms
I haven't tried #show yet but I have tried #ask. It seems that the parser functions cannot be called inside of {{{field}}} tag. So is that definitely the case, or are you just guessing that you might require this feature in the future? Definitely-definitely. We need some kind of solution for this now, whatever hackish it may be, and I can see that there will be more projects where such feature is needed (especially the projects on social roadmapping and strategic foresight). - Yury Katkov On Mon, Oct 1, 2012 at 8:06 PM, Yaron Koren ya...@wikiworks.com wrote: Ah, that's true, I didn't think about the edit with form case. Well, for that, you could use #show, assuming the value is being stored semantically - and you could have an #ifexists call to tie the whole thing together, so that #urlget is called for new pages, and #show is called for existing pages. It's a hack, but it wouldn't require any custom development. As for parameters may not be defined from the beginning - that's the central issue. New development would be required only if (a) they're not, and (b) there's more than one of them - since a single editable parameter can be handled by the values dependent on feature. So is that definitely the case, or are you just guessing that you might require this feature in the future? -Yaron On Mon, Oct 1, 2012 at 11:36 AM, Yury Katkov katkov.ju...@gmail.com wrote: I need the first one. There are some problems with this UrlGetParameters approach: it seems that it will work for article creation using the #formlink but it will not work for article edition using 'Edit with Form' button. Another problem is that the parameters for allowed value set restrictions may not be defined from the beginning. Linking together pages inside the website section is typical example of such feature. Am I right that the most frighting thing here is making ask-queries in AJAX code? - Yury Katkov On Mon, Oct 1, 2012 at 7:16 PM, Yaron Koren ya...@wikiworks.com wrote: Hi, No, the two examples are different - the silly one involves two substitions, based on editable fields, while the real one involves one substitution, directly from the query string. Can you clarify the discrepancy? What is the form that you actually need? -Yaron On Mon, Oct 1, 2012 at 11:11 AM, Yury Katkov katkov.ju...@gmail.com wrote: Hi Yaron! No, these two examples (the synthetic and silly flower example and the real-world brainstorming example) are really the same. What I need is to use the data that user put in the field1 as the parameter of the query that defines the allowed values set in the field2. Anyway, I'll try to clarify: So the user edits the Flower Rose. He entered the Genus of Rose : Rosa. He entered the color of Rose - for example Red. The field 'related flowers' will be the listbox of all red flowers with genus Rosa: {{field|related flowers|values from query=[[Category:$1]][[Color::$2]][[Owner::+]]|substitute=Flowers[Genus],Flowers[Color]|input type=listbox}} - Yury Katkov On Mon, Oct 1, 2012 at 6:35 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, I don't understand - are your data needs more complex than what you put in that sample form definition code earlier? If so, can you revise that sample code to more accurately reflect what you want your form to look like? -Yaron On Mon, Oct 1, 2012 at 2:53 AM, Yury Katkov katkov.ju...@gmail.com wrote: Hi Yaron! There is no problem in passing the Session parameter I can use either 'query string' parameter of the formlink or the urlget function. In this Trend form my main problem is to restrict the set of possible values which will be displayed in the Related events listboxes: 1) All these values are pagenames for pages in Events category 2) All these pages belongs to the same Session as the Trend, that I'm currently looking at The same is for related Technologies: I want to link objects only inside the session, so that the participants of the session The Future of Food don't try to link there Trends and possible events with objects from the Session The future of titan manufacturing . The two restrictions to possible values in the listbox I'have just noted can be three or four; and all of them can be dependent on what is currently entered in the form. - Yury Katkov On Mon, Oct 1, 2012 at 4:26 AM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, This sounds like a very different example - here the original, source field is just a hidden field that gets its value from the query string. In that case, I would think the ideal solution would be to use the UrlGetParameters extension, to directly use the query string value: https://www.mediawiki.org/wiki/Extension:UrlGetParameters I'm
Re: [SMW-devel] [Semediawiki-user] [SF] the advanced usage of forms
Hi Yaron! My example is surely very silly and synthetic so let's just forget about the flowers I'll try to explain the real problem I faced with in a Foresight wiki. Here is my problem domain. There are several brainstorming sessions about the forecasts on a distant future, all of them have different topics. Each of those sessions has various objects as the results of the brainstorming: future trends, possible technologies that may appear in the future, possible important events. All these data are loaded to the wiki using the semantic forms. After the brainstorming ends, the participants can improve the objects, categorize them and link them together. Here for example I have the Trend objects. I want to connect Trends to the Events and to Technologies but only inside the current brainstorming session. The semantic form for Trend will look like that: FORM... {{{field|session name|hidden|required}}} // the only valid way to create a trend is using the #formlink on a Session's page. Formlink will fill this value with the name of the session {{{field|related events|values from query=[[Category::Event]][[session::$1]]|substitute=Trend[session name] | input type=two listboxes}}} {{{field|related technologies|values from query=[[Category::Technology]][[session::$1]]|substitute=Trend[session name] | input type=two listboxes}}} ... END OF FORM I can use values from concept but it's a very bad workaround if I have many sessions. I hope now the case is more clear. - Yury Katkov On Sun, Sep 30, 2012 at 6:22 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, Well, you bring up two proposed features for SF here: a standard values from query parameter (which you submitted a patch for), and the ability to include variables, representing the current content of some other form field, in the field tag - which could go into a values from query parameter, but it wouldn't necessarily have to. I'll just focus on the second one here. This is a complex need, and one that I think is out of the ordinary: you want users to select a genus, and a color, and then only flowers that match those two fields, and additionally have an owner specified for them, will show up in a listbox. My main question is, what sort of page is this form meant to edit? Is it a page about a collection of flowers that all share one genus and color? I don't know if this an actual form you're talking about, or just a metaphor for a form that holds more technical data that's harder to explain, but in either case it seems odd. Basically you're talking about creating a subset of a subset - a group of pages that match both solid criteria (the color and the genus) and arbitrary criteria (the user's choice). I haven't heard of that kind of use case - but maybe it makes sense for the circumstances. Could you explain the data structure of this form in more detail? -Yaron On Sat, Sep 29, 2012 at 8:38 PM, Yury Katkov katkov.ju...@gmail.com wrote: Hi James! Example 3 in the documentationlooks very much like my case, thank you so much!!! I'll try it tomorrow, maybe it will suit me as a temporary decision. I don't think that it uses ResourceLoader and am not sure that it is compatible with the latest versions of MW/SMF/SF. It also seems Jason Zhang can only use one value to substitute instead of , is that right? Anyway the existence of such extensions shows that more than me alone need such a feature. Also I'll look at your AJAX calls and hopefully will be able to answer to a question (1) to developers. The question (2) to developers remains and also I'm open to discussion about the syntax. Cheers, Yury On Sun, Sep 30, 2012 at 4:22 AM, James HK jamesin.hongkon...@gmail.com wrote: Hi, See [1] which is an extension that generates option values from a semantic query or parser function for a specified form field. [1] http://www.mediawiki.org/wiki/Extension:SemanticFormsSelect#Query_And_Function_format Cheers On 9/30/12, Yury Katkov katkov.ju...@gmail.com wrote: Hi everyone! I think I need something like 'values dependent on' but a little bit more powerful for my Forms. I've recently added 'values from query' parameter for the field tag in Semantic Forms (maybe it will be approved), see here for the details [1] What I need is the ability to create the fields like this one: {{field|values from query=[[Category:$1]][[Color::$2]][[Owner::+]]|substitute=Flowers[Genus],Flowers[Color]|input type=listbox}} This listbox will show the following list of possible values: 1) the possible values will be the names of the wikipages 2) all these wikipages will have an Owner property 3) there will be belong to a category that is stored in a field Genus of the template Flowers 4) there will have the property Color and the color will be store in a field called Color My question to the users of SMW: Is anybody interested in such a feature? My
[SMW-devel] further development of filtered output
Hi everyone! 'Filtered' result format is fabulous! Look how beautiful the website can be with it: http://kalmar12.fzi.de/testskinwiki/index.php/Spezial:Anwendungsliste http://foresighttrip.wikivote.ru/index.php/%D0%9D%D0%BE%D0%B2%D1%8B%D0%B5_%D0%B3%D0%BE%D1%80%D0%BE%D0%B4%D0%B0 Who is interested in adding the following features of filtered in a Roadmap [1]? 1) support more than 'list' value in 'list view type'. For example what about make filters on a maps, wouldn't that be useful in any wiki with maps? Or timelines? Or the most powerful 'template' output? 2) support AJAX. Now all the filtering is done on the client and for many values there will be a performance problem. 3) support visual appearance settings [1] http://semantic-mediawiki.org/wiki/Roadmap - Yury Katkov -- How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] [SF] the advanced usage of forms
Hi everyone! I think I need something like 'values dependent on' but a little bit more powerful for my Forms. I've recently added 'values from query' parameter for the field tag in Semantic Forms (maybe it will be approved), see here for the details [1] What I need is the ability to create the fields like this one: {{field|values from query=[[Category:$1]][[Color::$2]][[Owner::+]]|substitute=Flowers[Genus],Flowers[Color]|input type=listbox}} This listbox will show the following list of possible values: 1) the possible values will be the names of the wikipages 2) all these wikipages will have an Owner property 3) there will be belong to a category that is stored in a field Genus of the template Flowers 4) there will have the property Color and the color will be store in a field called Color My question to the users of SMW: Is anybody interested in such a feature? My questions to SMW\SF developers: 1) is it possible to make semantic queries on the fly using AJAX+SMWAsk API? 2) Our project really needs such a feature. If we program here, is it likely to be merged with the core of Semantic Forms? [1] https://bugzilla.wikimedia.org/show_bug.cgi?id=40629 - Yury Katkov -- How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [SF] the advanced usage of forms
Hi James! Example 3 in the documentationlooks very much like my case, thank you so much!!! I'll try it tomorrow, maybe it will suit me as a temporary decision. I don't think that it uses ResourceLoader and am not sure that it is compatible with the latest versions of MW/SMF/SF. It also seems Jason Zhang can only use one value to substitute instead of , is that right? Anyway the existence of such extensions shows that more than me alone need such a feature. Also I'll look at your AJAX calls and hopefully will be able to answer to a question (1) to developers. The question (2) to developers remains and also I'm open to discussion about the syntax. Cheers, Yury On Sun, Sep 30, 2012 at 4:22 AM, James HK jamesin.hongkon...@gmail.com wrote: Hi, See [1] which is an extension that generates option values from a semantic query or parser function for a specified form field. [1] http://www.mediawiki.org/wiki/Extension:SemanticFormsSelect#Query_And_Function_format Cheers On 9/30/12, Yury Katkov katkov.ju...@gmail.com wrote: Hi everyone! I think I need something like 'values dependent on' but a little bit more powerful for my Forms. I've recently added 'values from query' parameter for the field tag in Semantic Forms (maybe it will be approved), see here for the details [1] What I need is the ability to create the fields like this one: {{field|values from query=[[Category:$1]][[Color::$2]][[Owner::+]]|substitute=Flowers[Genus],Flowers[Color]|input type=listbox}} This listbox will show the following list of possible values: 1) the possible values will be the names of the wikipages 2) all these wikipages will have an Owner property 3) there will be belong to a category that is stored in a field Genus of the template Flowers 4) there will have the property Color and the color will be store in a field called Color My question to the users of SMW: Is anybody interested in such a feature? My questions to SMW\SF developers: 1) is it possible to make semantic queries on the fly using AJAX+SMWAsk API? 2) Our project really needs such a feature. If we program here, is it likely to be merged with the core of Semantic Forms? [1] https://bugzilla.wikimedia.org/show_bug.cgi?id=40629 - Yury Katkov -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [SF][PS] different layouts for CreateTemplate\Create Class and PageSchemas
Yaron, we can steel some from Wiki of the month. Besides them I have the following ideas: * infobox layout a in wikipedia * div layout such as here http://goo.gl/1m3k9 ... more to come - Yury Katkov On Wed, Aug 29, 2012 at 6:10 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, By a staggering coincidence, I'm actually planning to release a new version of Semantic Forms, either today or tomorrow (the first in five months) that will have two more template layouts: one in which field names are section headers, and one in which field names are just bolded text. In addition to the two layouts that SF already provided, that will make for four layout possibilities altogether. The new SF version also contains a hook for Page Schemas, so that PS can offer those same layout options. More options are good, though, so if you have ideas for dozens, or even a few, more layouts, I'd be glad to hear them. -Yaron On Wed, Aug 29, 2012 at 8:59 AM, Yury Katkov katkov.ju...@gmail.com wrote: Hi everyone! I think that most of the users don't create templates and forms by-hand but use r CreateTemplate\Create Class and PageSchemas instead. I think that it's possible to make an improvement to the creation of templates if we introduce different layouts for those templates. Now all the templates that are generated from PageSchemas\CreateTemplate\CreateClass have the 'table layout' and almost always need rewrite. I think that the administrators will feel a lot more relaxed if we have some dozens more layouts in addition to this flat table layout: the div's layouts, the fixed width or automatically expanded layouts. Of course the colorschemes of these layouts can also vary. What do you think about this idea? - Yury Katkov -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] unit tests and acceptance tests of SMW+SF+SRF+...
Hi everyone! Two questions I have: 1. Can you share your experience about testing SMW-based systems? For example now we're upgrading all the versions of MediaWiki, SMW and other extensions and we're getting very alarmed how to ensure if the result works without errors. Intuitively for manual testing we need the set of pages, properties and forms that uses all features of SMW-extensions. Does anybody have such a test case? Or can we use another testing strategy? 2. We want to use the latest wmf version of MediaWiki as the base platform of our wiki. Is this a wise idea in your opinion or should we use the stable version? Sincerely yours, Yury Katkov -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] [SF] Using templates in Semantic Forms. Distant alteration of the form values
Hi everyone! 1. Is it possible to use {{{info}}}, {{{for template}}}, {{{field}}} and other SF tags in MediaWiki templates? 2. More broadly: is it possible to create a template for forms? I mean, here is a template. If I add this template to the page - I will have a form. I tried that and failed: it's probably because the formtags' syntax is the same as the syntax for template parameters. 3. Suppose I'm staying on a Page1. Can I add the button to the Page1 that will alter some value on a Page2 (of course both pages were created by forms)? 4. If it's not possible now, is it difficult to change? That would be a new level of abstraction: dynamically added forms, metaforms that creates other forms, nanoforms for adding things on-the-fly! Sincerely yours, - Yury Katkov (don't forget about SMWCon Fall!) http://semantic-mediawiki.org/wiki/SMWCon_Fall_2012 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] figuring out what semantic properties will be in the text
Do you need the association between property and source text? Probably I do. I want to know whether or not the user will change the property befor the text is stored in the database. I don't know exactly how SMW works, but it should be possible to parse again the article text and collect the semantic annotations IF they are stored in the ParserOutput (can someone else confirm this?) it seems plausable. What about inferred properties? Will I be able the see them? - Yury Katkov On Wed, Jul 25, 2012 at 1:52 PM, Niklas Laxström niklas.laxst...@gmail.comwrote: On 25 July 2012 03:33, Yury Katkov katkov.ju...@gmail.com wrote: So here is my question: is it possible to figure out the properties before the text is actually stored in the database? I don't know exactly how SMW works, but it should be possible to parse again the article text and collect the semantic annotations IF they are stored in the ParserOutput (can someone else confirm this?). The downside with that is that parsing again introduces some overhead. -Niklas -- Niklas Laxström -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] PHP requirements
Hi! Shouldn't we hold these requirements in the extensions? [1] [1] http://www.mediawiki.org/wiki/Manual:Installation_requirements - Yury Katkov On Tue, Jul 17, 2012 at 2:31 PM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: On 17/07/12 09:48, Benedikt Kämpgen wrote: Hello, Validator uses get_called_class in Validator/includes/definitions/ParamDefinition.php on line 872. Apparently, this method is only available from PHP 5.3.0 onwards. Does that mean that Validator and SMW do require PHP = 5.3.0 from now on? Yes, upcoming versions of SMW are planned to require PHP 5.3.0. Is this a problem for you? Best, Markus -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] PHP requirements
On Tue, Jul 17, 2012 at 4:14 PM, Jeroen De Dauw jeroended...@gmail.com wrote: Hey, Shouldn't we hold these requirements in the extensions? [1] These docs are for MediaWiki 1.19. 1.20 does require 5.3 or later. Oh, I see. No objections then! Furthermore, I send a mail to the lists about using PHP 5.3 in the next version of SMW, and no one complained. And several extensions I maintain already require it, and no one complained about that either. So do you have any specific reason for not using it outweighing the advantages? :) Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [SF] Spinbox for SF
Hi Yaron, I think that the main advantage of the spinbox over a generic field is that the spinbox is recognizable as input for inserting only numbers. So often the users of my wikis make mistakes and inserted values like over 9000 or 9000 (approximately) instead of just 9000. This usually leaded to problems in queries and the wiki produced not nice looking error notifications. I usually solved these problems by adding explanations to the fields and use regex filtering. However I think that the amount or user errors will decrease if we use spinner for numbers. I agree though that the the change in default look of the forms is very important and always must be done very carefully: I myself hated the switch to KDE4, Unity and most of all GMail's-barbarian-forced-switch-to-a-new-look. Another thing is that wiki-admins may have attached some CSS and JS to html elements and the change will broke the appearance of their forms. So I'll integrate the spinbox input to SFI. Sincerely yours, Yury 02.07.2012 19:45 пользователь Yaron Koren ya...@wikiworks.com написал: Hi Yury, Very interesting. This certainly looks like a useful input, though I don't know if it makes sense as a default input for the Number type. Personally, I associate spinners with graphical applications like word processors and illustration apps, where it lets you quickly try out small variations on different settings, then preview to see whether that's an improvement or not. I don't know if I've ever seen a spinner on an input where the number is known in advance, and you just have to enter it in. (I've seen dropdowns in cases like that, like when you have to enter the number of people in an online reservations form, but that's not entirely the same thing.) Maybe other people disagree, though. If you or othes have more opinions about this, feel free to share them. It would be a pretty big change to the look of forms, but sometimes change is good. If it's not going to be the default input type, though, I would say it makes more sense in SFI, because that's where most of the Javascript-based inputs go. By the way, it would be nice to actually see the spinner input in action, but it looks like editing on that wiki is restricted to administrators. Not that big a deal, though - I can imagine how it works. Also - it's great to see the two listboxes input, above it on the form! It looks even cooler than I thought it would be; I didn't realize there was an autocompletion element to it too. -Yaron On Mon, Jul 2, 2012 at 9:55 AM, Yury Katkov katkov.ju...@gmail.comwrote: Hi everyone! Alexey Klimovich from WikiVote developed great form input for spinners (spinboxes). Should we integrate this input with SF or with SFI? In my opinion spinner should be default input for number data: not because those little buttons are handy but because the user recognizes immediately that she have to put the number (not string) in the box. You can see the input in action here [1] and this library [2] have been used. The input supports the following parameters: * min and max values * showonfocus - show buttons on hover We'll probably add these parameters soon: * step - the step of a single increment/decrement * prefix - text before the number * suffix - text after the number [1] http://goo.gl/raIY9 [2] https://github.com/btburnett3/jquery.ui.spinner Sincerely yours, Yury Katkov -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] [SF] Spinbox for SF
Hi everyone! Alexey Klimovich from WikiVote developed great form input for spinners (spinboxes). Should we integrate this input with SF or with SFI? In my opinion spinner should be default input for number data: not because those little buttons are handy but because the user recognizes immediately that she have to put the number (not string) in the box. You can see the input in action here [1] and this library [2] have been used. The input supports the following parameters: * min and max values * showonfocus - show buttons on hover We'll probably add these parameters soon: * step - the step of a single increment/decrement * prefix - text before the number * suffix - text after the number [1] http://goo.gl/raIY9 [2] https://github.com/btburnett3/jquery.ui.spinner Sincerely yours, Yury Katkov -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] in place editing and SMW
Hi Benedikt! I think that the results of semantic annotations and result formats can be wrapped in span with html id tag. In this case they will be accessible from a rendered page. - Yury Katkov On Mon, Jul 2, 2012 at 6:42 PM, Benedikt Kämpgen benedikt.kaemp...@kit.edu wrote: Hi, - How do you currently detect semantic annotations and templates in the wiki-text (regex or so)? I had a go at Inline Editing a while ago. Back then it was not possible to detect semantic annotations after wikitext is shown in HTML. I proposed to wrap annotations in RDFa, e.g. as done at [1], but this would require some changes to parsing. If the shown html expressed its annotations, it would be easier to implement inline editing functionality. There have been other efforts about Inline Editing: * tabularform format of Halo * Some demos by Vulcan * http://www.mediawiki.org/wiki/User:JanPaul123/Sentence-level_editing If you are interested, look for Inline Editing in the developer mailing list. I do not want to discourage you - I think it is a great idea - but you should have a look at other efforts. Best, Benedikt [1] http://bergie.iki.fi/blog/using_rdfa_to_make_a_web_page_editable/ -- AIFB, Karlsruhe Institute of Technology (KIT) Phone: +49 721 608-47946 Email: benedikt.kaemp...@kit.edu Web: http://www.aifb.kit.edu/web/Hauptseite/en -Original Message- From: Lists [mailto:li...@psycholutions.com] Sent: Sunday, June 10, 2012 3:22 AM To: 'Jeroen De Dauw' Cc: semediawiki-devel@lists.sourceforge.net Subject: Re: [SMW-devel] in place editing and SMW Hey Jeroen, thx for the answer. I think I can minimize the limitations to page/template transclusions in the first degree/release- so manual semantic annotations will be automatically stored/updated after a page refresh with the new wiki-text content updated on server side. Am I right here, do you see additional problems? Just for interest: - Could you provide an example for using the abstraction layer SMWStore- are there documentations out there? - How do you currently detect semantic annotations and templates in the wiki-text (regex or so)? c u Stevie -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Add pagename parameter to #formlink
Hi everyone! I discover to my surprise that #formlink parser function doesn't have 'pagename' parameter. Such a parameter is needed for at least three use-cases: 1) using #formlink inside the template. The template can include a code like that: {{#formlink:pagename=blabla{{{1}}} }} 2) using Magic Words inside the #formlink. The example can be like the following {{#formlink:pagename=Report about {{PAGENAME}} on {{CURRENTDAY}} }} 3) Create new extensions a bit easier. I have created an extension 'WikiVote Create Page' that allows to deal with MediaWiki redlinks and non-existant pages. In this extensions the administrator can create a page full of formlinks (so called Creation Dialog) and then redirect every redlink to this page. I need to somehow pass the redlink name to my Creation Dialog. Now I'm using #forminput with preloaded page name instead of #formlink. It looks pretty ugly: a dozen of forminputs with the same text inside the input. Yaron and other SF contributors what do you think about adding 'pagename' parameter to #formlink? - Yury Katkov -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Add pagename parameter to #formlink
Thanks, that's cool! - Yury Katkov On Thu, Jun 21, 2012 at 6:34 PM, Stephan Gambke s7ep...@gmail.com wrote: Hi Yuri, I have not looked at the code, but from what I see in the documentation the 'target' parameter is what you are looking for. See http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Linking_to_forms#Using_.23formlink Cheers, Stephan On 21 June 2012 16:18, Yury Katkov katkov.ju...@gmail.com wrote: Hi everyone! I discover to my surprise that #formlink parser function doesn't have 'pagename' parameter. Such a parameter is needed for at least three use-cases: 1) using #formlink inside the template. The template can include a code like that: {{#formlink:pagename=blabla{{{1}}} }} 2) using Magic Words inside the #formlink. The example can be like the following {{#formlink:pagename=Report about {{PAGENAME}} on {{CURRENTDAY}} }} 3) Create new extensions a bit easier. I have created an extension 'WikiVote Create Page' that allows to deal with MediaWiki redlinks and non-existant pages. In this extensions the administrator can create a page full of formlinks (so called Creation Dialog) and then redirect every redlink to this page. I need to somehow pass the redlink name to my Creation Dialog. Now I'm using #forminput with preloaded page name instead of #formlink. It looks pretty ugly: a dozen of forminputs with the same text inside the input. Yaron and other SF contributors what do you think about adding 'pagename' parameter to #formlink? - Yury Katkov -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Is it possible to have several {{{standard input|free text}}} fields on a form?
Sure you don't have to assign it to a semantic property but the text will be wraped in a template which brings us to a problem. The problem is that in this text not everything is allowed. That brings me to the question I wrote earlier http://www.mail-archive.com/semediawiki-devel@lists.sourceforge.net/msg03474.html - how can we better develop escaping. Multiple {{{free text}}}s is also an alternative to escaping. - Yury Katkov On Thu, Jun 14, 2012 at 1:32 PM, Stephan Gambke s7ep...@gmail.com wrote: Hi Kim, the problem is, that free text has no identification attached to it in the final page. There is no definite way for SF to figure out which piece of text goes where. What you can do instead is to define a normal text area input and then display this in the template however you want. You don't have to assign it to a semantic property. Cheers, Stephan On 14 June 2012 11:23, Kim Eik k...@heldig.org wrote: Today if you specify two or more {{{standard input|free text}}} a form page and you input value in them both. Only the last value will be displayed, and also duplicated over all instances of the {{{standard input|free text}}}. Why is this? Say if someone wanted to have a form in the middle of a page, and some free text above and below the form. How would one go about achieving this? Would it be possible to extend the {{{standard input|free text}}} with an extra parameter giving it a name, so that content would not be duplicated and you could indeed have several instances of this input? Cheers Kim -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] [SF] Advice request: restricting wiki-markup in SF fields
Hi everyone! In our wiki all of the things is entered by a forms. The content is organized via categories and queries that make use of semantic properties. It is therefore crucial that users shouldn't use some of the wiki-markup inside the forms fields for example: * two curly brackets will kill the template: }} * the insertion of category will put the article in the place where we don't want it to be * the insertion of a semantic property will lead to a problems with queries My question is: is it possible to restrict the usage of the wiki-markup in semantic extensions? If not, what is in your opinion, the best way to do it? I came with several possibilities: * create a separate extension hooked on the action of page change. Seems too ad-hoc for me. * create a tag inside of which the restricted markup will be ignored. It's more like nowiki tag, only it's more precise. We can than use this tag in semantic templates remaining SF untouched. * add some features in the Semantic Forms. The escaping of curly brackets seems to be useful thing, and we can also add an optional parameter to a field declaration. In this parameter we will be able to list of the kinds of markup we want to be rejected or escaped. Maybe it could form a separate extension. Sincerely yours, Yury Katkov -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Support default tag for minor changes watch standart inputs [patch attached]
Hi guys! This feature sounds very reasonable for me and I'll gladly use this feature in enterprise wikis. In these kinds of wikis the page typically has only one or two authors and the number of pages is smaller than in public wikis. So the intention to make users informed by default of all pages the have contributed is very close to my heart: 1) frequent notifications about the activity on wikipages make users mare involved in the content creation process 2) enable notifications by default is a good decision for the most important pages because their changes should be as transparent as possible. - Yury Katkov On Fri, Jun 1, 2012 at 5:26 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Vladimir, I'm still not convinced - just because a page is important, doesn't mean that a person's *relationship* to it is important. For instance, the person could be editing the page just to fix a typo - it doesn't mean that they now want to monitor it. That's just my current opinion, and I'm open to counter-arguments, by you or others. -Yaron On Thu, May 31, 2012 at 10:44 PM, Vladimir Kostyukov vladimir.kostu...@gmail.com wrote: Hi Yaron, Thanks for such a fast reply! Regarding pages watching.You are right about default MediaWiki settings, there is no property (variable) to make watch this page checkbox checked by default. That is why, I've decided to make this patch. Here is my case. There are several *very important* pages/forms in my wiki (actually kind of corporate system) and I had to make watch this page checkbox for these pages/forms checked by default. Again, it is because, these pages/forms are very important (like a killer feature of site, like a key entity). For example, I have a MediaWiki-based system with data about rock bands, than template Rock Band and form Form:Rock Band are *main entities* in my system. Other entities, such as Album, Song, Person, etc. Not such important for my goals. In this case, it'd be really useful to have a way make my mains entities checkbox checked by default. Its really important to users and to maintainers to watch this pages/forms. On Fri, Jun 1, 2012 at 3:17 AM, Yaron Koren ya...@wikiworks.com wrote: Hi Vladimir, Thanks for this patch. In theory, this sounds reasonable - and the code you created looks fine. My one concern is that, as far as I know, currently in MediaWiki the watch this page checkbox is never checked by default - except in special cases like that the user is creating a new page; and even for those cases, the user can decide not to have it checked by default, by changing their preferences. So I'm worried that this could break an expectation on the part of users that some page they decided to edit won't get added to their watchlist. Which is not a major concern, but it might be worth something. Could you explain why you want that checkbox checked on some forms? -Yaron On Thu, May 31, 2012 at 3:57 AM, Vladimir Kostyukov vladimir.kostu...@gmail.com wrote: Hi Yaron, Stephan and everyone! I've just written simple patch, witch adds support of default tag for standard input checkboxes (minor changes, watch). You can found it attached. Here is my motivation. In my project, where I use SMW/SF, I had to mark standard input watch checkbox as checked by default for several forms (*not for all forms*). I've decided to write something like that (regarding standard checkbox usage): {{{standard input|watch|default=yes}}} But, It didn't work for me! I looked into sources, and figured out, that default tag is ignored. Than I've decided to implement this feature. I think its very useful, to have a way set watch or minor edit default value for *separated form*. What do you thing about this feature? -- Thanks, Vladimir Kostyukov -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- Thanks, Vladimir Kostyukov -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263
Re: [SMW-devel] New SMW result format released - Filtered
Hi Neill! Impressive! This is so great job, thanks for your effort! For our project we are likely to be in need of something similar. For example filtered Semantic Maps, where we have filters/facets that filters the map output. Can I do that now with this extension? Cheers, Yury - Yury Katkov On Tue, May 15, 2012 at 1:38 PM, Neill Mitchell ne...@nlkmitchell.comwrote: Hi all, I am proud to announce the immediate release of the result format filtered, part of the Semantic Result Formats extension. This is a result printer that displays results with switchable views support and offers client-side (JavaScript based) filtering. AND/OR selections are possible and the filter value boxes are collapsible. This result printer is ultimately planned to replace the now defunct exhibit format. One really cool feature is the distance query, which provides a distance slider that allows you to instantly filter the results based on the distance from a base geographic point. Further details at: http://semantic-mediawiki.org/wiki/Help:Filtered_format Example usage can be seen at: http://www.aroundisleofwight.info/en/Days_Out == Download == SVN repository: http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SemanticResultFormats/ == Requirements == * SMW 1.7 and later. * MediaWiki 1.17.2 or later * A javascript capable browser. Many thanks to Stephan Gambke for coding this. As always, he has done an absolutely fantastic job. The project was sponsored by Prescient Software http://www.prescientsoftware.co.uk Cheers Neill. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [SF] Programming Form Input
Hi Yaron! I found the answer to my question about the square brackets in form input's name. It's done for PHP to know that all the values of the same name must be collected in an array. Here is it : http://docs.php.net/manual/en/faq.html.php#faq.html.arrays - Yury Katkov On Thu, May 10, 2012 at 5:27 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, My answers are below. On Thu, May 10, 2012 at 6:26 AM, Yury Katkov katkov.ju...@gmail.comwrote: Hi everyone and especially SF/SFI developers! I've just finished the pre-alpha version of the new Semantic Form Input for selecting multiple items in a comfortable way. You can see the demo here: http://test12.wikivote.ru/index.php?title=Daction=formedit Nice. Does this input type use an existing JS library, and if so, which one? Or did you create the Javascript for it yourself? Tied in with that, the name you chose for this input type, multiselect, is actually one I was thinking of using for this other input type I wanted to add to SFI - see the Multiple Select section: http://harvesthq.github.com/chosen/ What about calling your input type two listboxes or something like that? That seems to be at least one standard term for this kind of interface. I don't know if there's a more official one. I want to write a piece of technical documentation for myself and for future generations of SFInput writers but I don't yet understand several imporant things about Form Inputs. I'd be very glad if Semantic Forms developers clarified something for me. == Question 1. History and future plans == As far as I can tell from the code there are three generations of FormInputs exist now, am I right? 1) in the past input developer had to override getHTML() function. It's done in most Semantic Forms's formsinput but it's not a good way anymore. We also have used 2) now it's the era of the Resource Loader and to create my input I have to override getHtmlText, getResourceModuleNames and getJsInitFunctionData functions. For figuring out what kind of data can be handled by the input we now use getHandledPropertyTypes function instead of getDefaultPropTypes, getDefaultPropTypeLists and getOtherPropTypesHandled. 3) In the future addJsInitFunctionData, addJsValidationFunctionData will be used by the internals of the Semantic Forms and all deprecated methods will be removed. That sounds right... Stephan Gambke might know more about this than I do. I believe the framework for the third of those is not done yet. == Question 2. Naming == Is it correct that I have to name my inputs like that: input_ . $this-mInputNumber The input name is already passed in by SF, no? At the most, you might just have to add in a [...], depending on how the HTML is structured, because your input holds multiple values This ties in to your 4th question. == Question 3 Naming again == What the 'name' attribute is used for? The rule of the thumb is of course that you always make it like that: $this-mInputName It's used when the form is submitted, to get the value of the input. == Question 4. Handling lists == I'm not sure that I understand about handling lists issues in Form Inputs. 1) The Name attribute of the form input sometimes have brackets like in it like this: input3[]. 2) On the other hand sometimes we add an additional hidden element like Html::hidden($name . '[is_list]', 1) 3) And thirdly we have the method canHandleLists() to override. It seems that all three thing are indicating that the form input can handle lists, but it's pretty weird to see three different pieces of code trying to say the same thing. What's happening The second one is done for certain input types, so that when the form is submitted, the code will know to check for multiple values. It's a symptom of the way arrays of values are handled in HTML forms, but beyond that I don't remember. :) If you don't need it, then you shouldn't use it. I think that's true for the first one as well. == Question 5. Don't draw my input without proper CSS! == When the form is loaded there's a period of time when the user can my element undressed. Namely the user can see he input without any CSS applied to it. How can I avoid such an effect? That's a symptom of the use of ResourceLoader, since by default it puts CSS and Javascript at the bottom of the page. It leads to faster leading times, but some people don't like it because things show up undressed. (The ResourceLoader people apparently refer to this as a FOUC, or flash of unstyled content.) Personally, I don't mind it. But here are instructions on how to avoid it for your module: http://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_for_extension_developers#Adding_a_module_to_the_page == Question 6. Be part of something bigger == Is it possible that my code will be part of Semantic Forms Inputs or Semantic Forms? If so, what versions of SMW, SF, SFI should I use
Re: [SMW-devel] [SF] Programming Form Input
Hi Sal! It's really a major bug - I'll try to fix that now. - Yury Katkov On Thu, May 10, 2012 at 10:27 PM, trueskew trues...@gmail.com wrote: Hi Yury, ** ** I just tried your test link in Firefox under Windows 7 and I see different behavior than I saw under IE 9.0. Now I understand the confusion I gave you. ** ** Under IE 9.0, this is what I see before it shows your form as a multi-list box with no boxes on the right: ** ** ** ** Have you seen it working as expected with IE? ** ** Sal ** ** *From:* Yury Katkov [mailto:katkov.ju...@gmail.com] *Sent:* Thursday, May 10, 2012 11:18 AM *To:* salqu...@gmail.com *Cc:* SMW developer list *Subject:* Re: [SMW-devel] [SF] Programming Form Input ** ** Hi Sal! ** ** As far as I can tell the first problem that was related to the Ctrl key has been solved in my input, hasn't it? The selected elements move from the left box to the right box and remains in a right box till the end of eternity. ** ** The other problem when you have a large list that doesn’t practically fit on the screen is verifying that a user wanted to select was selected. A read-only box on the side that shows what has been selected would be a great way to let users track their work. ** ** Could you illustrate this situation (probably with a picture)? I'm not sure that I understood the problem and your proposed solution. As of now I plan to add search support to my input. In fact it's already done in the library I use so it's probably won't be difficult. Searching can help address the problem with many items in a list. - Yury Katkov On Thu, May 10, 2012 at 10:09 PM, Sal Quintanilla salqu...@gmail.com wrote: Great job Yury, multi-select list boxes are a good addition. And to prove you’ve created a viable option, I’m going to give you some improvement suggestions… What you have works like a traditional multi-select box. But the classic problem with that is an accidental click inside the box, or a click where you didn’t quite hold the ctrl key well enough, causes the user to lose his selections. It would be great see an implementation that used a toggle click… that is, click to select a name, and it stays selected until the user clicks to unselect it. The other problem when you have a large list that doesn’t practically fit on the screen is verifying that a user wanted to select was selected. A read-only box on the side that shows what has been selected would be a great way to let users track their work. Take care. Sal *From:* Yury Katkov [mailto:katkov.ju...@gmail.com] *Sent:* Thursday, May 10, 2012 3:27 AM *To:* SMW developer list *Subject:* [SMW-devel] [SF] Programming Form Input Hi everyone and especially SF/SFI developers! I've just finished the pre-alpha version of the new Semantic Form Input for selecting multiple items in a comfortable way. You can see the demo here: http://test12.wikivote.ru/index.php?title=Daction=formedit I want to write a piece of technical documentation for myself and for future generations of SFInput writers but I don't yet understand several imporant things about Form Inputs. I'd be very glad if Semantic Forms developers clarified something for me. == Question 1. History and future plans == As far as I can tell from the code there are three generations of FormInputs exist now, am I right? 1) in the past input developer had to override getHTML() function. It's done in most Semantic Forms's formsinput but it's not a good way anymore. We also have used 2) now it's the era of the Resource Loader and to create my input I have to override getHtmlText, getResourceModuleNames and getJsInitFunctionData functions. For figuring out what kind of data can be handled by the input we now use getHandledPropertyTypes function instead of getDefaultPropTypes, getDefaultPropTypeLists and getOtherPropTypesHandled. 3) In the future addJsInitFunctionData, addJsValidationFunctionData will be used by the internals of the Semantic Forms and all deprecated methods will be removed. == Question 2. Naming == Is it correct that I have to name my inputs like that: input_ . $this-mInputNumber == Question 3 Naming again == What the 'name' attribute is used for? The rule of the thumb is of course that you always make it like that: $this-mInputName == Question 4. Handling lists == I'm not sure that I understand about handling lists issues in Form Inputs. 1) The Name attribute of the form input sometimes have brackets like in it like this: input3[]. 2) On the other hand sometimes we add an additional hidden element like Html::hidden($name . '[is_list]', 1) 3) And thirdly we have the method canHandleLists() to override. It seems that all three thing are indicating that the form input
[SMW-devel] [SF] Programming Form Input
Hi everyone and especially SF/SFI developers! I've just finished the pre-alpha version of the new Semantic Form Input for selecting multiple items in a comfortable way. You can see the demo here: http://test12.wikivote.ru/index.php?title=Daction=formedit I want to write a piece of technical documentation for myself and for future generations of SFInput writers but I don't yet understand several imporant things about Form Inputs. I'd be very glad if Semantic Forms developers clarified something for me. == Question 1. History and future plans == As far as I can tell from the code there are three generations of FormInputs exist now, am I right? 1) in the past input developer had to override getHTML() function. It's done in most Semantic Forms's formsinput but it's not a good way anymore. We also have used 2) now it's the era of the Resource Loader and to create my input I have to override getHtmlText, getResourceModuleNames and getJsInitFunctionData functions. For figuring out what kind of data can be handled by the input we now use getHandledPropertyTypes function instead of getDefaultPropTypes, getDefaultPropTypeLists and getOtherPropTypesHandled. 3) In the future addJsInitFunctionData, addJsValidationFunctionData will be used by the internals of the Semantic Forms and all deprecated methods will be removed. == Question 2. Naming == Is it correct that I have to name my inputs like that: input_ . $this-mInputNumber == Question 3 Naming again == What the 'name' attribute is used for? The rule of the thumb is of course that you always make it like that: $this-mInputName == Question 4. Handling lists == I'm not sure that I understand about handling lists issues in Form Inputs. 1) The Name attribute of the form input sometimes have brackets like in it like this: input3[]. 2) On the other hand sometimes we add an additional hidden element like Html::hidden($name . '[is_list]', 1) 3) And thirdly we have the method canHandleLists() to override. It seems that all three thing are indicating that the form input can handle lists, but it's pretty weird to see three different pieces of code trying to say the same thing. What's happening == Question 5. Don't draw my input without proper CSS! == When the form is loaded there's a period of time when the user can my element undressed. Namely the user can see he input without any CSS applied to it. How can I avoid such an effect? == Question 6. Be part of something bigger == Is it possible that my code will be part of Semantic Forms Inputs or Semantic Forms? If so, what versions of SMW, SF, SFI should I use for testing? What versions I have to be compatible with? Cheers! - Yury Katkov, WikiVote! company. E-government and law crowdsouring http://wikivote.ru -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [SF] Programming Form Input
Thanks Yaron for your quick answer and for the explanation! I use jquery library multi-select it's available here: http://loudev.com/ I have tested it on mw1.19 jquery and it seem that it works pretty well. Tied in with that, the name you chose for this input type, multiselect, is actually one I was thinking of using for this other input type I wanted to add to SFI - see the Multiple Select section: http://harvesthq.github.com/chosen/ This input looks very cool! When do you plan to add it to SFI? I'm very interested in such things, I'll surely use it in my SMW projects! Sometimes it's a gray area, although this input clearly (to me) looks like it should go in SFI. Cool! It now supports only input pre-set values ( like {{{input|values=one,two,three}}} ). I'll try to extend Enum or List input and support their options and will send you a code. Sincerely yours, - Yury Katkov On Thu, May 10, 2012 at 5:27 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, My answers are below. On Thu, May 10, 2012 at 6:26 AM, Yury Katkov katkov.ju...@gmail.comwrote: Hi everyone and especially SF/SFI developers! I've just finished the pre-alpha version of the new Semantic Form Input for selecting multiple items in a comfortable way. You can see the demo here: http://test12.wikivote.ru/index.php?title=Daction=formedit Nice. Does this input type use an existing JS library, and if so, which one? Or did you create the Javascript for it yourself? Tied in with that, the name you chose for this input type, multiselect, is actually one I was thinking of using for this other input type I wanted to add to SFI - see the Multiple Select section: http://harvesthq.github.com/chosen/ What about calling your input type two listboxes or something like that? That seems to be at least one standard term for this kind of interface. I don't know if there's a more official one. I want to write a piece of technical documentation for myself and for future generations of SFInput writers but I don't yet understand several imporant things about Form Inputs. I'd be very glad if Semantic Forms developers clarified something for me. == Question 1. History and future plans == As far as I can tell from the code there are three generations of FormInputs exist now, am I right? 1) in the past input developer had to override getHTML() function. It's done in most Semantic Forms's formsinput but it's not a good way anymore. We also have used 2) now it's the era of the Resource Loader and to create my input I have to override getHtmlText, getResourceModuleNames and getJsInitFunctionData functions. For figuring out what kind of data can be handled by the input we now use getHandledPropertyTypes function instead of getDefaultPropTypes, getDefaultPropTypeLists and getOtherPropTypesHandled. 3) In the future addJsInitFunctionData, addJsValidationFunctionData will be used by the internals of the Semantic Forms and all deprecated methods will be removed. That sounds right... Stephan Gambke might know more about this than I do. I believe the framework for the third of those is not done yet. == Question 2. Naming == Is it correct that I have to name my inputs like that: input_ . $this-mInputNumber The input name is already passed in by SF, no? At the most, you might just have to add in a [...], depending on how the HTML is structured, because your input holds multiple values This ties in to your 4th question. == Question 3 Naming again == What the 'name' attribute is used for? The rule of the thumb is of course that you always make it like that: $this-mInputName It's used when the form is submitted, to get the value of the input. == Question 4. Handling lists == I'm not sure that I understand about handling lists issues in Form Inputs. 1) The Name attribute of the form input sometimes have brackets like in it like this: input3[]. 2) On the other hand sometimes we add an additional hidden element like Html::hidden($name . '[is_list]', 1) 3) And thirdly we have the method canHandleLists() to override. It seems that all three thing are indicating that the form input can handle lists, but it's pretty weird to see three different pieces of code trying to say the same thing. What's happening The second one is done for certain input types, so that when the form is submitted, the code will know to check for multiple values. It's a symptom of the way arrays of values are handled in HTML forms, but beyond that I don't remember. :) If you don't need it, then you shouldn't use it. I think that's true for the first one as well. == Question 5. Don't draw my input without proper CSS! == When the form is loaded there's a period of time when the user can my element undressed. Namely the user can see he input without any CSS applied to it. How can I avoid such an effect? That's a symptom of the use of ResourceLoader, since by default it puts CSS and Javascript
Re: [SMW-devel] [SF] Programming Form Input
Thanks Stephan, now I understand about the methods in SFInput! - Yury Katkov On Thu, May 10, 2012 at 6:20 PM, Stephan Gambke s7ep...@gmail.com wrote: Hi Yury, very nice input, I love it. On 10 May 2012 12:26, Yury Katkov katkov.ju...@gmail.com wrote: == Question 1. History and future plans == As far as I can tell from the code there are three generations of FormInputs exist now, am I right? 1) in the past input developer had to override getHTML() function. It's done in most Semantic Forms's formsinput but it's not a good way anymore. We also have used 2) now it's the era of the Resource Loader and to create my input I have to override getHtmlText, getResourceModuleNames and getJsInitFunctionData functions. For figuring out what kind of data can be handled by the input we now use getHandledPropertyTypes function instead of getDefaultPropTypes, getDefaultPropTypeLists and getOtherPropTypesHandled. 3) In the future addJsInitFunctionData, addJsValidationFunctionData will be used by the internals of the Semantic Forms and all deprecated methods will be removed. You are right, 1) should not be used anymore. 2) and 3) are actually both part of the new mechanism. The comment about methods not being used yet are actually wrong, I really should remove them. Generally you should not overwrite the get-methods. Instead, to register resource loader modules and JS functions you just use the add methods. The idea behind providing these add-methods is to make it easier to build up the required datastructure so you do not have to care about it. Long story short: Leave the getters alone, call the adders. == Question 2. Naming == Is it correct that I have to name my inputs like that: input_ . $this-mInputNumber == Question 3 Naming again == What the 'name' attribute is used for? The rule of the thumb is of course that you always make it like that: $this-mInputName We have to carefully distinguish between input id and input name here. When the constructor of SFFormInput is called, you get as parameters an input number and an input name. For a simple HTML input element the number of the input should end up in the 'id' attribute in the format 'input_number'. The name of the input should end up in the 'name' attribute of your HTML input element. This name is also what is sent back to the server and finally used by SF to build the page text. == Question 5. Don't draw my input without proper CSS! == When the form is loaded there's a period of time when the user can my element undressed. Namely the user can see he input without any CSS applied to it. How can I avoid such an effect? Maybe in addition to what Yaron said: If you are really intent to hide the input until it looks nice you could try the approach from HeaderTabs: $parser-getOutput()-addHeadItem( HTML::inlineScript( 'document.styleSheets[0].insertRule?document.styleSheets[0].insertRule(.unselected {display:none;}, 0):document.styleSheets[0].addRule(.unselected, display:none);' ), true ); This is approaching blunt force, though, so you should think carefully if you really want to do that. == Question 6. Be part of something bigger == Is it possible that my code will be part of Semantic Forms Inputs or Semantic Forms? If so, what versions of SMW, SF, SFI should I use for testing? What versions I have to be compatible with? I would love to have this input in SFI! Generally I try for compatibility with MW 1.17 and SMW 1.5.6, maybe, although having not much contact with SMW from inputs I usually do not test excessively against that requirement. As for SF, I try to keep SFI in sync with the current version. Cheers, Stephan -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [SF] Programming Form Input
Hi Sal! As far as I can tell the first problem that was related to the Ctrl key has been solved in my input, hasn't it? The selected elements move from the left box to the right box and remains in a right box till the end of eternity. The other problem when you have a large list that doesn’t practically fit on the screen is verifying that a user wanted to select was selected. A read-only box on the side that shows what has been selected would be a great way to let users track their work. Could you illustrate this situation (probably with a picture)? I'm not sure that I understood the problem and your proposed solution. As of now I plan to add search support to my input. In fact it's already done in the library I use so it's probably won't be difficult. Searching can help address the problem with many items in a list. - Yury Katkov On Thu, May 10, 2012 at 10:09 PM, Sal Quintanilla salqu...@gmail.comwrote: Great job Yury, multi-select list boxes are a good addition. ** ** And to prove you’ve created a viable option, I’m going to give you some improvement suggestions… ** ** What you have works like a traditional multi-select box. But the classic problem with that is an accidental click inside the box, or a click where you didn’t quite hold the ctrl key well enough, causes the user to lose his selections. It would be great see an implementation that used a toggle click… that is, click to select a name, and it stays selected until the user clicks to unselect it. ** ** The other problem when you have a large list that doesn’t practically fit on the screen is verifying that a user wanted to select was selected. A read-only box on the side that shows what has been selected would be a great way to let users track their work. ** ** Take care. Sal ** ** *From:* Yury Katkov [mailto:katkov.ju...@gmail.com] *Sent:* Thursday, May 10, 2012 3:27 AM *To:* SMW developer list *Subject:* [SMW-devel] [SF] Programming Form Input ** ** Hi everyone and especially SF/SFI developers! I've just finished the pre-alpha version of the new Semantic Form Input for selecting multiple items in a comfortable way. You can see the demo here: ** ** http://test12.wikivote.ru/index.php?title=Daction=formedit ** ** I want to write a piece of technical documentation for myself and for future generations of SFInput writers but I don't yet understand several imporant things about Form Inputs. I'd be very glad if Semantic Forms developers clarified something for me. == Question 1. History and future plans == As far as I can tell from the code there are three generations of FormInputs exist now, am I right? 1) in the past input developer had to override getHTML() function. It's done in most Semantic Forms's formsinput but it's not a good way anymore. We also have used 2) now it's the era of the Resource Loader and to create my input I have to override getHtmlText, getResourceModuleNames and getJsInitFunctionData functions. For figuring out what kind of data can be handled by the input we now use getHandledPropertyTypes function instead of getDefaultPropTypes, getDefaultPropTypeLists and getOtherPropTypesHandled. 3) In the future addJsInitFunctionData, addJsValidationFunctionData will be used by the internals of the Semantic Forms and all deprecated methods will be removed. == Question 2. Naming == Is it correct that I have to name my inputs like that: input_ . $this-mInputNumber == Question 3 Naming again == What the 'name' attribute is used for? The rule of the thumb is of course that you always make it like that: $this-mInputName == Question 4. Handling lists == I'm not sure that I understand about handling lists issues in Form Inputs. 1) The Name attribute of the form input sometimes have brackets like in it like this: input3[]. 2) On the other hand sometimes we add an additional hidden element like Html::hidden($name . '[is_list]', 1) 3) And thirdly we have the method canHandleLists() to override. It seems that all three thing are indicating that the form input can handle lists, but it's pretty weird to see three different pieces of code trying to say the same thing. What's happening ** ** == Question 5. Don't draw my input without proper CSS! == When the form is loaded there's a period of time when the user can my element undressed. Namely the user can see he input without any CSS applied to it. How can I avoid such an effect? == Question 6. Be part of something bigger == Is it possible that my code will be part of Semantic Forms Inputs or Semantic Forms? If so, what versions of SMW, SF, SFI should I use for testing? What versions I have to be compatible with? ** ** Cheers! - Yury Katkov, WikiVote! company. E-government and law crowdsouring http://wikivote.ru
Re: [SMW-devel] silent adding of the semantic properties
Hi Markus! This really works every time data is refreshed! Pretty cool, but now I have to patch SMW core to make ArticleFeedback semantization possible. Is it possible to add a hooks before and after storing semantic data ( smwfGetStore()-updateData( $semdata ); ) ? I personally need only $semdata object but I don't know what other developers may need. - Yury Katkov On Wed, Feb 22, 2012 at 9:43 PM, Yury Katkov katkov.ju...@gmail.com wrote: Hi Markus! This is really the case when change of the page is not acceptable: first of all the appearance of {{#set}} can be confusing for users. Strictly speaking every time when the page updates I will also need to check where my property value come from (or deny using certain properties in text): if user will place the property [[vote::5]] in the page text I will be in trouble. Thanks for this advice! - Yury Katkov On Wed, Feb 22, 2012 at 9:18 PM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: On 22/02/12 16:31, Yury Katkov wrote: Hi everyone! I want to semantize ArticleFeedback votes so that they will be accessible via SMW queries. What is the best way to silently add semantic properties to the wiki page? Is it ok to add them programmaticaly using SMWPropertyValue and do not change the text of the page? When changing the wiki page is acceptable, the function #set can be used to do it silently. When a programmatic solution is needed, care must be taken to do it in a place that will write the property in all cases when data is refreshed (page edits *and* update jobs). The place where this is best done is the hook storeData() in includes/SMW_ParseData.php. SMW does not currently offer a hook to extend this -- maybe we should. Regards Markus Sincerely yours, - Yury Katkov -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] silent adding of the semantic properties
Hi everyone! I want to semantize ArticleFeedback votes so that they will be accessible via SMW queries. What is the best way to silently add semantic properties to the wiki page? Is it ok to add them programmaticaly using SMWPropertyValue and do not change the text of the page? Sincerely yours, - Yury Katkov -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Fwd: [pmwx-forum] Purple MediaWiki (PMWX) Extension Release 1.6
I tried it with MW 1.17 and MW 1.18 and latest SMWs and all worked perfectly fine. However I haven't used any of the semantic features of PSWM, just installed it for adding URLs to paragraphs. - Yury Katkov On Wed, Feb 15, 2012 at 6:12 PM, Jeroen De Dauw jeroended...@gmail.comwrote: Hey Peter, I noticed that the wiki you linked to is still running SMW 1.4.x, which is over 2 years old. This made me wonder: what are the requirements (inc compatibility) for PSMW? Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] replace text from a table
Hi! If you user SemanticSignUp or SemanticSocialProfile and/or all users in a wiki are represented by their pages with SMW-properties than making such a list is an easy task that can be solved by the query like this: {{#ask:[[Category:User]] |?Username |?UserId format=broadtable }} Sincrely yours, - Yury Katkov On Sat, Feb 4, 2012 at 7:04 PM, Jude Jonassaint jcjonassa...@gmail.com wrote: In a SMW where people are identified by name we would like to replace the names with an identifier (could be a number or a string). Is there a way to take a list (spreadsheet) of the names and associated new identifiers to globally replace the names in the wiki with the corresponding identifiers in the wiki? We would hate to do this one name at a time because that would be really time consuming. Jude -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Equivalent URI
Hi Benedikt! I think it should be considered as owl:sameAs and that's all according to documentation. If you want foaf:knows property to be inferred - you need an inference engine or just use Import vocabulary feature. However when I tried to make equivalent property at Referata I found that there is no owl:sameAs, but owl:equivalentProperty. That's weird, is that a mistake in a documentation? Sincerely yours, Yury V. Katkov WikiVote! llc On Mon, Nov 28, 2011 at 2:15 AM, Benedikt Kämpgen benedikt.kaemp...@kit.edu wrote: Hello, I was wondering, if I declare a property page Property:Knows in SMW [[equivalent URI:: http://xmlns.com/foaf/0.1/knows]], why is this not considered in the RDF export? An equivalent relationship between both would be nice. A direct usage of foaf:knows in the export would even be better. Regards, Benedikt -- AIFB, Karlsruhe Institute of Technology (KIT) Phone: +49 721 608-47946 Email: benedikt.kaemp...@kit.edu Web: http://www.aifb.kit.edu/web/Hauptseite/en -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Equivalent URI
Oh, I forgot to add a link to my experiment: http://scratchpad.referata.com/wiki/Special:ExportRDF/Property:Myproperty Sincerely yours, Yury V. Katkov WikiVote! llc On Mon, Nov 28, 2011 at 12:16 PM, Yury Katkov katkov.ju...@gmail.comwrote: Hi Benedikt! I think it should be considered as owl:sameAs and that's all according to documentation. If you want foaf:knows property to be inferred - you need an inference engine or just use Import vocabulary feature. However when I tried to make equivalent property at Referata I found that there is no owl:sameAs, but owl:equivalentProperty. That's weird, is that a mistake in a documentation? Sincerely yours, Yury V. Katkov WikiVote! llc On Mon, Nov 28, 2011 at 2:15 AM, Benedikt Kämpgen benedikt.kaemp...@kit.edu wrote: Hello, I was wondering, if I declare a property page Property:Knows in SMW [[equivalent URI:: http://xmlns.com/foaf/0.1/knows]], why is this not considered in the RDF export? An equivalent relationship between both would be nice. A direct usage of foaf:knows in the export would even be better. Regards, Benedikt -- AIFB, Karlsruhe Institute of Technology (KIT) Phone: +49 721 608-47946 Email: benedikt.kaemp...@kit.edu Web: http://www.aifb.kit.edu/web/Hauptseite/en -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] RFC Subobjects (aka internal objects) in SMW
Hi! Are you sure about the syntax here? Those {{{Parameters}}} surrounded by will conflict with template parameters, won't they? Yury On Mon, Oct 24, 2011 at 3:48 AM, Jon Lang datawea...@gmail.com wrote: Sorry for the late response. Would it be reasonable to have the syntax be something like: {{#subobject:name | given=Jonathan | family=Lang | middle=LeRoy | surname=Mr. | {{{given}}} {{{middle}}} {{{family}}} }} {{#subobject:name | given=Ranma | family=Saotome | {{{family}}} {{{given}}} }} This way, the subobject's formatting could be determined on a case-by-case basis, and in a manner that people are used to (i.e., value on the left; display on the right). In effect, the unnamed entry is assumed to contain an inline template for display purposes. This saves you the trouble of writing a new template every time you want to format a subobject differently. If no inline template is given, there should be a default inline template on the property page; possibly use the property page itself *as* the default template, and rely on the usual tricks used by template pages to define text that should only be available when viewing the property page and text that should only be available when making use of it as a template. BTW: subobject is technically accurate, but needlessly long. I'd recommend going with object instead. Granted, this is a nitpick; but there you are. -- Jonathan Dataweaver Lang -- Yury V. Katkov WikiVote! llc -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] RFC Subobjects (aka internal objects) in SMW
surrounded by curly brackets of course :) On Mon, Oct 24, 2011 at 12:13 PM, Yury Katkov katkov.ju...@gmail.comwrote: Hi! Are you sure about the syntax here? Those {{{Parameters}}} surrounded by will conflict with template parameters, won't they? Yury On Mon, Oct 24, 2011 at 3:48 AM, Jon Lang datawea...@gmail.com wrote: Sorry for the late response. Would it be reasonable to have the syntax be something like: {{#subobject:name | given=Jonathan | family=Lang | middle=LeRoy | surname=Mr. | {{{given}}} {{{middle}}} {{{family}}} }} {{#subobject:name | given=Ranma | family=Saotome | {{{family}}} {{{given}}} }} This way, the subobject's formatting could be determined on a case-by-case basis, and in a manner that people are used to (i.e., value on the left; display on the right). In effect, the unnamed entry is assumed to contain an inline template for display purposes. This saves you the trouble of writing a new template every time you want to format a subobject differently. If no inline template is given, there should be a default inline template on the property page; possibly use the property page itself *as* the default template, and rely on the usual tricks used by template pages to define text that should only be available when viewing the property page and text that should only be available when making use of it as a template. BTW: subobject is technically accurate, but needlessly long. I'd recommend going with object instead. Granted, this is a nitpick; but there you are. -- Jonathan Dataweaver Lang -- Yury V. Katkov WikiVote! llc -- Yury V. Katkov WikiVote! llc -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] RFC Subobjects (aka internal objects) in SMW
Was I talkling gibberish or was the RDF export question too hard? :) On Thu, Oct 13, 2011 at 2:47 AM, Yury Katkov katkov.ju...@gmail.com wrote: Hello Markus, First of all, your alternative proposal looks much better than the original one because of more flexibility. And praise you for the great solution of optional naming - I hope it will be possible to implement it! What about RDF export and Import vocabulary features? I have really two questions concerning both those features: == RDFExport+RDF store question== As far I as I can see subobjects should be turned to the blank nodes, shouldn't they? == Import vocabulary question == Is it possible to map the subobject to RDF class? That can be extremely useful even in simple vocabularies like FOAF. Here is an example: we have the wiki-page of Yury who has an online account in two social networks: Facebook and Vkontakte. ===Example=== It's pretty easy to describe this fact with subobjects: # PAGE STARTS# Yury has [[has account::{{#subobject: service=http://facebook.com accountname=ganqqwerty}} |facebook account]], [[has account:: {{#subobject: service=vkontakte.ru accountname=katkov}} |Vkontakte.ru account]] #PAGE ENDS# ===RDF Export=== If I map has account to foaf:account, map service to uring rdf export we will get the following (simplified) :Yury_id_in_wiki foaf:account :Yury_id_in_wiki#tmpnum1 . :Yury_id_in_wiki#tmpnum1 foaf:accountServiceHomepage http://facebook.com :Yury_id_in_wiki#tmpnum1 foaf:accountNameganqqwerty === Problem === The problem is that the property foaf:account has range foaf:OnlineAccount. Our RDF export now is a little bit incomplete. ===Proposal=== Make it possible to assign some kind of type to the subobject and map those types to RDFS or OWL classes. I honestly don't know how this can be done - probably with the special attribute type or category. The typing can be needed now only in case of RDF export. If I have a wiki with thousands of subobjects it would always be nice to see what kind of subobjects are there. Anyway the subobject feature will help me to tie together a bundle of properties in Semantic Social Profile, for example Name of the country of living, Name of the city of living, Street, house number as well as Geographic coordinates of the place where the user lives. Sorry if was late fo the discussion, Yury On Mon, Oct 3, 2011 at 1:02 PM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: Following up the discussions we had at SMWCon in Berlin, we have now implemented a new feature for internal objects in SMW. This email explains this feature and starts the discussion on some open questions for it to become stable. == Goal == Allow SMW annotations to refer to objects that have their own property-value pairs just like wiki pages, but that do not actually have an article in the wiki. This can be used to group property-value pairs given on one page without requiring new auxiliary pages to be created. It also integrates the main functionality of the Semantic Internal Objects (SIO) extension into SMW. == Feature Overview: Current Prototype Implementation == SMW now has a new subobject feature. For example, you can use the parserfunction #subobject on some page Example page as follows: {{#subobject:street address | street name=Parks Road | postcode=OX1 3QD | city=Oxford | country=UK }} This does the following: (A) create a new subobject called Example page#_anInternalId, (B) assign the property values for street name, ..., country to this subobject, (C) assign the subobject Example page#_anInternalId as a property value for street address to Example page. You could have achieved a similar effect as follows: (A') create a new page called my auxiliary page, (B') edit this new page to contain the text: [[street name::Parks Road]] [[postcode::OX1 3QD]] [[city::Oxford]] [[country::UK]] (C') edit the page Example page to contain the text: [[street address::my auxiliary page]] The difference when using #subobject is that you do not create a new auxiliary page. Instead, a subobject of Example page is created by SMW. Also, the function #subobject does not display anything unless an error occurred that needs to be reported. Subobjects are named automatically by following the schema Parent page name#_someInternalId. When subobjects are displayed to users, they thus appear like links to sections within their parent page. This can happen, e.g., subobjects might occur in query results (example above: {{#ask: [[postcode::OX1 3QD]] }}). Likewise, subobjects are also addressed by this name Parent page name
Re: [SMW-devel] RFC Subobjects (aka internal objects) in SMW
Hello Markus, First of all, your alternative proposal looks much better than the original one because of more flexibility. And praise you for the great solution of optional naming - I hope it will be possible to implement it! What about RDF export and Import vocabulary features? I have really two questions concerning both those features: == RDFExport+RDF store question== As far I as I can see subobjects should be turned to the blank nodes, shouldn't they? == Import vocabulary question == Is it possible to map the subobject to RDF class? That can be extremely useful even in simple vocabularies like FOAF. Here is an example: we have the wiki-page of Yury who has an online account in two social networks: Facebook and Vkontakte. ===Example=== It's pretty easy to describe this fact with subobjects: # PAGE STARTS# Yury has [[has account::{{#subobject: service=http://facebook.com accountname=ganqqwerty}} |facebook account]], [[has account:: {{#subobject: service=vkontakte.ru accountname=katkov}} |Vkontakte.ru account]] #PAGE ENDS# ===RDF Export=== If I map has account to foaf:account, map service to uring rdf export we will get the following (simplified) :Yury_id_in_wiki foaf:account :Yury_id_in_wiki#tmpnum1 . :Yury_id_in_wiki#tmpnum1 foaf:accountServiceHomepage http://facebook.com :Yury_id_in_wiki#tmpnum1 foaf:accountNameganqqwerty === Problem === The problem is that the property foaf:account has range foaf:OnlineAccount. Our RDF export now is a little bit incomplete. ===Proposal=== Make it possible to assign some kind of type to the subobject and map those types to RDFS or OWL classes. I honestly don't know how this can be done - probably with the special attribute type or category. The typing can be needed now only in case of RDF export. If I have a wiki with thousands of subobjects it would always be nice to see what kind of subobjects are there. Anyway the subobject feature will help me to tie together a bundle of properties in Semantic Social Profile, for example Name of the country of living, Name of the city of living, Street, house number as well as Geographic coordinates of the place where the user lives. Sorry if was late fo the discussion, Yury On Mon, Oct 3, 2011 at 1:02 PM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: Following up the discussions we had at SMWCon in Berlin, we have now implemented a new feature for internal objects in SMW. This email explains this feature and starts the discussion on some open questions for it to become stable. == Goal == Allow SMW annotations to refer to objects that have their own property-value pairs just like wiki pages, but that do not actually have an article in the wiki. This can be used to group property-value pairs given on one page without requiring new auxiliary pages to be created. It also integrates the main functionality of the Semantic Internal Objects (SIO) extension into SMW. == Feature Overview: Current Prototype Implementation == SMW now has a new subobject feature. For example, you can use the parserfunction #subobject on some page Example page as follows: {{#subobject:street address | street name=Parks Road | postcode=OX1 3QD | city=Oxford | country=UK }} This does the following: (A) create a new subobject called Example page#_anInternalId, (B) assign the property values for street name, ..., country to this subobject, (C) assign the subobject Example page#_anInternalId as a property value for street address to Example page. You could have achieved a similar effect as follows: (A') create a new page called my auxiliary page, (B') edit this new page to contain the text: [[street name::Parks Road]] [[postcode::OX1 3QD]] [[city::Oxford]] [[country::UK]] (C') edit the page Example page to contain the text: [[street address::my auxiliary page]] The difference when using #subobject is that you do not create a new auxiliary page. Instead, a subobject of Example page is created by SMW. Also, the function #subobject does not display anything unless an error occurred that needs to be reported. Subobjects are named automatically by following the schema Parent page name#_someInternalId. When subobjects are displayed to users, they thus appear like links to sections within their parent page. This can happen, e.g., subobjects might occur in query results (example above: {{#ask: [[postcode::OX1 3QD]] }}). Likewise, subobjects are also addressed by this name Parent page name#_someInternalId in all search and export interfaces in SMW. For example, one can view the data for one particular subobject in Special:Browse. In general, subobjects should work like normal pages in most SMW interfaces. The goal of this naming is to avoid any clashes
Re: [SMW-devel] SMWWriter
===on your first issue: === It's pretty hard to delete the text related to your semantic property. The property of the page may be from different kinds of sources. Suppose we have a property testprop on a page testpage. Where did it come from? 1) maybe someone just have put the [[testprop::value]] on a testpage. Pretty easy 2) maybe someone called the template {{mytemplate |param1=value }} and mytemplate looks like that: [[testprop::{{{param1}}}]] 3) it's also possible that there were more complex logic in a template using {{#if: }}, {{#ifeq: }} and so one. It seems hard to fix the text that is according to property. ===On your second issue: === I'm not sure but it seems that the easiest way to add an annotation to the page is to pretend that you are human and modify the text of the wiki page. On Wed, Oct 5, 2011 at 7:35 AM, Mauricio Etchevest maurici...@gmail.comwrote: Hi everyone! I´m working on my new extension for SMW and using SMWWriter. I need to do two issues: The first is to delete an annotation with his value´s text, but the problem is that SMWWriter leave the text of the value and delete the property name. There´s a way to delete the text too ? The other thing is to add a new annotation, the problem here is that SMWWriter add a #set call somewhere in the article with the new annotation and I need to add like [[property::value]] I read Help:SMWWriter and tells that don´t work like I want.. but can anyone tell me some guideline if I decide to change SMWWriter ? Thanks! -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Yury V. Katkov WikiVote! llc -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Semantic Web Browser available in SVN
Hi Benedikt and all! Looks really interesting! This extension can be great support for the existing vocabulary import functionality of SMW. For example user can browse the Semantic Web data and after finding useful rdf term immediately align it with existing wiki property. That can improve the user experience with import vocabulary. Yury On Wed, Oct 5, 2011 at 4:52 PM, Benedikt Kämpgen benedikt.kaemp...@kit.eduwrote: Hello, At SMWCon, I gave a short presentation about a new extension Semantic Web Browser. Given a URI from the Semantic Web (e.g. the one of Tim Berners-Lee [1]), we can start browsing the wiki and the Semantic Web. Semantic Web Browser is now available in SVN and we have created an extension page [1]. There, you will also find demos. I received good feedback after the presentation, therefore, we wanted to publish Semantic Web Browser as early as possible. But please note: Semantic Web Browser is in an early state. Happy browsing, Benedikt [1] http://www.w3.org/People/Berners-Lee/card#i [2] http://www.mediawiki.org/wiki/Extension:Semantic_Web_Browser -- AIFB, Karlsruhe Institute of Technology (KIT) Phone: +49 721 608-47946 Email: benedikt.kaemp...@kit.edu Web: http://www.aifb.kit.edu/web/Hauptseite/en -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Yury V. Katkov WikiVote! llc -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] inference on printout statements
It seems that it's a planned feature Everyone who is interested in this new feature, please vote for this issue in Bugzilla: https://bugzilla.wikimedia.org/show_bug.cgi?id=12822 On Sun, Oct 2, 2011 at 9:34 PM, Dan Bolser dan.bol...@gmail.com wrote: On 1 October 2011 19:07, Yury Katkov katkov.ju...@gmail.com wrote: Hi everyone, developers and users! ==Problem== The printout statements are not currently engaged in inference in Semantic MediaWiki. For example if I have a page Moskow with a property [[is capital of::Russia]], which is a subproperty of the property [[located in]]. If I construct the following query {{#ask: [[is capital of::Russia]] | ?located in }} there will be nothing in a located in column. == Questions == # are there any plans to add inference in printout statements? # how hard is this task? # how many people besides myself are in need of this feature? The possible workarounds just seem wrong... I agree that the above query should return Moscow, Moscow, according to the definition of subproperties [1]. To the extent that I expect things like autocomplete on property = located in to return 'Moscow' as one of the possibilities in SF (currently fails, but is this related?), then yes, I need features like this. Cheers, Dan. [1] http://semantic-mediawiki.org/wiki/Property:Subproperty_of Sincerely yours, -- Yury V. Katkov WikiVote! llc -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Yury V. Katkov WikiVote! llc -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] inference on printout statements
Hi everyone, developers and users! ==Problem== The printout statements are not currently engaged in inference in Semantic MediaWiki. For example if I have a page Moskow with a property [[is capital of::Russia]], which is a subproperty of the property [[located in]]. If I construct the following query {{#ask: [[is capital of::Russia]] | ?located in }} there will be nothing in a located in column. == Questions == # are there any plans to add inference in printout statements? # how hard is this task? # how many people besides myself are in need of this feature? The possible workarounds just seem wrong... Sincerely yours, -- Yury V. Katkov WikiVote! llc -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Reminder of Architecture Overview update
+1 for continuing the Architecture Guide. On Sun, Sep 25, 2011 at 8:18 AM, Samuel Lampa samuel.lamp...@rilnet.comwrote: Sorry for repeating this, but wanted to remind about the need to update the rest of the Architecture Overview article [1]. I guess that even just updating the text that is there (there are two sections not updated to 1.6) would go a long way? The problem now is that even parts supposed to be updated for 1.6 changes still contain pointers to the supposedly ditched SMWDataValue for example (see: [2]), which makes it somewhat confusing. I'd love to have a shortlist of the foundational classes I need to know to represent triple data with SMW classes ... Should I basically be fine with SMWDataItems (elements) and SMWSemanticData (aggregates of facts per subject)? ... or is there some other foundational class I should add to the shortlist? (Should not forget to say that the 1.6 changes looks very nice! :) ... if we can just get the know how to use it all ;) ) Cheers, // Samuel [1]: http://www.semantic-mediawiki.org/wiki/Architecture_guide [2]: http://www.semantic-mediawiki.org/wiki/Architecture_guide#SMWSemanticData_and_other_ways_to_represent_facts -- Samuel Lampa --- Bioinformatician @ Uppsala University Blog: http://saml.rilspace.org --- -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Yury V. Katkov WikiVote! llc -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Syntax highlighting in smw.org
Thank you Markus! it really works. Could anybody now add pretty appearance settings to [1]? The text is too small now, IMO. I think it's possible just to copy the css from MediaWiki website [2]. [1] http://semantic-mediawiki.org/wiki/MediaWiki:Geshi.css [2] http://www.mediawiki.org/wiki/MediaWiki:Geshi.css On Tue, Sep 6, 2011 at 6:28 PM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: Your aggregated wishes are my command. Should work now. Markus On 05/09/11 13:59, Dan Bolser wrote: +1 Dan. Don't panic. Don't be Google. On 15 August 2011 20:52, Jeroen De Dauwjeroended...@gmail.com wrote: +1 for installing SyntaxHighlight_GeSHi extension. -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- --**--** -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-**dev2devhttp://p.sf.net/sfu/wandisco-dev2dev __**_ Semediawiki-devel mailing list Semediawiki-devel@lists.**sourceforge.netSemediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/**lists/listinfo/semediawiki-**develhttps://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Yury V. Katkov WikiVote! llc -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Syntax highlighting in smw.org
Dear administrators of Semantic-mediawiki.org! Can you add an extension for syntax highlight [1] in a wiki? If it time-consuming would you mind to make the text in side the pre tag bigger? It requires adding the following text on MediaWiki:Vector.css : pre { font-size: 130%; } I'm working on programming documentation for my students and all SMW users here [2] and I think that the code snippets are very hard to read. [1] http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi [2] http://semantic-mediawiki.org/wiki/User:Ganqqwerty/programming_examples -- Yury V. Katkov WikiVote! llc -- FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] API key for Semantic-mediawiki.org
Hi Jeroen, I'm trying to run ask query with Special:Ask Here is the link http://semantic-mediawiki.org/wiki/Special:Ask?title=Special%3AAskq=%5B%5BCategory%3ACity%5D%5Dpo=%3FCoordinates%0D%0Asort_num=order_num=ASCeq=yesp%5Bformat%5D=mapp%5Blimit%5D=20p%5Bheaders%5D=p%5Bmainlabel%5D=p%5Bsearchlabel%5D=p%5Bzoom%5D=p%5Bwidth%5D=p%5Bheight%5D=p%5Btype%5D=p%5Bautozoom%5D=eq=yes On Tue, Aug 2, 2011 at 6:28 PM, Jeroen De Dauw jeroended...@gmail.com wrote: Hey, saw an error message that there is no Google Maps API key Can you link to where this is occurring? Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- -- Yury V. Katkov Laboratory of intelligent systems of the Saint-Petersburg National University of Information Technologies, Mechanics and Optics, Russia http://ailab.ifmo.ru -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1 ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] API key for Semantic-mediawiki.org
Latest news! There is an error at the top of the page. Bug report 1) Trying to run query [1] as anonymous user 2) logging in as ganqqwerty 3) System moves me to the page [1] where I see the following error: bWarning/b: Invalid argument supplied for foreach() in b/domains/semantic-mediawiki.org/www/w/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php/b on line b84/bbr / Yury [1] http://semantic-mediawiki.org/wiki/Special:Ask?title=Special%3AAskq=%5B%5BCategory%3ACity%5D%5Dpo=%3FCoordinates%0D%0Asort_num=order_num=ASCeq=yesp%5Bformat%5D=mapp%5Blimit%5D=20p%5Bheaders%5D=p%5Bmainlabel%5D=p%5Bsearchlabel%5D=p%5Bzoom%5D=p%5Bwidth%5D=p%5Bheight%5D=p%5Btype%5D=p%5Bautozoom%5D=eq=yes On Tue, Aug 2, 2011 at 7:17 PM, Yury Katkov katkov.ju...@gmail.com wrote: Hi Jeroen, I'm trying to run ask query with Special:Ask Here is the link http://semantic-mediawiki.org/wiki/Special:Ask?title=Special%3AAskq=%5B%5BCategory%3ACity%5D%5Dpo=%3FCoordinates%0D%0Asort_num=order_num=ASCeq=yesp%5Bformat%5D=mapp%5Blimit%5D=20p%5Bheaders%5D=p%5Bmainlabel%5D=p%5Bsearchlabel%5D=p%5Bzoom%5D=p%5Bwidth%5D=p%5Bheight%5D=p%5Btype%5D=p%5Bautozoom%5D=eq=yes On Tue, Aug 2, 2011 at 6:28 PM, Jeroen De Dauw jeroended...@gmail.com wrote: Hey, saw an error message that there is no Google Maps API key Can you link to where this is occurring? Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- -- Yury V. Katkov Laboratory of intelligent systems of the Saint-Petersburg National University of Information Technologies, Mechanics and Optics, Russia http://ailab.ifmo.ru -- Yury V. Katkov Laboratory of intelligent systems of the Saint-Petersburg National University of Information Technologies, Mechanics and Optics, Russia http://ailab.ifmo.ru -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1 ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Triple store integration - how can we contribute?
some amount of special handling or optimisation, this can be prepared by answering the above SPARQL support questions). * Testing. The more early testers we get, the better for the stability of the code. Regards, Markus On 26/03/11 13:06, Yury Katkov wrote: Hello everyone! We have compared the current solutions for the triple store integration [1] and found that all those solutions are either incomplete or use very hard patches of the SMW core. Recently Markus mentioned that the next version of SMW will be better integrated with RDF store. Is it possible to get some details about these planned integration features? We want to contribute to this work by solving as many related tasks as possible. Such features would be very useful for our installation of SMW and I believe for the whole SMW project. Sincerely yours, Yury Katkov [1] http://www.semantic-mediawiki.org/wiki/SPARQL_and_RDF_stores_for_SMW -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net mailto:Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net mailto:Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- - Laurent Alquier http://www.linfa.net -- Yury V. Katkov Laboratory of intelligent systems of the Saint-Petersburg National University of Information Technologies, Mechanics and Optics, Russia http://ailab.ifmo.ru -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] help with ParserFunctions in a template
Hello! I've used #if with #arraymap in wiki of the 90th. Have a look at it here [1] {{#if: {{{Source|}}}| {{!}} '''Источник''' {{!}}{{!}} {{#arraymap:{{{Source|}}}|;|x|[[Source::x]]}}|}} [1] http://repository.uroki90.ru/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:%D0%9A%D0%B0%D1%80%D1%82%D0%BE%D1%87%D0%BA%D0%B0_%D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D0%B0_%D0%B2%D0%BD%D1%83%D1%82%D1%80action=edit On Fri, Mar 25, 2011 at 8:10 AM, asafbareket asaf.bare...@gmail.com wrote: Hi all I have the string | '''language | {{#arraymap:{{{language|}}}|,|x|[[language::x]]}} |- and I want it to be shown only if a text is entered, and to be hidden when it's null. I guess I should use the parser #if, but how exactly do I write the parser so it would work? I've tried all kinds of grammar, but none worked. Help please! Thanx in advance, Asaf -- View this message in context: http://old.nabble.com/help-with-ParserFunctions-in-a-template-tp31220247p31220247.html Sent from the Semantic Mediawiki - Development mailing list archive at Nabble.com. -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Yury V. Katkov Laboratory of intelligent systems of the Saint-Petersburg National University of Information Technologies, Mechanics and Optics, Russia http://ailab.ifmo.ru -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [Semediawiki-user] Fwd: Wikia Contact Mail - Semantic Mediawiki, Semantic Forms, Semantic Drill Down {12501}
Hello Jesse! Speaking of performance questions - some of them were discussed during ISWC2010 by Daniel M Herzig, Basil Ell in their paper Semantic MediaWiki in Operation: Experiences with Building a Semantic Portal. [1] [1] http://iswc2010.semanticweb.org/accepted-papers/397 On Tue, Mar 22, 2011 at 7:15 PM, Jesse Wang wjxh...@gmail.com wrote: It'll be interesting to know more details about the performance problems that SMW has at Wikia or in general, because there are many people who use SMW for large scale data integration will be really interested in learning the issues and how to work around them (if they won't be fixed in time). Markus and Tim, can you be more specific here? Thanks, Jesse On Tue, Mar 22, 2011 at 1:36 AM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: On 22/03/11 03:01, Yaron Koren wrote: Very interesting... I didn't know that was their official response now. I don't think that conveys the full relationship they have with SMW, but it's still good to know. The performance problems that Wikia has with SMW are very real, even if caused in no small part by the SMW configuration that is used on the sites. In any case Wikia runs the largest SMW installations that are around today, with millions of facts in single databases and complex queries on top of them. We are currently cooperating with Wikia for helping them to improve performance, and I hope that this will make it easier for them to fully embrace the use of semantic extensions on their sites. - Markus On Mon, Mar 21, 2011 at 7:49 PM, Robert Murphy mrandmrsmur...@gmail.com mailto:mrandmrsmur...@gmail.com wrote: Did you all know that this is what wikia sends to people who ask for SMW?! I'm glad I've gone with Referata. -- Forwarded message -- From: Wikia Support supp...@wikia-inc.com mailto:supp...@wikia-inc.com Date: Mon, Mar 21, 2011 at 12:18 PM Subject: RE: Wikia Contact Mail - Semantic Mediawiki, Semantic Forms, Semantic Drill Down {12501} [image: Wikia Help] Hello ***, Thanks for contacting Wikia. Semantic MediaWiki is a very powerful extension. It can let you do some great things on a wiki, but that power comes at a cost. Queries can make wikis slow, which can be frustrating for visitors. Often, there are less costly extensions or built-in methods to achieve the same effects. So please consider your request for Semantic MediaWiki further. A comprehensive guide can be found at http://semantic-mediawiki.org Even if you do know you need Semantic MediaWiki for a specific task, we still strongly urge you to take a minute to read the guide. If you want to go ahead with this feature, please let us know. Or, let us know what you want to achieve, and we will look to see if there is a better way than Semantic MediaWiki. -- Timothy Quievryn Wikia Community Support Team -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Semediawiki-user mailing list semediawiki-u...@lists.sourceforge.net mailto:semediawiki-u...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-user -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R)
Re: [SMW-devel] documentation, entry points, interface classes
Thank you very much, Markus! Architecture guide provides much help even being incomplete! I'll do my best to improve it after becoming more proficient with SMW development. Speaking about examples, I think that the best documentation in the world is Qt Assistant in the Qt framework [1] - and because of this the library is so much popular among C++ and Python GUI developers. Each class of the library has the examples of its usage; they also provide rich (but comprehensive) example applications where one can see the way many Qt-classes interact. The SMW community can add useful examples of solving typical tasks on the official SMW wiki - I'm sure it improves the documentation very much. [1] http://doc.qt.nokia.com/4.6/index.html On Thu, Feb 24, 2011 at 1:40 PM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: On 24/02/2011 09:41, Yury Katkov wrote: Hello everyone! I'm trying to make Semantic MediaWiki extension and observing the documentation. I checked the Programmer Guide [1] and found that only the Doxygen documentation is currently available. Here are some questions: 1) Are there any very small example extensions available, whether or not some tutorials exist? 2) What are the main entry points to the code? For example, how can I add a numeric property Age with value 27 to the page User:Paul? Should I use SMWDataValueFactory? Or another example: what classes are to be used when I want to make an #ask query in my PHP code? 3) What classes are interfaces for extension developers and what classes belongs to the SMW core and should not be used by us? Hopefully after figuring out the answers to these questions I will able to improve the current documentation and it will make the life of other newbie extension developers easier. Hi Yury, by a happy coincidence I have just realized that we are lacking a good starting point for understanding SMW's architecture, and I have started to write a suitable documentation [1]. It is still incomplete, but I hope I can add further information within the next week. I agree that this is important to have, not only for helping people to get started but also to reduce the effort we have in aligning contributions with what we intend SMW to be. PHP is not very good for communicating architecture through code alone ;-) I also second your call for examples but there are so many ways in which to extend SMW that it is hard to come up with example code that is of general interest. Maybe we could build a collection of LocalSettings.php code snippets that show how some functions can be extended (e.g. how to register a new datatype, how to add a sidebar item that shows a property value for the given page, etc.) Regards Markus [1] http://semantic-mediawiki.org/wiki/Architecture_guide# -- Yury V. Katkov Laboratory of intelligent systems of the Saint-Petersburg National University of Information Technologies, Mechanics and Optics, Russia http://ailab.ifmo.ru -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] documentation, entry points, interface classes
Hello everyone! I'm trying to make Semantic MediaWiki extension and observing the documentation. I checked the Programmer Guide [1] and found that only the Doxygen documentation is currently available. Here are some questions: 1) Are there any very small example extensions available, whether or not some tutorials exist? 2) What are the main entry points to the code? For example, how can I add a numeric property Age with value 27 to the page User:Paul? Should I use SMWDataValueFactory? Or another example: what classes are to be used when I want to make an #ask query in my PHP code? 3) What classes are interfaces for extension developers and what classes belongs to the SMW core and should not be used by us? Hopefully after figuring out the answers to these questions I will able to improve the current documentation and it will make the life of other newbie extension developers easier. [1] http://semantic-mediawiki.org/wiki/Programmer's_guide_to_SMW Sincerely yours, Yury V. Katkov Laboratory of intelligent systems of the Saint-Petersburg National University of Information Technologies, Mechanics and Optics, Russia http://ailab.ifmo.ru -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Thank you for recent(?) changes to property handling for recursive/embedded queries
It's strange that you say that the difference between property-annotation and #set is its appearance on the page. I use [[Property_name::value|]] syntax for that and I always thought that the #set parser function has been designed to support the kind of behavior Alex mentioned. On Thu, Feb 10, 2011 at 7:04 PM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: Actually, we even already have an open bug report for this problem: https://bugzilla.wikimedia.org/show_bug.cgi?id=26658 - Markus On 10/02/2011 15:02, Markus Krötzsch wrote: On 09/02/2011 19:19, Alex M. Hendler wrote: Dear SMW Development Team, Thank you very much for the recent(?) changes to SMW's behavior regarding how properties are treated when a page is transcluded or embedded via a query: It offers a great deal of flexibility and allows much more granular management of semantic data than was possible in the past. I am not sure when this got introduced, but in my experience, up to version 1.5.1 (or .2), pages containing embed queries (or transcluding other pages) would still inherit properties from the embedded pages. As of 1.5.5.1 (I am not sure whether the change was introduced before that), this is no longer the case for ordinary ([[Property::value]]) properties. This is great news! It should always have been like this. If not, then some bug might have been at work on your site. Also, I have noticed, but I have not seen documented on the SMW site, that properties assigned via {{#set:}} (and its related functions) will be inherited via embed queries or transclusion. Please do not change this, it is a great feature! It provides a great deal of flexibility, and now allows something which I (and possibly others?) have wanted to do for a long time (I wrote to this list last August about a possible feature/option like this): This behavior allows certain properties to be inherited via transclusion or an embed query, but prevents that behavior by default, i.e., for [[property::value]] statements. This is not intended and is likely to be rectified in future versions. Clearly, the difference between property-annotation and #set is its appearance on the page, and it would not be good design to couple this with difference embedding behaviour (or otherwise, one might at least want to have all four combinations of behaviours here). The baheviour you note is merely an accident, that does not lead to the functionality that you would like to have. The reason is that inheriting annotations through queries is not supported properly by SMW, since updates are not triggered. If you change the inherited property value on some page, then this will *not* change the stored value for the query page that inherits it. This is already bad in other cases where people use query-generated property values but it is even more critical in your scenario, since the page with the embed query would probably not be edited a lot (since the query is there, the view updates itself, at least after some time, without needing editing). This is very problematic, since the view of the query page will then be different from the actual data stored by SMW. I mark your wish for a more configurable behaviour here, but I cannot promise that this will ever be implemented in a satisfactory fashion, and I can only urge you to reconsider the way in which you model data in your wiki (for a deeper reason why SMW does not support this, note that the automatic propagation of values through query results would be sufficient to model arbitrary computations in a system of SMW pages -- you do not want this). For now, we will just keep it as it is, but it should not be documented as the official behaviour (since it is merely a bug that gives the wrong impression that there is a feature that does not exist). To allow at least one-step propagation of values (avoiding recursion) one would still need to first implement a monitoring mechanism that pushes query updates to pages (this requires a new query management facility that keeps query statistics in the database). This is some work already. One could use the existing jobs to trigger the required database updates when query changes were found (deferred updating, but the best we can do). Finally, one would need a mechanism to prevent inherited property values to be further propagated to other pages, so as to avoid infinite recursion. I do not see immediately how this could be done in a practical way. I have added a few notes on the talk pages for the embed format (http://semantic-mediawiki.org/wiki/Help:Embedded_format) and the set parser function (http://semantic-mediawiki.org/wiki/Help:Setting_values ) on the SMW main wiki, but you may want to add to the official documentation that #set: values will get transcluded via an embed format query or basic transclusion and that this can be