Re: [SMW-devel] Querying using property aliases

2011-04-12 Thread Stephan Gambke
Sorry for the double post, Markus, forgot the list. Hi Markus, thanks for your answer. Am 12.04.2011 21:17, schrieb Markus Krötzsch: > > First, aliases are meant as additional labels, not as main labels. You > > should add a proper label to your call of registerProperty(). Ok, done. I now have

Re: [SMW-devel] Querying using property aliases

2011-04-12 Thread Markus Krötzsch
On 09/04/11 18:03, Stephan Gambke wrote: > Hi, > > in an extension I register properties in an smwInitProperties hook > handler like this: > > SMWPropertyValue::registerProperty( '___glt', '_str', false , true ); > SMWPropertyValue::registerProperty( '___gld', '_txt', false , true ); > > I register

[SMW-devel] Querying using property aliases

2011-04-09 Thread Stephan Gambke
Hi, in an extension I register properties in an smwInitProperties hook handler like this: SMWPropertyValue::registerProperty( '___glt', '_str', false , true ); SMWPropertyValue::registerProperty( '___gld', '_txt', false , true ); I register aliases in an smwInitDatatypes hook handler like this: