Inferences Panel

The Inferences Panel lets you run SHACL rules. It will display all triples generated by the rules using a table with 3 columns: subject, predicate and object, or using Turtle source code.

Note

Rules defined using sh:values are evaluated dynamically and will NOT be shown or executed by the panel.

Toolbar Buttons

  • Run inference rules: Executes all rules at least once.

  • Assert all inferred triples: This button will be activated only once you execute rules and they generate some statements that will be shown in the panel. Clicking on this button will write the inferred statements into the asset collection. Until you take this action, generated statements are not stored permanently.

  • Show/Select inference rules: This button opens a dialog that displays all available rules and lets you activate and deactivate them individually.

Settings

  • Execute all rules iteratively will repeatedly execute all rules until no further inferences were made. By default, the rules will only execute once. Active this if you have rules that depend on the output of other rules.

  • Display Source Code show the Turtle source code of the inferred triples instead of the table.

  • Display IDs instead of labels toggles between human-readable labels and qnames.

If you expect your rules to produce a large number of triple statements, we recommend that you run them using Transform > Execute Inference Rules. The role of Inferences panel is primarily to help you with testing rules as you develop them.

See Also

Further Reading on TopBraid