Closed rob-metalinkage closed 6 years ago
Done, see http://gnafld.net/sparql
Not functioning as a SPARQL endpoint AFAICT:
test:
curl -G http://gnafld.net/sparql --data-urlencode query="select distinct ?type where {?thing a ?type }limit 20"
curl -G http://defs-dev.opengis.net:8080/rdf4j-server/repositories/ogc-na --data-urlencode query="select distinct ?type where {?thing a ?type }limit 20"
Underlying API returning as expected, for above:
but GNAF API seems to be timing out. Will investigate
C:\repos\surround\trellis_tests\inputs_working>curl -G http://gnafld.net/sparql --data-urlencode query="select distinct ?type where {?thing a ?type }limit 20" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
C:\repos\surround\trellis_tests\inputs_working>
Yeah, the underlying POST to the SPARQL endpoint timed out and I haven't written an elegant failure handler yet.
Resolved
nb - sparql result sets require more coding unless libraries do this out of the box, but SPARQL construct returns a graph - so probably easier.
Rob