Sesame is for RDF, so if I want to use OWL is there anyt开发者_Go百科hin?
Jena is a triple-centric API. If you want something actually geared towards OWL, you should try the OWLAPI
Have a look at OWLIM, which is an OWL reasoner compatible with Sesame.
Sesame ought to be ok for OWL. If you need a friendlier api try jena, which is fairly similar, but provides an OWL 'view' of the RDF via the Ontology api.
For example:
RDFNode myClass = model.get("http://example.com/ont#MyClass");
OntClass theClass = myClass.as(OntClass.class); // view rdf via Ontology api
theClass.listInstances(); // returns iterator over instances
theClass.addDisjointWith(otherClass);
Jena also supports OWL inferencing using a rule engine, or via pellet.
I believe Sesame supports only RDF Schema inferencing out of the box. If you want to use OWL inferencing with Sesame you might need to use an external inferencer for it and also decide what level and version of OWL you need.
OWL 1.0
- List item
- OWL Lite
- OWL DL (Description Logic)
- OWL Full
OWL 2.0
- OWL 2 EL
- OWL 2 QL
- OWL 2 RL
You can also want to have a look at a Sesame extension which provides custom rule-based reasoning support using SeRQL. Please see this blog
Protege Owl Api is probably for OWL like sesame is for rdf
精彩评论