Current page last modified at: 23-Apr-2018 10:10:36

Ontology Service examples

Message Broker Communication

Request

{
    "provenance": {
        "context": {
            "workflowID": "ingestionwf",
            "activityID": 1,
            "stepID": "validation"
        }
    },
    "payload": {
        "ontologyServiceInput": {
            "activity": "infer",
            "sourceData": {
                "schemaGraph": "file:///resources/owlDemoSchema.ttl",
                "dataGraph":"file:///resources/owlDemoData.ttl"

            }
        }
    }
}

Response

{
    "provenance": {
        "context": {
            "activityID": "1",
            "stepID": "replaceds",
            "workflowID": "ingestionwf"
        },
        "agent": {
            "role": "index",
            "ID": "IndexingService"
        }
    },
    "payload": {
        "status": "success",
        "statusMessage": "",
        "ontologyServiceOutput": "file:///attx-sb-shared/ontologyservice/file/results.ttl"
    }
}

results matching ""

    No results matching ""