Re: [SMW-devel] Virtuoso and special characters

2012-10-22 Thread CNIT
On 23.10.2012 5:43, Danilo da Rosa wrote: Hello, we are having some trouble developing a MW extension, using SMW with Virtuoso, when having string objects with special characters in the triple store. When making a SPARQL query, through the "SMWSparqlDatabase::doquery ($sparql)" method, if the

Re: [SMW-devel] unit tests and acceptance tests of SMW+SF+SRF+...

2012-08-27 Thread CNIT
On 24.08.2012 16:58, Jeroen De Dauw wrote: > Hey, > > > The unit tests create temporary tables themselves to work with, so > no cleanup required :) > > This is indeed the case, as long as you indicate the tests to be in > the "Database" group using the "@group Database" annotation. Important > t

Re: [SMW-devel] PHP requirements

2012-07-18 Thread CNIT
On 18.07.2012 13:07, Daniel Schuba wrote: I'm wondering why the most important thing about this is not mentioned. Which versions of PHP are used/installed on major linux distributions. For example I have an ubuntu server with 10.04 LTS with PHP 5.3. So when PHP 5.3 is requiered that's okay for

Re: [SMW-devel] PHP requirements

2012-07-18 Thread CNIT
On 17.07.2012 17:14, Jeroen De Dauw 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. Furthermore, I send a mail to the lists about using PHP 5.3 in the next version of SMW, and no one complained. And s

Re: [SMW-devel] [SMW] Query performance and in-memory storage of SMW-related queries

2012-01-15 Thread CNIT
14.01.2012 18:33, James Hong Kong пишет: > Hi, > > Starting with SMW 1.7 and MW 1.18, we began to convert our old legacy > document system into a SMW-MW based system which right now left us > with more than 700.00 triplets stored in SMW but at the same time > decreased our response time on SMW-rela

Re: [SMW-devel] Problem with SMW and MySQL 5.1.49..52

