Closed borriellom closed 8 years ago
will you be so kind and share cURL test commands?
Template 5 has worked now. The issue is only for templates 4 and 7. Find below the requests. The input file is in the first comment.
curl -X POST -d @nifFile.ttl "http://api-dev.freme-project.eu/current/e-link/documents/?outformat=json-ld&templateid=4" -H "Content-Type:text/turtle" -v
curl -X POST -d @nifFile.ttl "http://api-dev.freme-project.eu/current/e-link/documents/?outformat=json-ld&templateid=7" -H "Content-Type:text/turtle" -v
Thanks for the cURL examples!
Template 5 has worked now.
Great, the SPARQL endpoint was probably down or busy.
The issue is only for templates 4 and 7.
The actual problem here is not with the templates or the e-Link implementation but with the SPARQL endpoints. The SPARQL enpoints implemented with Virtuoso work out-of-the box with e-link and Jena, however, the vsnorql endpoints (the Linked Geo Data endpoint used in template 4 and 7) due to unknown problem are not compatible with Jena.
@Jan: since this is bug related to the SPARQL endpoint itself (not the e-Link impl) can we leave this issue open and I'll get back to it as soon as I get back at work (mid August)?
Ok lets leave this issue open
@m1ci any update here?
not yet, this should be solved with adopting these templates linked data fragments https://github.com/freme-project/e-Link/issues/29 We are working on it.
linked data fragments will be adopted in early in the development of FREME 4.0.
this issue can be closed - the issue is covered by https://github.com/freme-project/e-Link/issues/40 and https://github.com/freme-project/e-Link/issues/39
Using one of the templates listed in the object, the enrichment service always returns a 500 response. Maybe it is due to problems at sparql endpoints: Templates 4 and 7: http://linkedgeodata.org/vsnorql Template 5: http://europeana.ontotext.com/sparql
Example
Request POST URL: http://api-dev.freme-project.eu/current/e-link/documents/?outformat=json-ld&templateid=4 HEADER "Content-Type" = "text/turtle"
Input Text
Response Error 500