[redland-dev] [Problem - HTTPS support]

Hugo SepĂșlveda hugo.sepulvedaa at sansano.usm.cl
Sat Sep 25 19:29:04 EDT 2021


 Hi!
Thanks for this big open project.

I need help with the next problem:

I use https://librdf.org/query for test my Wikidata queries, but I have
problems related to the URI, the Wikidata endpoint is
https://query.wikidata.org/sparql, and the query is:

SELECT (COUNT(?var3) as ?count)  WHERE {
  ?var3 <http://www.wikidata.org/prop/direct/P31> ?tmp1 .
  ?tmp1 <http://www.wikidata.org/prop/direct/P279> ?var1 .
  ?var3  <http://www.wikidata.org/prop/direct/P31> ?tmp2 .
  ?tmp2 <http://www.wikidata.org/prop/direct/P279> <
http://www.wikidata.org/entity/Q879050> .
  }

And it results:
Results

*SPARQL warnings:*
0:Ignored non-ftp/http URI https://query.wikidata.org/sparql
1:Variable var1 was bound but is unused in the query
1:Variable var1 was bound but is unused in the query
1:Variable $$agg$$0 was used but is not bound in the query

Variable bindings result format

Found 0 results
If I test with Wikidata endpoint with http (this is redirected by default
to https), it results:
Results

*Loading URI http://query.wikidata.org/sparql
<http://query.wikidata.org/sparql> failed with errors:*
Resolving URI failed with HTTP status 403
My question is: could you please tell me if the problem is http/https (I'm
new in this)? is it exist a way to make the query without problems for
Wikidata using Redland or Rasqal?

Thanks for help!
Hugo SepĂșlveda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.librdf.org/pipermail/redland-dev/attachments/20210925/2549016d/attachment.htm>


More information about the redland-dev mailing list