locked
Can Zentity Support Inference of Relationships? RRS feed

  • Question

  • Hi,

    Can Zentity infer relationships from those that are defined? For example, if I have a relationship A is 'SonOf' B and then B is 'SonOf' C, can I define a rule that Grandson = (SonOf & SonOf) in order to find that A is 'GrandsonOf' C?

    Thanks.

    Regards

    Monday, January 16, 2012 4:12 PM

All replies

  • Thanks for your post.

    No, Zentity cannot infer rules from the defined one and Zentity does not support this through any extensibility API.

    A relationship in a Zentity graph defines an association between two objects. These  associations are defined in RDF files. Although, RDF is used for propositional logic it cannot be extended in Zentity without a lot of effort. You will have to build the inference engine and incorporate/replace it to the current  Zentity. Core’s RDF handling code.

    For more info on RDF please check http://www.w3.org/TR/rdf-mt/ . Please let me know if this helps you.

    -Regards

    • Proposed as answer by Kalnemi Tuesday, January 17, 2012 8:59 AM
    Tuesday, January 17, 2012 8:59 AM