Closed jnehring closed 7 years ago
I played around with the dbpedia sparql endoint and I was not able to formulate a sparql query that fetches any information about http://dbpedia.org/resource/America³
the sparql query is
select *
where {
<http://dbpedia.org/resource/America³> ?p ?o .
}
It does not work in the SNORQL endpoint: http://dbpedia.org/snorql/?query=select+*%0D%0Awhere+%7B%0D%0A%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FAmerica%C2%B3%3E+%3Fp+%3Fo+.%0D%0A%7D
But anyways, it is more important to deal with it in e-Link.
@jnehring is there template that uses the snorql dbpedia interface?
According to http://api.freme-project.eu/current/e-link/templates there is no template that uses snorql dbpedia.
From the error message in the first comment I conclude that the error comes from this template: http://{{baseUrl}}/e-link/templates/4496
This is used by WRIPL and this explains also why the error occurs so often.
as for the error:
try
curl -v -H "Content-Type: text/turtle" -H "Accept: text/turtle" "http://api.freme-project.eu/current/e-link/documents?templateid=4496" -d @data.txt
with data.txt
There are two http://dbpedia.org/resource/America³ entities
to me this works.
I will test this.
The CURL request works now. The error message did not appear in the log file for two weeks now. So this issue is fixed.
We have a lot of error messages in the log files because of special characters in e-Link, e.g.
The problem is that the resource URL is not a valid. The character
³
needs to be URL encoded. Therefore Jena fails.I played around with the dbpedia sparql endoint and I was not able to formulate a sparql query that fetches any information about
http://dbpedia.org/resource/America³
What do we do? Can we fix it?
cURL to reproduce the issue: