Skip to content

Knowledge Graph API (1)

A Knowledge Graph is a graph-based data model representation of knowledge within a domain. In other words, it contains nodes and edges that represent entities and the relationships between them. The API should then enable the creation, update, or query with regard to these graphs and their models.

Languages
Servers
Mock server

https://idp.cdq.com/_mock/apis/knowledge-graph-api/api-v1/

Production SOAP

https://api.corporate-data-league.ch/knowledge-graph-api/soap/v1/

Production

https://api.corporate-data-league.ch/knowledge-graph-api/

Concepts

Operations related to Concepts. A concept is a unit of knowledge that is created and managed within a model.

Operations

Concept history

Operations related to Concept history. A concept history is a record of changes made to a concept.

Operations

Imports

Operations related to Imports. An import is a process of bringing data from an external source into the system.

Operations

Knowledge Graphs

Operations related to Knowledge Graphs and their management. A Knowledge Graph is a graph-based data model

Operations

Models

Operations related to Models. A model is a collection of concepts and their relationships.

Operations

Get Data Models

Request

Get data models defined in a given Knowledge Graph. Manage models inside Knowledge Graph.

Security
basicAuth
Path
knowledgeGraphIdintegerrequired

Used to identify Knowledge Graph and objects inside it.

Example: 1
Query
pageinteger>= 0

The number of the page to read. Parameter isn't required, by default, set to '0'.

Default 0
Example: page=0
pageSizeinteger>= 0

Maximum number of elements on the page to read. Parameter isn't required. Can't be negative, by default, set to 10.

Default 10
Example: pageSize=10
modelIdinteger

Used to identify model.

Example: modelId=1
statusstring

Filter knowledge graphs models by status value.

Enum ValueDescription
ACTIVE

Active status.

DEACTIVATED

Deactivated status.

Example: status=ACTIVE
featuresOnArray of strings

Additional options for fetching models.

Items ValueDescription
SHOW_PUBLICATION_STATUS

Show model release status.

Example: featuresOn=SHOW_PUBLICATION_STATUS
modelFullTextSearchstring

Full-text search for a model > * Description - Description of a model. * Creator - Creator of a model.

Example: modelFullTextSearch=Description
Headers
X-Credential-Usernamestringrequired

Username that is passed as header parameter with the name X-Credential-Username. The header can take a form of:

  • username (e.g. "johnjoe")
  • user id (e.g. "87b1bdb1-ba87-4522-b363-c5a0e6e917b3")
Example: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3
curl -i -X GET \
  -u <username>:<password> \
  https://idp.cdq.com/_mock/apis/knowledge-graph-api/api-v1/knowledgegraphs/1/models \
  -H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3'

Responses

OK

Bodyapplication/json
pageSizeinteger>= 0required

Number of elements on the page.

Example: "10"
pageinteger(Page)>= 0required

Current page number.

Default 0
Example: "1"
valuesArray of objects(Model)required

List of models.

values[].​idintegerrequired

ID of the model.

Example: "1"
values[].​knowledgeGraphIdinteger

ID of the Knowledge Graph.

Example: "1"
values[].​descriptionstringrequired

Description of the model.

Example: "Model"
values[].​creatorstring(UserId)required

Unique ID of a user.

Example: "johndoe"
values[].​statusstringrequired

Status of the model.

Enum ValueDescription
ACTIVE

The model is active.

DEACTIVATED

The model is deactivated.

PENDING

The model is pending.

Example: "ACTIVE"
values[].​publicationStatusstring(ModelPublicationStatus)

Describes model published status.

Enum ValueDescription
CREATED

The model is created and initialized in Knowledge Graph browser but not published.

PUBLISHED

The model is published and does not contain any unreleased changes.

UNPUBLISHED

The model is created in Knowledge Graph browser but not published.

PUBLISHING_IN_PROGRESS

The model is being published at the moment.

PUBLISHED_HAS_UNPUBLISHED_CHANGES

The model is published but contains unpublished changes.

PUBLISHING_PROCESS_HAS_FAILED

Can't compute model release status.

UNKNOWN

Unknown status.

Example: "CREATED"
values[].​creationDatestring(CreatedAt)required

Date of creation (ISO 8601-compliant).

