Answer Server 26.3
Answer Server Help

# 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-2026 Open Text
Version 26.3 | Last updated July 2026

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Answer Server 26.3

Topic Title: LuaIncompleteFact Methods