with Defaults
fun withDefaults(additionalMappings: List<PredicateMapping> = emptyList(), rulesPath: String = DICE_RULES_RESOURCE_PATH): PrologSchema
Create a schema with default mappings and rules loaded from classpath. Looks for rules at DICE_RULES_RESOURCE_PATH (prolog/dice-rules.pl). Falls back to empty rules if not found.
Parameters
additional Mappings
Extra predicate mappings to include
rules Path
Classpath path to rules file (default: prolog/dice-rules.pl)