Professional Experience

  • Present 2020

    Senior Lecturer

    Department of Computer science & Engineering, University of Moratuwa,
    Sri Lanka

  • 2021 2020

    Research Fellow

    LIRNEasia,
    Sri Lanka

  • 2020 2014

    Graduate Research/Teaching Fellow

    University of Oregon, Department of Computer and Information Science,
    USA.

  • 2018 2018

    Givens Associate

    Argonne National Laboratory,
    USA.

  • 2020 2011

    Lecturer

    Department of Computer science & Engineering, University of Moratuwa,
    Sri Lanka

  • 2014 2013

    Researcher

    LIRNEasia,
    Sri Lanka

  • 2014 2013

    Visiting Lecturer

    Northshore College of Business and Technology,
    Sri Lanka

Education

  • Ph.D. 2020

    Ph.D. in Computer & Information Science

    University of Oregon, USA

  • MS 2016

    MS in Computer & Information Science

    University of Oregon, USA

  • BSc2011

    B.Sc Engineering (Hons)in Computer Science & Engineering

    University of Moratuwa, Sri Lanka

Featured Research

Hybrid Genealogical Relationship Extraction from Wikipedia


T. Jayaratne, and N. de Silva

Applied Data Science \& Artificial Intelligence Conference, 2026,

Automated extraction of genealogical relationships from Wikipedia presents significant challenges due to the semantic complexity and structural variability of family information across articles. While structured knowledge bases such as Wikidata provide explicit relationship triples, they often suffer from incompleteness and lack contextual nuance. This paper presents a hybrid approach that combines structured SPARQL queries of Wikidata with Large Language Model (LLM)-based semantic enrichment for comprehensive genealogical tree construction. Our two-phase system first extracts explicit relationships through bidirectional graph traversal of family properties in Wikidata, then conditionally activates LLM-based enrichment using retrieval-augmented generation (RAG) techniques on Wikipedia article text. The system employs embedding-based semantic chunking with text-embedding-004 model by Google to identify family-related content, followed by Gemini 2.0 Flash for relationship extraction via few-shot prompting. Additionally, we implement an LLM-powered classification mechanism to distinguish biological from adoptive parent-child relationships. Evaluation demonstrates that the hybrid approach achieves superior completeness compared to pure structured approaches while maintaining high precision through systematic duplicate detection and validation mechanisms. The system successfully constructs multi-generational family trees with an average processing time under 60 seconds per expansion operation.