<div dir="ltr">
<div>Hi!</div><div>Thanks for this big open project.</div><div><br></div><div>I need help with the next problem:</div><div><br></div><div>I use <a href="https://librdf.org/query" target="_blank">https://librdf.org/query</a> for test my Wikidata queries, but I have problems related to the URI, the Wikidata <span id="gmail-m_-493003609747562525goog_416691272"></span><span id="gmail-m_-493003609747562525goog_416691273"></span>endpoint is <a href="https://query.wikidata.org/sparql" target="_blank">https://query.wikidata.org/sparql</a>, and the query is:</div><div><br></div><div>SELECT (COUNT(?var3) as ?count) WHERE {<br> ?var3 <<a href="http://www.wikidata.org/prop/direct/P31" target="_blank">http://www.wikidata.org/prop/direct/P31</a>> ?tmp1 .<br> ?tmp1 <<a href="http://www.wikidata.org/prop/direct/P279" target="_blank">http://www.wikidata.org/prop/direct/P279</a>> ?var1 .<br> ?var3 <<a href="http://www.wikidata.org/prop/direct/P31" target="_blank">http://www.wikidata.org/prop/direct/P31</a>> ?tmp2 .<br> ?tmp2 <<a href="http://www.wikidata.org/prop/direct/P279" target="_blank">http://www.wikidata.org/prop/direct/P279</a>> <<a href="http://www.wikidata.org/entity/Q879050" target="_blank">http://www.wikidata.org/entity/Q879050</a>> .<br> }</div><div><br></div><div>And it results:<br></div><div>
<h2>Results</h2>
<p><b>SPARQL warnings:</b><br>
0:Ignored non-ftp/http URI <a href="https://query.wikidata.org/sparql" target="_blank">https://query.wikidata.org/sparql</a><br>1:Variable var1 was bound but is unused in the query<br>1:Variable var1 was bound but is unused in the query<br>1:Variable $$agg$$0 was used but is not bound in the query</p>
<p>Variable bindings result format</p>
<p>Found 0 results</p>
</div><div>If I test with Wikidata endpoint with http (this is redirected by default to https), it results:</div><div>
<h2>Results</h2>
<p><b>Loading URI <a href="http://query.wikidata.org/sparql" target="_blank">http://query.wikidata.org/sparql</a> failed with errors:</b><br>
Resolving URI failed with HTTP status 403</p>
</div><div>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?</div><div><br></div><div>Thanks for help!</div><font color="#888888"><div>Hugo Sepúlveda</div></font>
</div>