Structured Knowledge Graph
A graph of real word concepts, people, places, and things that you can query in natural language.
Entity Search
Searches the knowledge graph for a particular entity or concept to get a list of matching results with rich metadata.
Request
Parameter | Type | Values |
---|---|---|
entity (required) | String | The entity value may be:
|
score | String | The score value determines which scoring function should be used when ordering results. The score value may be:
|
pretty | Boolean | Pretty print the response. Useful for debugging. The pretty value may be:
|
Response
Returns a list of entities that resulted from the search as ordered by the scoring function. Each entity is returned with rich metadata.
Example
https://api.plasticity.ai/cortex/structuredGETPOST
Property Search
This API endpoint is currently under development and will be released shortly. Please reach out to us to stay updated on future releases.
Category Search
This API endpoint is currently under development and will be released shortly. Please reach out to us to stay updated on future releases.
Entity and Property Search
Searches the knowledge graph for a property of a particular entity or concept to get a list of matching results with rich metadata.
Request
Parameter | Type | Values |
---|---|---|
entity (required) | String | The entity value may be:
|
property (required) | String | The property value may be:
|
score | String | The score value determines which scoring function should be used when ordering results. The score value may be:
|
pretty | Boolean | Pretty print the response. Useful for debugging. The pretty value may be:
|
Response
Returns a list of relationships that resulted from the search as ordered by the scoring function. Each relationship is returned with rich metadata.
Example
https://api.plasticity.ai/cortex/structuredGETPOST
Natural Language Question Answering
Searches the knowledge graph with a natural language query to get a list of matching answers with rich metadata.
Request
Parameter | Type | Values |
---|---|---|
query (required) | String | The query value is any natural language query. It can be a keyword search, simple natural language query, or a more complicated compound or nested query. Here are a few examples:
|
pretty | Boolean | Pretty print the response. Useful for debugging. The pretty value may be:
|
Response
Returns a list of relationships that resulted from the search. Each relationship is returned with rich metadata.
Example
https://api.plasticity.ai/cortex/structuredGETPOST