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


Reply via email to