Semantic Conflict Detection and CRDT-based Synchronization for Collaborative Knowledge Graphs

Inria Villers lès Nancy

Villers-lès-Nancy

On-site

EUR 12,000 - 19,000

Full time

14 days+

A complete application in a minute

Tailored resume and cover letter, ready to send.

Get past ATS filters

Job summary

Inria Villers lès Nancy invites Master 2 students to intern in the LORELEY team on neuro-symbolic collaborative editing. The project studies semantic conflicts in concurrently edited RDF Knowledge Graphs and aims to design a CRDT-based replication model with conflict detection and provenance tracking.

The internship will contribute to a prototype, evaluation, and a research report, with potential for further PhD work within the KGTWIN project at the Université de Lorraine in Nancy.

Qualifications

  • Knowledge of distributed systems, CRDTs, and RDF/SHACL is desirable.
  • Experience with SPARQL and knowledge graphs is a plus.
  • Programming in Python or Java is relevant.

Responsibilities

  • Study CRDT-based synchronization for RDF Knowledge Graphs.
  • Identify semantic conflicts and provenance in concurrent updates.
  • Design a prototype of a replicated RDF graph with SHACL validation.
  • Evaluate convergence, semantic consistency, and overhead of the mechanism.
  • Prepare a research report and possibly contribute to publications.

Skills

Distributed systems
CRDTs
RDF
SPARQL
Knowledge Graphs
SHACL
Python
Java

Job description

Context

This Master 2 internship is part of KGTWIN (Neuro-symbolic Collaborative Editing), a research project funded by the PEPR eNSEMBLE programme (France 2030). KGTWIN investigates a new paradigm of neuro-symbolic collaborative editing in which a set of textual documents and a shared Knowledge Graph (KG) co-evolve: edits to the text may change the knowledge represented in the KG; edits to the KG may in turn affect several textual fragments.

The internship will take place in the LORELEY team at the Inria Centre at Université de Lorraine in Nancy. It will be supervised by: Claudia-Lavinia Ignat, Research Director at Inria and head of the LORELEY team, and, Gérald Oster, Associate Professor at Université de Lorraine.

The Inria Centre at Université de Lorraine is one of Inria's nine research centres. It has about twenty project-teams in Nancy, Strasbourg and Saarbrücken and employs more than 400 people of 45 nationalities, including scientists and research and innovation support staff. The Centre belongs to a rich R&D and innovation ecosystem that includes innovative SMEs, large industrial groups, competitiveness clusters, universities, laboratories of excellence and technological research institutes.

Assignment

Knowledge Graphs are increasingly used to represent structured, machine-processable knowledge. In collaborative settings, several users or applications may modify the same graph concurrently. Replication improves availability and responsiveness, but concurrent updates must then be reconciled so that all replicas eventually converge. Conflict-free Replicated Data Types (CRDTs) [1,2,3] offer a principled approach to this problem. Replicas are updated independently, without coordination, and are guaranteed to converge once they have received the same set of updates. CRDTs have been applied successfully to collaborative text editing [4] and to RDF graphs [5,6], and the W3C CRDT for RDF Community Group is working on their standardisation [7]. However, convergence alone does not guarantee that the merged graph is semantically correct. Two concurrent updates may each be valid and syntactically compatible, while their combination violates constraints expressed in an ontology or in a validation language such as SHACL [8]. For example, two users may concurrently: assign different values to a property that admits a single value (a cardinality violation); add an ex:headOf link to a team while another user deletes the team (a dangling reference); type the same entity with two disjoint classes. Such invariants generally cannot be preserved without some form of coordination [9,10]. A semantics-aware replication model must therefore decide which conflicts to prevent, which to repair automatically, and which to report to users. In KGTWIN, many KG updates come from text through knowledge extraction. A semantic conflict in the graph therefore often reflects an inconsistency between text fragments written by different users. Detecting such conflicts and tracing them back to their textual origin is a prerequisite for the bidirectional text–KG synchronization targeted by KGTWIN. The objective of this internship is to study the detection of semantic conflicts in concurrently edited RDF Knowledge Graphs, and to design mechanisms that integrate this detection into a CRDT-based replication model. The work will explore the trade-offs between three properties: convergence of the replicated Knowledge Graphs; preservation of semantic constraints, expressed as SHACL shapes or as ontology axioms; preservation of user intentions [11], i.e. the effect each user expected their update to have.

