# Cross Reference

**URL:** <https://forum.weaviate.io/t/cross-reference/21737>\
**Category:** General\
**Tags:** python\
**Created:** [July 30, 2025, 12:44pm UTC](https://forum.weaviate.io/t/cross-reference/21737 "2025-07-30T12:44:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saeed\_Alshiekh\_Qasem](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/saeed_alshiekh_qasem/32/3779_2.png) [@Saeed\_Alshiekh\_Qasem](https://forum.weaviate.io/u/Saeed_Alshiekh_Qasem)\
**Post date:** [July 30, 2025, 12:44pm UTC](https://forum.weaviate.io/t/cross-reference/21737/1 "2025-07-30T12:44:01Z")

</div>

im facing a problem where im trying to do cross reference , i have a class named person and each person has mother and father , whenever i try to reference his mothe and father to him , its telling me that their ids are not inserted yet , how can i find a solution to this?

---

<div class="post-metadata">

**Author:** ![Shahin](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/shahin/32/7944_2.png) [@Shahin](https://forum.weaviate.io/u/Shahin)\
**Post date:** [July 30, 2025, 1:44pm UTC](https://forum.weaviate.io/t/cross-reference/21737/2 "2025-07-30T13:44:23Z")

</div>

Hey @Saeed_Alshiekh_Qasem

Welcome to the community! Really glad to have you here, and hope your journey with Weaviate kicks off smoothly.

From what you described, it sounds like there might be a misconfiguration somewhere. Here’s our documentation on how cross-references work:

> **[Cross-references | Weaviate Documentation](https://docs.weaviate.io/weaviate/manage-collections/cross-references)**
>
> Use cross-references to establish directional relationships between collections.

And here’s a full example I’ve shared on my GitHub repo – it might not be exactly your use case, but hopefully it gives you a good starting point or something to tweak:

> <https://github.com/Shah91n/WeaviateDB-Docs-Snippets-Python-Client/blob/main/Cross_Reference.ipynb>

I’ve also got some other notebooks and scripts that show different things you can do with Weaviate using the Python client – feel free to check those out too:

> **[GitHub - Shah91n/WeaviateDB-Docs-Snippets-Python-Client: Weaviate DB Operations Code Snippets For Python...](https://github.com/Shah91n/WeaviateDB-Docs-Snippets-Python-Client)**
>
> Weaviate DB Operations Code Snippets For Python Client

Oh, and there’s also a Weaviate DB Cluster WebApp UI tool I built as a personal project – open-source and free to use – maybe it’ll come in handy for you!

> **[GitHub - Shah91n/WeaviateDBCluster: Weaviate Cluster WebApp is built to manage and...](https://github.com/Shah91n/WeaviateDBCluster)**
>
> Weaviate Cluster WebApp is built to manage and interact with Weaviate Vector Database

Best regards,

**Mohamed Shahin**  
Weaviate Support Engineer  
_(Ireland, UTC±00:00/+01:00)_

---

<div class="post-metadata">

**Author:** ![Saeed\_Alshiekh\_Qasem](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/saeed_alshiekh_qasem/32/3779_2.png) [@Saeed\_Alshiekh\_Qasem](https://forum.weaviate.io/u/Saeed_Alshiekh_Qasem)\
**Post date:** [July 31, 2025, 9:15am UTC](https://forum.weaviate.io/t/cross-reference/21737/3 "2025-07-31T09:15:57Z")

</div>

so im doing cross ref , before i insert the batch i print it and the proporeties that are reference are there , after the insertion i fetch them and print them and suddenly they are not there only the props with anydata type but not refs are being shown , how can i solve this , i tried every possible way

---

<div class="post-metadata">

**Author:** ![Saeed\_Alshiekh\_Qasem](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/saeed_alshiekh_qasem/32/3779_2.png) [@Saeed\_Alshiekh\_Qasem](https://forum.weaviate.io/u/Saeed_Alshiekh_Qasem)\
**Post date:** [July 31, 2025, 11:28am UTC](https://forum.weaviate.io/t/cross-reference/21737/4 "2025-07-31T11:28:30Z")

</div>

hello mohamed , i have a question , lets say i have multiple collections and i wanna do a rag system on them , the user will enter a question and the answer is gonna be from multiple chunks so the search has to be done somehow to multiple chunks , how can it decide what chunks to search and what excact info to pull?