Example: "2020-08-31T16:47+00:00"
values[].​modificationDatestring(ModifiedAt)required

Date of modification (ISO 8601-compliant).

Example: "2020-08-31T16:47+00:00"
values[].​modelConfigPropertiesArray of objects(ModelConfigProperties)

List of model configuration properties.

totalinteger(PageTotal)

Total number of items which can be paged.

Example: "67"
Response
application/json
{ "summary": "List of models inside Knowledge Graph.", "value": "{\"pageSize\":100,\"page\":0,\"values\":[{\"id\":1,\"knowledgeGraphId\":1,\"description\":\"CDQ main model\",\"creator\":\"demo_user\",\"status\":\"ACTIVE\",\"creationDate\":\"2021-12-29T12:56:48\",\"modificationDate\":\"2021-12-29T12:56:49\",\"modelConfigProperties\":[{\"key\":\"EXTERNAL_ID_TAG\",\"value\":\"recordId\"},{\"key\":\"CDQ_BASEURL\",\"value\":\"https://meta.cdq.com\"},{\"key\":\"BASEURL\",\"value\":\"https://www.cdq.com/\"},{\"key\":\"KNOWLEDGE_GRAPH_LABEL\",\"value\":\"kg_1_m_1\"},{\"key\":\"EXTERNAL_ID_SELECTOR\",\"value\":\"/recordId\"},{\"key\":\"ROOT_PREFIX\",\"value\":\"Record\"},{\"key\":\"VALIDATION_GRAPH\",\"value\":\"\"}]},{\"id\":2,\"knowledgeGraphId\":1,\"description\":\"CDQ secondary model\",\"creator\":\"demo_user\",\"status\":\"ACTIVE\",\"creationDate\":\"2021-12-29T12:56:55\",\"modificationDate\":\"2021-12-29T12:56:55\",\"modelConfigProperties\":[{\"key\":\"EXTERNAL_ID_TAG\",\"value\":\"recordId\"},{\"key\":\"CDQ_BASEURL\",\"value\":\"https://meta.cdq.com\"},{\"key\":\"BASEURL\",\"value\":\"https://www.cdq.com/\"},{\"key\":\"KNOWLEDGE_GRAPH_LABEL\",\"value\":\"kg_1_m_2\"},{\"key\":\"EXTERNAL_ID_SELECTOR\",\"value\":\"/recordId\"},{\"key\":\"ROOT_PREFIX\",\"value\":\"Record\"},{\"key\":\"VALIDATION_GRAPH\",\"value\":\"\"}]},{\"id\":3,\"knowledgeGraphId\":1,\"description\":\"CDQ test model\",\"creator\":\"demo_user\",\"status\":\"ACTIVE\",\"creationDate\":\"2021-12-29T12:56:58\",\"modificationDate\":\"2021-12-29T12:56:59\",\"modelConfigProperties\":[{\"key\":\"EXTERNAL_ID_TAG\",\"value\":\"recordId\"},{\"key\":\"CDQ_BASEURL\",\"value\":\"https://meta.cdq.com\"},{\"key\":\"BASEURL\",\"value\":\"https://www.cdq.com/\"},{\"key\":\"KNOWLEDGE_GRAPH_LABEL\",\"value\":\"kg_1_m_3\"},{\"key\":\"EXTERNAL_ID_SELECTOR\",\"value\":\"/recordId\"},{\"key\":\"ROOT_PREFIX\",\"value\":\"Record\"},{\"key\":\"VALIDATION_GRAPH\",\"value\":\"\"}]}],\"total\":3}\n" }

Create Data Model

Request

Create a new data model inside Knowledge Graph.

Security
basicAuth
Path
knowledgeGraphIdintegerrequired

Used to identify Knowledge Graph and objects inside it.

Example: 1
Headers
X-Credential-Usernamestringrequired

Username that is passed as header parameter with the name X-Credential-Username. The header can take a form of:

  • username (e.g. "johnjoe")
  • user id (e.g. "87b1bdb1-ba87-4522-b363-c5a0e6e917b3")
Example: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3
Bodyapplication/jsonrequired
descriptionstringrequired

Description of the model.

Example: "Model"
modelConfigPropertiesArray of objects(ModelConfigProperties)required

List of model configuration properties.

modelConfigProperties[].​keystring

