On 17/07/16 14:21, javed khan wrote:
If we create , for instance, a fuzzy-based ontology in Protege using Jess
plugin. Then can we import that ontology to our Jena code and do some
processing like we usually do after reading traditional Owl file inside
Jena.
I mean is the following possible:
FileManager.get().open(fuzzyOntologyfile.owl);
No idea, depends on what the Protege Jess plugin is doing and how it
encodes its information. It might be that it encodes the information in
RDF but bends the OWL spec, in which case Jena would be able to read it
at the RDF level but the OntModel methods might not behave as you expect.
Dave
On Sun, Jul 17, 2016 at 4:36 AM, Dave Reynolds <[email protected]>
wrote:
On 17/07/16 11:06, javed khan wrote:
I want to cretae a class in Jena i-e Patient and its data property
“condition”. Like John hasCondition “Good/bad”.
But can we achieve it using fuzzy value, rather than crisp such that
Patient hasCondition “0.7 (If he/she is more feeling well and 0.3 if not)
There is I think Protege plugin for fuzzy ontologies, but can we achieve
it
using Jena API?
There is no standard for how to represent (or reason with) fuzzy
information in OWL/RDF. Though typically you would represent the instance
level ("A box") information as an reified n-ary relationship, for example:
:patient123 :qualifiedHasCondition
[a :QualifiedCondition; :condition :flu; :qualification 0.7] .
Any such representation can be created using the Jena API but there are no
builtin convenience functions for this. You would need to chose your
representation approach and then construct the RDF assertions directly
using API calls.
Dave