openodke
Copyright 2026 Deepanshu Kandpal

This product includes software developed by Deepanshu Kandpal and contributors,
licensed under the Apache License, Version 2.0.

--------------------------------------------------------------------------------
Relationship to the ODKE+ paper
--------------------------------------------------------------------------------

This project is an independent, clean-room implementation of the architecture
described in:

    Khorshidi, S., Nikfarjam, A., Shankar, S., Sang, Y., Govind, Y., Jang, H.,
    Kasgari, A., McClimans, A., Soliman, M., Konda, V., Fakhry, A., & Qi, X.
    (2025). ODKE+: Ontology-Guided Open-Domain Knowledge Extraction with LLMs.
    arXiv:2509.04696.

It is NOT affiliated with, endorsed by, or derived from any source code of
Apple Inc. No Apple code, data, model, or internal artifact was used. The paper
describes a system; this repository is an independent reading of that published
description, generalised from a single production knowledge graph to an
open SDK.

"ODKE" is used here as the name of the published architecture this project
implements. All credit for the architecture belongs to the paper's authors.

--------------------------------------------------------------------------------
Third-party material: EnterpriseRAG-Bench (Onyx)
--------------------------------------------------------------------------------

The grounder prompt `ground.onyx@1` (src/openodke/prompts.py) is the
INDIVIDUAL_FACT_VALIDATOR_PROMPT of EnterpriseRAG-Bench
(https://github.com/onyx-dot-app/EnterpriseRAG-Bench, src/prompts/
answer_evaluation.py, at d36685e), copied word for word, and `ground.statement@1`
is adapted from it. Sun et al., arXiv:2605.05253. Used under the MIT License:

MIT License

Copyright (c) 2026 DanswerAI, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