Key of the property.

Enum ValueDescription
BASEURL

URL of Knowledge Graph that created model belongs to.

CDQ_BASEURL

Constant value, points to CDQ's meta wiki.

EXTERNAL_ID_SELECTOR

Field used for extracting external ID out of records.

EXTERNAL_ID_TAG

Tag for records external ID.

KNOWLEDGE_GRAPH_LABEL

Label of Knowledge Graph.

ROOT_PREFIX

Prefix used to recognize records.

VALIDATION_GRAPH

Name of validation graph that records will be validated against to.

Example: "BASEURL"
modelConfigProperties[].​valuestring

Value of the property.

Example: "https://meta.cdq.com"
curl -i -X POST \
  -u <username>:<password> \
  https://idp.cdq.com/_mock/apis/knowledge-graph-api/api-v1/knowledgegraphs/1/models \
  -H 'Content-Type: application/json' \
  -H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
  -d '{
    "description": "CDQ primary-demo model"
  }'

Responses

Created

Bodyapplication/json
idintegerrequired

ID of the model.

Example: "1"
knowledgeGraphIdinteger

ID of the Knowledge Graph.

Example: "1"
descriptionstringrequired

Description of the model.

Example: "Model"
creatorstring(UserId)required

Unique ID of a user.

Example: "johndoe"
statusstringrequired

Status of the model.

Enum ValueDescription
ACTIVE

The model is active.

DEACTIVATED

The model is deactivated.

PENDING

The model is pending.

Example: "ACTIVE"
publicationStatusstring(ModelPublicationStatus)

Describes model published status.

Enum ValueDescription
CREATED

The model is created and initialized in Knowledge Graph browser but not published.

PUBLISHED

The model is published and does not contain any unreleased changes.

UNPUBLISHED

The model is created in Knowledge Graph browser but not published.

PUBLISHING_IN_PROGRESS

The model is being published at the moment.

PUBLISHED_HAS_UNPUBLISHED_CHANGES

The model is published but contains unpublished changes.

PUBLISHING_PROCESS_HAS_FAILED

Can't compute model release status.

UNKNOWN

Unknown status.

Example: "CREATED"
creationDatestring(CreatedAt)required

Date of creation (ISO 8601-compliant).

Example: "2020-08-31T16:47+00:00"
modificationDatestring(ModifiedAt)required

Date of modification (ISO 8601-compliant).

Example: "2020-08-31T16:47+00:00"
modelConfigPropertiesArray of objects(ModelConfigProperties)

List of model configuration properties.

Response
application/json
{ "summary": "Response containing a newly created data model with its configuration parameters", "value": "{\"id\":1,\"knowledgeGraphId\":1,\"description\":\"CDQ test model\",\"creator\":\"demo_user\",\"status\":\"ACTIVE\",\"creationDate\":\"2021-12-29T12:56:58\",\"modificationDate\":\"2021-12-29T12:56:59\",\"modelConfigProperties\":[{\"key\":\"EXTERNAL_ID_TAG\",\"value\":\"recordId\"},{\"key\":\"CDQ_BASEURL\",\"value\":\"https://meta.cdq.com\"},{\"key\":\"BASEURL\",\"value\":\"https://www.cdq.com/\"},{\"key\":\"KNOWLEDGE_GRAPH_LABEL\",\"value\":\"kg_1_m_3\"},{\"key\":\"EXTERNAL_ID_SELECTOR\",\"value\":\"/recordId\"},{\"key\":\"ROOT_PREFIX\",\"value\":\"Record\"},{\"key\":\"VALIDATION_GRAPH\",\"value\":\"\"}]}\n" }

Get Model

Request

Get detailed information about a model.

Security
basicAuth
Path
knowledgeGraphIdintegerrequired

Used to identify Knowledge Graph and objects inside it.

Example: 1
modelIdintegerrequired

Used to identify model and objects inside it.

Example: 1
Query
featuresOnArray of strings

Additional options for fetching models.

Items ValueDescription
SHOW_PUBLICATION_STATUS

Show model release status.

Example: featuresOn=SHOW_PUBLICATION_STATUS
Headers
X-Credential-Usernamestringrequired

