OWL parser for PHP?

I ask only to clarify, it may seem silly for some, but I'm new to the world of semantic networks :)

For several days I have been experimenting with extracting RDF from HTML, trying to parse it and apply several SPARQL queries to it. I am currently using ARC2 (PHP library) .

But can I use the same ( ARC2 ) even if the built-in OWL?

Can I take full advantage of the fact that OWL is designed to use ARC2?

if not, what are the alternative libraries for this job (php)

+4
source share
2 answers

OWL has RDF mapping , so you can serialize OWL in any of the RDF formats, and any standard RDF parser will be able to handle this. I don’t understand what you mean by “full advantage”, but if you mean to follow the argument, then no, probably not. Reasoning has nothing to do with parsing, and I don't think ARC supports OWL arguments. To do this, you will need an actual OWL mind such as Pellet or HermiT .

I think ARC supports the ability to query the SPARQL endpoint, so you can use something like Joseki to get to the endpoint in a reasonable way and be able to get some OWL joy this way.

+1
source

There pOWL is also available at SourceForge.net .

There is also a RAP, RDF API for PHP . (It seems that RAP may be more well documented now on its regular website )

I haven't rated it yet, provided, but it looks like their respective codebases will be stable, I expect. I thought I could also share the links, and today I developed a similar question. Hurrah!

+2
source

Source: https://habr.com/ru/post/1401401/


All Articles