Expected outcomes
  • A classification of semantic conflicts arising from concurrent RDF updates, with a benchmark of concurrent-edit scenarios.
  • A CRDT-based synchronization model with semantic conflict detection.
  • An open-source prototype and its experimental evaluation.
  • A research report, which may lead to a scientific publication.
  • The internship may be followed by a PhD in the KGTWIN project.
References
  1. [1] M. Shapiro, N. Preguiça, C. Baquero, M. Zawirski. Conflict-Free Replicated Data Types. In Proc. 13th International Symposium on Stabilization, Safety, and Security of Distributed Systems (SSS 2011) , LNCS 6976, Springer, 2011. DOI:10.1007/978-3-642-24550-3_29. HAL: hal-00932836
  2. [2] N. Preguiça, C. Baquero, M. Shapiro. Conflict-free Replicated Data Types (CRDTs). In S. Sakr, A. Zomaya (eds.), Encyclopedia of Big Data Technologies, Springer, 2018. DOI:10.1007/978-3-319-63962-8_185-1. HAL: hal-01793586
  3. [3] P. S. Almeida, A. Shoker, C. Baquero. Delta State Replicated Data Types. Journal of Parallel and Distributed Computing, 111, 2018. DOI:10.1016/j.jpdc.2017.08.003
  4. [4] M. Nicolas, V. Elvinger, G. Oster, C.-L. Ignat, F. Charoy. MUTE: A Peer-to-Peer Web-based Real-time Collaborative Editor. In Proc. 15th European Conference on Computer-Supported Cooperative Work (ECSCW 2017) – Panels, Posters and Demos, EUSSET, 2017. DOI:10.18420/ecscw2017_p5. HAL: hal-01655438
  5. [5] L.-D. Ibáñez, H. Skaf-Molli, P. Molli, O. Corby. Live Linked Data: Synchronising Semantic Stores with Commutative Replicated Data Types. International Journal of Metadata, Semantics and Ontologies, 8(2), 2013. DOI:10.1504/IJMSO.2013.056605. HAL: hal-00903377
  6. [6] L.-D. Ibáñez, H. Skaf-Molli, P. Molli, O. Corby. Col-Graph: Towards Writable and Scalable Linked Open Data. In The Semantic Web – ISWC 2014, LNCS 8796, Springer, 2014. DOI:10.1007/978-3-319-11964-9_21. HAL: hal-01061493
  7. [7] W3C CRDT for RDF Community Group. https://www.w3.org/groups/cg/crdt4rdf/
  8. [8] H. Knublauch, D. Kontokostas (eds.). Shapes Constraint Language (SHACL). W3C Recommendation, 20 July 2017. https://www.w3.org/TR/2017/REC-shacl-20170720/
  9. [9] P. Bailis, A. Fekete, M. J. Franklin, A. Ghodsi, J. M. Hellerstein, I. Stoica. Coordination Avoidance in Database Systems. Proceedings of the VLDB Endowment, 8(3), 2014. DOI:10.14778/2735508.2735509
  10. [10] V. Balegas, S. Duarte, C. Ferreira, R. Rodrigues, N. Preguiça, M. Najafzadeh, M. Shapiro. Putting Consistency Back into Eventual Consistency. In Proc. EuroSys 2015, ACM, 2015. DOI:10.1145/2741948.2741972. HAL: hal-01248191
  11. [11] C. Sun, X. Jia, Y. Zhang, Y. Yang, D. Chen. Achieving Convergence, Causality Preservation, and Intention Preservation in Real-Time Cooperative Editing Systems. ACM Transactions on Computer-Human Interaction, 5(1), 1998. DOI:10.1145/274444.274447
