Retrieve an excerpt of the ontology schema, representing the taxonomies of sleep disorders and sentiment assessment in JSON-LD format.
curl --request GET \
--url http://./taxonomy?scheme=Something
fetch('http://./taxonomy?scheme=Something', {
method: 'GET',
})
.then(e => e.json())
.then((data) => {
console.log('Request succeeded with JSON response', data);
})
.catch((error) => {
console.log('Request failed', error);
});
const request = require('request');
const options = {
method: 'GET',
url: 'http://./taxonomy?scheme=Something',
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
import requests
url = "http://./taxonomy?scheme=Something"
headers = {
}
response = requests.GET(url, headers=headers)