On this page

Synthesis: Nemo Explain Visualizer (nev) is an interactive visual query tracer and builder for the Datalog reasoner Nemo. Although built for expert users, the authors conducted a qualitative study with 14 participants at varying levels of involvement in a university Knowledge Graph course to assess whether such tools help students learn declarative logic programming.

Participants rated the tracer positively for building intuition about query evaluation, illustrating how visualization can act as Scaffolding for otherwise abstract material. The findings sit within Programming Intelligent Tutoring Systems and CS Education research on tools that make invisible computation visible, and connect to STEM Education efforts to teach formal methods. They also bear on The Pedagogy of AI Mistakes: Fostering Higher-Order Thinking discussions about when automation helps versus hinders conceptual understanding in Higher Education computing courses.

Key Findings

  • In a qualitative study with 14 participants spanning different levels of course involvement, the Nemo Explain Visualizer (nev) was well received as an interactive tracer and builder for Datalog query evaluation.
  • Learners reported that tracing queries visually built intuition about how evaluation proceeds, even though the tool was originally designed for expert users rather than students.
  • The tool functioned as Scaffolding by making invisible computation concrete, helping novices connect declarative specifications to their execution semantics.
  • The results support the wider claim that Visualization of formal/symbolic machinery aids learning in declarative logic programming and Computational Thinking development.

What this means for practice

  • Instructors. Adopt the Nemo Explain Visualizer as Scaffolding in declarative logic programming courses, not only as a developer utility: the 14 participants reported that visual tracing is how they built intuition about query evaluation.
  • Instructors. Expect to prompt novices: less experienced participants only understood the program shortly before the third task and needed hints from the interviewers, while the most experienced participant identified the graph structure and purpose during the first task.
  • Instructors. Build validation checks into exercises, such as identifying equivalent ways to unrestrict a query, which most participants answered correctly during the interviews.
  • Learners. Trace queries node by node to connect declarative rules to execution semantics, and read the per-node performance strips to see where evaluation time goes.
  • Learners. Use the linked editor view to jump from a rule to its highlighted lines in the code, the movement between query and program the tool was extended to support.

Limitations

  • The evaluation involved 14 participants from a single university knowledge-graph course at varying levels of involvement rather than the full target group, and the authors call for evaluations that invite more participants sampling both experts and students.
  • No baseline condition (for example a command-line interface) was included, so the positive technology-acceptance and user-experience scores are evidence of subjective support only and cannot support quantitative claims about learning benefit.
  • Sessions were conducted in interviews with hints from the interviewers rather than unsupervised use, and no comprehension, grade or other learning-outcome measure was collected.
  • The study surfaced tool bugs (request queuing under rapid pagination, the replace-symbol interaction in the editor) and only discussed scalability, leaving node grouping, focus+context techniques and indicators for infinite recursion to future versions.

Citation

Julián Méndez, Lukas Gerlach, Tobias Wieland, Alex Ivliev, et al. (2026). Evaluating a Visual Query Tracer and Builder for Learning Declarative Logic Programming. .

Embed this page

Copy the code below to embed a chromeless version of this page in a learning management system or other website. The embedded view hides the site header, navigation, and footer.