• Skip to content (access key 1)
  • Skip to search (access key 7)
FWF — Austrian Science Fund
  • Go to overview page Discover

    • Research Radar
      • Research Radar Archives 1974–1994
      • Open API
    • Discoveries
      • Emmanuelle Charpentier
      • Adrian Constantin
      • Monika Henzinger
      • Ferenc Krausz
      • Wolfgang Lutz
      • Walter Pohl
      • Christa Schleper
      • Elly Tanaka
      • Anton Zeilinger
    • Impact Stories
      • Verena Gassner
      • Wolfgang Lechner
      • Birgit Mitter
      • Oliver Spadiut
      • Georg Winter
    • scilog Magazine
    • Austrian Science Awards
      • FWF Wittgenstein Awards
      • FWF ASTRA Awards
      • FWF START Awards
      • Award Ceremony
    • excellent=austria
      • Clusters of Excellence
      • Emerging Fields
    • In the Spotlight
      • 40 Years of Erwin Schrödinger Fellowships
      • Quantum Austria
    • Dialogs and Talks
      • think.beyond Summit
    • Knowledge Transfer Events
    • E-Book Library
  • Go to overview page Funding

    • Portfolio
      • excellent=austria
        • Clusters of Excellence
        • Emerging Fields
      • Projects
        • Principal Investigator Projects
        • Principal Investigator Projects International
        • Clinical Research
        • 1000 Ideas
        • Arts-Based Research
        • FWF Wittgenstein Award
      • Careers
        • ESPRIT
        • FWF ASTRA Awards
        • Erwin Schrödinger
        • doc.funds
        • doc.funds.connect
      • Collaborations
        • Specialized Research Groups
        • Special Research Areas
        • Research Groups
        • International – Multilateral Initiatives
        • #ConnectingMinds
      • Communication
        • Top Citizen Science
        • Science Communication
        • Book Publications
        • Digital Publications
        • Open-Access Block Grant
      • Subject-Specific Funding
        • Belmont Forum
        • ERA-NET HERA
        • ERA-NET NORFACE
        • ERA-NET QuantERA
        • Alternative Methods to Animal Testing
        • European Partnership BE READY
        • European Partnership Biodiversa+
        • European Partnership BrainHealth
        • European Partnership ERA4Health
        • European Partnership ERDERA
        • European Partnership EUPAHW
        • European Partnership FutureFoodS
        • European Partnership OHAMR
        • European Partnership PerMed
        • European Partnership Water4All
        • Gottfried and Vera Weiss Award
        • LUKE – Ukraine
        • netidee SCIENCE
        • Herzfelder Foundation Projects
        • Quantum Austria
        • Rückenwind Funding Bonus
        • TRANSCAN
        • WE&ME Award
        • Zero Emissions Award
      • International Collaborations
        • Belgium/Flanders
        • Germany
        • France
        • Israel
        • Italy/South Tyrol
        • Japan
        • Korea
        • Luxembourg
        • Poland
        • Switzerland
        • Slovenia
        • Taiwan
        • Tyrol-South Tyrol-Trentino
        • Czech Republic
        • Hungary
    • Step by Step
      • Find Funding
      • Submitting Your Application
      • International Peer Review
      • Funding Decisions
      • Carrying out Your Project
      • Closing Your Project
      • Further Information
        • Integrity and Ethics
        • Inclusion
        • Applying from Abroad
        • Personnel Costs
        • PROFI
        • Final Project Reports
        • Final Project Report Survey
    • FAQ
      • Project Phase PROFI
      • Project Phase Ad Personam
      • Expiring Programs
        • Elise Richter and Elise Richter PEEK
        • FWF START Awards
        • AI Mission Austria
  • Go to overview page About Us

    • Mission Statement
    • FWF Video
    • Values
    • Facts and Figures
    • Annual Report
    • What We Do
      • Research Funding
        • Matching Funds Initiative
      • International Collaborations
      • Studies and Publications
      • Equal Opportunities and Diversity
        • Objectives and Principles
        • Measures
        • Creating Awareness of Bias in the Review Process
        • Terms and Definitions
        • Your Career in Cutting-Edge Research
      • Open Science
        • Open-Access Policy
          • Open-Access Policy for Peer-Reviewed Publications
          • Open-Access Policy for Peer-Reviewed Book Publications
          • Open-Access Policy for Research Data
        • Research Data Management
        • Citizen Science
        • Open Science Infrastructures
        • Open Science Funding
      • Evaluations and Quality Assurance
      • Academic Integrity
      • Science Communication
      • Philanthropy
      • Sustainability
    • History
    • Legal Basis
    • Organization
      • Executive Bodies
        • Executive Board
        • Supervisory Board
        • Assembly of Delegates
        • Scientific Board
        • Juries
      • FWF Office
    • Jobs at FWF
  • Go to overview page News

    • News
    • Press
      • Logos
    • Calendar
      • Post an Event
      • FWF Informational Events
    • Job Openings
      • Enter Job Opening
    • Newsletter
  • Discovering
    what
    matters.

    FWF-Newsletter Press-Newsletter Calendar-Newsletter Job-Newsletter scilog-Newsletter

    SOCIAL MEDIA

    • LinkedIn, external URL, opens in a new window
    • , external URL, opens in a new window
    • Facebook, external URL, opens in a new window
    • Instagram, external URL, opens in a new window
    • YouTube, external URL, opens in a new window

    SCILOG

    • Scilog — The science magazine of the Austrian Science Fund (FWF)
  • elane login, external URL, opens in a new window
  • Scilog external URL, opens in a new window
  • de Wechsle zu Deutsch

  

