PredicateMapping

data class PredicateMapping(val relationshipType: String, val predicate: String, val subjectArgIndex: Int = 0, val objectArgIndex: Int = 1)

Maps a relationship type from the schema to a Prolog predicate.

Constructors

Link copied to clipboard
constructor(relationshipType: String, predicate: String, subjectArgIndex: Int = 0, objectArgIndex: Int = 1)

Properties

Link copied to clipboard

Which argument position is the object (default 1)

Link copied to clipboard

The Prolog predicate name (e.g., "expert_in")

Link copied to clipboard

The relationship type name (e.g., "EXPERT_IN")

Link copied to clipboard

Which argument position is the subject (default 0)