Answer Server 12.13

# LuaIncompleteFact Methods

A `LuaIncompleteFact` object represents a parsing of the input question. This object is the input to the entry function that you use for your Lua Fact Bank (by default, the `fetch` function).

The `LuaIncompleteFact` object has at most one target element missing, which the Lua script must attempt to find information for. The `LuaIncompleteFact` has an entity, which is the object of the question, unless the question target is the entity itself (in which case the entity value is empty).

A `LuaIncompleteFact` can also have zero or more `LuaIncompleteFactProperty` objects, each of which can have zero or more `LuaIncompleteFactQualifier` objects. See LuaIncompleteFactProperty Methods and LuaIncompleteFactQualifier Methods.

If you have a `LuaIncompleteFact` object called `incomplete`, you can call its methods by using the '`:`' operator. For example:

    incomplete:getEntity()

Method | Description
--- | ---
getEntity | Returns an entity that you want to find facts for.
getProperties | Returns the array of properties for this fact.
getTargetDepth | Returns the target of this incomplete fact.
getTargetPaths | Returns the target of this incomplete fact.
initToCodifiedFact | Generates a returnable fact to be completed by the script.

© Copyright 2016-2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Answer Server 12.13

Topic Title: LuaIncompleteFact Methods