2011-04-19 Thread CNIT
08.04.2011 18:42, Patrick Nagel пишет: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > I first encountered this in October 2010, when I switched to MySQL 5.1.50 on > a testing system (while the production system is still running MySQL > 5.0.91). The simple query > > {{#ask: [[Category

Re: [SMW-devel] Fwd: [Wikitech-l] ResourceLoader, now in trunk!

2010-09-05 Thread CNIT
04.09.2010 18:33, Markus Krötzsch пишет: > This is something SMW and extensions deploying own JavaScript/CSS > certainly should look at. Halo already had some of the mentioned > problems earlier (due to large amounts of scripts and styles) and may be > able to integrate with the then standard MW so

Re: [SMW-devel] How to display parent comment's title when replying to it

2010-06-25 Thread CNIT
25.06.2010 2:51, Muscu, Ram ?: [NOTE: sorry for any redundancy as it was mistakenly posted on to the semediawiki-user before] We are building a simple threaded commenting system with each comment having its own title. On the form page for replying to a comment, I would like to display t

Re: [SMW-devel] Semantic Parser Engine

2010-04-26 Thread CNIT
23.04.2010 23:41, Jeff Thompson ?: If Wikipedia will only have the data but no query (because it's a burden for its servers), then maybe there should be software on the client to download the raw data and process the query locally. In some browsers, even javascript is fast enough for this,

Re: [SMW-devel] Semantic Parser Engine

2010-04-23 Thread CNIT
22.04.2010 18:04, Jeroen De Dauw пишет: > Hey, > > > How likely will Wikipedia adopt SMW some time in the future? > This won't be any time soon. There is some effort going on to get a > stripped down version of SMW that does not have query capabilities > onto commons though. Getting SMW on other

Re: [SMW-devel] Changes for using multi-valued properties

2010-03-08 Thread CNIT
06.03.2010 19:19, Jon Lang пишет: > For an actual list, I'd prefer to see something like: > > [[sibling::Greg]] is the eldest of [[parent::Mike]]'s boys; > [[sibling::Peter]] is the middle child; and [[sibling::Bobby]] is the > youngest of the three. > > > Please do not move ba

Re: [SMW-devel] [Semediawiki-user] Changes for using multi-valuedproperties

2010-03-03 Thread CNIT
03.03.2010 20:21, Markus Krötzsch пишет: > Oh, and I also forgot about this question ... > > On Donnerstag, 7. Januar 2010, Solbrig, Harold R. wrote: > >> Markus, >> >> I am trying to visualize how this information would be represented in >> RDF. If we are defining predicate "X", it would seem

Re: [SMW-devel] Short URLs for RSS feeds

2010-02-26 Thread CNIT
26.02.2010 19:49, Yaron Koren ?: CNIT - perhaps you responded to the wrong thread? Sorry - I was writing in haste. I think whether /Special:Ask/Concept:MyConcept short address is possible, where the Concept:MyConcept will also have the printouts and other parameters (so I would not need

Re: [SMW-devel] MediaWiki Developer Meet-Up, April 14-16, Berlin

2010-02-25 Thread CNIT
Hi! The idea of concepts is really great. I use it to shorter and to organize the queries at my wiki. However, the shortening and prettifying of Special:Ask/ URLs is not complete, because currently concepts can define only the data querying set [[..]], not the order / formatting parameters.

Re: [SMW-devel] How to parse semantic properties inside tags?

2009-12-24 Thread CNIT
23.12.2009 18:38, Matheus Garcia Barbosa de Figueiredo ?: I´ve created a template which has a property called "path", which is intended to store a string that represents a path to a file in a network file system. I´d like to show this property inside and tags, which are used by the FilePr

Re: [SMW-devel] The unaskable question about SMW and Wikipedia

2009-12-24 Thread CNIT
21.12.2009 5:59, Jeff Thompson пишет: > Every once in a while I work up the courage to ask about SMW on > Wikipedia. Is there anything that can be said about plans for this > game-changing event? > > Thanks, > - Jeff > > I can tell you only some rumours: 1. SMW requires to be reviewed by Media

Re: [SMW-devel] Working on a multi edit special page with forms

2009-11-25 Thread CNIT
On Wed, Nov 25, 2009 at 8:14 PM, Laurent Alquier > wrote: I want that ! Is it going to behave like multiple edits apps and preserve already existing values ? As for Ajax vs HTTP, I would favor keeping it as simple as possible. There are alread

Re: [SMW-devel] Call for Pariticipation: Semantic MediaWiki Camp 2009

2009-11-05 Thread CNIT
05.11.2009 18:07, Markus Krötzsch пишет: > [Please forward as appropriate. Apologies for cross posting.] > > > == Semantic MediaWiki Camp 2009 == > > http://bit.ly/SMWCamp09 > November 7--8 2009 (this weekend), Karlsruhe, Germany > > Not registered yet? You can also register on-site (15 EUR). > > T

Re: [SMW-devel] Anybody knows how to get all triples of a page in aprogram?

2009-07-24 Thread CNIT
Jie Bao пишет: > Thanks Anja. I have a slightly different coding based yours that works: > > // return an array of arraies of predicate-value pairs of the page > function getTriple($title) > { > > $page = SMWDataValueFactory::newTypeIDValue( '_wpg', > $title->getFullText()); > $semdata = smwfGetSt

Re: [SMW-devel] Semantic Results Format - Calendar caching fix

2009-05-05 Thread CNIT
Lane, Ryan пишет: >> Guys, turning off cache for the whole page is not a solution for the >> extension - please don't kill all optimization efforts this way! >> >> Do you think there is a solution that will localize turning off the cache >> > or > >> even better - invalidate cache on update

Re: [SMW-devel] Result format drop-down on Special:Ask

2009-03-27 Thread CNIT
Hi, After a brief discussion with Yaron, I added result format drop-down to Special:Ask on TechPresentations: http://www.techpresentations.org/Special:Ask?title=Special%3AAsk&q=[[Category%3ARFC]]+[[RFC+updates%3A%3A%2B]]+[[RFC+updated+by%3A%3A%2B]]&po=%3FRFC+updates%0D%0A&sc=0&eq=yes&p=format%

Re: [SMW-devel] Recurring Events Calendar Format

2009-03-25 Thread CNIT
John McClure пишет: > * > *I am now creating a calendaring mechanism for my wiki that is based > on Kenyu's extension but which uses SFs to solicit parameters and > content for a element. My [[form:Calendar]] writes the > information to SMW properties of the [[calendar:page]]. This page, > nor

Re: [SMW-devel] Patch to make SMW output ISO8601 dates

2009-03-05 Thread CNIT
Patrick Nagel пишет: > I'll try to come up with a patch that makes SMW understand more ISO8601 > dates. > I will only implement the (recommended) "extended format" (with hyphens / > colons), not the "basic format" (without hyphens / colons). I don't know > about > week dates and ordinal dates

Re: [SMW-devel] Patch to make SMW output ISO8601 dates

2009-03-05 Thread CNIT
> Hi, > > it's me again... I thought some more about > > On 2009-03-05 03:09, Markus Krötzsch wrote: > >> I suggest a slightly different control interface, though. The output is >> only a problem for #ask queries, right?My suggestion is to use the existing >> "printout modifier" mechanism tha

[SMW-devel] SMW 1.41 date parsing

2009-02-10 Thread CNIT
Hi! Sorry for posting too fast, I've looked further and found where the localization is performed. The Russian file is attached. Please update SVN if possible. Properties seems to be correct after refreshing. My date templates still are broken, will investigate further. Dmitriy 'СтраницÐ

Re: [SMW-devel] [Extension] SMW Refresh by Page Name

2009-02-10 Thread CNIT
Hi! I'm trying to upgrade one host from SMW 1.3 to SMW 1.4.1. I have major problems with new Date property class. Russian-formatted dates which were perfectly recognized by old Date property class (I believe they were just using php function to parse dates) aren't looks valid to new class. So, wh

Re: [SMW-devel] Property values mass-deletion

2009-01-12 Thread CNIT
Markus Krötzsch пишет: > On Montag, 12. Januar 2009, CNIT wrote: > >> Hi! >> At one of long running SMW site I was asked to delete pages which had >> Properties of Date >> type defined for some interval. There are hundreds of such pages. Maybe >> a {

Re: [SMW-devel] Memory leak?

2009-01-12 Thread CNIT
> Hi, > > I wonder if anyone can tell me if the functions used when I call > SMWQueryProcessor::getResultFromQueryString should release all the memory > after > they finished? > > I thought I could avoid a memory problem by calling getResultFromQueryString > with different 'offset' values to retr

[SMW-devel] Property values mass-deletion

2009-01-12 Thread CNIT
Hi! At one of long running SMW site I was asked to delete pages which had Properties of Date type defined for some interval. There are hundreds of such pages. Maybe a {{#delete}} parser function can be implemented? Though I see the problem that text from the pages wouldn't be erased, so when som

Re: [SMW-devel] Non-linear data type query processing

2008-11-14 Thread CNIT
Temlakos пишет: > > Anniversaries certainly /would/ be of interest. That would require a > query process that could take the numerical value, resolve it into > day, month, and year, and then search for a month and a day. It would > /also/ require a specification of which calendar the anniversary

Re: [SMW-devel] Non-linear data type query processing

2008-11-12 Thread CNIT
Temlakos пишет: > Gentlemen: > > This might seem a strange request, but I think about it every time I > write a query (with #ask and now with #show) with a non-linear data > type, either Temperature or my new Historical Date. > > I would like to be able to specify, in the query, which unit (as ke

Re: [SMW-devel] Ongoing SMW changes

2008-10-14 Thread CNIT
> To make it much simplier, one probably would store integer values of > y,m,d,h,m,s > in separate fields corresponding to every numerical date. Then, such > queries can be > performed much simplier. I believe that memorable dates are important > thing for many wikis: > {{#ask:[[Date1::>{month=3,

Re: [SMW-devel] Ongoing SMW changes

2008-10-13 Thread CNIT
> Plain numbers are interpreted as years. There could be another syntax for > what > you want here, though. Should not be a major problem, if we have a syntax > proposal. > > Well, it's just a number, stored in database. Maybe percent sign as prefix? [[Date::>%internal_date_number_in_seconds

Re: [SMW-devel] Ongoing SMW changes

2008-10-13 Thread CNIT
> Plain numbers are interpreted as years. There could be another syntax for > what > you want here, though. Should not be a major problem, if we have a syntax > proposal. > > Well, it's just a number, stored in database. Maybe percent sign as prefix? [[Date::>%internal_date_number_in_seconds

Re: [SMW-devel] Ongoing SMW changes

2008-10-12 Thread CNIT
> Output is already localised anyway, using the wiki language in the Factbox > and > the user language in Special:Browse etc. It is technically not possible > (without much added processing effort) to localise page contents to user > settings, since the wiki page is cached for all users. > >

Re: [SMW-devel] Building an RSS query URL

2008-10-08 Thread CNIT
> Hi Markus! > Can you please point me out, what's part of my RSS special:ask URL is wrong? > I am building a link with $skintpl->makeI18nUrl( $link, $urlaction ); > where the > $link="Special:Ask"; > > $urlaction="q=[[Concept:News]]&po=%3FDate&sort0=Date&order0=DESC&sc=1&eq=yes&limit=20&form

[SMW-devel] Building an RSS query URL

2008-10-08 Thread CNIT
Hi Markus! Can you please point me out, what's part of my RSS special:ask URL is wrong? I am building a link with $skintpl->makeI18nUrl( $link, $urlaction ); where the $link="Special:Ask"; $urlaction="q=[[Concept:News]]&po=%3FDate&sort0=Date&order0=DESC&sc=1&eq=yes&limit=20&format=rss"; The qu

Re: [SMW-devel] Ongoing SMW changes

2008-10-03 Thread CNIT
> OK, after that mail worked properly, here is my first update on the > implementation status in current SVN. If you develop with SMW, it is > suggested to go over this to see whether changes in your code are needed. > > Overview: > > * Files have changed for easier reading and maintenance. > *

Re: [SMW-devel] [News] SVN Warning

2008-09-30 Thread CNIT
> > Hi all, > > for SMW 1.4, we wish to address some problems and restrictions of SMW that > are > due to some parts of its core architecture. Changing some central components > is thus not to be avoided. Two problems may temporarily occur: > > * The changed implementation is new and not well t

Re: [SMW-devel] [News] SMW 1.3 released

2008-09-17 Thread CNIT
Markus Krötzsch пишет: > Okay, great! I will then only upload the language file, as we currently have > no way of editing those translations via translatewiki. Maybe some > work-around solution such as a "fake" extension that only hosts those extra > messages before they are converted into our f

Re: [SMW-devel] [News] SMW 1.3 released

2008-09-17 Thread CNIT
Markus Krötzsch пишет: > Now that I am back, I will look at your problems as soon as possible. Filing > a > bug at Mediazilla would be helpful to make sure we do not forget about any > issue if we cannot attend to it immediately. > Oops, sorry - the problem with span seems to was due to MW up

Re: [SMW-devel] [News] SMW 1.3 released

2008-09-15 Thread CNIT
> I think one of your mails was caught waiting for approval, maybe due to using > another email address for sending. Denny and I were travelling with > infrequent web access, hence the silence. > > I see, ok. Due to suspicious silence I've checked korrekt.org and read you were riding these d

Re: [SMW-devel] [News] SMW 1.3 released

2008-09-12 Thread CNIT
Hi! Besides previous problem with {{#expr {{#ask ... format=count}} }} not being able to evaluate due to span tag in result of ask format=count, it also seems that english default keywords doesnt work anymore in queries, for example on my Russian wiki I can't query [[Category:Задания]], only [[К

Re: [SMW-devel] [News] SMW 1.3 released

2008-09-08 Thread CNIT
> Yes, I hope we can accomplish this change until 1.4. I will send another list > of topics we will address for SMW 1.4, and on the expected release schedule. > > So it's not forgotten, I see.. >> Thank you for a great efforts! >> > > Can I take from this that you do not have the problem

Re: [SMW-devel] [News] SMW 1.3 released

2008-09-07 Thread CNIT
> Hi, > > we are happy to announce the release of the new Semantic MediaWiki 1.3. The > new version introduces a number of new features and general improvements. > Upgrading from SMW 1.2 requires only little effort, but it is still > recommended to read the installation and upgrade instructions

Re: [SMW-devel] AnyDateTime library

2008-09-03 Thread CNIT
Daniel Friesen пишет: > ^_^ heh... this project gets more /fun/ by the hour... Julian dates... > right, two calenders to deal with... Going to have to work on conversions. > > I looked over the Historical Date in Semantic Calender. No, it doesn't > handle time. Also, it to is limited with the flo

Re: [SMW-devel] New feature: Concepts (stored queries)

2008-07-10 Thread CNIT
Markus Krötzsch пишет: >> There is not much hope to achieve something similar for strings (SMW also >> can order by strings), since the order of strings depends >> on language settings and collation preferences that are not expressible in >> XML Schema. Also it remains to be seen which datatypes

Re: [SMW-devel] New feature: Query control and query permissions

2008-07-09 Thread CNIT
> SMW 1.2 extends the options for controlling which queries users are allowed > to > ask, and it has a mechanism that can be used to let some users ask more than > others ("permissions"). > > The detailed query control settings are achieved by the new configuration > parameter $smwgQFeatures.

Re: [SMW-devel] Predefined/Saved queries

2008-06-23 Thread CNIT
> So let us think about how to do that: > > * We need a new namespace of some name (seeing the potential use > of queries in > #ask, I suggest not to use "Ask:" as a namespace). Otherwise this > is a piece > of cake. > > > Yes, "Ask" is a good candidate - pages in this name

Re: [SMW-devel] Query syntax poll

2008-06-06 Thread CNIT
Markus Krötzsch пишет: > On Freitag, 6. Juni 2008, CNIT wrote: > >> Hi all, >> >> >>> I have a proposal for a simplification in #ask query syntax that I would >>> like to get some feedback on. >>> >>> If you currently ask fo

Re: [SMW-devel] Cannot disable further results link

2008-06-06 Thread CNIT
Markus Krötzsch пишет: > On Freitag, 6. Juni 2008, S Page wrote: > >> CNIT wrote: >> >>> After upgrading to 1.12 I've found that problem with format=embedded >>> and further results link didn't disappear (no wonder). >>> So, I'

Re: [SMW-devel] Query syntax poll

2008-06-06 Thread CNIT
Hi all, > I have a proposal for a simplification in #ask query syntax that I would like > to get some feedback on. > > If you currently ask for property chains, you need something like the > following: > > {{#ask: [[works at::[[located in::[[population::>100]]}} > > to find someone workin

Re: [SMW-devel] Cannot disable further results link

2008-06-04 Thread CNIT
CNIT пишет: > Hi! > After upgrading to 1.12 I've found that problem with format=embedded > and further results link didn't disappear (no wonder). > So, I've looked through the code and found a simple fix. It seems that > searchlabel was applied not checking it&#

Re: [SMW-devel] Cannot disable further results link

2008-06-03 Thread CNIT
Hi! After upgrading to 1.12 I've found that problem with format=embedded and further results link didn't disappear (no wonder). So, I've looked through the code and found a simple fix. It seems that searchlabel was applied not checking it's empty value, which _should_ means that further results

[SMW-devel] Cannot disable further results link

2008-05-28 Thread CNIT
Hi! I've managed to update from SVN 32497 to SVN 35477 (a long time, I know). My MW is 1.11.2 (I've not updated to 1.12, yet, because I want to resolse possible SMW issues, first). Now one of my templates behaves differently: {{#ask: [[Category:Памятные даты]] [[Leap{{IsLeapYear}}::>{{Orddate}}

[SMW-devel] SMW Russian translation

2008-04-16 Thread cnit
Hi Markus! As another Russian user of SMW have pointed out, I've used a different from MW style of translation for SMW_NS_RELATION_TALK, SMW_NS_PROPERTY_TALK and SMW_NS_TYPE_TALK namespaces. So, while Russian SMW talk pages aren't very common yet, it probably would be better to update the translati

Re: [SMW-devel] sorting on multiple properties values

2008-03-27 Thread cnit
Hi to Markus and everyone, I've found that sorting by multiple properties works for everything but ask rss feeds. Simple rss feeds worked fine, but more complex behaved like parameters are missed or incorrectly specified. I've made a simple fix and now it seems to work for me. I hope it can be rev

Re: [SMW-devel] Language environment

2008-03-18 Thread cnit
> You were not wrong. > In fact, what you just said--the "global" declaration--was the one thing > that I had not thought to include in my object-method code. When I > declared $wgLanguageCode as a global variable, I gained access to it. So > now my repetition of Julian or Gregorian dates display

Re: [SMW-devel] sorting on multiple properties values

2008-03-17 Thread cnit
> OK, I have now finally found some time to integrate multi-property sorting > into SVN, though with major modifications in some parts. The patch was still > very useful in many places. Good to hear! > Changes compared to earlier (patch) implementation: > * Avoid multiple use of the same property

Re: [SMW-devel] sorting on multiple properties values

2008-02-14 Thread cnit
> Dmitriy - as i suspect is the case with others, i'm monitoring your > progress and supportive of this important addition. Thanks for your > efforts. Dan Hello Dan, Thanks for the support! I am wondering, whether my code is robust enough? You may try to use the patch on your wiki, if you need a

Re: [SMW-devel] sorting on multiple properties values

2008-02-13 Thread cnit
> There is no such feature by now, but it would be possible to do that if > someone finds the time (basically one would use an array of sort terms > instead of a single string internally). I think it is OK to use "," as a > separator (I did not encounter many property names with that symbol yet ...

Re: [SMW-devel] Minor release SMW 1.0.1

2008-02-11 Thread cnit
> Hi > I have just released SMW1.0.1 [1] which brings updates for some translations > and a few minor bugfixes. Most notably, a new Italian translation was added, > and RSS-Links will now work also for long descriptions. Hi, RSS-feed for long descriptions is still broken with my non-latin descript

Re: [SMW-devel] sorting on multiple properties values

2008-02-11 Thread cnit
Hello to Markus and to every respectful developer, My previous attempt of patch had some bugs, which prevented it from working properly. Now I've modified it, and it seems to work. I've tested it on my wiki, though can't be 100% sure that it works exactly right and in optimal way, because my knowle

Re: [SMW-devel] sorting on multiple properties values

2008-02-06 Thread cnit
> There is no such feature by now, but it would be possible to do that if > someone finds the time (basically one would use an array of sort terms > instead of a single string internally). I think it is OK to use "," as a > separator (I did not encounter many property names with that symbol yet ...

[SMW-devel] sorting on multiple properties values

2008-02-06 Thread cnit
Hi! Can I use consequtive sorting by multiple property values, comparable to mysql "ORDER BY column1, column2" in ask query? I've tried "sort=Leap0,Year|" it doesn't return any result. "sort=Leap0|" works fine, though. Such feature would be greatly appreciated. Sincerely, Dmitriy

[SMW-devel] SMW_refreshData.php

2008-02-06 Thread cnit
Hello, my SMW_refreshData.php produces an error during the execution: Fatal error: Call to a member function getNamespace() on a non-object in /var/www/wiki/engine/includes/Parser.php on line 1930 for every page ID (I am running in verbose mode) which contains {{#ask:...}} query. I do include pag

Re: [SMW-devel] Updates: Images, LIKE-search, sorting tables

2008-01-15 Thread cnit
> As you correctly note, $wgUrlProtocols is an array, not a string. This may > have changed at some MW version, but any setting that really works with > MediaWiki now should also work with SMW. I am sure that making it a string > will give you a long list of warnings. > But this is of course not r

Re: [SMW-devel] Updates: Images, LIKE-search, sorting tables

2008-01-15 Thread cnit
> As you correctly note, $wgUrlProtocols is an array, not a string. This may > have changed at some MW version, but any setting that really works with > MediaWiki now should also work with SMW. I am sure that making it a string > will give you a long list of warnings. I guess that in MW 1.9.3 (the

Re: [SMW-devel] Updates: Images, LIKE-search, sorting tables

2008-01-11 Thread cnit
> Dmitriy, > The problems I was having with the RSS were being caused by an explicit > assignment of $wgUrlProtocols that I'd manually added to > LocalSettings.php when using RC1. Specifically, the line in question > was: > $wgUrlProtocols = > 'http:\/\/|https:\/\/|ftp:\/\/|irc:\/\/|gopher:\/\/

Re: [SMW-devel] Updates: Images, LIKE-search, sorting tables

2008-01-11 Thread cnit
> The RSS feature didn't work for me when I first tried it. I was getting a > page full of error messages too, but not the same as yours. You should make a bug report then. Even with some non-standard LocalSettings.php it shouldn't give an error. > It turned out that I had a legacy entry in my

Re: [SMW-devel] Soliciting translations

2008-01-09 Thread cnit
> Hi, > SMW 1.0 was released with the current state of translation, even though some > messages had changed recently such that only English defaults were available > for most languages. We plan to provide a minor update SMW 1.0.1 for > completing translations. Hence we ask for translation support

Re: [SMW-devel] Updates: Images, LIKE-search, sorting tables

2008-01-09 Thread cnit
Hi Markus, > * There is a new RSS-Feed feature that allows you to subscribe to query > results. Besides the associated performance issues with thousands of users > re-issuing queries regularly, this should be an extremely cool thing. It > simply works by creating an inline query with the new forma

Re: [SMW-devel] Database permission issues with SMW 1.0 upgrade

2008-01-07 Thread cnit
> I have upgraded SMW 0.7 to 1.0 on three systems. One instance worked > without incident. Two instances have issues. There are two distinct > issues described below: > Issue #1 > Each time I upgraded, changed the $wgDbuser and $wgDBpassword to root > account in LocalSettings.php before clickin

Re: [SMW-devel] Performance: (Was: {{#ask}})

2008-01-04 Thread cnit
> Biggest pain IMHO is unpredictability of query times. It turns out that most > queries are rather fast even on big sites, while some are slow without > apparent reasons. If we could just limit SQL-side query execution and report > timeout errors if needed, things would be much simpler. But I do n

Re: [SMW-devel] SMW performance

2007-12-30 Thread cnit
> Yes, but just throwing resources at something doesn't make it efficient. Resources are cheap. Even major server brands such as HP have moved their production to China. OK, I am doing videoediting among other things, that's why I am for hardware resources. > As for code cache/accelerator, I ag

Re: [SMW-devel] {{#ask}}

2007-12-30 Thread cnit
> I'm not sure if restricting Ask functionality is along the lines of > Wikipedia policies - it's not a modification operation therefore it should > be public, I believe. Sure, but my MW sites aren't wikipedia. Also, imagine how much resourse intensive would it be on the huge datasets with lots of

Re: [SMW-devel] {{#ask}}

2007-12-29 Thread cnit
> What I meant was: a simple cron-job can touch LocalSettings.php regularly to > purge the MW cache globally. Not much interaction with MW needed for that. Yes, that's simple. > I guess a strong solution for that will still take some time. One could of > course store inline queries in some table,

Re: [SMW-devel] SMW Performance

2007-12-29 Thread cnit
> We have a set of semantic queries in a template. Thattemplate is > used in some pages. However, by looking at the database processlist, > it seems that those set of queries are processed whenever a page > isrequested, even when the template is not used by the requested > page (e.g.special pages).

Re: [SMW-devel] {{#ask}}

2007-12-28 Thread cnit
> Well, that is not the case for the current parser cache, neither in MW nor in > SMW. But if course it could be achieved with some server-side cronjobs. Ah, I didn't knew about MW cronjobs. That sounds nice. Will try to find out some examples. Maybe you're right that such functionality shouldn't b

Re: [SMW-devel] SMW performance

2007-12-28 Thread cnit
> Forget my previous post. The problem goesaway when I removed one > template. It seems the performance issue is related tothe > application instead of the database. Try setting up eAccelerator for PHP, maybe it would help a bit. Also, I believe that MW/SMW requires dedicated server (co-location).

Re: [SMW-devel] {{#ask}}

2007-12-27 Thread cnit
> (2) Query answering is done without any caching, and this is clearly a > problem. While inline queries are computed only once and stored in the parser > cache afterwards, Special:Ask has no caching facility at all. This needs to > change in the future. Targetted cache invalidation might still be

Re: [SMW-devel] [Semediawiki-user] New data type for dates

2007-12-27 Thread cnit
> Now first of all thank you very much for this nice contribution! We are aware > of the limitations of Type:Date and would very much like to extend it > considerably in future versions (after 1.0, since it is a lot of work). The > goal would then be to have one single time datatype that can handle

Re: [SMW-devel] {{#ask}}

2007-12-14 Thread cnit
> Indeed. This was fixed now in SVN. Thank you! It works!! And with #ask SMW has become much more powerful! One tought - I wonder if $smwgQEqualitySupport should be true by default.. It seems to speeds up a little when set false. But of course that's the matter of tuning and can be done by the use

Re: [SMW-devel] {{#ask}}

2007-12-13 Thread cnit
> The reason is that SMW can only sort by properties that are part of the core > query. Print statements such as "?Date" may or may not lead to one (or more) > outputs per query result, but are not used in the initial SQL query (so as > not to increase the number of result rows via printouts). Ah,

Re: [SMW-devel] swedish collation error on semantic-mediawiki.org with category query and some pages

2007-12-13 Thread cnit
> Well, not sure ... in general, SMW and MW have rather similar ways of creating > tables, and normally they just come out having the same settings (it does not > matter if they use Swedish collation, as long as they use the same). Collation does matter for string ordering operations (which are use

Re: [SMW-devel] {{#ask}}

2007-12-12 Thread cnit
Markus (or perhaps someone else), Can you please give a hint, why with my query {{#ask: [[Category:News]] | ?Date| sort=Date| order=descending| limit=3| format=template| template=newsrow| default=There was no news| searchlabel=Browse all news...| }} In the SMWSQLStore::createSQLQuery() $

Re: [SMW-devel] swedish collation error on semantic-mediawiki.org with category query and some pages

2007-12-12 Thread cnit
> Oops. Same old collation issue. I applied the fix given in [1]. I think some > DB backup must have caused this. The best way to get rid of these problems (which initially gave me a lots of headache) is to stop using precompiled RPM or windows installer versions of mysql server, which use latin1 c

Re: [SMW-devel] ask query format=template

2007-12-03 Thread cnit
> I expect that this works now with #ask, *BUT* there already is a format for > what you want to do. It is called "embedded" and it can be customised with > the following parameters: > * embedformat = {h1, h2, h3, ol, ul} (how to format the result list) > * embedonly = true (whether to leave away

Re: [SMW-devel] {{#ask}}

2007-12-03 Thread cnit
> And another note: {{#ask}} is in SVN (in a first version). Thank you! > Working example query: > {{#ask: [[Category:Country]] [[borders::Nigeria]] | > ?population| > ?area#km² = ''Size''| > format=list| > limit = 3| > link=all| > intro=Test_| > }} It seems that the category specific

Re: [SMW-devel] ask query format=template

2007-11-12 Thread cnit
> Yes, I could use this as well. But this feature comes only after the > implementation of {{#ask...}} (since this change will change the interaction > of inline queries with MediaWiki's table creation). Can the implementation of {{#ask}} make possible such trick that I've unsuccessfully tried to p

Re: [SMW-devel] ask query format=template

2007-11-12 Thread cnit
> Did you ever run SMW_refreshData after the import? Of course not. That's because I am using XML import instead of standard way described in INSTALL, and also I believe that moving from SMW 0.6 to SMW 0.7 had filled smw_attributes properly during the XML import (though it was many months ago, so I

Re: [SMW-devel] ask query format=template

2007-11-08 Thread cnit
> Yes, this appears to be a bug. For a quick workaround, consider using the > formats "list", "ul" or "ol", all of which also support the > template-parameter for formatting (and this one certainly works with SMW1.0). > Note that with list, you can also choose the separator between items > (parame

[SMW-devel] ask query format=template

2007-11-07 Thread cnit
Hi! After adding additional priviledges to database (CREATE TEMPORARILY TABLES and DROP), my upgrade seems to work. I wonder, whether these additional priviledges are mentioned in INSTALL file, because older SMW's were happy with just ALTER. But there's some disappointment, my query templates don'

Re: [SMW-devel] restoring XML backup

2007-11-06 Thread cnit
> Whoa, slow down. Does your new installation work? When you follow the > exact instructions in the INSTALL file under "Testing your > Installation", do you get the expected results? Actually I am not so fast, as you see.. All the steps mentioned above are passed successfully. No wonder, because

Re: [SMW-devel] [Semediawiki-user] SMW1.0 RC2 available

2007-11-06 Thread cnit
> The other issue that I'm having is {{#ask}} parser function - not > having it stops almost all of my development. It's probably the most > anticipated feature right now. Do you have any timeline or at least > defined approach to it? I guess that "RC" thing means - "The development of major featur

[SMW-devel] restoring XML backup

2007-11-02 Thread cnit
Hi! Are the old MW 1.10/SMW 0.7 XML backups compatible with MW 1.11/SMW 1.0RC1? I am trying to import my backup into the new installation, but it throws such error (smw_error1.txt). After that, I've decided to remove all the Attribute: namespace pages from the dump. Drop all the tables, recreate t

Re: [SMW-devel] Template params are not expanded within queries

2007-10-19 Thread cnit
> So please be patient -- we have not released any stable version of SMW since > you submitted your patch. There are so many great possibilities of templates together with ask queries! It's good for me to hear that it's not just me missing #ask parser function. Makes the thing important. But of c

Re: [SMW-devel] First release candidate for SMW 1.0 available

2007-10-15 Thread cnit
> Hi all, > Semantic MediaWiki 1.0 RC1 is now available for download [1]. While this is > not the final 1.0 release yet, it already should provide many improvements > over SMW0.7, and especially is the recommended version for new installations > (upgrading also works well, but do read the INSTALL

Re: [SMW-devel] News on SMW 1.0

2007-10-09 Thread cnit
> I am sure they will consider a patch that implements this, if anyone submits > it. ;-) I am sure they can create such patch much faster than, for example, myself. Because they write their own code, while others need to "hack" it. Though I am perfectly aware they can live without such patch, at le

Re: [SMW-devel] SMW_unifyProperties.php and Re: [Semediawiki-user] A note on using SMW SVN

2007-10-02 Thread cnit
> After running this you still need to find every link to Relation: or > Attribute: in your wiki and change to Property:. I'm not sure how to > script this. Perhaps to dump an XML file, replacing links and import it back? Dmitriy --

  1   2   >