Plex 2E

  • 1.  Plex API Question

    Posted Aug 14, 2018 11:03 AM

    getFirstTriple and getNextTriple API's construct a list of triples such as

     

    Entity A/ENT refers to ENT/Entity B

     

    however does NOT contain any reference to any Qualified relation such as

     

    Entity A/ENT refers to ENT/Entity B for QLF Qualifier1

     

    How do you get access to that fact via the model API?

     

    David



  • 2.  Re: Plex API Question
    Best Answer

    Posted Aug 15, 2018 06:32 AM

    Figured it out !!

     

    Using the triple ID (MyTriple) returned by getFirstTriple or getNextTriple  use

    _plex3.EnumTriplesBySource(MyTriple, 0, ref MyList);

    getFirstTriple(MyList, ref MyTriple);

    getTripleTarget(MyTriple, ref tgtTRPId, ref isTrp);

    getObjName(tgtTRPId, ref tmpStr1);

     

    tmpStr1 then will contain the qualifier