It's my very first time building for the semantic web.
I'm not sure how to create a PHP webpage and connect it to an ontology which I have mapped to a relational database using the Ontop plugin for Protege.
Has the database become rdfstore?
I have tried using the EasyRdf library to connect the PHP to ontology, however it didn't work.
Here is the php code that I tried.
<?php
require 'vendor/autoload.php';
$foaf = new EasyRdf_Graph("http://localhost/proIT.owl");
$foaf->load();
$me = $foaf->primaryTopic();
echo "My name is: ".$me->get('foaf:name')."\n";
?>