human computer interaction center
play

Human-Computer Interaction Center Dr. Andr Calero Valdez Lehrstuhl - PowerPoint PPT Presentation

Human-Computer Interaction Center Dr. Andr Calero Valdez Lehrstuhl fr Communication Science Human-Computer Interaction Center An open-source object-graph mapper for neo4j and scala: renesca https://github.com/renesca/renesca-magic Felix


  1. Human-Computer Interaction Center Dr. André Calero Valdez Lehrstuhl für Communication Science Human-Computer Interaction Center

  2. An open-source object-graph mapper for neo4j and scala: renesca https://github.com/renesca/renesca-magic Felix Dietze, Johannes Karoff, André Calero Valdez, Christoph Greven, Ulrik Schroeder, Martina Ziefle

  3. Research: Integrative Production Technology • 4 Integrated Cluster Domains • 3 Cross Sectional Processes • 180 Researchers from 40 institutes Lehrstuhl für Communication Science Human-Computer Interaction Center RWTH Aachen University

  4. Scientific Cooperation Portal • Social Portal - Centralized means of administration - Central data storage - User profiles § Method competencies § Publication lists - Interdisciplinary support § Interdisciplinary glossaries § Project planning § Technology transfer ���������������������������������������������������� ���������������������������������������������������� Scientific Lehrstuhl für Communication Science Cooperation Human-Computer Interaction Center 9/26/18 Portal RWTH Aachen University �������������������������������������������������������

  5. Our Task: Graph-based Discussion System • Argument mapping • NEO4J (fast GDB) • Graph visualization using D3.js • How to manage hyper-edges? Lehrstuhl für Communication Science Human-Computer Interaction Center RWTH Aachen University

  6. Why use Scala? • JVM compatible • Makros • Multiple Inheritance (traits) • Other benefits (functional programming benefits) Lehrstuhl für Communication Science Human-Computer Interaction Center RWTH Aachen University

  7. Impedance Mismatch Graph OO • OO Programming • Fits mental model • type-safety (syntax checking) • Inheritance (code reuse) • encapsulation (prevent side-effects) • Etc. • Graph-DB – Efficient Graph Traversal • Graph-based data structure • Local Neighborhood over Indexed-Search • Use-Case dependent Lehrstuhl für Communication Science Human-Computer Interaction Center RWTH Aachen University

  8. How to define DB-Models ER-Diagrams property Entity relationship Entity Lehrstuhl für Communication Science Human-Computer Interaction Center RWTH Aachen University

  9. Scala-DSL for ER-Model name DSL – Domain Specific Language name amount eats Animal Food Lehrstuhl für Communication Science Human-Computer Interaction Center RWTH Aachen University

  10. Renesca Magic • Boilerplate classes and factories (Nodes, Relations, Graphs) • getters, setters and factories for properties (type-safety) • Boilerplate for Hyperrelations • Node and Relation traits for labels and properties • functionality for free • Accessors for neighbors on Nodes, over Relations and Hyper-Relations • Filtered set accessors for Nodes, Relations and traits in a Graph • Query Lehrstuhl für Communication Science Human-Computer Interaction Center RWTH Aachen University

  11. Overview of Renesca Transactions and OGM Lehrstuhl für Communication Science Human-Computer Interaction Center RWTH Aachen University

  12. Very Simple Benchmark Comparison of inserting data • Comparing runtimes of simple queries • Not extensive • No large data model • No complex transactions • Open-Source Lehrstuhl für Communication Science Human-Computer Interaction Center RWTH Aachen University

  13. LiveDemo in Scala REPL Usage of renesca-magic What is staged? - Basic schema-definition - Load Schema definition in REPL - https://github.com/renesca/renesca-magic (Examples and Tutorial) - Problem? -> Issues! Lehrstuhl für Communication Science Human-Computer Interaction Center RWTH Aachen University

Recommend


More recommend