semsol / arc2

ARC RDF Classes for PHP
Other
332 stars 89 forks source link

LOAD not working properly #90

Closed vikrambajaj22 closed 7 years ago

vikrambajaj22 commented 7 years ago

About two weeks ago, I used the ARC2 PHP library to query my ontology from my website. It needed me to create a MySQL database on the server, which I did. SPARQL queries were working as expected.

Yesterday, I had to add a few instances to my ontology. I did that and uploaded the updated ontology to my website. However, the new instances weren't being returned by the query results. I suspected that the new triples weren't being loaded into the datastore by ARC2. So, I deleted the database from the server and created a new one with the same name, user and password. I also retained the same store name.

I verified that some triples are being successfully loaded into the datastore. However, queries that were working before aren't working anymore. They aren't returning any results.

What do I do?

vikrambajaj22 commented 7 years ago

Never mind, I figured it out. I had to convert my .owl ontology to the RDF/XML format. Works now :)