Foundations of Reasoning in the Shape Constraint Language

Shqiponja Ahmetaj (ORCID: 0000-0003-3165-3568)
  • Grant DOI 10.55776/T1349
  • Funding program Hertha Firnberg
  • Status ended
  • Start December 15, 2021
  • End January 14, 2026
  • Funding amount € 246,120
  • Project website

Disciplines

Computer Sciences (90%); Mathematics (10%)

Keywords

  • Constraint Language,
  • Description Logics,
  • Inconsistency Handling,
  • Computational Complexity,
  • Logic and Databases,
  • Answer Set Programming
Abstract Final report

The Semantic Web is an initiative of the World Wide Web Consortium (W3C) that extends the World Wide Web by setting standards to organize Web data so that it can be processed by machines. As a first step towards this aim, W3C standardized in 2004 the Resource Description Framework (RDF) as the data model of the Web. RDF offers a flexible semi-structured format, by storing data as triples, easily representable as a graph, which makes it suitable for modeling information from Web resources. This has favored its wide adoption and large and growing RDF graphs are continuously being published on the Web. However, one often encounters RDF data that is incorrect. As ensuring data quality became increasingly important in RDF-based applications, the presence of faulty facts in RDF graphs has been widely acknowledged as a serious issue. To address this, W3C recommended in 2017 the Shapes Constraint Language (or SHACL), a machine-readable constraint language for describing and validating RDF graphs. Intuitively, it allows us to specify a set of conditions to be checked against an RDF graph, which can be exploited by applications to improve the quality of the graph. SHACL has already been adopted by existing tools and software packages and has been the focus of research works. However, being only a recent W3C standard, SHACL is not yet well-understood, and its theoretical foundations are not yet well-established. This project will develop solid theoretical foundations for SHACL, paving the way for powerful techniques for intelligent Web data management and reasoning about data quality, and significantly advancing the current state-of-the-art. We will investigate fundamental static analysis tasks aimed at supporting the design of SHACL constraints as well as the yet unexplored but crucial task of how to handle violations of SHACL constraints by RDF graphs. More precisely, the first major goal of the project is to investigate the satisfiability and containment of SHACL constraints, the most primitive static analysis problems that lie at the core of constraint design and optimization techniques. These tasks are crucial for building meaningful sets of SHACL constraints without inconsistencies, but also for optimization purposes. The second major goal is to formalize the notions of explanations and repairs for SHACL and study their properties. Roughly, this allows us to explain why some RDF graph violates the SHACL constraints and to provide ways to fix the graph so that it conforms with the constraints. This is a key point mentioned in the SHACL specification, under so-called validation reports. This study will also clarify the relationship between the emerging and the classic approaches to managing data inconsistency and explanations, e.g., it will allow us to transfer existing results from the setting of the closely related language OWL and that of databases to the setting of SHACL.

