Skip to content

Instantly share code, notes, and snippets.

@kendall
Created June 10, 2010 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kendall/433083 to your computer and use it in GitHub Desktop.
Save kendall/433083 to your computer and use it in GitHub Desktop.
{
"service-discovery" : {
"response-mimetype" : [ "text/json", "application/rdf+xml", "application/x-turtle", "application/x-ntriples" ],
"endpoint" : {
"http-methods" : [ "GET" ],
"url" : "http://foo:8080/"
}
},
"knowledge-bases" : [ {
"name" : "wine",
"consistency" : {
"response-mimetype" : [ "text/html", "application/sparql-results+json", "application/sparql-results+xml" ],
"endpoint" : {
"http-methods" : [ "GET" ],
"url" : "http://foo:8080/wine/consistency"
}
},
"classify" : {
"response-mimetype" : [ "text/html", "application/rdf+xml", "application/x-turtle", "application/x-ntriples" ],
"endpoint" : {
"http-methods" : [ "GET" ],
"url" : "http://foo:8080/wine/classify"
}
}
},
{
"name" : "galen",
"search" : {
"response-mimetype" : [ "text/json" ],
"endpoint" : {
"http-methods" : [ "GET" ],
"url" : "http://foo:8080/galen/search{?search}"
}
},
"query" : {
"response-mimetype" : [ "text/html", "application/sparql-results+xml", "application/sparql-results+json", "application/rdf+xml", "application/x-turtle", "application/x-ntriples" ],
"endpoint" : {
"http-methods" : [ "GET", "POST" ],
"url" : "http://foo:8080/galen/query{?query,default-graph-uri,named-graph-uri}"
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment