Closed jnehring closed 9 years ago
is this the template you are trying?
{
"id" : 2,
"owner" : {
"name" : "templates",
"role" : "ROLE_USER"
},
"visibility" : "PUBLIC",
"endpoint" : "http://live.dbpedia.org/sparql",
"query" : "PREFIX dbpedia: <http://dbpedia.org/resource/> PREFIX dbpedia-owl: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> CONSTRUCT { ?event <http://dbpedia.org/ontology/place> <@@@entity_uri@@@> . } WHERE { ?event rdf:type <http://dbpedia.org/ontology/Event> . ?event <http://dbpedia.org/ontology/place> <@@@entity_uri@@@> . } LIMIT 10",
"label" : "dataset label",
"description" : "",
"type" : "SPARQL"
}
yes. the curl in the attachment says template id 2. Or do I get your question wrong?
my question was whether the template behind the ID 2 is the one I pasted. Asking because I don't know if you are using the live or dev API. Are you trying http://api-dev.freme-project.eu/current/e-link/templates/2?outformat=json ?
I executed the curl again and there error still occurs. It calls api-dev.freme-project.eu (-> dev API). So yes I am trying http://api-dev.freme-project.eu/current/e-link/templates/2?outformat=json
OK, thanks for this info, let me check whats wrong with the template.
fixed. please check
The CURL command in the attachment produces this error:
It works with other templates then template 2 so I assume this error lies within the template.
The logfile has this message:
curl-template-2.txt