Username that is passed as header parameter with the name X-Credential-Username. The header can take a form of:

  • username (e.g. "johnjoe")
  • user id (e.g. "87b1bdb1-ba87-4522-b363-c5a0e6e917b3")
Example: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3
curl -i -X GET \
  -u <username>:<password> \
  https://idp.cdq.com/_mock/apis/knowledge-graph-api/api-v1/knowledgegraphs/1/models/1 \
  -H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3'

Responses

Model updated successfully

Bodyapplication/json
idintegerrequired

ID of the model.

Example: "1"
knowledgeGraphIdinteger

ID of the Knowledge Graph.

Example: "1"
descriptionstringrequired

Description of the model.

Example: "Model"
creatorstring(UserId)required

Unique ID of a user.

Example: "johndoe"
statusstringrequired

Status of the model.

Enum ValueDescription
ACTIVE

The model is active.

DEACTIVATED

The model is deactivated.

PENDING

The model is pending.

Example: "ACTIVE"
publicationStatusstring(ModelPublicationStatus)

Describes model published status.

Enum ValueDescription
CREATED

The model is created and initialized in Knowledge Graph browser but not published.

PUBLISHED

The model is published and does not contain any unreleased changes.

UNPUBLISHED

The model is created in Knowledge Graph browser but not published.

PUBLISHING_IN_PROGRESS

The model is being published at the moment.

PUBLISHED_HAS_UNPUBLISHED_CHANGES

The model is published but contains unpublished changes.

PUBLISHING_PROCESS_HAS_FAILED

Can't compute model release status.

UNKNOWN

Unknown status.

Example: "CREATED"
creationDatestring(CreatedAt)required

Date of creation (ISO 8601-compliant).

Example: "2020-08-31T16:47+00:00"
modificationDatestring(ModifiedAt)required

Date of modification (ISO 8601-compliant).

Example: "2020-08-31T16:47+00:00"
modelConfigPropertiesArray of objects(ModelConfigProperties)

List of model configuration properties.

Response
application/json
{ "summary": "List of models inside Knowledge Graph.", "value": "{\"id\":1,\"knowledgeGraphId\":1,\"description\":\"Test model description\",\"creator\":\"user\",\"status\":\"ACTIVE\",\"creationDate\":\"2022-01-19T15:44:28\",\"modificationDate\":\"2022-01-19T15:44:29\",\"modelConfigProperties\":[{\"key\":\"EXTERNAL_ID_TAG\",\"value\":\"recordId\"},{\"key\":\"CDQ_BASEURL\",\"value\":\"http://meta.cdq.com\"},{\"key\":\"BASEURL\",\"value\":\"http://www.cdq.com/\"},{\"key\":\"KNOWLEDGE_GRAPH_LABEL\",\"value\":\"kg_1_m_1\"},{\"key\":\"EXTERNAL_ID_SELECTOR\",\"value\":\"/recordId\"},{\"key\":\"ROOT_PREFIX\",\"value\":\"Record\"},{\"key\":\"VALIDATION_GRAPH\",\"value\":\"\"}]}\n" }

Update Model

Request

Update model with new description and configuration.

Security
basicAuth
Path
knowledgeGraphIdintegerrequired

Used to identify Knowledge Graph and objects inside it.

Example: 1
modelIdintegerrequired

Used to identify model and objects inside it.

Example: 1
Headers
X-Credential-Usernamestringrequired

Username that is passed as header parameter with the name X-Credential-Username. The header can take a form of:

  • username (e.g. "johnjoe")
  • user id (e.g. "87b1bdb1-ba87-4522-b363-c5a0e6e917b3")
Example: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3
Bodyapplication/jsonrequired
dbNamestring

Name of the database.

Example: "Model"
statusstring

Status of the model.

Example: "ACTIVE"
descriptionstring

Description of the model.

Example: "Model"
modelConfigPropertiesArray of objects(ModelConfigProperties)

List of model configuration properties.

curl -i -X PUT \
  -u <username>:<password> \
  https://idp.cdq.com/_mock/apis/knowledge-graph-api/api-v1/knowledgegraphs/1/models/1 \
  -H 'Content-Type: application/json' \
  -H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
  -d '{
    "description": "CDQ model - updated description"
  }'

Responses

Model updated successfully

Bodyapplication/json
idintegerrequired

ID of the model.

Example: "1"
knowledgeGraphIdinteger

