-
Notifications
You must be signed in to change notification settings - Fork 52
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
pyRDF2Vec with openalex dataset #171
Comments
Hi, In my browser http://semopenalex.org/sparql is not a valid URL either... |
Hi, Thanks for your reminding! i have another question regarding how to define the literals? I tried to according to example below, but then i am not sure how to set the content in literals[]. Could you give some explain? or the corresponding SPARQL Query of example. KG( |
Literal information can be provided by specifying the predicate(s) where the literal information from a given starting node of interest can be found. The example above was defined for the countries dataset & we wanted to create an embedding for multiple countries (nodes of interest). We specified that pyRDF2Vec can find numerical literal information for these countries in the first neighbourhood:
and in the second neighbourhood:
For an example country pyRDF2Vec only requires all the predicates along a path to literal information to take them into account. I hope this explanation helps you to construct an example yourself. Kind regards |
❓ Question
I would like to ask if there are any restrictions for endpoint? I tried to use openalex without success.
I want to use this sparql end point ,so coding:
kg_sem = KG("http://semopenalex.org/sparql")
ValueError: 'location' must be a valid URL (got http://semopenalex.org/sparql)
The text was updated successfully, but these errors were encountered: