ITADN

file should be inside "ampligraph_datasets" directory to be able to load as dataset

#284Openmohmehmo 创建于 2024-06-03
M
mohmehmocommented
### Description Hi, I have an N3 file that I would like to load as a dataset for use with Ampligraph. It seems that all datasets need to be loaded from "/home/<user>/ampligraph_datasets/dataset.n3". Could you please advise me on how to load a dataset from a different location? ### Actual Behavior FileNotFoundError: [Errno 2] No such file or directory: '/home/<user>/ampligraph_datasets/kg/kg.n3' ### Steps to Reproduce ``` X = load_from_rdf(folder_name="kg", file_name="kg.n3", rdf_format="n3") # dataset is inside "kg" directory which is located in the root of the project ``` Thanks.
0 条评论