!wget -O car_and_tech_companies.txt https://raw.githubusercontent.com/topoteretes/cognee/dev/examples/data/car_and_tech_companies.txt
input_text = "/work/car_and_tech_companies.txt"
# uncomment the print statement below to view the file content
# print(open(input_text, 'r').read())
# Now we'll upload the ontology file from cognee repo. This provides a structure for various types of companies (car manufacturers, tech companies), products they make, and the categories of those products.
!wget -O basic_ontology.owl https://raw.githubusercontent.com/topoteretes/cognee/main/examples/python/ontology_input_example/basic_ontology.owl
ontology_path = "/work/basic_ontology.owl"
Run to view results
search_results_traditional_rag = await cognee.search(
query_type=SearchType.RAG_COMPLETION,
query_text="What are the exact cars and their types produced by Audi?",
)
print(search_results_traditional_rag)