ID of the Knowledge Graph.

Example: "1"
descriptionstringrequired

Description of the model.

Example: "Model"
creatorstring(UserId)required

Unique ID of a user.

Example: "johndoe"
statusstringrequired

Status of the model.

Enum ValueDescription
ACTIVE

The model is active.

DEACTIVATED

The model is deactivated.

PENDING

The model is pending.

Example: "ACTIVE"
publicationStatusstring(ModelPublicationStatus)

Describes model published status.

Enum ValueDescription
CREATED

The model is created and initialized in Knowledge Graph browser but not published.

PUBLISHED

The model is published and does not contain any unreleased changes.

UNPUBLISHED

The model is created in Knowledge Graph browser but not published.

PUBLISHING_IN_PROGRESS

The model is being published at the moment.

PUBLISHED_HAS_UNPUBLISHED_CHANGES

The model is published but contains unpublished changes.

PUBLISHING_PROCESS_HAS_FAILED

Can't compute model release status.

UNKNOWN

Unknown status.

Example: "CREATED"
creationDatestring(CreatedAt)required

Date of creation (ISO 8601-compliant).

Example: "2020-08-31T16:47+00:00"
modificationDatestring(ModifiedAt)required

Date of modification (ISO 8601-compliant).

Example: "2020-08-31T16:47+00:00"
modelConfigPropertiesArray of objects(ModelConfigProperties)

List of model configuration properties.

Response
application/json
{ "id": "1", "knowledgeGraphId": "1", "description": "Model", "creator": "johndoe", "status": "ACTIVE", "publicationStatus": "CREATED", "creationDate": "2020-08-31T16:47+00:00", "modificationDate": "2020-08-31T16:47+00:00", "modelConfigProperties": [ {} ] }

Deactivate Model

Request

Deactivate a model inside knowledge graph. Does not delete the model but marks it as DEACTIVATED which makes it inaccessible for user.

Security
basicAuth
Path
knowledgeGraphIdintegerrequired

Used to identify Knowledge Graph and objects inside it.

Example: 1
modelIdintegerrequired

Used to identify model and objects inside it.

Example: 1
Headers
X-Credential-Usernamestringrequired

Username that is passed as header parameter with the name X-Credential-Username. The header can take a form of:

  • username (e.g. "johnjoe")
  • user id (e.g. "87b1bdb1-ba87-4522-b363-c5a0e6e917b3")
Example: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3
curl -i -X DELETE \
  -u <username>:<password> \
  https://idp.cdq.com/_mock/apis/knowledge-graph-api/api-v1/knowledgegraphs/1/models/1 \
  -H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3'

Responses

Model deactivated successfully

Get Classes

Request

Get all existing classes from a model.

Security
basicAuth
Path
knowledgeGraphIdintegerrequired

Used to identify Knowledge Graph and objects inside it.

Example: 1
modelIdintegerrequired

Used to identify model and objects inside it.

Example: 1
Headers
X-Credential-Usernamestringrequired

Username that is passed as header parameter with the name X-Credential-Username. The header can take a form of:

  • username (e.g. "johnjoe")
  • user id (e.g. "87b1bdb1-ba87-4522-b363-c5a0e6e917b3")
Example: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3
curl -i -X GET \
  -u <username>:<password> \
  https://idp.cdq.com/_mock/apis/knowledge-graph-api/api-v1/knowledgegraphs/1/models/1/classes \
  -H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3'

Responses

OK

Bodyapplication/json
resultsArray of objects(ModelClassResult)

List of class results.

Response
application/json
{ "results": [ {} ] }

Get Active Models

Request

Obtain all active models.

Security
basicAuth
Headers
X-Credential-Usernamestringrequired

Username that is passed as header parameter with the name X-Credential-Username. The header can take a form of:

  • username (e.g. "johnjoe")
  • user id (e.g. "87b1bdb1-ba87-4522-b363-c5a0e6e917b3")
Example: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3
curl -i -X GET \
  -u <username>:<password> \
  https://idp.cdq.com/_mock/apis/knowledge-graph-api/api-v1/knowledgegraphs/models/active_models \
  -H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3'

Responses

OK

Bodyapplication/json
activeModelsArray of strings

List of active models.

