Hi,

SMW queries currently support NOT '!' and LIKE '~' operators when querying the 
values of semantic properties.

Are there current plans to add a NOT LIKE (e.g. '!~') operator? This would 
significantly enhance the query capabilities, especialy when using SMW more 
like a CMS or for storing standardised data sets.

Since (from my limited understanding of the SMW code) the current operators get 
translated into their corresponding SQL statements inside a WHERE clause (not 
gets '!=', like gets ' LIKE '), it seems that adding another operator which is 
getting translated into ' NOT LIKE ' would be not that a large change.

It think that the main additions would have to be done in the following files: 
(besides some other)
includes/SMW_QueryProcessor.php
includes/storage/SMW_SQLStore2_Queries.php

Or are there any other problems related to that I'm not aware of?

Thanks!!
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to