I want to have multiple INSERT WHERE queries in the query, but for different items. I would like to test a specific value ("testValueN"), and if he would like to insert a new triple for this object.
You can do this using values to specify the oldValue / newValue pairs that you need, and this requires only one insert . It also scales better for new pairs, since you only need to add one line to the query.
PREFIX Sensor: <http://example.com/Equipment.owl
Joshua taylor
source share