pizzaslice Running the Pizza Finder Locally

You may want to run a local version of the PizzaFinder application for several reasons:

This is a relatively straightforward exercise. You will need to download the Pizza Finder Package.

Then, follow these simple steps:

  1. Unzip the package somewhere convenient.
  2. Locate your version of the pizza ontology, or use the one provided in the package.
  3. Modify the config file - it should look something like below.
    • You will probably only need to modify OntologyLocation to point to your version of the ontology
    • You may have to change the names of the prominent classes to match those of your version - the current defaults should be fine for the tutorial or download version of the pizza tutorial
  4. <?xml version="1.0" encoding="utf-8"?>
    <PizzaFinderPrefs>
    
    <OntologyLocation url="file:///C:/YourDirectory/pizza-latest.owl"/>
    
    <PizzaClass name="NamedPizza"/>
    <VegetarianPizzaClass name="VegetarianPizza"/>
    <HotToppingClass name="SpicyTopping"/>
    <ToppingClass name="PizzaTopping"/>
    <ToppingProperty name="hasTopping"/>
    <PizzaSizeProperty name="hasPizzaSize"/>
    
    </PizzaFinderPrefs>
    
  5. Finally, run the PizzaFinder JAR file using the command line (or one of the handy scripts). Because the reasoner requires native libraries, it is important to set the java.lib.path variable (the scripts do this for you). After a short pause the "Please wait" message should disappear and the query interface start.

If you have any problems, please let us know.