CS268+Rose+Ann's+my+own+implementation

=Screen Cast= media type="file" key="roseann screencast.mp4" width="300" height="300"


 * [|YOUTUBE link to the screencast of my application]**

=Target Technology: **ARC** //RDF Classes for PHP// =

“ARC is a lightweight, SPARQL-enabled RDF system for mainstream Web projects. It is written in PHP and has been optimized for shared (or performance- or privilege-limited) Web environments. ARC facilitates the integration of RDF and SPARQL into PHP/MySQL frameworks.” Basically, what ARC gives me is a set of PHP classes and tools for querying and manipulating RDF Data. I like it because:
 * it's open-source
 * lightweight and fast
 * easy to use and bundle with PHP + MySQL
 * easy to setup in Ubuntu (the OS I'm using)
 * very flexible in handling various RDF formats
 * has a convinient API
 * can output in JSON format
 * can run tests on console based commands

=**I. Installation Instructions (Windows Vista Machine)**=

1. Download and install the latest version of XAMPP for Windows machine which contains the following technologies:
 * Apache 2.2.14
 * MySQL 5.1.44
 * PHP 5.3.1
 * phpMyAdmin 3.2.4

2. Download arc-2-starter-pack for semantic web at []
 * Extract the files to the htdocs folder of your XAMPP directory and rename it to your application name. (e.g. /XAMPP/htdocs/er)
 * db_host: localhost
 * db_user: root
 * db_pwd:
 * db_name: eqrep
 * store_name: Events

3. Download the ARC2 classes at []
 * Extract the files to your **er** application directory and rename it to **arc.**

=**II. Running the Semantic Tool**=

1. Using the XAMPP Control Panel, run the Apache and MySQL servers.

2. Open the phpMyAdmin tool and use your default account. (username: root, password: )

3. Create a database and name it to **eqrep** (assuming database doesn't exists yet).

4. Put the Ontology (OWL) file in the application folder (e.g. /XAMPP//htdocs/er/eqrepOntology.owl)

5. Run the application and go to the SPARQL web browser to start doing queries ( [|http://localhost/er/endpoint.php] ).

=III. Config.php= here is the config setup of my application:

=IV. eqrepOntology.owl=

below is the code snippet of setting up the ontology.

Here is a sample class of my ontology:



Below is a sample property of the class Events: