Getting Started: Initializing and Running a WoK-HD Application

Step 1. Start the XAMPP server by executing xampp_start.exe in the xampp folder.

Step 2. After making sure that all of the files and folders in project4.zip have been copied into the xampp/htdocs/ folder, execute OntologyWorkbench.jar from within the htdocs folder.

Step 3. Open the WoK-HD interface by clicking on the Tabs menu item at the top and choosing WoK-HD.

Step 4. After expanding the Ontology Workbench window to see the Browse buttons, browse to the document_collection folder and click on Open, browse to the ontology_library folder and click on Open, and browse to the output folder and click on Save.

Step 5. Click on the Index + Run button.

Step 6. When the WoK-HD console window says "Now Accepting Queries", open a web browser and go to http://127.0.0.1 and you will see the HyKSS interface.

Step 7. Type in the query: deathdate of Spencer Bullard

After pressing the Search button, you should see the following:

Step 8. Go back to the Ontology Workbench and click on the Ontology Editor tab.

Step 9. Click on File -> Open... and browse to the ontology_library folder in the htdocs folder. Click on the PersonNameBirthDeath ontology and click on Open.

Step 10. Open the Data Frame Editor by clicking on the Tools menu item and the top and choose Show Data Frame Editor (ObjSet).

Step 11. Expand Name by clicking on the '+' next to Name. Click on Value Phrases.

Step 12. Add a value phrase by clicking on the green '+' button on the right:


Step 13. Click on the value phrase named New phrase 2. This is where you will add a value phrase expression to recognize names:

Step 14. Click on File -> Open... and browse to the output folder in the htdocs folder. Browse to the semantic_index folder and click on PersonNameBirthDeathosmx and click on Open.

Step 15. Right click on the lexical object set labeled Name and choose Edit Data.

You should see the name SPENCER BULLARD:

Step 16. Right click on the middle of the line between Name and Person (the relationship set) and choose Edit Relationships:



After clicking on Edit Relationships, you should see the following:

Step 17. Repeat Step 16 for the relationship set between Person and Deathdate. You should see the following:



You will notice that Name and Deathdate both have a relationship to the same Person object.


For additional help:

Refer to this document for helpful tips: additionalHelp