...
Panel | ||||
---|---|---|---|---|
| ||||
Example <Query var="some"> <Documentation> This query finds all pairs of illuminated street lights next to vacant (or about to become vacant) parking meters operated by the same business outside of 1000 feet radius of a Chevron gas station if any. </Documentation> <Find using="Sensity,City,Business"> <Entity QType="Business" as="some.Business"/> <Light operatedBy="some.Business.EIN" not.state="OutOfOrder" as="MyLight"> <Brightness gt="80%"/> <Location> <Lattitude between="1.234,0.9876"/> </Location> </Light> <Parking.Meter operatedBy="some.Business.EIN" as="MyParkingMeter"> <or> <eq target="state"> vacant </eq> <and> <eq target="state" value="occupied"/> <le target="remainingTime" value="PT10M"/> </and> </or> </Parking.Meter> <not> <Business name="Chevron" businessType="GasStation" as="Chevron"/> <Distance from="Chevron.EID" to="var.MyLight.LID"> <feet le="1000"/> </Distance> </not> </Find> </Query> Referenced by:
|
...