Re: [SMW-devel] #set and variables

2009-02-10 Thread Rolf Lampa [RIL]
OK, thank you very much for answering. Regards, // Rolf Lampa Markus Krötzsch skrev: > On Dienstag, 10. Februar 2009, Rolf Lampa [RIL] wrote: > >> Hi Markus, >> >> Is it a known issue that #set: doesn't seem to set a value passed to it >> from a variabl

Re: [SMW-devel] SMW 1.41 date parsing

2009-02-10 Thread Rolf Lampa [RIL]
Hi Markus, Is it a known issue that #set: doesn't seem to set a value passed to it from a variable? Like so: {{#set:prop={{#var:value A parsing problem? // Rolf Lampa -- Create and Deploy Rich Internet Apps outsi

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

2009-02-07 Thread Rolf Lampa [RIL]
This looks useful. It would be nice to also be able to give a file name as a parameter (text file holding a list of titles). And/or a wiki page title, where from where the script retrieves a list of titles! (see more about that below). Example of usage: When I auto generate entire sites from U

Re: [SMW-devel] 2nd Invitation for *horizontal* experiences with Semantic Wiki, Semantic Wiki Mini series on Feb 12, 2009

2009-02-03 Thread Rolf Lampa [RIL]
Jie Bao skrev: > Dear Semantic Wiki developers and users, > > We are looking for your *horizontal* experiences with Semantic Wiki, > i.e., building domain-independent tools and applications on Semantic > MediaWiki, in the upcoming 5th session in the Semantic Wiki Mini > series (Feb 12, 2009, Thurs

Re: [SMW-devel] Type inheritance, or, user defined type aliases

2009-02-02 Thread Rolf Lampa [RIL]
ll kinds of other useful meta information (useful at runtime). Regards, // Rolf Lampa Rolf Lampa [RIL] skrev: = Type aliases revisited = (Perhaps I better ask abut types in the developers list). When I have a model with a class Person (with a single link to an Address), and a sub class Male,

[SMW-devel] Type inheritance, or, user defined type aliases

2009-01-31 Thread Rolf Lampa [RIL]
= Type aliases revisited = (Perhaps I better ask abut types in the developers list). When I have a model with a class Person (with a single link to an Address), and a sub class Male, like so: [Person]*-inmates--home address-1[Address] | specialization (inherits) |

Re: [SMW-devel] Automatic-page-creation from Forms

2009-01-28 Thread Rolf Lampa [RIL]
Dan Bolser skrev: > 2009/1/26 Rolf Lampa [RIL] : > >> Yaron Koren skrev: >> >>> Okay, thanks. Well, there's no chance I'm going to implement this any >>> time soon, to answer your question. >>> >> :( >> >&g

Re: [SMW-devel] Automatic-page-creation from Forms

2009-01-26 Thread Rolf Lampa [RIL]
ge from within the templates (of Book and Author) instead? Regards, // Rolf Lampa > On Mon, Jan 26, 2009 at 11:00 AM, Rolf Lampa [RIL] > mailto:rolf.la...@rilnet.com>> wrote: > > Yaron Koren skrev: > > Okay, thanks. Well, there's no chance I'm going

Re: [SMW-devel] Automatic-page-creation from Forms

2009-01-26 Thread Rolf Lampa [RIL]
> > -Yaron > > On Mon, Jan 26, 2009 at 10:13 AM, Rolf Lampa [RIL] > mailto:rolf.la...@rilnet.com>> wrote: > > > > Rolf Lampa [RIL] skrev: > > > #1. Book: standard Semantic Form behavior. > #2. Author: autocreated.

Re: [SMW-devel] Automatic-page-creation from Forms

2009-01-26 Thread Rolf Lampa [RIL]
Rolf Lampa [RIL] skrev: > > #1. Book: standard Semantic Form behavior. > #2. Author: autocreated. > #3. BookAuthorLink: autocreated. > Actually only step #3 (BookAuthorLink) needs the (final) titles of the Book title AND the Author title, for the single

Re: [SMW-devel] Automatic-page-creation from Forms

2009-01-26 Thread Rolf Lampa [RIL]
Sigh, silly name for BookAuthorLink corrected: #1. Book: standard Semantic Form behavior. #2. Author: autocreated. #3. BookAuthorLink: autocreated. // Rolf Lampa Rolf Lampa [RIL] skrev: > Yaron Koren skrev: > >> Hi, >> >> Maybe I should rephrase -

Re: [SMW-devel] Automatic-page-creation from Forms

2009-01-26 Thread Rolf Lampa [RIL]
or (for the same reason as #2 above). Please ask more. // Rolf Lampa > > -Yaron > > On Mon, Jan 26, 2009 at 9:54 AM, Rolf Lampa [RIL] > mailto:rolf.la...@rilnet.com>> wrote: > > For some reason a lot of strange extra slashes were inserted in > the post >

Re: [SMW-devel] Automatic-page-creation from Forms

2009-01-26 Thread Rolf Lampa [RIL]
) are getting > created automatically? > > -Yaron > > On Mon, Jan 26, 2009 at 9:02 AM, Rolf Lampa [RIL] > mailto:rolf.la...@rilnet.com>> wrote: > > Hi, > > Since a n..n relation essentially is made out of two 1..n > relations (seen from the "mi

Re: [SMW-devel] Automatic-page-creation from Forms

2009-01-26 Thread Rolf Lampa [RIL]
eters. Regards, // Rolf Lampa Yaron Koren skrev: > Hi, > > I don't understand - of the three page types, which one(s) are getting > created automatically? > > -Yaron > > On Mon, Jan 26, 2009 at 9:02 AM, Rolf Lampa [RIL] > mailto:rolf.la...@rilnet.com>> wrote: >

Re: [SMW-devel] Automatic-page-creation from Forms

2009-01-26 Thread Rolf Lampa [RIL]
e supported; the benefit wouldn't outweigh the complexity. But it's > good to know that for sure. > > Dan - your example is relatively simple and straightforward; however, > I think it's outside the scope of this discussion, since it covers the > case of two page ty

Re: [SMW-devel] Automatic-page-creation from Forms

2009-01-24 Thread Rolf Lampa [RIL]
Regarding the typical "constraint approach" of UML (I'm thinking especially about the 1..n relation) I'm sensing an emerging clash between open and closed semantic paradigms here... :) Would be interesting with some philosophical reflexions over this possible clash of paradigm from experts on

Re: [SMW-devel] Automatic-page-creation from Forms

2009-01-24 Thread Rolf Lampa [RIL]
Rolf Lampa [RIL] skrev: > Dan Bolser skrev: > >> [...] >> 1..n relationship >> [...] >> When creating a Book, the Author form would be handled just like a >> template that can occur (on the Book page) multiple times. The user >> would 'add

Re: [SMW-devel] Automatic-page-creation from Forms

2009-01-24 Thread Rolf Lampa [RIL]
Dan Bolser skrev: > [...] > 1..n relationship > [...] > When creating a Book, the Author form would be handled just like a > template that can occur (on the Book page) multiple times. The user > would 'add author' as many times as needed (just as if the Author > template were being added to the

Re: [SMW-devel] Automatic-page-creation from Forms

2009-01-24 Thread Rolf Lampa [RIL]
Rolf Lampa [RIL] skrev: > [...] > Or a direct parser function(?): > > {{{createpage|allow-inform-create}}} > {{#createpage: classname | role1=... | role2=... |...}} > {{{createpage end}}} > Such a ParserFunction could "quietly" disregard createpage if the page

Re: [SMW-devel] Automatic-page-creation from Forms

2009-01-24 Thread Rolf Lampa [RIL]
== Code generation == Considering code generation, a separate notation for the template (or ParserFunction) call is preferred because such calls could be used separately from forms (on other pages as well) and then the code generator would need to regard only one syntax for generating the actua

[SMW-devel] Automatic-page-creation from Forms

2009-01-24 Thread Rolf Lampa [RIL]
Yaron Koren wrote: > > ... suggestion for how automatic-page-creation can be > > defined within form definitions (or wherever else you think it should > > happen) I'll be back with more on this later, but for a start I think one must give some thought to the following: = Template approach =

Re: [SMW-devel] [Semediawiki-user] Multiple 'semantic' templates in a page (and data modeling)?

2009-01-23 Thread Rolf Lampa [RIL]
> > -Yaron > > On Fri, Jan 23, 2009 at 4:27 AM, Rolf Lampa [RIL] > mailto:rolf.la...@rilnet.com>> wrote: > > > > Dan Bolser skrev: > > 2009/1/23 Alex Le Bek <mailto:alexle...@googlemail.com>>: > > > >> What a reli

Re: [SMW-devel] [Semediawiki-user] Multiple 'semantic' templates in a page (and data modeling)?

2009-01-23 Thread Rolf Lampa [RIL]
Dan Bolser skrev: > 2009/1/23 Alex Le Bek : > >> What a relief to see this discussion... I have been worrying about this and >> would be so grateful for a solution. The use of 'multiple' on forms brings >> this difficultly into sharp focus. >> > > Can one SF form create multiple pages? >

[SMW-devel] Glitches in #declare

2009-01-21 Thread Rolf Lampa [RIL]
#declare is sensitive to space chars after the equal sign when used in a template. Example: {{#declare:PropertyName=ParamName}} : OK {{#declare:PropertyName= ParamName}} : NOT OK ^ I also tried all other combinations, but those are OK: {{ #declare: PropertyName =ParamNam