W3C home > Mailing lists > Public > www-rdf-logic@w3.org > March 2003

Re: The Robber and the Speeder: an exciting inference

From: Ian Davis <iand@internetalchemy.org>
Date: Fri, 21 Mar 2003 20:59:08 +0000
Message-ID: <155987267415.20030321205908@internetalchemy.org>
To: "Roger L. Costello" <costello@mitre.org>
CC: www-rdf-logic@w3.org

On Monday, 17 March 2003 at 17:00, Roger L. Costello wrote:
> Does anyone have ideas on how to enhance my solution to use
> more of OWL's capabilities, and use more inferencing?

Here's my take on it...it's not as exciting as C.H.I.P.S. though...

First of all a robbery takes place. The robber drops his gun while
fleeing. A report is filed by the investigating officers:

    <Person /> <!-- an unknown person -->

Subsequently a car is pulled over for speeding. The traffic officer
files a report electronically while issuing a ticket:

      <name>John Doe</name>

At police HQ, the computer analyses each report as it is filed. The
following OWL rule tells the computer that a driversLicenseNumber is
unique to a Person:

<owl:InverseFunctionalProperty rdf:ID="driversLicenseNumber">
  <rdfs:domain rdf:resource="Person" />
  <rdfs:range  rdf:resource="&rdf;Literal" />

The computer uses this information to look up any other records it has
about that person and finds a gun license:

      <name>Fred Bloggs</name>

The next OWL rule tells the computer that the registeredGun property
uniquely identifies a GunLicense. i.e. each gun is associated with
only a single GunLicense

<owl:InverseFunctionalProperty rdf:ID="registeredGun">
  <rdfs:domain rdf:resource="GunLicense" />
  <rdfs:range  rdf:resource="Gun" />

The computer now knows that the person stopped for speeding owns a
gun. The next rule tells the computer that each gun is uniquely
identified by its serial.

<owl:InverseFunctionalProperty rdf:ID="serial">
  <rdfs:domain rdf:resource="Gun" />
  <rdfs:range  rdf:resource="&rdf;Literal" />

The computer uses this to determine that the gun on the license is the
same gun used in the robbery. This final rule, seals the speeder's
fate. It tells the computer that each GunLicense applies to only one
gun and one person, so there is no doubt that the speeder is the person
who owns the gun:

<owl:Class rdf:ID="GunLicense">
  <owl:intersectionOf rdf:parseType="Collection">
      <owl:onProperty rdf:resource="#registeredGun"/>
      <owl:onProperty rdf:resource="#holder"/>

The computer reports back to the traffic cop who duly arrests the
speeder on suspicion of armed robbery.

- Ian <iand@internetalchemy.org>
"The test of all knowledge is experiment."
Received on Friday, 21 March 2003 16:22:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 2 March 2016 11:10:39 UTC