-
Notifications
You must be signed in to change notification settings - Fork 100
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
Getting entities by SPARQL query #362
Comments
It is indeed something that would be great to be added to this library. What you could do for now is use an RDF/SPARQL library like RDF4J [1] and its SPARQLRepository class or Jena. [1] http:https://rdf4j.org/ |
I have used Jena for that and it works well. It lets you create SPARQL queries programmatically too. |
Hi, Adding company1 with some information to a private wikidata, wich I am currently doing, and later I should be able to search for the company1, and update any information. In this part, I made a very simple search by entity name, which last too long. I though in implementing an sparql query, but it seems not being implemented yet in java API. I know jena, and rdf4j, my question is how implementing that?, as I understand all the wikidata "data" should be in rdf format to proceed with it, or I am wrong and there is another way to interact with the wikidata itself?. Luis Ramos |
I am not sure what this issue is about. Does this help?https://m.wikidata.org/wiki/Special:MyLanguage/Wikidata:SPARQL_query_service/Wikidata_Query_Help |
Hi Andrea, thanks for your quick answer, for my understanding the information you provide is for users, I mean that is not for developers, it explains about rdf dump, but my interest is searching, and updating the graph directly from the wikidata, and I am not sure if that is feasible. Luis |
Hi, |
The query is just an example. If you are interested in what it does you might want to try it For more examples you might want to go thru my SPARQL tutorial |
I went through the SPARQL tutorial, it was quite well explained. I would like to know what exactly the issue is? Thank you |
This issue is about adding an API to run the queries within the WikiData Toolkit. So any "standard" RDF Query against WikiData should be runnable and return a result in a decent simple format. Currently this is only possible in combination with other libraries and e.g. not tested out of the box. |
Hi, |
Tanish,
In this tutorial it is explained how to configure blazegraph:
https://heardlibrary.github.io/digital-scholarship/lod/install/
Perhaps it helps you to answer your questions.
Luis
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virenfrei.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
El dom., 24 may. 2020 a las 10:15, Tanish-Gupta (<[email protected]>)
escribió:
… Hi,
Where can I find the triples stored, on which the WikiData runs its
queries? Also, what are the endpoints of that server in order to make an
RDF connection?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#362 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALS7GAHGVKWWE6NKVPAXDRDRTDJQ7ANCNFSM4E4O2SMQ>
.
|
Hi, What I can figure out is :-
So, what exactly is the aim of the API? since the standard SPARQL queries are also working on that Wikidata Query Service platform. If possible also mention the files I should go through for the same. Thank you for the help |
@Tanish-Gupta you might want to ask your question in an environment that is more suitable for a question and answer format like stackoverflow.com - I'll happily answer there. |
So, are there any plans to expose SPARQL-client functionality as part of Wikidata-Toolkit? Would be huge added value, I think. Currently I am planning to write a script that will add forms to lexemes, by first finding a lexeme by it's lemma. Couldn't find way to do it via
|
@62mkv I am not aware of anyone working on this. It would be a nice thing to have indeed! |
It would be great to be able to get entities with a SPARQL query e.g.
which should give a list of railway stations
The text was updated successfully, but these errors were encountered: