]> rule1 http://purl.org/dc/elements/1.1/name rule 1 http://purl.org/dc/elements/1.1/publisher http://www.w3.org/ http://purl.org/dc/elements/1.1/date 2008-04-04Z http://purl.org/dc/elements/1.1/description if an item is perishable and it is delivered to a store more than ten days after the scheduled delivery date then the item will be rejected by the store http://www.w3.org/2002/07/owl#versionInfo 0.1 item store deliverydate scheduledate diffduration diffdays http://example.org/concepts#perishable item http://example.org/concepts#delivered item deliverydate store http://example.org/concepts#scheduled item scheduledate http://www.w3.org/2007/rif-builtin-predicate#is-literal-dateTime deliverydate http://www.w3.org/2007/rif-builtin-predicate#is-literal-dateTime scheduledate diffduration http://www.w3.org/2007/rif-builtin-function#subtract-dateTimes deliverydate scheduledate diffdays http://www.w3.org/2007/rif-builtin-function#days-from-duration diffduration http://www.w3.org/2007/rif-builtin-predicate#numeric-greater-than diffdays 10 http://example.org/concepts#reject store item http://example.org/concepts#perishable http://example.org/orders#Order14 http://example.org/concepts#delivered http://example.org/orders#Order14 2008-07-22Z http://example.org/stores#Store9 http://example.org/concepts#scheduled http://example.org/orders#Order14 2008-07-11Z