Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

The Karaka Calling Convention: Semantic-Role Argument Binding for Logic Programming

View through CrossRef
Positional argument binding, in which f(x, y, z) assigns meaning by slot order, degrades as arity grows, and logic programming suffers it worst: each position's semantics must be remembered rather than read off the call site, and keyword arguments only trade this for a vocabulary that is local to each predicate. We present the Karaka Calling Convention (KCC): arguments are bound by a fixed vocabulary of six semantic roles (agent, object, instrument, recipient, source, locus), drawn from Paninian Sanskrit grammar and carried morphologically by each argument. Because the vocabulary is predicate-independent, a rewrite rule written once against a role applies across all predicates, a property that keyword arguments and PropBank framesets lack. A parsed statement is already a labeled-edge graph, so the same object compiles to Prolog facts and to property-graph writes with no lowering pass, and groundness alone decides whether a statement is an assertion or a query. Rule conflicts resolve by requirement-set subsumption (the Paninian utsarga/apavada discipline), with incomparable rules rejected at registration as ambiguous. We give a formal definition, a worked end-to-end example, and a tested reference implementation with optional real Astadhyayi morphology via vidyut-prakriya; a prior-art search found one contemporaneous system using Karaka roles as call-site labels, and we characterize the overlap from its source. Measured readability benefit is open work, stated as such.
MDPI AG
Title: The Karaka Calling Convention: Semantic-Role Argument Binding for Logic Programming
Description:
Positional argument binding, in which f(x, y, z) assigns meaning by slot order, degrades as arity grows, and logic programming suffers it worst: each position's semantics must be remembered rather than read off the call site, and keyword arguments only trade this for a vocabulary that is local to each predicate.
We present the Karaka Calling Convention (KCC): arguments are bound by a fixed vocabulary of six semantic roles (agent, object, instrument, recipient, source, locus), drawn from Paninian Sanskrit grammar and carried morphologically by each argument.
Because the vocabulary is predicate-independent, a rewrite rule written once against a role applies across all predicates, a property that keyword arguments and PropBank framesets lack.
A parsed statement is already a labeled-edge graph, so the same object compiles to Prolog facts and to property-graph writes with no lowering pass, and groundness alone decides whether a statement is an assertion or a query.
Rule conflicts resolve by requirement-set subsumption (the Paninian utsarga/apavada discipline), with incomparable rules rejected at registration as ambiguous.
We give a formal definition, a worked end-to-end example, and a tested reference implementation with optional real Astadhyayi morphology via vidyut-prakriya; a prior-art search found one contemporaneous system using Karaka roles as call-site labels, and we characterize the overlap from its source.
Measured readability benefit is open work, stated as such.

Related Results

Regina (Keyu) and Others v. Secretary of State for Foreign and Commonwealth Affairs and Another
Regina (Keyu) and Others v. Secretary of State for Foreign and Commonwealth Affairs and Another
Relationship of international law and municipal law — Treaties — Effect in municipal law — European Convention on Human Rights, 1950 — Article 2 of Convention — Human Rights Act 19...
Cometary Physics Laboratory: spectrophotometric experiments
Cometary Physics Laboratory: spectrophotometric experiments
<p><strong><span dir="ltr" role="presentation">1. Introduction</span></strong&...
The impact of perceived calling on work outcomes in a nursing context: The role of career commitment and living one’s calling
The impact of perceived calling on work outcomes in a nursing context: The role of career commitment and living one’s calling
AbstractThe current study examined the impact of perceived calling on nurses’ organizational commitment, organizational citizenship behavior, workplace deviant behavior, and turnov...
A Semantic Orthogonal Mapping Method Through Deep-Learning for Semantic Computing
A Semantic Orthogonal Mapping Method Through Deep-Learning for Semantic Computing
In order to realize an artificial intelligent system, a basic mechanism should be provided for expressing and processing the semantic. We have presented semantic computing models i...
MECHANISMS OF SCHEMATIC MODELING BASED ON VECTOR LOGIC
MECHANISMS OF SCHEMATIC MODELING BASED ON VECTOR LOGIC
Context. This paper addresses issues relevant to the EDA market – reducing the cost and time of testing and verification of digital projects by synthesizing the logic vector of a d...
Impaired semantic control in the logopenic variant of primary progressive aphasia
Impaired semantic control in the logopenic variant of primary progressive aphasia
Abstract We investigated semantic cognition in the logopenic variant of primary progressive aphasia, including (i) the status of verbal and non-verbal semantic pe...
Reservations and declarations to tax treaties
Reservations and declarations to tax treaties
The subject of the article.The article represents a research of conceptual properties and issues of applying reservations and declarations to the Multilateral Convention to Impleme...

Back to Top