From: Timo Kouwenhoven <timo.kouwenhoven@gm...> - 2010-10-12 21:14:19
Imagine articles being assigned values using checkboxes. One row of
checkboxes is named FIRE and the other one GND.
FIRE allows values: Post Crash Fire, Fire in Galley, Fire in Wheel well,
Dangerous Goods, ...
GND allows values: Cargo Loading, Passenger Loading, Fuel Loading, Dangerous
Articles are about accidents.
Querying accidents is where the problems arise.
Ex. #ask: [[Category:Accidents and Incidents]][[FIRE::Dangerous Goods]]
Works fine. It includes accidents that have FIRE::Dangerous Goods but also
ones assigned more values than just Dangerous Goods. E.g. Cargo Loading,
Dangerous Goods. (not a problem, but could me a problem in another case).
Such a case is: select all accidents concerning Dangerous Goods, except the
[[FIRE::!Dangerous Goods]] only works if FIRE contains the single value
Dangerous Goods. If it contains Dangerous Goods, Post Crash Fire it doesn't
So the query
#ask: [[Category:Accidents and Incidents]][[GND::Dangerous
Is not a solution.
I use #arrayprint in other checkbox assigned codes (arraymap cases) combined
with Ask to get lists of articles with coding stored in arrays of strings.
In this case all accidents assigned with an allowed value from APT RE are
It seems that a combination of Ask and one or more ArrayFunctions could be
the solution to the Dangerous Goods NOT FIRE::Dangerous Goods case... but I
just don't see how.
Any suggestion is most appreciated!
Get latest updates about Open Source Projects, Conferences and News.