Access to AO Platform Ontology from 3rd Party Products (Preview)

Using SparQL Connection from Postman via Ontop Virtual Knowledge Graph

Intended audience: Developers administrators

AO Platform: 5.0

Overview

This topic provides insight into how to access the AO Platform Semantic Layer using the SparQL interface via Ontop Virtual Knowledge Graph.

image-20260401-090845.png

This integration should be considered a Preview in the 5.0 release. More functionality is expected to become available in future releases.


Resources

For details about the SparQL Query Language and the Ontology-Based Data Access (OBDA) mapping, please see these resources:


Configuration

  • Configure Header (example), including Authorization token.

image-20260401-094204.png


Use of SparQL Connection to AO Platform

  • Execute a SparQL query by using a REST endpoint - /api/ontology/{ontology_uid}/sparql/execute - and return results in multiple formats - ?outputFormat= :

    • SPARQL_JSON (default)

    • RDF_XML

    • OWL

    • JSON

    • TURTLE


  • Generate a SparQL query from SQL using Ontology-Based Data Access (OBDA) mapping - in ChatGPT

image-20260401-095041.png
  • Enter the SparQL query in eg. Postman.

    • URL: https://{ao-server}/api/ontology/{ontology_uid}/sparql/execute?outputFormat=OWL

    • Body (raw): full SparQL query

image-20260401-091800.png
  • Copy the outputFormat result to ChatGPT and ask it to generate the graph.

image-20260401-092322.png







Contact App Orchid | Disclaimer