Changes between Version 16 and Version 17 of SemanticQuery


Ignore:
Timestamp:
Mar 20, 2012, 6:29:42 PM (13 years ago)
Author:
manualwiki
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SemanticQuery

    v16 v17  
    9696For example, we may need the functions with variables named {{{File}}}. This information can not be expressed with the help of properties. Without embedded queries it is only possible to query the variables named {{{File}}} and query the functions containing these variables after that, with the following query: 
    9797{{{ 
    98 "mods.functions.variables[name=="File"].function_definition 
     98mods.functions.variables[name=="File"].function_definition 
    9999}}} 
    100100Embedded queries make it possible to use these kind of queries effectively, without the need to continue with the query directly. The continuation of the query is in the filter, used like a property with a boolean value. The value is considered true if the result of the query is not empty. For the previous example using the following query will give the desired results. 
    101101{{{ 
    102 @mods.functions[.variables[name=="File"]]"}}} 
     102@mods.functions[.variables[name=="File"]] 
    103103}}} 
    104104