Commit 9ca4213e authored by Daniel Kastl's avatar Daniel Kastl Committed by kzangeli
Browse files

fix(021_08): expect only the speed instances that meet the query

021_08_01 queries the temporal evolution of vehicles with q=speed>90. The
expectation lists all speed instances of the two vehicles, including the
value 80 at 12:05.

Clause 5.7.4.4 selects the entities by the query, and then says: "include
in their temporal representation only the Attribute instances ... which
meet the temporal, query and geoquery restrictions." The instance with
speed 80 does not meet speed>90, so it must not be returned.

Remove the two speed instances with value 80 from the expectation.
fuelLevel is not in the query, so its instances stay.

(cherry picked from commit f6600f4ec5204c8a31b56c53fa62ee284721fff5)
parent 1626e780
Loading
Loading
Loading
Loading
+0 −10
Changes for data/temporalEntities/expectations/vehicles-temporal-representation-021-08.jsonld: 0 added lines, 10 removed lines.
Original line number Diff line number Diff line
@@ -25,11 +25,6 @@
            "value":120,
            "observedAt":"2020-08-01T12:03:00Z"
         },
         {
             "type": "Property",
             "value": 80,
             "observedAt": "2020-08-01T12:05:00Z"
         },
         {
            "type":"Property",
            "value":100,
@@ -63,11 +58,6 @@
            "value":120,
            "observedAt":"2020-09-01T12:03:00Z"
         },
         {
             "type": "Property",
             "value": 80,
             "observedAt": "2020-09-01T12:05:00Z"
         },
         {
            "type":"Property",
            "value":100,