Data is becoming increasingly essential in our digital age. To be useful for people and applications, data needs to be correct and trustworthy. Yet the unprecedented diversity and volume of data available today make it prone to errors, missing information, and faulty facts. This is especially true when large-scale data from different sources is integrated, or when data is stored on the Web, where it is often incomplete or flawed and may lead to erroneous conclusions. Ensuring data quality is therefore a pressing challenge, especially in areas such as healthcare, banking, business, science, and public administration, where decisions based on correct data are crucial. This project addressed such challenges by developing theoretical foundations for automatically establishing and improving the quality of Web-like data represented as knowledge graphs. Knowledge graphs represent information as objects and relationships between them, for example people, organizations, or products and how they are connected. The project focused on SHACL, a standardized language for describing and validating constraints on knowledge graphs. Such constraints can express, for example, that every person should have exactly one birth date or that a publication should have at least one author. SHACL is already adopted by many tools and software systems, but when the project started, its theoretical foundations were still not sufficiently understood. This project contributed to advancing these foundations. A central contribution was the study of explanations and repairs for violations of SHACL constraints. Instead of only reporting that some data is invalid, the developed methods help identify the problematic parts of the data and analyze which changes could make the data valid again. This supports more transparent data quality management and helps users understand, explain, and improve complex datasets. In many applications, knowledge graphs change over time, often repeatedly and automatically. The project also studied whether a given update operation is guaranteed to preserve the constraints for all possible input data that already satisfies them. This is useful because the same update pattern may be applied many times and to very large datasets; proving its safety once can reduce costly repeated validation and prevent errors before they enter the data. The project further studied how to obtain meaningful answers even in the presence of imperfect data, by considering possible repairs and using the information that remains reliable. It also investigated efficient validation methods for complex SHACL constraints, helping avoid unnecessary computation in large knowledge graphs. Finally, the project clarified how SHACL relates to Wikidata constraints, ontologies, Description Logics, and related graph schema languages such as ShEx and PG Schema, thereby connecting different communities and technologies for structured data. Overall, the project contributes to more trustworthy digital data and supports future tools for automatically checking, explaining, and improving data quality.

Research institution(s)
  • Technische Universität Wien - 100%
International project participants
  • Meghyn Bienvenu, Université Montpellier - France
  • Diego Calvanese, Libera Università di Bolzano - Italy

Research Output

  • 19 Citations
  • 11 Publications
  • 1 Software
  • 14 Scientific Awards
Publications
  • 2023
    Title Reconciling SHACL and Ontologies: Semantics and Validation via Rewriting
    DOI 10.3233/faia230250
    Type Book Chapter
    Author Ahmetaj S
    Publisher IOS Press
    Link Publication
  • 2024
    Title Formalizing and validating Wikidata's property constraints using SHACL and SPARQL
    DOI 10.3233/sw-243611
    Type Journal Article
    Author De Souza J
    Journal Semantic Web
  • 2024
    Title Consistent Query Answering over SHACL Constraints
    DOI 10.24963/kr.2024/1
    Type Conference Proceeding Abstract
    Author Ahmetaj S
    Pages 2-13
  • 2026
    Title Modeling State Causality in Energy Centred Cyber-Physical-Human Systems With OntoUML
    DOI 10.1109/access.2026.3683445
    Type Journal Article
    Author Bilal M
    Journal IEEE Access
  • 2026
    Title Common Foundations for Recursive Shape Languages
    Type Conference Proceeding Abstract
    Author Ahmetaj Shqiponja
    Conference 23rd International Conference on Principles of Knowledge Representation and Reasoning
  • 2026
    Title GEV: Statically Correct and Programmable Knowledge Graph Updates
    Type Conference Proceeding Abstract
    Author Eduard Kamburjan
    Conference IJCAI-ECAI 2026
  • 2025
    Title A Logic Programming Approach to Repairing SHACL Constraint Violations
    DOI 10.4230/tgdk.3.3.1
    Type Journal Article
    Author Ahmetaj S
    Journal Transactions on Graph Data and Knowledge (TGDK)
    Pages 1:1 - 1:36
    Link Publication
  • 2025
    Title Common Foundations for SHACL, ShEx, and PG-Schema
    DOI 10.1145/3696410.3714694
    Type Conference Proceeding Abstract
    Author Ahmetaj S
    Pages 8-21
    Link Publication
  • 2022
    Title Magic shapes for SHACL validation
    DOI 10.14778/3547305.3547329
    Type Journal Article
    Author Ahmetaj S
    Journal Proceedings of the VLDB Endowment
    Pages 2284-2296
    Link Publication
  • 2025
    Title SHACL Validation Under Graph Updates
    DOI 10.1007/978-3-032-09527-5_8
    Type Book Chapter
    Author Ahmetaj S
    Publisher Springer Nature
    Pages 140-157
  • 2025
    Title OWLstrict: A Constrained OWL Fragment to Avoid Ambiguities for Knowledge Graph Practitioners
    DOI 10.1007/978-3-031-94578-6_3
    Type Book Chapter
    Author David R
    Publisher Springer Nature
    Pages 47-64