Example: ["kg_1_m_2"]
Response
application/json
{ "activeModels": [ "kg_1_m_2" ] }

Get Model Status

Request

Check for unpublished changes in a model since the latest release.

Security
basicAuth
Path
knowledgeGraphIdintegerrequired

Used to identify Knowledge Graph and objects inside it.

Example: 1
modelIdintegerrequired

Used to identify model and objects inside it.

Example: 1
Headers
X-Credential-Usernamestringrequired

Username that is passed as header parameter with the name X-Credential-Username. The header can take a form of:

  • username (e.g. "johnjoe")
  • user id (e.g. "87b1bdb1-ba87-4522-b363-c5a0e6e917b3")
Example: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3
curl -i -X GET \
  -u <username>:<password> \
  https://idp.cdq.com/_mock/apis/knowledge-graph-api/api-v1/knowledgegraphs/1/models/1/status \
  -H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3'

Responses

OK

Bodyapplication/json
string(ModelPublicationStatus)

Describes model published status.

Enum ValueDescription
CREATED

The model is created and initialized in Knowledge Graph browser but not published.

PUBLISHED

The model is published and does not contain any unreleased changes.

UNPUBLISHED

The model is created in Knowledge Graph browser but not published.

PUBLISHING_IN_PROGRESS

The model is being published at the moment.

PUBLISHED_HAS_UNPUBLISHED_CHANGES

The model is published but contains unpublished changes.

PUBLISHING_PROCESS_HAS_FAILED

Can't compute model release status.

UNKNOWN

Unknown status.

Response
application/json
{ "summary": "The model does not contain unpublished changes.", "value": "{ \"containsUnpublishedChanges\": false }\n" }

Create Status

Request

Clear model from all elements that were added after the model's creation.

Security
basicAuth
Path
knowledgeGraphIdintegerrequired

Used to identify Knowledge Graph and objects inside it.

Example: 1
modelIdintegerrequired

Used to identify model and objects inside it.

Example: 1
curl -i -X POST \
  -u <username>:<password> \
  https://idp.cdq.com/_mock/apis/knowledge-graph-api/api-v1/knowledgegraphs/1/models/1/clear

Responses

OK

Bodyapplication/json
statusstring(ModelClearStatus)

Describes clear model status.

Enum ValueDescription
SUCCESS

The model has been cleared to created state successfully.

FAILED

Could not clear model to create state successfully.

Example: "SUCCESS"
Response
application/json
"{ \"status\" : \"SUCCESS\" }\n"

Exports Model

Request

Converts the model to RDF format and then exporting it as a gzip stream to S3. Users are provided with a link to access the file. Additionally, the export service can return the model in TTL format.

Security
basicAuth
Path
knowledgeGraphIdintegerrequired

Used to identify Knowledge Graph and objects inside it.

Example: 1
modelIdintegerrequired

Used to identify model and objects inside it.

Example: 1
Headers
X-Credential-Usernamestringrequired

Username that is passed as header parameter with the name X-Credential-Username. The header can take a form of:

  • username (e.g. "johnjoe")
  • user id (e.g. "87b1bdb1-ba87-4522-b363-c5a0e6e917b3")
Example: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3
curl -i -X GET \
  -u <username>:<password> \
  https://idp.cdq.com/_mock/apis/knowledge-graph-api/api-v1/knowledgegraphs/1/models/1/export/rdf \
  -H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3'

Responses

OK

Bodyapplication/json
linkToRDFPathstring

S3 path to the RDF file.

Example: "https://s3.eu-central-1.amazonaws.com/cdq-kg-exports/1/2/3.rdf"
Response
application/json
"{ \"linkToRDFPath\": \"C:\\\\Users\\\\userName\\\\kgFileStorage/release-user-2022-02-02T13-28-10.882424900.gz\" }\n"

Query

Operations related to Query. A query is a request for information from a database.

Rules

Operations related to Rules. A rule is a statement that defines or constrains some aspect of the business.

Operations

Translation

Operations related to Translation. Translation is the communication of a source language text's meaning through an equivalent target language text.

Operations

Validation Graph

Operations related to Validation Graphs. A Validation Graph is a graph-based data model representation of knowledge within a domain.

Operations

Values

Operations related to Values. A value is a piece of information that is stored in a database.

Operations