Main activities
  • State of the art. Study CRDTs and their application to RDF; constraint validation with SHACL and OWL, including the difference between closed-world validation and open-world reasoning; and invariant preservation under weak consistency.
  • Conflict modelling. Identify and classify the semantic conflicts that concurrent RDF updates can cause, for example by type of SHACL constraint violated, and build a set of reference concurrent-edit scenarios.
  • Design. Propose a CRDT-based synchronization mechanism that detects these conflicts, records their provenance (which concurrent operations caused them) and makes them available for resolution, either automatic or by the users.
  • Implementation. Develop a prototype of a replicated RDF Knowledge Graph with SHACL validation.
  • Evaluation. Using the scenarios from task 2 and a realistic dataset, assess convergence, conflict-detection precision and recall, the semantic consistency of the merged graph, and the overhead of the mechanism.
Skills

Knowledge of some of the following topics will be appreciated:

  • distributed systems and consistency models;
  • CRDTs and optimistic replication;
  • RDF and SPARQL;
  • Knowledge Graphs, ontologies and SHACL;
  • programming in Python, Java or another suitable language.

Prior experience with Semantic Web technologies is a plus but is not required.

Get your free, confidential resume review.

or drag and drop your file here.

Similar jobs

Similar jobs worth comparing

Semantic Conflict Detection for CRDT-Driven Knowledge Graphs
Semantic Conflict Detection for CRDT-Driven Knowledge Graphs

Inria Villers lès Nancy • Villers-lès-Nancy

On-site
EUR 12,000 - 19,000
PhD Position F/M Cognitive Network Observability: Bridging Graph Neural Networks and Large Language Models for Generalizable and Explainable Network Tomography
PhD Position F/M Cognitive Network Observability: Bridging Graph Neural Networks and Large Language Models for Generalizable and Explainable Network Tomography

Inria Rennes • Rennes

Hybrid
EUR 18,000 - 25,000
Partial transport reimbursement
RTT and 7 weeks leave + teleworking (≈
Teleworking (90 days/yr)
Post-Doctoral Research Visit F/M User Experience for formal proofs in practice
Post-Doctoral Research Visit F/M User Experience for formal proofs in practice

Inria Lyon • Lyon

On-site
EUR 42,000 - 54,000
PhD Position - Engineering Digital Twins Dedicated to 2D and 3D Input and Output Technologies of Interactive Systems: application to the digital twin of Luxembourg Electric Grid
PhD Position - Engineering Digital Twins Dedicated to 2D and 3D Input and Output Technologies of Interactive Systems: application to the digital twin of Luxembourg Electric Grid

Engineering Digital Twins (EDT) • Toulouse

On-site
EUR 20,000 - 27,000
Expert en ingénierie des systèmes d’information H/F
Expert en ingénierie des systèmes d’information H/F

Inria Le Chesnay • Le Chesnay

On-site
EUR 60,000 - 85,000
PhD Position F/M Making Caches Predictable: Bounded Lifetime Monitoring and Management for Real-Time Systems
PhD Position F/M Making Caches Predictable: Bounded Lifetime Monitoring and Management for Real-Time Systems

Inria Rennes • Rennes

On-site
EUR 20,000 - 27,000
PhD Position in Digital Twins and Sustainability (M/F)
PhD Position in Digital Twins and Sustainability (M/F)

Cnrs Inc • France

On-site
EUR 24,000 - 30,000
PhD Position F/M Local Crowd Simulation and Authoring in Augmented Reality for Large-Scale Event Planning
PhD Position F/M Local Crowd Simulation and Authoring in Augmented Reality for Large-Scale Event Planning

Inria Rennes • Rennes

On-site
EUR 20,000 - 27,000
Intern AI Researcher: Anomaly Detection for Predictive Maintenance in Distributed Storage
Intern AI Researcher: Anomaly Detection for Predictive Maintenance in Distributed Storage

Scality • Paris

On-site
EUR 13,000 - 19,000
Mentorship from R&D engineers
Close collaboration with INRIA
Access to real telemetry data
+1
Full-Stack Software Developer - Deeptech Startup Project
Full-Stack Software Developer - Deeptech Startup Project

1000scholars • Rennes

On-site
EUR 52,000 - 72,000