Software
  • 2022 Link
    Title Magic Shapes for SHACL Validation / magicSHACL
    Link Link
Scientific Awards
  • 2026
    Title Dagstuhl Seminar 26282, KR Meets XAI, 2026
    Type Prestigious/honorary/advisory position to an external body
    Level of Recognition Continental/International
  • 2025
    Title KR 2025 Doctoral Consortium Chair
    Type Prestigious/honorary/advisory position to an external body
    Level of Recognition Continental/International
  • 2025
    Title RULEML+RR 2025 Doctoral Consortium Chair
    Type Awarded honorary membership, or a fellowship, of a learned society
    Level of Recognition Continental/International
  • 2025
    Title Jury Member, Hedy Lamarr Award, City of Vienna
    Type Prestigious/honorary/advisory position to an external body
    Level of Recognition National (any country)
  • 2024
    Title Jury Member of PhD Thesis Defense
    Type Prestigious/honorary/advisory position to an external body
    Level of Recognition Continental/International
  • 2024
    Title VCLA Awards 2024 Chair
    Type Awarded honorary membership, or a fellowship, of a learned society
    Level of Recognition Continental/International
  • 2024
    Title Dagstuhl Seminar Organizer 2024
    Type Prestigious/honorary/advisory position to an external body
    Level of Recognition Continental/International
  • 2024
    Title Hasselt University invited talk
    Type Personally asked as a key note speaker to a conference
    Level of Recognition Continental/International
  • 2024
    Title KR 2024 Diversity and Inclusion Session Chair
    Type Awarded honorary membership, or a fellowship, of a learned society
    Level of Recognition Continental/International
  • 2023
    Title Top 100 Women Innovators of the DACH Region, including Germany, Austria, and Switzerland, in the area of Telecommunication, Digitalization and IT, from SHE Wirtschaftsmedien-Beteiligungs GmbH
    Type National honour e.g. Order of Chivalry, OBE
    Level of Recognition Continental/International
  • 2023
    Title Editorial Board Member of Transactions on Graph Data and Knowledge (TGDK) Journal
    Type Appointed as the editor/advisor to a journal or book series
    Level of Recognition Continental/International
  • 2022
    Title Social Event Chair at IJCAI-ECAI
    Type Prestigious/honorary/advisory position to an external body
    Level of Recognition Continental/International
  • 2022
    Title Hedy Lamarr Prize 2022
    Type National honour e.g. Order of Chivalry, OBE
    Level of Recognition National (any country)
  • 2021
    Title netidee SCIENCE funding
    Type National honour e.g. Order of Chivalry, OBE
    Level of Recognition National (any country)

Discovering
what
matters.

Newsletter

FWF-Newsletter Press-Newsletter Calendar-Newsletter Job-Newsletter scilog-Newsletter

Contact

Austrian Science Fund (FWF)
Georg-Coch-Platz 2
(Entrance Wiesingerstraße 4)
1010 Vienna

office(at)fwf.ac.at
+43 1 505 67 40

General information

  • Job Openings
  • Jobs at FWF
  • Press
  • Philanthropy
  • scilog
  • FWF Office
  • Social Media Directory
  • LinkedIn, external URL, opens in a new window
  • , external URL, opens in a new window
  • Facebook, external URL, opens in a new window
  • Instagram, external URL, opens in a new window
  • YouTube, external URL, opens in a new window
  • Cookies
  • Whistleblowing/Complaints Management
  • Accessibility Statement
  • Data Protection
  • IFG-Form
  • Acknowledgements
  • © Österreichischer Wissenschaftsfonds FWF
© Österreichischer Wissenschaftsfonds FWF