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

Cannot run the tool locally #4

Open
waldyrious opened this issue May 18, 2019 · 3 comments
Open

Cannot run the tool locally #4

waldyrious opened this issue May 18, 2019 · 3 comments

Comments

@waldyrious
Copy link

waldyrious commented May 18, 2019

Hi @Tpt and @Benestar, thanks for creating this tool! I'm trying out query builder interfaces, and listed the ones I managed to get to work in https://www.wikidata.org/wiki/Wikidata:Tools/Query_data#SPARQL_query_builders, and I'd love to be able to put ppp-sparql there too.

I tried to spin up this tool in another account (available here), since the one at https://tools.wmflabs.org/ppp-sparql/ is down, but it doesn't seem to work. If I try making a simple query, the requests to query.php return the following error:

cURL error 51: SSL: no alternative certificate subject name matches target host name 'grammatical.backend.askplatyp.us' (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

If I change this line to use http:// instead of https://, I get a different error:

Client error: POST http://grammatical.backend.askplatyp.us/ resulted in a 405 Not Allowed response:

405 Not Allowed

(truncated...)

Is there something I can do on my side to get this to work?

@progval
Copy link
Member

progval commented May 19, 2019

Hi,

AFAIK the project moved to a different architecture, so the grammatical parser no longer lives at grammatical.backend.askplatyp.us.
You can try running your own: https://github.com/ProjetPP/PPP-QuestionParsing-Grammatical

@Tpt
Copy link
Member

Tpt commented May 20, 2019

Hi https://askplatyp.us/ now returns the SPARQL queries so the eaiest way to use it is to go to https://askplatyp.us/ and click on the explain buttons near the query results to get the SPARQL query.

If you want an API, you could use https://qa.askplatyp.us/v0

@waldyrious
Copy link
Author

Hi @progval and @Tpt, thanks for the context. I am asking about this repository in particular, though. If I understand correctly, this is the code behind https://tools.wmflabs.org/ppp-sparql/, so my hope would be to fix it so that the tool could go live again.

Is that something that sounds doable to you? I could try to submit a PR if you give me an idea of what I should change in the code.

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

3 participants