Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mohmehmo opened this issue Jun 3, 2024 · 0 comments

Comments

@mohmehmo
Copy link

mohmehmo commented Jun 3, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant