ConceptNet · Example Payload

Normalize Uri

Example of using the /uri endpoint to convert the phrase 'french toast' into a canonical ConceptNet URI. Useful for constructing URIs to pass to other endpoints without having to guess the exact normalization rules.

Knowledge GraphNLPSemantic WebCommon SenseMultilingualWord EmbeddingsLinked DataOpen Data

Normalize Uri is an example object payload from ConceptNet, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionrequestresponse

Example Payload

normalize-uri.json Raw ↑
{
  "title": "Normalize text to a ConceptNet URI: /uri?language=en&text=french+toast",
  "description": "Example of using the /uri endpoint to convert the phrase 'french toast' into a canonical ConceptNet URI. Useful for constructing URIs to pass to other endpoints without having to guess the exact normalization rules.",
  "request": {
    "method": "GET",
    "url": "https://api.conceptnet.io/uri?language=en&text=french+toast",
    "headers": {
      "Accept": "application/json"
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/ld+json"
    },
    "body": {
      "@context": [
        "http://api.conceptnet.io/ld/conceptnet5.7/context.ld.json"
      ],
      "@id": "/uri?language=en&text=french+toast",
      "uri": "/c/en/french_toast"
    }
  }
}