Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 1.75 KB

File metadata and controls

23 lines (13 loc) · 1.75 KB

simLP: A Similarity Metric for Logic Programs

A Python program that calculates the syntactic similarity between two Prolog programs. This similarity metric has been employed in the following paper, which has been accepted at EDBT 2025.

In this work, we used our metric to assess the quality of LLM-generated logic programs, specifying composite activity definitions in the language of the composite activity recognition framework RTEC, by comparing them with hand-crafted ones.

License

This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions; See the GNU General Public License v3 for more details.

Feedback

For more information and feedback, do not hesitate sending us an email or adding an issue in this repository.

Related Software

  • RTEC: Run-Time Event Calculus. RTEC is an Event Calculus implementation optimised for stream reasoning.
  • iRTEC: Incremental RTEC. iRTEC supports incremental reasoning, handling efficiently the delays and retractions in data streams.
  • oPIEC: Online Probabilistic Interval-Based Event Calculus. oPIEC supports Event Calculus reasoning over data streams under uncertainty.
  • Wayeb: Wayeb is a Complex Event Processing and Forecasting (CEP/F) engine written in Scala. It is based on symbolic automata and Markov models.