Open smrgeoinfo opened 7 years ago
Steve, sorry I missed this.. this is good stuff thanks. I will look into this tomorrow! I've also been thinking about using the Hydra voc for some of this too. However, it's more an actually descriptor language, not just a pointer reference.
Doug-- I started work on a doc for IEDA, did the easy stuff, next is the EntryPoint listing. I'll update on progress, but it will be intermittent...
gerat! do you want push/pull access to the repo? Then you could just push up edits. Anyway you want to do it is fine though.
seems like something like this would be more useful as a template for a sparql endpoint:
"target":{
"@type": "EntryPoint",
"potentialAction":"sparqlQuery",
"urlTemplate": "http://data.geolink.org/sparql?default-graph-uri={graph}&query={query_string}&format={response_mime_type}&timeout={timeout_sec}&debug={on_or_off}",
"description": "Sparql query string. parameters are:
default-graph-uri: uri of graph in the triple store against which the query will be resolved
query_string: a valid sparql query string
response_mime_type: the mime type desired for the response. valid values are text/html,...
timeout_sec: integer value > 0,number of seconds before query times out. Default is 10
debug: value is 'on' or 'off'. If on, a debug trace will be available in the triple store log.
parameters should be URL encoded",
"query-input": "required name=search_term_string",
"httpMethod": "GET"
}
The schema.org guidance for the urlTemplate element says they should be templates according to IETF RFC6570, but the urlTemplate content in the example docs are URLs for service-description documents (Swagger, WADL).
Seems like the encoding should be more like this: