Triplestore API

API for querying and managing the OntoPop RDF Triplestore.

Please note that the OntoPop backend open-source software project, which includes the event-driven data pipelines and APIs, is undergoing extensive redesign and refactoring as part of OntoPop Community 3.x in order to improve performance, security, extensibility and maintainability. As a result, the documentation on this page will be significantly updated. Please refer to the OntoPop Roadmap for further information.

1. SPARQL Query

Overview

Execute a SPARQL query against a RDF dataset (i.e. RDF/XML OWL ontology) managed by the OntoPop triplestore.

HTTP request methodPOST
API endpoint/triplestore/ontologies/{id}/query/sparql

Path Variables

NameDescriptionExample
id (integer)ID of the ontology to query.13

Request Body

Content TypeExample
application/json
{
  "query": "SELECT ?subject ?predicate ?object WHERE {?subject ?predicate ?object} LIMIT 25"
}
application/x-www-form-urlencodedKey: query
Value:

prefix owl: http://www.w3.org/2002/07/owl#
prefix rdfs: http://www.w3.org/2000/01/rdf-schema#
SELECT DISTINCT ?class ?label ?description WHERE { 
  ?class a owl:Class. 
  OPTIONAL { ?class rdfs:label ?label}
  OPTIONAL { ?class rdfs:comment ?description}
} LIMIT 25

Request Headers

KeyValueDescription
Acceptapplication/sparql-results+json (default)SPARQL 1.1 Query Results JSON format W3C standard
Acceptapplication/sparql-results+xmlSPARQL Query Results XML format W3C standard
X-API-KeyIssued API KeySee API Authentication for further details

Response Headers

KeyDescriptionExample
x-ontopop-latest-git-webhook-idThe ID of the latest Git webhook that has been consumed and processed for this ontology.74

Responses

HTTP StatusDescriptionResponse Schema
200 OKSPARQL query successfully executed.See above for the supported W3C standard response formats.
401 UnauthorizedSPARQL query request unauthorized.N/A
500 Internal Server ErrorInternal server error.N/A

Examples

1. Select Classes

Example request: Select classes, labels and descriptions

# SPARQL Query
prefix owl: <http://www.w3.org/2002/07/owl#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT DISTINCT ?class ?label ?description
WHERE {
  ?class a owl:Class.
  OPTIONAL { ?class rdfs:label ?label}
  OPTIONAL { ?class rdfs:comment ?description}
}
LIMIT 3

Response: SPARQL 1.1 Query Results JSON format W3C standard (application/sparql-results+json) HTTP 200 OK

{
    "head": {
        "vars": [
            "class",
            "label",
            "description"
        ]
    },
    "results": {
        "bindings": [
            {
                "class": {
                    "type": "uri",
                    "value": "http://webprotege.stanford.edu/R0hGCuAkhsiBUbd7pftEpN"
                },
                "label": {
                    "type": "literal",
                    "value": "Data Subject Request"
                }
            },
            {
                "class": {
                    "type": "uri",
                    "value": "http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY"
                },
                "label": {
                    "type": "literal",
                    "value": "Communication Document"
                }
            },
            {
                "class": {
                    "type": "uri",
                    "value": "http://webprotege.stanford.edu/RBJ3sWyEdjzo3HjkcABim8C"
                },
                "label": {
                    "type": "literal",
                    "value": "Customer"
                }
            }
        ]
    }
}

Response: SPARQL Query Results XML format W3C standard (application/sparql-results+xml) HTTP 200 OK

<?xml version="1.0"?>
<sparql xmlns="http://www.w3.org/2005/sparql-results#">
    <head>
        <variable name="class"/>
        <variable name="label"/>
        <variable name="description"/>
    </head>
    <results>
        <result>
            <binding name="class">
                <uri>http://webprotege.stanford.edu/R0hGCuAkhsiBUbd7pftEpN</uri>
            </binding>
            <binding name="label">
                <literal>Data Subject Request</literal>
            </binding>
        </result>
        <result>
            <binding name="class">
                <uri>http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY</uri>
            </binding>
            <binding name="label">
                <literal>Communication Document</literal>
            </binding>
        </result>
        <result>
            <binding name="class">
                <uri>http://webprotege.stanford.edu/RBJ3sWyEdjzo3HjkcABim8C</uri>
            </binding>
            <binding name="label">
                <literal>Customer</literal>
            </binding>
        </result>
    </results>
</sparql>

2. Select Triples

Example request: Select triples (subjects, predicates and objects)

# SPARQL Query
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix owl: <http://www.w3.org/2002/07/owl#>

SELECT ?subject ?predicate ?object
WHERE {
  ?subject ?predicate ?object
}
LIMIT 3

Response: SPARQL 1.1 Query Results JSON format W3C standard (application/sparql-results+json) HTTP 200 OK

{
    "head": {
        "vars": [
            "subject",
            "predicate",
            "object"
        ]
    },
    "results": {
        "bindings": [
            {
                "subject": {
                    "type": "uri",
                    "value": "http://webprotege.stanford.edu/project/96Ytr9AQdNv8valtcgFhzp"
                },
                "predicate": {
                    "type": "uri",
                    "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
                },
                "object": {
                    "type": "uri",
                    "value": "http://www.w3.org/2002/07/owl#Ontology"
                }
            },
            {
                "subject": {
                    "type": "uri",
                    "value": "http://purl.org/dc/elements/1.1/description"
                },
                "predicate": {
                    "type": "uri",
                    "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
                },
                "object": {
                    "type": "uri",
                    "value": "http://www.w3.org/2002/07/owl#AnnotationProperty"
                }
            },
            {
                "subject": {
                    "type": "uri",
                    "value": "http://purl.org/dc/elements/1.1/source"
                },
                "predicate": {
                    "type": "uri",
                    "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
                },
                "object": {
                    "type": "uri",
                    "value": "http://www.w3.org/2002/07/owl#AnnotationProperty"
                }
            }
        ]
    }
}

Response: SPARQL Query Results XML format W3C standard (application/sparql-results+xml) HTTP 200 OK

<?xml version="1.0"?>
<sparql xmlns="http://www.w3.org/2005/sparql-results#">
    <head>
        <variable name="subject"/>
        <variable name="predicate"/>
        <variable name="object"/>
    </head>
    <results>
        <result>
            <binding name="subject">
                <uri>http://webprotege.stanford.edu/project/96Ytr9AQdNv8valtcgFhzp</uri>
            </binding>
            <binding name="predicate">
                <uri>http://www.w3.org/1999/02/22-rdf-syntax-ns#type</uri>
            </binding>
            <binding name="object">
                <uri>http://www.w3.org/2002/07/owl#Ontology</uri>
            </binding>
        </result>
        <result>
            <binding name="subject">
                <uri>http://purl.org/dc/elements/1.1/description</uri>
            </binding>
            <binding name="predicate">
                <uri>http://www.w3.org/1999/02/22-rdf-syntax-ns#type</uri>
            </binding>
            <binding name="object">
                <uri>http://www.w3.org/2002/07/owl#AnnotationProperty</uri>
            </binding>
        </result>
        <result>
            <binding name="subject">
                <uri>http://purl.org/dc/elements/1.1/source</uri>
            </binding>
            <binding name="predicate">
                <uri>http://www.w3.org/1999/02/22-rdf-syntax-ns#type</uri>
            </binding>
            <binding name="object">
                <uri>http://www.w3.org/2002/07/owl#AnnotationProperty</uri>
            </binding>
        </result>
    </results>
</sparql>

2. Get RDF Dataset

Overview

Get the contents of an entire RDF dataset (i.e. RDF/XML OWL ontology) managed by the OntoPop triplestore.

HTTP request methodGET
API endpoint/triplestore/ontologies/{id}/data/rdf

Path Variables

NameDescriptionExample
id (integer)ID of the ontology to retrieve.13

Request Body

Not applicable

Request Headers

KeyValueDescription
Acceptapplication/trig (default)RDF 1.1 TriG W3C standard
Acceptapplication/ld+jsonJSON-LD (JSON for Linking Data) W3C standard
Specification | JSON-LD
Acceptapplication/n-quadsRDF 1.1 N-Quads W3C standard
X-API-KeyIssued API KeySee API Authentication for further details

Response Headers

KeyDescriptionExample
x-ontopop-latest-git-webhook-idThe ID of the latest Git webhook that has been consumed and processed for this ontology.74

Responses

HTTP StatusDescriptionResponse Schema
200 OKRDF data successfully retrievedSee above for the supported W3C standard response formats.
401 UnauthorizedRetrieval of RDF data unauthorized.N/A
500 Internal Server ErrorInternal server error.N/A

Examples

1. RDF 1.1 TriG W3C Standard

Example response (HTTP 200 OK)

@prefix :           <http://webprotege.stanford.edu/project/96Ytr9AQdNv8valtcgFhzp#> .
@prefix dc:         <http://purl.org/dc/elements/1.1/> .
@prefix owl:        <http://www.w3.org/2002/07/owl#> .
@prefix rdf:        <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:       <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos:       <http://www.w3.org/2004/02/skos/core#> .
@prefix webprotege: <http://webprotege.stanford.edu/> .
@prefix xsd:        <http://www.w3.org/2001/XMLSchema#> .

<http://webprotege.stanford.edu/project/96Ytr9AQdNv8valtcgFhzp>
        rdf:type  owl:Ontology .

dc:description  rdf:type  owl:AnnotationProperty .

dc:source  rdf:type  owl:AnnotationProperty .

webprotege:R8AWk6f00nQhiAoDl6ujohI
        rdf:type         owl:AnnotationProperty ;
        rdfs:label       "Subdomain" ;
        skos:comment     "The list of existing Subdomains can be found in Project/Tags." ;
        skos:definition  "Annotation used to describe the Entities that compose a specific Subdomain." .

skos:comment  rdf:type   owl:AnnotationProperty ;
        skos:definition  "Annotation used to add more information about an Entity or Relationship" .

skos:definition  rdf:type  owl:AnnotationProperty ;
        skos:definition  "Annotation used to define the Entity or Relationship" .

...

webprotege:R9gQCoIaUSnc4BOBkLNOW0k
        rdf:type    rdfs:Datatype ;
        rdfs:label  "Options" .

...

webprotege:R15RMwxh0pmeZADFPUrcpM
        rdf:type            owl:ObjectProperty ;
        rdfs:label          "Instantiation of" ;
        rdfs:subPropertyOf  webprotege:R8zMIKp038MgC2umoxwzWBJ ;
        webprotege:RtMeQat8p1tL74b64dS2qs
                "Record" .

webprotege:R8zMIKp038MgC2umoxwzWBJ
        rdf:type            owl:ObjectProperty ;
        rdfs:label          "Properties" ;
        rdfs:subPropertyOf  owl:topObjectProperty ;
        skos:comment        "These Relationships are likely to become Attributes of Entities in Logical and Physical Models." ;
        skos:definition     "Characteristics intrinsically linked to the Entity." .

webprotege:R4I2v4Y7su3Adf0Vcj6TWd
        rdf:type            owl:ObjectProperty ;
        rdfs:label          "Proposed in" ;
        rdfs:subPropertyOf  webprotege:RD3fuHtzxeYkMf46qK7HAsD ;
        webprotege:RtMeQat8p1tL74b64dS2qs
                "Record" ;
        skos:definition     "Relationship used to specify the stage, document or place where an Entity is offered or suggested for consideration, acceptance, or action." .

...

webprotege:R0hGCuAkhsiBUbd7pftEpN
        rdf:type         owl:Class ;
        rdfs:label       "Data Subject Request" ;
        rdfs:subClassOf  webprotege:R0jI731hv09ZcJeji1fbtY ;
        rdfs:subClassOf  [ rdf:type            owl:Restriction ;
                           owl:onProperty      webprotege:RCptIcn975cERAVUlJOL7sV ;
                           owl:someValuesFrom  webprotege:RBJ3sWyEdjzo3HjkcABim8C
                         ] ;
        webprotege:RB4qRK0cMJE67o1Bc9MmGDD
                "FFC" ;
        skos:definition  "A request made by a Customer or their legal representative for their personal information under data protection legislation." .

webprotege:R0jI731hv09ZcJeji1fbtY
        rdf:type         owl:Class ;
        rdfs:label       "Communication Document" ;
        rdfs:subClassOf  webprotege:RDLUE0UQz6th3NduA1L3n3u ;
        rdfs:subClassOf  [ rdf:type            owl:Restriction ;
                           owl:onProperty      webprotege:RXaMAxdkuV5CvgEpovEVvp ;
                           owl:someValuesFrom  webprotege:RY4x5rU5jNH9YIcM63gBgJ
                         ] ;
        webprotege:RkKVruwOD8lCCdsbyX0lwY
                "Communications" ;
        skos:comment     "A communication will typically have the Licence Holder (Highways England) as one of the parties." ;
        skos:definition  "Document storing the information conveyed between two or more parties." .

webprotege:RBJ3sWyEdjzo3HjkcABim8C
        rdf:type         owl:Class ;
        rdfs:label       "Customer" ;
        rdfs:subClassOf  webprotege:RTyCIe0sZbCvkp6VVWaYGs ;
        rdfs:subClassOf  [ rdf:type            owl:Restriction ;
                           owl:onProperty      webprotege:R7V7p8sdl5TpSs0cd7gZvqr ;
                           owl:someValuesFrom  webprotege:RCOdkBizz0dWtRTEjZSfqP8
                         ] ;
        rdfs:subClassOf  [ rdf:type            owl:Restriction ;
                           owl:onProperty      webprotege:RBfzJ6HkijEIMSY3oKjcLay ;
                           owl:someValuesFrom  webprotege:R8b0L4wjItcKJ8kcMOeuHsF
                         ] ;
        rdfs:subClassOf  [ rdf:type            owl:Restriction ;
                           owl:onProperty      webprotege:RBfzJ6HkijEIMSY3oKjcLay ;
                           owl:someValuesFrom  webprotege:RBXuwksHoHfSvl9WI689HWb
                         ] ;
        rdfs:subClassOf  [ rdf:type            owl:Restriction ;
                           owl:onProperty      webprotege:RBfzJ6HkijEIMSY3oKjcLay ;
                           owl:someValuesFrom  webprotege:RCuUHUwF8sOhovt9F5cgPYA
                         ] ;
        rdfs:subClassOf  [ rdf:type            owl:Restriction ;
                           owl:onProperty      webprotege:RBfzJ6HkijEIMSY3oKjcLay ;
                           owl:someValuesFrom  webprotege:RGqbUUiG3LztL6ZF5nDRmT
                         ] ;
        rdfs:subClassOf  [ rdf:type            owl:Restriction ;
                           owl:onProperty      webprotege:RoaVc0YAiyET5nKJSYJAoX ;
                           owl:someValuesFrom  webprotege:RDXfAVuWRwr0N4TV6QEbADY
                         ] ;
        webprotege:R8AWk6f00nQhiAoDl6ujohI
                "NTIS FFC" ;
        webprotege:R8Zrr9RnWOq4DeZDzBOW2J4
                "Person Liable" ;
        webprotege:R9S1rcldeHXCMGJUZEkvaWJ
                "Road User, Bulletin subscriber" ;
        webprotege:RkKVruwOD8lCCdsbyX0lwY
                "Design Communications Plan Construct Operate Maintain" ;
        skos:comment     "If a person uses the road they are a customer" ;
        skos:definition  "Person that uses the Strategic Road Network Assets as a driver, passenger or non-motorised user; or lives beside Strategic Road Network Assets." .

...

2. JSON-LD W3C Standard

Example response (HTTP 200 OK)

{
    "@graph": [
        {
            "@id": "_:b0",
            "@type": "owl:Restriction",
            "onProperty": "webprotege:RCptIcn975cERAVUlJOL7sV",
            "someValuesFrom": "webprotege:RBJ3sWyEdjzo3HjkcABim8C"
        },
        {
            "@id": "_:b1",
            "@type": "owl:Restriction",
            "onProperty": "webprotege:RXaMAxdkuV5CvgEpovEVvp",
            "someValuesFrom": "webprotege:RY4x5rU5jNH9YIcM63gBgJ"
        },
        {
            "@id": "_:b10",
            "@type": "owl:Restriction",
            "onProperty": "webprotege:RC1zYYNqqFSlJxIKg4SdBTB",
            "someValuesFrom": "webprotege:R93SkoUnFXM1KEjUDb2Ij3n"
        }

        ...

        {
            "@id": "webprotege:R0hGCuAkhsiBUbd7pftEpN",
            "@type": "owl:Class",
            "RB4qRK0cMJE67o1Bc9MmGDD": "FFC",
            "label": "Data Subject Request",
            "subClassOf": [
                "webprotege:R0jI731hv09ZcJeji1fbtY",
                "_:b0"
            ],
            "definition": "A request made by a Customer or their legal representative for their personal information under data protection legislation."
        },
        {
            "@id": "webprotege:R0jI731hv09ZcJeji1fbtY",
            "@type": "owl:Class",
            "RkKVruwOD8lCCdsbyX0lwY": "Communications",
            "label": "Communication Document",
            "subClassOf": [
                "webprotege:RDLUE0UQz6th3NduA1L3n3u",
                "_:b1"
            ],
            "comment": "A communication will typically have the Licence Holder (Highways England) as one of the parties.",
            "definition": "Document storing the information conveyed between two or more parties."
        },
        {
            "@id": "webprotege:R0qk59fxFmgNbyUncZoU8M",
            "@type": "owl:Class",
            "RkKVruwOD8lCCdsbyX0lwY": "Maintain Plan",
            "label": "Programme",
            "subClassOf": [
                "webprotege:RTyCIe0sZbCvkp6VVWaYGs",
                "_:b13",
                "_:b14",
                "_:b15",
                "_:b16"
            ],
            "comment": "A strategic goal that is achieved through a number of projects.",
            "definition": "A collection of projects or tasks undertaken to realise a strategic goal.",
            "example": "Develop connectivity between London and Inverness."
        }

        ...

    ], 
    "@context": {
        "label": {
            "@id": "http://www.w3.org/2000/01/rdf-schema#label"
        },
        "comment": {
            "@id": "http://www.w3.org/2004/02/skos/core#comment"
        },
        "definition": {
            "@id": "http://www.w3.org/2004/02/skos/core#definition"
        },
        "RtMeQat8p1tL74b64dS2qs": {
            "@id": "http://webprotege.stanford.edu/RtMeQat8p1tL74b64dS2qs"
        },
        "subPropertyOf": {
            "@id": "http://www.w3.org/2000/01/rdf-schema#subPropertyOf",
            "@type": "@id"
        },
        "RB4qRK0cMJE67o1Bc9MmGDD": {
            "@id": "http://webprotege.stanford.edu/RB4qRK0cMJE67o1Bc9MmGDD"
        },
        "subClassOf": {
            "@id": "http://www.w3.org/2000/01/rdf-schema#subClassOf",
            "@type": "@id"
        },
        "RkKVruwOD8lCCdsbyX0lwY": {
            "@id": "http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY"
        },
        "R8AWk6f00nQhiAoDl6ujohI": {
            "@id": "http://webprotege.stanford.edu/R8AWk6f00nQhiAoDl6ujohI"
        },
        "R8Zrr9RnWOq4DeZDzBOW2J4": {
            "@id": "http://webprotege.stanford.edu/R8Zrr9RnWOq4DeZDzBOW2J4"
        },
        "R9S1rcldeHXCMGJUZEkvaWJ": {
            "@id": "http://webprotege.stanford.edu/R9S1rcldeHXCMGJUZEkvaWJ"
        },
        "example": {
            "@id": "http://www.w3.org/2004/02/skos/core#example"
        },
        "description": {
            "@id": "http://purl.org/dc/elements/1.1/description"
        },
        "onProperty": {
            "@id": "http://www.w3.org/2002/07/owl#onProperty",
            "@type": "@id"
        },
        "someValuesFrom": {
            "@id": "http://www.w3.org/2002/07/owl#someValuesFrom",
            "@type": "@id"
        },
        "@vocab": "http://webprotege.stanford.edu/project/96Ytr9AQdNv8valtcgFhzp#",
        "webprotege": "http://webprotege.stanford.edu/",
        "owl": "http://www.w3.org/2002/07/owl#",
        "xsd": "http://www.w3.org/2001/XMLSchema#",
        "skos": "http://www.w3.org/2004/02/skos/core#",
        "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
        "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
        "dc": "http://purl.org/dc/elements/1.1/"
    }
} 

3. RDF 1.1 N-Quads W3C Standard

Example response (HTTP 200 OK)

<http://webprotege.stanford.edu/project/96Ytr9AQdNv8valtcgFhzp> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Ontology> .
<http://purl.org/dc/elements/1.1/description> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AnnotationProperty> .
<http://purl.org/dc/elements/1.1/source> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AnnotationProperty> .
<http://webprotege.stanford.edu/R8AWk6f00nQhiAoDl6ujohI> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#AnnotationProperty> .
<http://webprotege.stanford.edu/R8AWk6f00nQhiAoDl6ujohI> <http://www.w3.org/2000/01/rdf-schema#label> "Subdomain" .
<http://webprotege.stanford.edu/R8AWk6f00nQhiAoDl6ujohI> <http://www.w3.org/2004/02/skos/core#comment> "The list of existing Subdomains can be found in Project/Tags." .
<http://webprotege.stanford.edu/R8AWk6f00nQhiAoDl6ujohI> <http://www.w3.org/2004/02/skos/core#definition> "Annotation used to describe the Entities that compose a specific Subdomain." .

...

<http://webprotege.stanford.edu/RuAatmiCENCkgAWQlDVsZC> <http://webprotege.stanford.edu/R8AWk6f00nQhiAoDl6ujohI> "Construction phase" .
<http://webprotege.stanford.edu/RuAatmiCENCkgAWQlDVsZC> <http://www.w3.org/2000/01/rdf-schema#label> "Final Account" .
<http://webprotege.stanford.edu/RuAatmiCENCkgAWQlDVsZC> <http://www.w3.org/2004/02/skos/core#definition> "The final financial statement of a Project." .
<http://webprotege.stanford.edu/RuAatmiCENCkgAWQlDVsZC> <http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY> "Finance Construct" .
<http://webprotege.stanford.edu/RuAatmiCENCkgAWQlDVsZC> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://webprotege.stanford.edu/R9stUOxlDBKRK0MNTXL6Rkp> .
<http://webprotege.stanford.edu/RuAatmiCENCkgAWQlDVsZC> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:Bd2a5c57fX2Dadb4X2D42c8X2D98eeX2Dfe66d76804d4 .
<http://webprotege.stanford.edu/RuAatmiCENCkgAWQlDVsZC> <http://www.w3.org/2000/01/rdf-schema#subClassOf> _:Bdc4cb737X2D3ed3X2D4c25X2Dabf0X2Dd9a08dc5e7f5 .
_:B2149b0f4X2D135dX2D4778X2Da525X2D0c8d8e4e6e58 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
_:B2149b0f4X2D135dX2D4778X2Da525X2D0c8d8e4e6e58 <http://www.w3.org/2002/07/owl#onProperty> <http://webprotege.stanford.edu/RCptIcn975cERAVUlJOL7sV> .
_:B2149b0f4X2D135dX2D4778X2Da525X2D0c8d8e4e6e58 <http://www.w3.org/2002/07/owl#someValuesFrom> <http://webprotege.stanford.edu/RBJ3sWyEdjzo3HjkcABim8C> .
_:Bb8f4ef2cX2Df00dX2D41fbX2Db132X2D4c789d7435c6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .

3. Get OWL RDF/XML

Overview

Get the contents of an entire W3C Web Ontology Language (OWL) ontology managed by the OntoPop triplestore in RDF/XML format.

HTTP request methodGET
API endpoint/triplestore/ontologies/{id}/data/owl

Path Variables

NameDescriptionExample
id (integer)ID of the ontology to retrieve.13

Request Parameters

NameDescriptionExample
gitWebhookId (long)Optional ID of a specific Git webhook in order to retrieve the RDF/XML contents of the OWL ontology at that historical point in time. If this request parameter is not provided, then the RDF/XML contents of the latest OWL ontology will be retrieved (optional). 98

Request Body

Not applicable

Request Headers

KeyValueDescription
X-API-KeyIssued API KeySee API Authentication for further details

Response Headers

KeyDescriptionExample
x-ontopop-latest-git-webhook-idThe ID of the latest Git webhook that has been consumed and processed for this ontology.74

Responses

HTTP StatusDescriptionResponse Schema
200 OKOWL data successfully retrieved.RDF/XML
401 UnauthorizedRetrieval of OWL data unauthorized.N/A
500 Internal Server ErrorInternal server error.N/A

Examples

W3C Web Ontology Language (OWL) RDF/XML

Example response (HTTP 200 OK)

<?xml version="1.0"?>
<rdf:RDF xmlns="http://webprotege.stanford.edu/project/96Ytr9AQdNv8valtcgFhzp#"
     xml:base="http://webprotege.stanford.edu/project/96Ytr9AQdNv8valtcgFhzp"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:owl="http://www.w3.org/2002/07/owl#"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:xml="http://www.w3.org/XML/1998/namespace"
     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
     xmlns:skos="http://www.w3.org/2004/02/skos/core#"
     xmlns:webprotege="http://webprotege.stanford.edu/">
    <owl:Ontology rdf:about="http://webprotege.stanford.edu/project/96Ytr9AQdNv8valtcgFhzp"/>

    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Annotation properties
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->

    <owl:AnnotationProperty rdf:about="http://purl.org/dc/elements/1.1/description"/>

    <!-- http://purl.org/dc/elements/1.1/source -->
    <owl:AnnotationProperty rdf:about="http://purl.org/dc/elements/1.1/source"/>

    <!-- http://webprotege.stanford.edu/R8AWk6f00nQhiAoDl6ujohI -->
    <owl:AnnotationProperty rdf:about="http://webprotege.stanford.edu/R8AWk6f00nQhiAoDl6ujohI">
        <rdfs:label>Subdomain</rdfs:label>
        <skos:comment>The list of existing Subdomains can be found in Project/Tags.</skos:comment>
        <skos:definition>Annotation used to describe the Entities that compose a specific Subdomain.</skos:definition>
    </owl:AnnotationProperty>

    <!-- http://webprotege.stanford.edu/R8OwNoGPHfALLALe5R3rm2H -->
    <owl:AnnotationProperty rdf:about="http://webprotege.stanford.edu/R8OwNoGPHfALLALe5R3rm2H">
        <rdfs:label>TODO</rdfs:label>
        <skos:definition>Annotation used to mark pending action to be done in the model.</skos:definition>
    </owl:AnnotationProperty>

    <!-- http://webprotege.stanford.edu/R8Zrr9RnWOq4DeZDzBOW2J4 -->
    <owl:AnnotationProperty rdf:about="http://webprotege.stanford.edu/R8Zrr9RnWOq4DeZDzBOW2J4">
        <rdfs:label>Synonym</rdfs:label>
        <skos:comment>The list of existing Synonyms can be found in Project/Tags.</skos:comment>
        <skos:definition>Annotation used to describe Synonyms of a specific Entity.</skos:definition>
    </owl:AnnotationProperty>

    <!-- http://webprotege.stanford.edu/R9S1rcldeHXCMGJUZEkvaWJ -->
    <owl:AnnotationProperty rdf:about="http://webprotege.stanford.edu/R9S1rcldeHXCMGJUZEkvaWJ">
        <rdfs:label>Type</rdfs:label>
        <skos:definition>Annotation used to describe the existing Types of an Entity.</skos:definition>
    </owl:AnnotationProperty>

    <!-- http://webprotege.stanford.edu/RB4qRK0cMJE67o1Bc9MmGDD -->
    <owl:AnnotationProperty rdf:about="http://webprotege.stanford.edu/RB4qRK0cMJE67o1Bc9MmGDD">
        <rdfs:label>Data Source</rdfs:label>
        <skos:comment>The list of existing Data Sources can be found in Project/Tags.</skos:comment>
        <skos:definition>Annotation used to describe the Entities present in a specific Data Source.</skos:definition>
    </owl:AnnotationProperty>

    <!-- http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY -->
    <owl:AnnotationProperty rdf:about="http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY">
        <rdfs:label>Business Area</rdfs:label>
        <skos:comment>The list of existing Business Areas can be found in Project/Tags.</skos:comment>
        <skos:definition>Annotation used to describe the Business Areas impacted by an Entity.</skos:definition>
    </owl:AnnotationProperty>

    <!-- http://webprotege.stanford.edu/RtMeQat8p1tL74b64dS2qs -->
    <owl:AnnotationProperty rdf:about="http://webprotege.stanford.edu/RtMeQat8p1tL74b64dS2qs">
        <rdfs:label>Relationship Type</rdfs:label>
        <skos:comment>The list of existing Relationship Type can be found in Project/Tags.</skos:comment>
        <skos:definition>Annotation used to describe the type of a Relationship in order to make its use more clear.</skos:definition>
    </owl:AnnotationProperty>

    ...

    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Datatypes
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->

    <!-- http://webprotege.stanford.edu/R9gQCoIaUSnc4BOBkLNOW0k -->
    <rdfs:Datatype rdf:about="http://webprotege.stanford.edu/R9gQCoIaUSnc4BOBkLNOW0k">
        <rdfs:label>Options</rdfs:label>
    </rdfs:Datatype>

    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Object Properties
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->

    <!-- http://webprotege.stanford.edu/R15RMwxh0pmeZADFPUrcpM -->
    <owl:ObjectProperty rdf:about="http://webprotege.stanford.edu/R15RMwxh0pmeZADFPUrcpM">
        <rdfs:subPropertyOf rdf:resource="http://webprotege.stanford.edu/R8zMIKp038MgC2umoxwzWBJ"/>
        <webprotege:RtMeQat8p1tL74b64dS2qs>Record</webprotege:RtMeQat8p1tL74b64dS2qs>
        <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Instantiation of</rdfs:label>
    </owl:ObjectProperty>

    <!-- http://webprotege.stanford.edu/R4I2v4Y7su3Adf0Vcj6TWd -->
    <owl:ObjectProperty rdf:about="http://webprotege.stanford.edu/R4I2v4Y7su3Adf0Vcj6TWd">
        <rdfs:subPropertyOf rdf:resource="http://webprotege.stanford.edu/RD3fuHtzxeYkMf46qK7HAsD"/>
        <webprotege:RtMeQat8p1tL74b64dS2qs>Record</webprotege:RtMeQat8p1tL74b64dS2qs>
        <rdfs:label>Proposed in</rdfs:label>
        <skos:definition>Relationship used to specify the stage, document or place where an Entity is offered or suggested for consideration, acceptance, or action.</skos:definition>
    </owl:ObjectProperty>

    <!-- http://webprotege.stanford.edu/R5RtyDq66TW7a4WxGVqSku -->
    <owl:ObjectProperty rdf:about="http://webprotege.stanford.edu/R5RtyDq66TW7a4WxGVqSku">
        <rdfs:subPropertyOf rdf:resource="http://webprotege.stanford.edu/R8zMIKp038MgC2umoxwzWBJ"/>
        <rdfs:label>Held by</rdfs:label>
    </owl:ObjectProperty>

    ...

    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Classes
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->

    <!-- http://webprotege.stanford.edu/R0hGCuAkhsiBUbd7pftEpN -->
    <owl:Class rdf:about="http://webprotege.stanford.edu/R0hGCuAkhsiBUbd7pftEpN">
        <rdfs:subClassOf rdf:resource="http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY"/>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="http://webprotege.stanford.edu/RCptIcn975cERAVUlJOL7sV"/>
                <owl:someValuesFrom rdf:resource="http://webprotege.stanford.edu/RBJ3sWyEdjzo3HjkcABim8C"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <webprotege:RB4qRK0cMJE67o1Bc9MmGDD rdf:datatype="http://www.w3.org/2001/XMLSchema#string">FFC</webprotege:RB4qRK0cMJE67o1Bc9MmGDD>
        <rdfs:label>Data Subject Request</rdfs:label>
        <skos:definition rdf:datatype="http://www.w3.org/2001/XMLSchema#string">A request made by a Customer or their legal representative for their personal information under data protection legislation.</skos:definition>
    </owl:Class>

    <!-- http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY -->
    <owl:Class rdf:about="http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY">
        <rdfs:subClassOf rdf:resource="http://webprotege.stanford.edu/RDLUE0UQz6th3NduA1L3n3u"/>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="http://webprotege.stanford.edu/RXaMAxdkuV5CvgEpovEVvp"/>
                <owl:someValuesFrom rdf:resource="http://webprotege.stanford.edu/RY4x5rU5jNH9YIcM63gBgJ"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <webprotege:RkKVruwOD8lCCdsbyX0lwY>Communications</webprotege:RkKVruwOD8lCCdsbyX0lwY>
        <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Communication Document</rdfs:label>
        <skos:comment>A communication will typically have the Licence Holder (Highways England) as one of the parties.</skos:comment>
        <skos:definition rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Document storing the information conveyed between two or more parties.</skos:definition>
    </owl:Class>

    <!-- http://webprotege.stanford.edu/R0qk59fxFmgNbyUncZoU8M -->
    <owl:Class rdf:about="http://webprotege.stanford.edu/R0qk59fxFmgNbyUncZoU8M">
        <rdfs:subClassOf rdf:resource="http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs"/>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="http://webprotege.stanford.edu/RBXkLIHl4DLxgRus9nf68fU"/>
                <owl:someValuesFrom rdf:resource="http://webprotege.stanford.edu/R8QQzkUbCD5WRXDQQSl0vX8"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="http://webprotege.stanford.edu/RBfzJ6HkijEIMSY3oKjcLay"/>
                <owl:someValuesFrom rdf:resource="http://webprotege.stanford.edu/R1CEYmOdNWhDr4n2yz9Lzf"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="http://webprotege.stanford.edu/RC1zYYNqqFSlJxIKg4SdBTB"/>
                <owl:someValuesFrom rdf:resource="http://webprotege.stanford.edu/RCCNbe0sG8e3ngkdoP9cSl6"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="http://webprotege.stanford.edu/RC1zYYNqqFSlJxIKg4SdBTB"/>
                <owl:someValuesFrom rdf:resource="http://webprotege.stanford.edu/RCxwL4b8LCMbVkVPEbOn78g"/>
            </owl:Restriction>
        </rdfs:subClassOf>
        <webprotege:RkKVruwOD8lCCdsbyX0lwY>Maintain Plan</webprotege:RkKVruwOD8lCCdsbyX0lwY>
        <rdfs:label>Programme</rdfs:label>
        <skos:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string">A strategic goal that is achieved through a number of projects.</skos:comment>
        <skos:definition rdf:datatype="http://www.w3.org/2001/XMLSchema#string">A collection of projects or tasks undertaken to realise a strategic goal.</skos:definition>
        <skos:example rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Develop connectivity between London and Inverness.</skos:example>
    </owl:Class>

    ...

</rdf:RDF>

4. Get Temporal Diff

Overview

Perform a temporal diff of an W3C Web Ontology Language (OWL) ontology in RDF/XML format given a timestamp (UTC) or Git webhook ID.

If a timestamp is provided (as a request parameter), then this diff works by identifying the latest Git webhook consumed before the requested timestamp and then identifies the latest Git webhook consumed after the requested timestamp (if available).

If a Git webhook ID is provided (as a request parameter), then this diff works by identifying the ID of the latest Git webhook that has been consumed for the given ontology and compares it to the provided Git webhook ID.

In both cases, if these Git webhooks are different then the RDF/XML representation of the respective OWL ontology versions are compared and relevant (C)reate, (U)pdate and (D)elete objects returned in JSON format including the original pre- and/or post- RDF XML nodes.

HTTP request methodGET
API endpoint/triplestore/ontologies/{id}/diff/temporal

Path Variables

NameDescriptionExample
id (integer)ID of the ontology to query.13

Request Parameters

Either timestamp or gitWebhookId must be provided as a request parameter, not both. If both are provided, then timestamp will be processed and gitWebhookId will be ignored.

NameDescriptionExample
timestamp (string) *The timestamp to use for processing the temporal diff (* required if a Git webhook ID has not been provided as a request parameter). This timestamp must use the UTC time zone and be in the following format:

yyyy-MM-dd HH:mm:ss

Client applications will typically provide the timestamp at which they originally consumed an ontology (via one of the other Triplestore API endpoints described in this page) in order to check for any changes to the ontology since the time of original consumption.
2022-03-09 11:10:30
gitWebhookId (long) *A Git webhook ID (* required if a timestamp has not been provided as a request parameter).

Client applications will typically provide the Git webhook ID returned in the response header when they originally consumed an ontology (via one of the other Triplestore API endpoints described in this page) in order to check for any changes to the ontology since the time of original consumption.
71

Request Body

Not applicable

Request Headers

KeyValueDescription
X-API-KeyIssued API KeySee API Authentication for further details

Responses

HTTP StatusDescriptionResponse Schema
200 OKOntological temporal diff successfully processed.SimpleOntologyTimestampDiff.class
400 Bad RequestInvalid timestamp.N/A
401 UnauthorizedOntological temporal diff operation unauthorized.N/A
500 Internal Server ErrorInternal server error.N/A

Examples

1. No updates found

Scenario: Only one (1) Git webhook has been consumed and processed for the given ontology hence there are no updates.

Response HTTP 200 OK

{
    "requestedTimestamp": "2022-03-09 10:24:00",
    "latestGitWebhookIdBeforeRequestedTimestamp": 70,
    "latestGitWebhookTimestampBeforeRequestedTimestamp": "2022-03-09 09:54:16",
    "latestGitWebhookIdAfterRequestedTimestamp": 70,
    "latestGitWebhookTimestampAfterRequestedTimestamp": "2022-03-09 09:54:16",
    "changesExist": false,
    "ontologyId": 69,
    "diff": null
}

2. No updates found

Scenario: Multiple Git webhooks have been consumed and processed for the given ontology, but no updates are found (because, for example, the only changes that have been made are comments in the RDF/XML OWL file).

Response HTTP 200 OK

{
    "requestedTimestamp": "2022-03-09 10:24:00",
    "latestGitWebhookIdBeforeRequestedTimestamp": 70,
    "latestGitWebhookTimestampBeforeRequestedTimestamp": "2022-03-09 09:54:16",
    "latestGitWebhookIdAfterRequestedTimestamp": 73,
    "latestGitWebhookTimestampAfterRequestedTimestamp": "2022-03-09 11:09:46",
    "changesExist": false,
    "ontologyId": 69,
    "diff": {
        "createdAnnotationProperties": [],
        "updatedAnnotationProperties": [],
        "deletedAnnotationProperties": [],
        "createdObjectProperties": [],
        "updatedObjectProperties": [],
        "deletedObjectProperties": [],
        "createdClasses": [],
        "updatedClasses": [],
        "deletedClasses": []
    }
}

3. Updates found

Scenario: Multiple Git webhooks have been consumed and processed for the given ontology, and (C)reate, (U)pdate and (D)elete changes have been found.

Response HTTP 200 OK

{
    "requestedTimestamp": "2022-03-09 11:10:00",
    "latestGitWebhookIdBeforeRequestedTimestamp": 73,
    "latestGitWebhookTimestampBeforeRequestedTimestamp": "2022-03-09 11:09:46",
    "latestGitWebhookIdAfterRequestedTimestamp": 74,
    "latestGitWebhookTimestampAfterRequestedTimestamp": "2022-03-09 11:52:43",
    "changesExist": true,
    "ontologyId": 69,
    "diff": {
        "createdAnnotationProperties": [
            {
                "before": null,
                "beforeXml": null,
                "after": {
                    "iri": "http://webprotege.stanford.edu/AP123456789",
                    "label": "CREATED Annotation Property Label",
                    "annotations": {
                        "http://www.w3.org/2000/01/rdf-schema#label": "CREATED Annotation Property Label",
                        "http://www.w3.org/2004/02/skos/core#definition": "CREATED Annotation Property SKOS Description."
                    }
                },
                "afterXml": "<owl:AnnotationProperty rdf:about=\"http://webprotege.stanford.edu/AP123456789\"><rdfs:label>CREATED Annotation Property Label</rdfs:label><skos:definition>CREATED Annotation Property SKOS Description.</skos:definition></owl:AnnotationProperty>"
            }
        ],
        "updatedAnnotationProperties": [
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R8AWk6f00nQhiAoDl6ujohI",
                    "label": "Subdomain",
                    "annotations": {
                        "http://www.w3.org/2000/01/rdf-schema#label": "Subdomain",
                        "http://www.w3.org/2004/02/skos/core#comment": "The list of existing Subdomains can be found in Project/Tags.",
                        "http://www.w3.org/2004/02/skos/core#definition": "Annotation used to describe the Entities that compose a specific Subdomain."
                    }
                },
                "beforeXml": "<owl:AnnotationProperty rdf:about=\"http://webprotege.stanford.edu/R8AWk6f00nQhiAoDl6ujohI\"><rdfs:label>Subdomain</rdfs:label><skos:comment>The list of existing Subdomains can be found in Project/Tags.</skos:comment><skos:definition>Annotation used to describe the Entities that compose a specific Subdomain.</skos:definition></owl:AnnotationProperty>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/R8AWk6f00nQhiAoDl6ujohI",
                    "label": "Subdomain UPDATED Annotation Property",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#comment": "The list of existing Subdomains can be found in Project/Tags.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Subdomain UPDATED Annotation Property",
                        "http://www.w3.org/2004/02/skos/core#definition": "Annotation used to describe the Entities that compose a specific Subdomain."
                    }
                },
                "afterXml": "<owl:AnnotationProperty rdf:about=\"http://webprotege.stanford.edu/R8AWk6f00nQhiAoDl6ujohI\"><rdfs:label>Subdomain UPDATED Annotation Property</rdfs:label><skos:comment>The list of existing Subdomains can be found in Project/Tags.</skos:comment><skos:definition>Annotation used to describe the Entities that compose a specific Subdomain.</skos:definition></owl:AnnotationProperty>"
            },
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R8Zrr9RnWOq4DeZDzBOW2J4",
                    "label": "Synonym",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#definition": "Annotation used to describe Synonyms of a specific Entity.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Synonym",
                        "http://www.w3.org/2004/02/skos/core#comment": "The list of existing Synonyms can be found in Project/Tags."
                    }
                },
                "beforeXml": "<owl:AnnotationProperty rdf:about=\"http://webprotege.stanford.edu/R8Zrr9RnWOq4DeZDzBOW2J4\"><rdfs:label>Synonym</rdfs:label><skos:comment>The list of existing Synonyms can be found in Project/Tags.</skos:comment><skos:definition>Annotation used to describe Synonyms of a specific Entity.</skos:definition></owl:AnnotationProperty>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/R8Zrr9RnWOq4DeZDzBOW2J4",
                    "label": "Synonym",
                    "annotations": {
                        "http://www.w3.org/2000/01/rdf-schema#label": "Synonym",
                        "http://www.w3.org/2004/02/skos/core#comment": "The list of existing Synonyms can be found in Project/Tags UPDATED Annotation Property.",
                        "http://www.w3.org/2004/02/skos/core#definition": "Annotation used to describe Synonyms of a specific Entity."
                    }
                },
                "afterXml": "<owl:AnnotationProperty rdf:about=\"http://webprotege.stanford.edu/R8Zrr9RnWOq4DeZDzBOW2J4\"><rdfs:label>Synonym</rdfs:label><skos:comment>The list of existing Synonyms can be found in Project/Tags UPDATED Annotation Property.</skos:comment><skos:definition>Annotation used to describe Synonyms of a specific Entity.</skos:definition></owl:AnnotationProperty>"
            },
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/RB4qRK0cMJE67o1Bc9MmGDD",
                    "label": "Data Source",
                    "annotations": {
                        "http://www.w3.org/2000/01/rdf-schema#label": "Data Source",
                        "http://www.w3.org/2004/02/skos/core#definition": "Annotation used to describe the Entities present in a specific Data Source.",
                        "http://www.w3.org/2004/02/skos/core#comment": "The list of existing Data Sources can be found in Project/Tags."
                    }
                },
                "beforeXml": "<owl:AnnotationProperty rdf:about=\"http://webprotege.stanford.edu/RB4qRK0cMJE67o1Bc9MmGDD\"><rdfs:label>Data Source</rdfs:label><skos:comment>The list of existing Data Sources can be found in Project/Tags.</skos:comment><skos:definition>Annotation used to describe the Entities present in a specific Data Source.</skos:definition></owl:AnnotationProperty>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/RB4qRK0cMJE67o1Bc9MmGDD",
                    "label": "Data Source",
                    "annotations": {
                        "http://www.w3.org/2000/01/rdf-schema#label": "Data Source",
                        "http://www.w3.org/2004/02/skos/core#definition": "Annotation used to describe the Entities present in a specific Data Source UPDATED Annotation Property.",
                        "http://www.w3.org/2004/02/skos/core#comment": "The list of existing Data Sources can be found in Project/Tags."
                    }
                },
                "afterXml": "<owl:AnnotationProperty rdf:about=\"http://webprotege.stanford.edu/RB4qRK0cMJE67o1Bc9MmGDD\"><rdfs:label>Data Source</rdfs:label><skos:comment>The list of existing Data Sources can be found in Project/Tags.</skos:comment><skos:definition>Annotation used to describe the Entities present in a specific Data Source UPDATED Annotation Property.</skos:definition></owl:AnnotationProperty>"
            }
        ],
        "deletedAnnotationProperties": [
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R8OwNoGPHfALLALe5R3rm2H",
                    "label": "TODO",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#definition": "Annotation used to mark pending action to be done in the model.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "TODO"
                    }
                },
                "beforeXml": "<owl:AnnotationProperty rdf:about=\"http://webprotege.stanford.edu/R8OwNoGPHfALLALe5R3rm2H\"><rdfs:label>TODO</rdfs:label><skos:definition>Annotation used to mark pending action to be done in the model.</skos:definition></owl:AnnotationProperty>",
                "after": null,
                "afterXml": null
            }
        ],
        "createdObjectProperties": [
            {
                "before": null,
                "beforeXml": null,
                "after": {
                    "iri": "http://webprotege.stanford.edu/OP123456789",
                    "label": "Held by CREATED Object Property",
                    "annotations": {
                        "http://www.w3.org/2000/01/rdf-schema#label": "Held by CREATED Object Property"
                    },
                    "parentObjectPropertyIRI": "http://webprotege.stanford.edu/R8zMIKp038MgC2umoxwzWBJ"
                },
                "afterXml": "<owl:ObjectProperty rdf:about=\"http://webprotege.stanford.edu/OP123456789\"><rdfs:subPropertyOf rdf:resource=\"http://webprotege.stanford.edu/R8zMIKp038MgC2umoxwzWBJ\"/><rdfs:label>Held by CREATED Object Property</rdfs:label></owl:ObjectProperty>"
            }
        ],
        "updatedObjectProperties": [
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R15RMwxh0pmeZADFPUrcpM",
                    "label": "Instantiation of",
                    "annotations": {
                        "http://webprotege.stanford.edu/RtMeQat8p1tL74b64dS2qs": "Record",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Instantiation of"
                    },
                    "parentObjectPropertyIRI": "http://webprotege.stanford.edu/R8zMIKp038MgC2umoxwzWBJ"
                },
                "beforeXml": "<owl:ObjectProperty rdf:about=\"http://webprotege.stanford.edu/R15RMwxh0pmeZADFPUrcpM\"><rdfs:subPropertyOf rdf:resource=\"http://webprotege.stanford.edu/R8zMIKp038MgC2umoxwzWBJ\"/><webprotege:RtMeQat8p1tL74b64dS2qs>Record</webprotege:RtMeQat8p1tL74b64dS2qs><rdfs:label rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Instantiation of</rdfs:label></owl:ObjectProperty>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/R15RMwxh0pmeZADFPUrcpM",
                    "label": "Instantiation of",
                    "annotations": {
                        "http://webprotege.stanford.edu/RtMeQat8p1tL74b64dS2qs": "Record UPDATED Object Property",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Instantiation of"
                    },
                    "parentObjectPropertyIRI": "http://webprotege.stanford.edu/R8zMIKp038MgC2umoxwzWBJ"
                },
                "afterXml": "<owl:ObjectProperty rdf:about=\"http://webprotege.stanford.edu/R15RMwxh0pmeZADFPUrcpM\"><rdfs:subPropertyOf rdf:resource=\"http://webprotege.stanford.edu/R8zMIKp038MgC2umoxwzWBJ\"/><webprotege:RtMeQat8p1tL74b64dS2qs>Record UPDATED Object Property</webprotege:RtMeQat8p1tL74b64dS2qs><rdfs:label rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Instantiation of</rdfs:label></owl:ObjectProperty>"
            },
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R5u6iRwByXm7q6dOcaVRk8",
                    "label": "Selected in",
                    "annotations": {
                        "http://www.w3.org/2000/01/rdf-schema#label": "Selected in",
                        "http://webprotege.stanford.edu/RtMeQat8p1tL74b64dS2qs": "Causality",
                        "http://www.w3.org/2004/02/skos/core#definition": "Relationship that specifies when or where another Entity has been chosen."
                    },
                    "parentObjectPropertyIRI": "http://webprotege.stanford.edu/RD3fuHtzxeYkMf46qK7HAsD"
                },
                "beforeXml": "<owl:ObjectProperty rdf:about=\"http://webprotege.stanford.edu/R5u6iRwByXm7q6dOcaVRk8\"><rdfs:subPropertyOf rdf:resource=\"http://webprotege.stanford.edu/RD3fuHtzxeYkMf46qK7HAsD\"/><webprotege:RtMeQat8p1tL74b64dS2qs>Causality</webprotege:RtMeQat8p1tL74b64dS2qs><rdfs:label>Selected in</rdfs:label><skos:definition>Relationship that specifies when or where another Entity has been chosen.</skos:definition></owl:ObjectProperty>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/R5u6iRwByXm7q6dOcaVRk8",
                    "label": "Selected in",
                    "annotations": {
                        "http://webprotege.stanford.edu/RtMeQat8p1tL74b64dS2qs": "Causality",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Selected in",
                        "http://www.w3.org/2004/02/skos/core#definition": "Relationship that specifies when or where another Entity has been chosen UPDATED Object Property."
                    },
                    "parentObjectPropertyIRI": "http://webprotege.stanford.edu/RD3fuHtzxeYkMf46qK7HAsD"
                },
                "afterXml": "<owl:ObjectProperty rdf:about=\"http://webprotege.stanford.edu/R5u6iRwByXm7q6dOcaVRk8\"><rdfs:subPropertyOf rdf:resource=\"http://webprotege.stanford.edu/RD3fuHtzxeYkMf46qK7HAsD\"/><webprotege:RtMeQat8p1tL74b64dS2qs>Causality</webprotege:RtMeQat8p1tL74b64dS2qs><rdfs:label>Selected in</rdfs:label><skos:definition>Relationship that specifies when or where another Entity has been chosen UPDATED Object Property.</skos:definition></owl:ObjectProperty>"
            }
        ],
        "deletedObjectProperties": [
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R4I2v4Y7su3Adf0Vcj6TWd",
                    "label": "Proposed in",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#definition": "Relationship used to specify the stage, document or place where an Entity is offered or suggested for consideration, acceptance, or action.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Proposed in",
                        "http://webprotege.stanford.edu/RtMeQat8p1tL74b64dS2qs": "Record"
                    },
                    "parentObjectPropertyIRI": "http://webprotege.stanford.edu/RD3fuHtzxeYkMf46qK7HAsD"
                },
                "beforeXml": "<owl:ObjectProperty rdf:about=\"http://webprotege.stanford.edu/R4I2v4Y7su3Adf0Vcj6TWd\"><rdfs:subPropertyOf rdf:resource=\"http://webprotege.stanford.edu/RD3fuHtzxeYkMf46qK7HAsD\"/><webprotege:RtMeQat8p1tL74b64dS2qs>Record</webprotege:RtMeQat8p1tL74b64dS2qs><rdfs:label>Proposed in</rdfs:label><skos:definition>Relationship used to specify the stage, document or place where an Entity is offered or suggested for consideration, acceptance, or action.</skos:definition></owl:ObjectProperty>",
                "after": null,
                "afterXml": null
            }
        ],
        "createdClasses": [
            {
                "before": null,
                "beforeXml": null,
                "after": {
                    "iri": "http://webprotege.stanford.edu/C123456789",
                    "label": "Created Class 1",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#definition": "Created Class definition ",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Created Class 1"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs": null
                    }
                },
                "afterXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/C123456789\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs\"/><rdfs:label>Created Class 1</rdfs:label><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Created Class definition </skos:definition></owl:Class>"
            }
        ],
        "updatedClasses": [
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R0hGCuAkhsiBUbd7pftEpN",
                    "label": "Data Subject Request",
                    "annotations": {
                        "http://www.w3.org/2000/01/rdf-schema#label": "Data Subject Request",
                        "http://www.w3.org/2004/02/skos/core#definition": "A request made by a Customer or their legal representative for their personal information under data protection legislation.",
                        "http://webprotege.stanford.edu/RB4qRK0cMJE67o1Bc9MmGDD": "FFC"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY": null,
                        "http://webprotege.stanford.edu/RBJ3sWyEdjzo3HjkcABim8C": "http://webprotege.stanford.edu/RCptIcn975cERAVUlJOL7sV"
                    }
                },
                "beforeXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/R0hGCuAkhsiBUbd7pftEpN\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RCptIcn975cERAVUlJOL7sV\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RBJ3sWyEdjzo3HjkcABim8C\"/></owl:Restriction></rdfs:subClassOf><webprotege:RB4qRK0cMJE67o1Bc9MmGDD rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">FFC</webprotege:RB4qRK0cMJE67o1Bc9MmGDD><rdfs:label>Data Subject Request</rdfs:label><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">A request made by a Customer or their legal representative for their personal information under data protection legislation.</skos:definition></owl:Class>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/R0hGCuAkhsiBUbd7pftEpN",
                    "label": "Data Subject Request",
                    "annotations": {
                        "http://webprotege.stanford.edu/RB4qRK0cMJE67o1Bc9MmGDD": "FFC UPDATED Class",
                        "http://www.w3.org/2004/02/skos/core#definition": "A request made by a Customer or their legal representative for their personal information under data protection legislation.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Data Subject Request"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY": null,
                        "http://webprotege.stanford.edu/RBJ3sWyEdjzo3HjkcABim8C": "http://webprotege.stanford.edu/RCptIcn975cERAVUlJOL7sV"
                    }
                },
                "afterXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/R0hGCuAkhsiBUbd7pftEpN\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RCptIcn975cERAVUlJOL7sV\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RBJ3sWyEdjzo3HjkcABim8C\"/></owl:Restriction></rdfs:subClassOf><webprotege:RB4qRK0cMJE67o1Bc9MmGDD rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">FFC UPDATED Class</webprotege:RB4qRK0cMJE67o1Bc9MmGDD><rdfs:label>Data Subject Request</rdfs:label><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">A request made by a Customer or their legal representative for their personal information under data protection legislation.</skos:definition></owl:Class>"
            },
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY",
                    "label": "Communication Document",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#comment": "A communication will typically have the Licence Holder (Highways England) as one of the parties.",
                        "http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY": "Communications",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Communication Document",
                        "http://www.w3.org/2004/02/skos/core#definition": "Document storing the information conveyed between two or more parties."
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/RY4x5rU5jNH9YIcM63gBgJ": "http://webprotege.stanford.edu/RXaMAxdkuV5CvgEpovEVvp",
                        "http://webprotege.stanford.edu/RDLUE0UQz6th3NduA1L3n3u": null
                    }
                },
                "beforeXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/RDLUE0UQz6th3NduA1L3n3u\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RXaMAxdkuV5CvgEpovEVvp\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RY4x5rU5jNH9YIcM63gBgJ\"/></owl:Restriction></rdfs:subClassOf><webprotege:RkKVruwOD8lCCdsbyX0lwY>Communications</webprotege:RkKVruwOD8lCCdsbyX0lwY><rdfs:label rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Communication Document</rdfs:label><skos:comment>A communication will typically have the Licence Holder (Highways England) as one of the parties.</skos:comment><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Document storing the information conveyed between two or more parties.</skos:definition></owl:Class>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY",
                    "label": "Communication Document UPDATED Class",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#comment": "A communication will typically have the Licence Holder (Highways England) as one of the parties.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Communication Document UPDATED Class",
                        "http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY": "Communications",
                        "http://www.w3.org/2004/02/skos/core#definition": "Document storing the information conveyed between two or more parties."
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/RY4x5rU5jNH9YIcM63gBgJ": "http://webprotege.stanford.edu/RXaMAxdkuV5CvgEpovEVvp",
                        "http://webprotege.stanford.edu/RDLUE0UQz6th3NduA1L3n3u": null
                    }
                },
                "afterXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/RDLUE0UQz6th3NduA1L3n3u\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RXaMAxdkuV5CvgEpovEVvp\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RY4x5rU5jNH9YIcM63gBgJ\"/></owl:Restriction></rdfs:subClassOf><webprotege:RkKVruwOD8lCCdsbyX0lwY>Communications</webprotege:RkKVruwOD8lCCdsbyX0lwY><rdfs:label rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Communication Document UPDATED Class</rdfs:label><skos:comment>A communication will typically have the Licence Holder (Highways England) as one of the parties.</skos:comment><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Document storing the information conveyed between two or more parties.</skos:definition></owl:Class>"
            },
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R0qk59fxFmgNbyUncZoU8M",
                    "label": "Programme",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#example": "Develop connectivity between London and Inverness.",
                        "http://www.w3.org/2004/02/skos/core#definition": "A collection of projects or tasks undertaken to realise a strategic goal.",
                        "http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY": "Maintain Plan",
                        "http://www.w3.org/2004/02/skos/core#comment": "A strategic goal that is achieved through a number of projects.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Programme"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/RCxwL4b8LCMbVkVPEbOn78g": "http://webprotege.stanford.edu/RC1zYYNqqFSlJxIKg4SdBTB",
                        "http://webprotege.stanford.edu/RCCNbe0sG8e3ngkdoP9cSl6": "http://webprotege.stanford.edu/RC1zYYNqqFSlJxIKg4SdBTB",
                        "http://webprotege.stanford.edu/R1CEYmOdNWhDr4n2yz9Lzf": "http://webprotege.stanford.edu/RBfzJ6HkijEIMSY3oKjcLay",
                        "http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs": null,
                        "http://webprotege.stanford.edu/R8QQzkUbCD5WRXDQQSl0vX8": "http://webprotege.stanford.edu/RBXkLIHl4DLxgRus9nf68fU"
                    }
                },
                "beforeXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/R0qk59fxFmgNbyUncZoU8M\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RBXkLIHl4DLxgRus9nf68fU\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/R8QQzkUbCD5WRXDQQSl0vX8\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RBfzJ6HkijEIMSY3oKjcLay\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/R1CEYmOdNWhDr4n2yz9Lzf\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RC1zYYNqqFSlJxIKg4SdBTB\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RCCNbe0sG8e3ngkdoP9cSl6\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RC1zYYNqqFSlJxIKg4SdBTB\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RCxwL4b8LCMbVkVPEbOn78g\"/></owl:Restriction></rdfs:subClassOf><webprotege:RkKVruwOD8lCCdsbyX0lwY>Maintain Plan</webprotege:RkKVruwOD8lCCdsbyX0lwY><rdfs:label>Programme</rdfs:label><skos:comment rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">A strategic goal that is achieved through a number of projects.</skos:comment><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">A collection of projects or tasks undertaken to realise a strategic goal.</skos:definition><skos:example rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Develop connectivity between London and Inverness.</skos:example></owl:Class>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/R0qk59fxFmgNbyUncZoU8M",
                    "label": "Programme",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#definition": "A collection of projects or tasks undertaken to realise a strategic goal.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Programme",
                        "http://www.w3.org/2004/02/skos/core#comment": "A strategic goal that is achieved through a number of projects.",
                        "http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY": "Maintain Plan",
                        "http://www.w3.org/2004/02/skos/core#example": "Develop connectivity between London and Inverness UPDATED CLASS."
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/RCCNbe0sG8e3ngkdoP9cSl6": "http://webprotege.stanford.edu/RC1zYYNqqFSlJxIKg4SdBTB",
                        "http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs": null,
                        "http://webprotege.stanford.edu/R1CEYmOdNWhDr4n2yz9Lzf": "http://webprotege.stanford.edu/RBfzJ6HkijEIMSY3oKjcLay",
                        "http://webprotege.stanford.edu/RCxwL4b8LCMbVkVPEbOn78g": "http://webprotege.stanford.edu/RC1zYYNqqFSlJxIKg4SdBTB",
                        "http://webprotege.stanford.edu/R8QQzkUbCD5WRXDQQSl0vX8": "http://webprotege.stanford.edu/RBXkLIHl4DLxgRus9nf68fU"
                    }
                },
                "afterXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/R0qk59fxFmgNbyUncZoU8M\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RBXkLIHl4DLxgRus9nf68fU\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/R8QQzkUbCD5WRXDQQSl0vX8\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RBfzJ6HkijEIMSY3oKjcLay\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/R1CEYmOdNWhDr4n2yz9Lzf\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RC1zYYNqqFSlJxIKg4SdBTB\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RCCNbe0sG8e3ngkdoP9cSl6\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RC1zYYNqqFSlJxIKg4SdBTB\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RCxwL4b8LCMbVkVPEbOn78g\"/></owl:Restriction></rdfs:subClassOf><webprotege:RkKVruwOD8lCCdsbyX0lwY>Maintain Plan</webprotege:RkKVruwOD8lCCdsbyX0lwY><rdfs:label>Programme</rdfs:label><skos:comment rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">A strategic goal that is achieved through a number of projects.</skos:comment><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">A collection of projects or tasks undertaken to realise a strategic goal.</skos:definition><skos:example rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Develop connectivity between London and Inverness UPDATED CLASS.</skos:example></owl:Class>"
            },
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R2mI7fMFtIsSHM8bOfJoEk",
                    "label": "Capacity",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#definition": "The maximum number of vehicles that can be present on a Link or section of the Network.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Capacity",
                        "http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY": "Plan Operate"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/RJ4FstTjtD6dNQx4agULMp": "http://webprotege.stanford.edu/RC0fF4cbTcg59fvYtEu1FF0",
                        "http://webprotege.stanford.edu/Rr60siMdu9IEvdag4DhF7M": null,
                        "http://webprotege.stanford.edu/RJVpffoomVWohIDaJCykd9": "http://webprotege.stanford.edu/R8fzvBl85R2Nc2SqsikiKp9"
                    }
                },
                "beforeXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/R2mI7fMFtIsSHM8bOfJoEk\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/Rr60siMdu9IEvdag4DhF7M\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/R8fzvBl85R2Nc2SqsikiKp9\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RJVpffoomVWohIDaJCykd9\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RC0fF4cbTcg59fvYtEu1FF0\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RJ4FstTjtD6dNQx4agULMp\"/></owl:Restriction></rdfs:subClassOf><webprotege:RkKVruwOD8lCCdsbyX0lwY>Plan Operate</webprotege:RkKVruwOD8lCCdsbyX0lwY><rdfs:label>Capacity</rdfs:label><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">The maximum number of vehicles that can be present on a Link or section of the Network.</skos:definition></owl:Class>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/R2mI7fMFtIsSHM8bOfJoEk",
                    "label": "Capacity",
                    "annotations": {
                        "http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY": "Plan Operate",
                        "http://www.w3.org/2004/02/skos/core#definition": "The maximum number of vehicles that can be present on a Link or section of the Network.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Capacity"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/RJ4FstTjtD6dNQx4agULMp": "http://webprotege.stanford.edu/RC0fF4cbTcg59fvYtEu1FF0",
                        "http://webprotege.stanford.edu/RB2wiyzebv6p4qrvJjgommU": "http://webprotege.stanford.edu/RBGj27xJbqpVePdpgjXqeVk",
                        "http://webprotege.stanford.edu/RJVpffoomVWohIDaJCykd9": "http://webprotege.stanford.edu/R8fzvBl85R2Nc2SqsikiKp9",
                        "http://webprotege.stanford.edu/Rr60siMdu9IEvdag4DhF7M": null
                    }
                },
                "afterXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/R2mI7fMFtIsSHM8bOfJoEk\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/Rr60siMdu9IEvdag4DhF7M\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/R8fzvBl85R2Nc2SqsikiKp9\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RJVpffoomVWohIDaJCykd9\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RC0fF4cbTcg59fvYtEu1FF0\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RJ4FstTjtD6dNQx4agULMp\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RBGj27xJbqpVePdpgjXqeVk\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RB2wiyzebv6p4qrvJjgommU\"/></owl:Restriction></rdfs:subClassOf><webprotege:RkKVruwOD8lCCdsbyX0lwY>Plan Operate</webprotege:RkKVruwOD8lCCdsbyX0lwY><rdfs:label>Capacity</rdfs:label><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">The maximum number of vehicles that can be present on a Link or section of the Network.</skos:definition></owl:Class>"
            },
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/RBiRKtGhVPgOvc65a5n6S10",
                    "label": "Account",
                    "annotations": {
                        "http://webprotege.stanford.edu/RB4qRK0cMJE67o1Bc9MmGDD": "FFC",
                        "http://www.w3.org/2004/02/skos/core#definition": "TEST047 An electronic identity, as a username and its associated data, assigned to an individual or group for secure, personalised access.",
                        "http://webprotege.stanford.edu/R9S1rcldeHXCMGJUZEkvaWJ": "Road User Charging Account",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Account"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs": null,
                        "http://webprotege.stanford.edu/RBJ3sWyEdjzo3HjkcABim8C": "http://webprotege.stanford.edu/R5RtyDq66TW7a4WxGVqSku"
                    }
                },
                "beforeXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/RBiRKtGhVPgOvc65a5n6S10\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/R5RtyDq66TW7a4WxGVqSku\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RBJ3sWyEdjzo3HjkcABim8C\"/></owl:Restriction></rdfs:subClassOf><webprotege:R9S1rcldeHXCMGJUZEkvaWJ rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Road User Charging Account</webprotege:R9S1rcldeHXCMGJUZEkvaWJ><webprotege:RB4qRK0cMJE67o1Bc9MmGDD rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">FFC</webprotege:RB4qRK0cMJE67o1Bc9MmGDD><rdfs:label>Account</rdfs:label><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">TEST047 An electronic identity, as a username and its associated data, assigned to an individual or group for secure, personalised access.</skos:definition></owl:Class>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/RBiRKtGhVPgOvc65a5n6S10",
                    "label": "Account",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#definition": "TEST018 An electronic identity, as a username and its associated data, assigned to an individual or group for secure, personalised access.",
                        "http://webprotege.stanford.edu/R9S1rcldeHXCMGJUZEkvaWJ": "Road User Charging Account",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Account",
                        "http://webprotege.stanford.edu/RB4qRK0cMJE67o1Bc9MmGDD": "FFC"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs": null,
                        "http://webprotege.stanford.edu/RBJ3sWyEdjzo3HjkcABim8C": "http://webprotege.stanford.edu/R5RtyDq66TW7a4WxGVqSku"
                    }
                },
                "afterXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/RBiRKtGhVPgOvc65a5n6S10\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/R5RtyDq66TW7a4WxGVqSku\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RBJ3sWyEdjzo3HjkcABim8C\"/></owl:Restriction></rdfs:subClassOf><webprotege:R9S1rcldeHXCMGJUZEkvaWJ rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Road User Charging Account</webprotege:R9S1rcldeHXCMGJUZEkvaWJ><webprotege:RB4qRK0cMJE67o1Bc9MmGDD rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">FFC</webprotege:RB4qRK0cMJE67o1Bc9MmGDD><rdfs:label>Account</rdfs:label><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">TEST018 An electronic identity, as a username and its associated data, assigned to an individual or group for secure, personalised access.</skos:definition></owl:Class>"
            },
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/RxMK8BflSk74kqDWT4eHTy",
                    "label": "Defect",
                    "annotations": {
                        "http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY": "Plan Maintain Operate",
                        "http://webprotege.stanford.edu/R8AWk6f00nQhiAoDl6ujohI": "Handover",
                        "http://www.w3.org/2004/02/skos/core#definition": "Failure of an Asset to perform its intended purpose within all expected normal operating parameters.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Defect"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/R9H3QGGtwC0XhV4Mfk6Ceep": "http://webprotege.stanford.edu/RoaVc0YAiyET5nKJSYJAoX",
                        "http://webprotege.stanford.edu/R8vPX062NwsvUg0z6NRZerH": null,
                        "http://webprotege.stanford.edu/R79918d31mkj7gGPmR00us9": "http://webprotege.stanford.edu/RBouRer6kTdZCfCZ4kpk7K3",
                        "http://webprotege.stanford.edu/RJ4FstTjtD6dNQx4agULMp": "http://webprotege.stanford.edu/RC0fF4cbTcg59fvYtEu1FF0",
                        "http://webprotege.stanford.edu/R94oKO9u1LgzfqODgcPAc8L": "http://webprotege.stanford.edu/RoaVc0YAiyET5nKJSYJAoX"
                    }
                },
                "beforeXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/RxMK8BflSk74kqDWT4eHTy\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/R8vPX062NwsvUg0z6NRZerH\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RBouRer6kTdZCfCZ4kpk7K3\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/R79918d31mkj7gGPmR00us9\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RC0fF4cbTcg59fvYtEu1FF0\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RJ4FstTjtD6dNQx4agULMp\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RoaVc0YAiyET5nKJSYJAoX\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/R94oKO9u1LgzfqODgcPAc8L\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RoaVc0YAiyET5nKJSYJAoX\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/R9H3QGGtwC0XhV4Mfk6Ceep\"/></owl:Restriction></rdfs:subClassOf><webprotege:R8AWk6f00nQhiAoDl6ujohI>Handover</webprotege:R8AWk6f00nQhiAoDl6ujohI><webprotege:RkKVruwOD8lCCdsbyX0lwY>Plan Maintain Operate</webprotege:RkKVruwOD8lCCdsbyX0lwY><rdfs:label>Defect</rdfs:label><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Failure of an Asset to perform its intended purpose within all expected normal operating parameters.</skos:definition></owl:Class>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/RxMK8BflSk74kqDWT4eHTy",
                    "label": "Defect",
                    "annotations": {
                        "http://www.w3.org/2000/01/rdf-schema#label": "Defect",
                        "http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY": "Plan Maintain Operate",
                        "http://webprotege.stanford.edu/R8AWk6f00nQhiAoDl6ujohI": "Handover",
                        "http://www.w3.org/2004/02/skos/core#definition": "TEST ES UPDATE 3 Failure of an Asset to perform its intended purpose within all expected normal operating parameters."
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/R79918d31mkj7gGPmR00us9": "http://webprotege.stanford.edu/RBouRer6kTdZCfCZ4kpk7K3",
                        "http://webprotege.stanford.edu/R94oKO9u1LgzfqODgcPAc8L": "http://webprotege.stanford.edu/RoaVc0YAiyET5nKJSYJAoX",
                        "http://webprotege.stanford.edu/R8vPX062NwsvUg0z6NRZerH": null,
                        "http://webprotege.stanford.edu/RJ4FstTjtD6dNQx4agULMp": "http://webprotege.stanford.edu/RC0fF4cbTcg59fvYtEu1FF0",
                        "http://webprotege.stanford.edu/R9H3QGGtwC0XhV4Mfk6Ceep": "http://webprotege.stanford.edu/RoaVc0YAiyET5nKJSYJAoX"
                    }
                },
                "afterXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/RxMK8BflSk74kqDWT4eHTy\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/R8vPX062NwsvUg0z6NRZerH\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RBouRer6kTdZCfCZ4kpk7K3\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/R79918d31mkj7gGPmR00us9\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RC0fF4cbTcg59fvYtEu1FF0\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RJ4FstTjtD6dNQx4agULMp\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RoaVc0YAiyET5nKJSYJAoX\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/R94oKO9u1LgzfqODgcPAc8L\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RoaVc0YAiyET5nKJSYJAoX\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/R9H3QGGtwC0XhV4Mfk6Ceep\"/></owl:Restriction></rdfs:subClassOf><webprotege:R8AWk6f00nQhiAoDl6ujohI>Handover</webprotege:R8AWk6f00nQhiAoDl6ujohI><webprotege:RkKVruwOD8lCCdsbyX0lwY>Plan Maintain Operate</webprotege:RkKVruwOD8lCCdsbyX0lwY><rdfs:label>Defect</rdfs:label><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">TEST ES UPDATE 3 Failure of an Asset to perform its intended purpose within all expected normal operating parameters.</skos:definition></owl:Class>"
            }
        ],
        "deletedClasses": [
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R1AD8Bb0IbQzZYE0Ee9Qa8",
                    "label": "Low Level Design",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#definition": "Design (for programmers) that further exposes logical detailed Design of each of the elements present in the High Level Design.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Low Level Design"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/R9WIxkbvxYbhp8NthzYsXSx": null
                    }
                },
                "beforeXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/R1AD8Bb0IbQzZYE0Ee9Qa8\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/R9WIxkbvxYbhp8NthzYsXSx\"/><rdfs:label>Low Level Design</rdfs:label><skos:definition>Design (for programmers) that further exposes logical detailed Design of each of the elements present in the High Level Design.</skos:definition></owl:Class>",
                "after": null,
                "afterXml": null
            },
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R1CEYmOdNWhDr4n2yz9Lzf",
                    "label": "External Factor",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#definition": "Elements, often part of the economic, political and social environment of the locations where the company operates, that influence the business' results and performance from the outside.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "External Factor",
                        "http://www.w3.org/2004/02/skos/core#example": "Climate change, big political change, global pandemic",
                        "http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY": "Plan"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/RJ4FstTjtD6dNQx4agULMp": "http://webprotege.stanford.edu/RC0fF4cbTcg59fvYtEu1FF0",
                        "http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs": null
                    }
                },
                "beforeXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/R1CEYmOdNWhDr4n2yz9Lzf\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RC0fF4cbTcg59fvYtEu1FF0\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RJ4FstTjtD6dNQx4agULMp\"/></owl:Restriction></rdfs:subClassOf><webprotege:RkKVruwOD8lCCdsbyX0lwY>Plan</webprotege:RkKVruwOD8lCCdsbyX0lwY><rdfs:label>External Factor</rdfs:label><skos:definition>Elements, often part of the economic, political and social environment of the locations where the company operates, that influence the business' results and performance from the outside.</skos:definition><skos:example>Climate change, big political change, global pandemic</skos:example></owl:Class>",
                "after": null,
                "afterXml": null
            }
        ]
    }
}

4. Past timestamp

If the timestamp that is provided is before the timestamp of the very first Git webhook that was consumed and processed for the given ontology, then the default behavior of the temporal diff in this case will be to compare the very first Git webhook that was consumed against the very latest Git webhook that was consumed.

5. Future timestamp

If the timestamp that is provided is after the very latest Git webhook that was consumed for the given ontology, then no changes will be returned as follows:

{
    "requestedTimestamp": "2022-03-09 16:10:30",
    "latestGitWebhookIdBeforeRequestedTimestamp": 74,
    "latestGitWebhookTimestampBeforeRequestedTimestamp": "2022-03-09 11:52:43",
    "latestGitWebhookIdAfterRequestedTimestamp": 74,
    "latestGitWebhookTimestampAfterRequestedTimestamp": "2022-03-09 11:52:43",
    "changesExist": false,
    "ontologyId": 69,
    "diff": null
}

6. Latest Git webhook ID

If the Git webhook ID that is provided is the very latest Git webhook that was consumed for the given ontology, then no changes will be returned as follows:

{
    "requestedTimestamp": "2022-03-09 16:10:30",
    "latestGitWebhookIdBeforeRequestedTimestamp": 74,
    "latestGitWebhookTimestampBeforeRequestedTimestamp": "2022-03-09 11:52:43",
    "latestGitWebhookIdAfterRequestedTimestamp": 74,
    "latestGitWebhookTimestampAfterRequestedTimestamp": "2022-03-09 11:52:43",
    "changesExist": false,
    "ontologyId": 69,
    "diff": null
}

5. Get Left-Right Diff

Overview

Perform a side-by-side diff of an W3C Web Ontology Language (OWL) ontology in RDF/XML format given two Git webhook IDs (i.e. two different versions of the OWL ontology). If these Git webhooks are different, then the RDF/XML representation of the respective OWL ontology versions are compared and relevant (C)reate, (U)pdate and (D)elete objects returned in JSON format including the original pre- and/or post- RDF XML nodes.

HTTP request methodGET
API endpoint/triplestore/ontologies/{id}/diff/compare

Path Variables

NameDescriptionExample
id (integer)ID of the ontology to query.13

Request Parameters

NameDescriptionExample
leftGitWebhookId (long) *A Git webhook ID associated with the given ontology (required).71
rightGitWebhookId (long) *A Git webhook ID, associated with the same given ontology, against which to compare (required).74

Request Body

Not applicable

Request Headers

KeyValueDescription
X-API-KeyIssued API KeySee API Authentication for further details

Responses

HTTP StatusDescriptionResponse Schema
200 OKOntological left-right diff successfully processed.SimpleOntologyLeftRightDiff.class
401 UnauthorizedOntological left-right diff operation unauthorized.N/A
404 Not FoundOntology and/or Git webhooks not found.N/A
500 Internal Server ErrorInternal server error.N/A

Examples

1. No changes found

Scenario: The two provided Git webhook IDs are the same.

Response HTTP 200 OK

{
    "leftGitWebhookId": 71,
    "rightGitWebhookId": 71,
    "changesExist": false,
    "ontologyId": 69,
    "diff": null
}

2. No changes found

Scenario: The two provided Git webhook IDs are different, but no changes are found (because, for example, the only changes that have been made are comments in the RDF/XML OWL file).

Response HTTP 200 OK

{
    "leftGitWebhookId": 70,
    "rightGitWebhookId": 71,
    "changesExist": false,
    "ontologyId": 69,
    "diff": {
        "createdAnnotationProperties": [],
        "updatedAnnotationProperties": [],
        "deletedAnnotationProperties": [],
        "createdObjectProperties": [],
        "updatedObjectProperties": [],
        "deletedObjectProperties": [],
        "createdClasses": [],
        "updatedClasses": [],
        "deletedClasses": []
    }
}

3. Changes found

Scenario: The two provided Git webhook IDs are different, and (C)reate, (U)pdate and (D)elete changes have been found.

Response HTTP 200 OK

{
    "leftGitWebhookId": 71,
    "rightGitWebhookId": 74,
    "changesExist": true,
    "ontologyId": 69,
    "diff": {
        "createdAnnotationProperties": [
            {
                "before": null,
                "beforeXml": null,
                "after": {
                    "iri": "http://webprotege.stanford.edu/AP123456789",
                    "label": "CREATED Annotation Property Label",
                    "annotations": {
                        "http://www.w3.org/2000/01/rdf-schema#label": "CREATED Annotation Property Label",
                        "http://www.w3.org/2004/02/skos/core#definition": "CREATED Annotation Property SKOS Description."
                    }
                },
                "afterXml": "<owl:AnnotationProperty rdf:about=\"http://webprotege.stanford.edu/AP123456789\"><rdfs:label>CREATED Annotation Property Label</rdfs:label><skos:definition>CREATED Annotation Property SKOS Description.</skos:definition></owl:AnnotationProperty>"
            }
        ],
        "updatedAnnotationProperties": [
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R8AWk6f00nQhiAoDl6ujohI",
                    "label": "Subdomain",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#definition": "Annotation used to describe the Entities that compose a specific Subdomain.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Subdomain",
                        "http://www.w3.org/2004/02/skos/core#comment": "The list of existing Subdomains can be found in Project/Tags."
                    }
                },
                "beforeXml": "<owl:AnnotationProperty rdf:about=\"http://webprotege.stanford.edu/R8AWk6f00nQhiAoDl6ujohI\"><rdfs:label>Subdomain</rdfs:label><skos:comment>The list of existing Subdomains can be found in Project/Tags.</skos:comment><skos:definition>Annotation used to describe the Entities that compose a specific Subdomain.</skos:definition></owl:AnnotationProperty>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/R8AWk6f00nQhiAoDl6ujohI",
                    "label": "Subdomain UPDATED Annotation Property",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#definition": "Annotation used to describe the Entities that compose a specific Subdomain.",
                        "http://www.w3.org/2004/02/skos/core#comment": "The list of existing Subdomains can be found in Project/Tags.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Subdomain UPDATED Annotation Property"
                    }
                },
                "afterXml": "<owl:AnnotationProperty rdf:about=\"http://webprotege.stanford.edu/R8AWk6f00nQhiAoDl6ujohI\"><rdfs:label>Subdomain UPDATED Annotation Property</rdfs:label><skos:comment>The list of existing Subdomains can be found in Project/Tags.</skos:comment><skos:definition>Annotation used to describe the Entities that compose a specific Subdomain.</skos:definition></owl:AnnotationProperty>"
            },
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R8Zrr9RnWOq4DeZDzBOW2J4",
                    "label": "Synonym",
                    "annotations": {
                        "http://www.w3.org/2000/01/rdf-schema#label": "Synonym",
                        "http://www.w3.org/2004/02/skos/core#definition": "Annotation used to describe Synonyms of a specific Entity.",
                        "http://www.w3.org/2004/02/skos/core#comment": "The list of existing Synonyms can be found in Project/Tags."
                    }
                },
                "beforeXml": "<owl:AnnotationProperty rdf:about=\"http://webprotege.stanford.edu/R8Zrr9RnWOq4DeZDzBOW2J4\"><rdfs:label>Synonym</rdfs:label><skos:comment>The list of existing Synonyms can be found in Project/Tags.</skos:comment><skos:definition>Annotation used to describe Synonyms of a specific Entity.</skos:definition></owl:AnnotationProperty>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/R8Zrr9RnWOq4DeZDzBOW2J4",
                    "label": "Synonym",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#definition": "Annotation used to describe Synonyms of a specific Entity.",
                        "http://www.w3.org/2004/02/skos/core#comment": "The list of existing Synonyms can be found in Project/Tags UPDATED Annotation Property.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Synonym"
                    }
                },
                "afterXml": "<owl:AnnotationProperty rdf:about=\"http://webprotege.stanford.edu/R8Zrr9RnWOq4DeZDzBOW2J4\"><rdfs:label>Synonym</rdfs:label><skos:comment>The list of existing Synonyms can be found in Project/Tags UPDATED Annotation Property.</skos:comment><skos:definition>Annotation used to describe Synonyms of a specific Entity.</skos:definition></owl:AnnotationProperty>"
            },
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/RB4qRK0cMJE67o1Bc9MmGDD",
                    "label": "Data Source",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#comment": "The list of existing Data Sources can be found in Project/Tags.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Data Source",
                        "http://www.w3.org/2004/02/skos/core#definition": "Annotation used to describe the Entities present in a specific Data Source."
                    }
                },
                "beforeXml": "<owl:AnnotationProperty rdf:about=\"http://webprotege.stanford.edu/RB4qRK0cMJE67o1Bc9MmGDD\"><rdfs:label>Data Source</rdfs:label><skos:comment>The list of existing Data Sources can be found in Project/Tags.</skos:comment><skos:definition>Annotation used to describe the Entities present in a specific Data Source.</skos:definition></owl:AnnotationProperty>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/RB4qRK0cMJE67o1Bc9MmGDD",
                    "label": "Data Source",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#comment": "The list of existing Data Sources can be found in Project/Tags.",
                        "http://www.w3.org/2004/02/skos/core#definition": "Annotation used to describe the Entities present in a specific Data Source UPDATED Annotation Property.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Data Source"
                    }
                },
                "afterXml": "<owl:AnnotationProperty rdf:about=\"http://webprotege.stanford.edu/RB4qRK0cMJE67o1Bc9MmGDD\"><rdfs:label>Data Source</rdfs:label><skos:comment>The list of existing Data Sources can be found in Project/Tags.</skos:comment><skos:definition>Annotation used to describe the Entities present in a specific Data Source UPDATED Annotation Property.</skos:definition></owl:AnnotationProperty>"
            }
        ],
        "deletedAnnotationProperties": [
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R8OwNoGPHfALLALe5R3rm2H",
                    "label": "TODO",
                    "annotations": {
                        "http://www.w3.org/2000/01/rdf-schema#label": "TODO",
                        "http://www.w3.org/2004/02/skos/core#definition": "Annotation used to mark pending action to be done in the model."
                    }
                },
                "beforeXml": "<owl:AnnotationProperty rdf:about=\"http://webprotege.stanford.edu/R8OwNoGPHfALLALe5R3rm2H\"><rdfs:label>TODO</rdfs:label><skos:definition>Annotation used to mark pending action to be done in the model.</skos:definition></owl:AnnotationProperty>",
                "after": null,
                "afterXml": null
            }
        ],
        "createdObjectProperties": [
            {
                "before": null,
                "beforeXml": null,
                "after": {
                    "iri": "http://webprotege.stanford.edu/OP123456789",
                    "label": "Held by CREATED Object Property",
                    "annotations": {
                        "http://www.w3.org/2000/01/rdf-schema#label": "Held by CREATED Object Property"
                    },
                    "parentObjectPropertyIRI": "http://webprotege.stanford.edu/R8zMIKp038MgC2umoxwzWBJ"
                },
                "afterXml": "<owl:ObjectProperty rdf:about=\"http://webprotege.stanford.edu/OP123456789\"><rdfs:subPropertyOf rdf:resource=\"http://webprotege.stanford.edu/R8zMIKp038MgC2umoxwzWBJ\"/><rdfs:label>Held by CREATED Object Property</rdfs:label></owl:ObjectProperty>"
            }
        ],
        "updatedObjectProperties": [
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R15RMwxh0pmeZADFPUrcpM",
                    "label": "Instantiation of",
                    "annotations": {
                        "http://www.w3.org/2000/01/rdf-schema#label": "Instantiation of",
                        "http://webprotege.stanford.edu/RtMeQat8p1tL74b64dS2qs": "Record"
                    },
                    "parentObjectPropertyIRI": "http://webprotege.stanford.edu/R8zMIKp038MgC2umoxwzWBJ"
                },
                "beforeXml": "<owl:ObjectProperty rdf:about=\"http://webprotege.stanford.edu/R15RMwxh0pmeZADFPUrcpM\"><rdfs:subPropertyOf rdf:resource=\"http://webprotege.stanford.edu/R8zMIKp038MgC2umoxwzWBJ\"/><webprotege:RtMeQat8p1tL74b64dS2qs>Record</webprotege:RtMeQat8p1tL74b64dS2qs><rdfs:label rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Instantiation of</rdfs:label></owl:ObjectProperty>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/R15RMwxh0pmeZADFPUrcpM",
                    "label": "Instantiation of",
                    "annotations": {
                        "http://webprotege.stanford.edu/RtMeQat8p1tL74b64dS2qs": "Record UPDATED Object Property",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Instantiation of"
                    },
                    "parentObjectPropertyIRI": "http://webprotege.stanford.edu/R8zMIKp038MgC2umoxwzWBJ"
                },
                "afterXml": "<owl:ObjectProperty rdf:about=\"http://webprotege.stanford.edu/R15RMwxh0pmeZADFPUrcpM\"><rdfs:subPropertyOf rdf:resource=\"http://webprotege.stanford.edu/R8zMIKp038MgC2umoxwzWBJ\"/><webprotege:RtMeQat8p1tL74b64dS2qs>Record UPDATED Object Property</webprotege:RtMeQat8p1tL74b64dS2qs><rdfs:label rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Instantiation of</rdfs:label></owl:ObjectProperty>"
            },
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R5u6iRwByXm7q6dOcaVRk8",
                    "label": "Selected in",
                    "annotations": {
                        "http://webprotege.stanford.edu/RtMeQat8p1tL74b64dS2qs": "Causality",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Selected in",
                        "http://www.w3.org/2004/02/skos/core#definition": "Relationship that specifies when or where another Entity has been chosen."
                    },
                    "parentObjectPropertyIRI": "http://webprotege.stanford.edu/RD3fuHtzxeYkMf46qK7HAsD"
                },
                "beforeXml": "<owl:ObjectProperty rdf:about=\"http://webprotege.stanford.edu/R5u6iRwByXm7q6dOcaVRk8\"><rdfs:subPropertyOf rdf:resource=\"http://webprotege.stanford.edu/RD3fuHtzxeYkMf46qK7HAsD\"/><webprotege:RtMeQat8p1tL74b64dS2qs>Causality</webprotege:RtMeQat8p1tL74b64dS2qs><rdfs:label>Selected in</rdfs:label><skos:definition>Relationship that specifies when or where another Entity has been chosen.</skos:definition></owl:ObjectProperty>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/R5u6iRwByXm7q6dOcaVRk8",
                    "label": "Selected in",
                    "annotations": {
                        "http://webprotege.stanford.edu/RtMeQat8p1tL74b64dS2qs": "Causality",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Selected in",
                        "http://www.w3.org/2004/02/skos/core#definition": "Relationship that specifies when or where another Entity has been chosen UPDATED Object Property."
                    },
                    "parentObjectPropertyIRI": "http://webprotege.stanford.edu/RD3fuHtzxeYkMf46qK7HAsD"
                },
                "afterXml": "<owl:ObjectProperty rdf:about=\"http://webprotege.stanford.edu/R5u6iRwByXm7q6dOcaVRk8\"><rdfs:subPropertyOf rdf:resource=\"http://webprotege.stanford.edu/RD3fuHtzxeYkMf46qK7HAsD\"/><webprotege:RtMeQat8p1tL74b64dS2qs>Causality</webprotege:RtMeQat8p1tL74b64dS2qs><rdfs:label>Selected in</rdfs:label><skos:definition>Relationship that specifies when or where another Entity has been chosen UPDATED Object Property.</skos:definition></owl:ObjectProperty>"
            }
        ],
        "deletedObjectProperties": [
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R4I2v4Y7su3Adf0Vcj6TWd",
                    "label": "Proposed in",
                    "annotations": {
                        "http://webprotege.stanford.edu/RtMeQat8p1tL74b64dS2qs": "Record",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Proposed in",
                        "http://www.w3.org/2004/02/skos/core#definition": "Relationship used to specify the stage, document or place where an Entity is offered or suggested for consideration, acceptance, or action."
                    },
                    "parentObjectPropertyIRI": "http://webprotege.stanford.edu/RD3fuHtzxeYkMf46qK7HAsD"
                },
                "beforeXml": "<owl:ObjectProperty rdf:about=\"http://webprotege.stanford.edu/R4I2v4Y7su3Adf0Vcj6TWd\"><rdfs:subPropertyOf rdf:resource=\"http://webprotege.stanford.edu/RD3fuHtzxeYkMf46qK7HAsD\"/><webprotege:RtMeQat8p1tL74b64dS2qs>Record</webprotege:RtMeQat8p1tL74b64dS2qs><rdfs:label>Proposed in</rdfs:label><skos:definition>Relationship used to specify the stage, document or place where an Entity is offered or suggested for consideration, acceptance, or action.</skos:definition></owl:ObjectProperty>",
                "after": null,
                "afterXml": null
            }
        ],
        "createdClasses": [
            {
                "before": null,
                "beforeXml": null,
                "after": {
                    "iri": "http://webprotege.stanford.edu/C123456789",
                    "label": "Created Class 1",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#definition": "Created Class definition ",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Created Class 1"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs": null
                    }
                },
                "afterXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/C123456789\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs\"/><rdfs:label>Created Class 1</rdfs:label><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Created Class definition </skos:definition></owl:Class>"
            }
        ],
        "updatedClasses": [
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R0hGCuAkhsiBUbd7pftEpN",
                    "label": "Data Subject Request",
                    "annotations": {
                        "http://www.w3.org/2000/01/rdf-schema#label": "Data Subject Request",
                        "http://webprotege.stanford.edu/RB4qRK0cMJE67o1Bc9MmGDD": "FFC",
                        "http://www.w3.org/2004/02/skos/core#definition": "A request made by a Customer or their legal representative for their personal information under data protection legislation."
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY": null,
                        "http://webprotege.stanford.edu/RBJ3sWyEdjzo3HjkcABim8C": "http://webprotege.stanford.edu/RCptIcn975cERAVUlJOL7sV"
                    }
                },
                "beforeXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/R0hGCuAkhsiBUbd7pftEpN\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RCptIcn975cERAVUlJOL7sV\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RBJ3sWyEdjzo3HjkcABim8C\"/></owl:Restriction></rdfs:subClassOf><webprotege:RB4qRK0cMJE67o1Bc9MmGDD rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">FFC</webprotege:RB4qRK0cMJE67o1Bc9MmGDD><rdfs:label>Data Subject Request</rdfs:label><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">A request made by a Customer or their legal representative for their personal information under data protection legislation.</skos:definition></owl:Class>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/R0hGCuAkhsiBUbd7pftEpN",
                    "label": "Data Subject Request",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#definition": "A request made by a Customer or their legal representative for their personal information under data protection legislation.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Data Subject Request",
                        "http://webprotege.stanford.edu/RB4qRK0cMJE67o1Bc9MmGDD": "FFC UPDATED Class"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY": null,
                        "http://webprotege.stanford.edu/RBJ3sWyEdjzo3HjkcABim8C": "http://webprotege.stanford.edu/RCptIcn975cERAVUlJOL7sV"
                    }
                },
                "afterXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/R0hGCuAkhsiBUbd7pftEpN\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RCptIcn975cERAVUlJOL7sV\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RBJ3sWyEdjzo3HjkcABim8C\"/></owl:Restriction></rdfs:subClassOf><webprotege:RB4qRK0cMJE67o1Bc9MmGDD rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">FFC UPDATED Class</webprotege:RB4qRK0cMJE67o1Bc9MmGDD><rdfs:label>Data Subject Request</rdfs:label><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">A request made by a Customer or their legal representative for their personal information under data protection legislation.</skos:definition></owl:Class>"
            },
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY",
                    "label": "Communication Document",
                    "annotations": {
                        "http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY": "Communications",
                        "http://www.w3.org/2004/02/skos/core#definition": "Document storing the information conveyed between two or more parties.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Communication Document",
                        "http://www.w3.org/2004/02/skos/core#comment": "A communication will typically have the Licence Holder (Highways England) as one of the parties."
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/RDLUE0UQz6th3NduA1L3n3u": null,
                        "http://webprotege.stanford.edu/RY4x5rU5jNH9YIcM63gBgJ": "http://webprotege.stanford.edu/RXaMAxdkuV5CvgEpovEVvp"
                    }
                },
                "beforeXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/RDLUE0UQz6th3NduA1L3n3u\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RXaMAxdkuV5CvgEpovEVvp\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RY4x5rU5jNH9YIcM63gBgJ\"/></owl:Restriction></rdfs:subClassOf><webprotege:RkKVruwOD8lCCdsbyX0lwY>Communications</webprotege:RkKVruwOD8lCCdsbyX0lwY><rdfs:label rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Communication Document</rdfs:label><skos:comment>A communication will typically have the Licence Holder (Highways England) as one of the parties.</skos:comment><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Document storing the information conveyed between two or more parties.</skos:definition></owl:Class>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY",
                    "label": "Communication Document UPDATED Class",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#definition": "Document storing the information conveyed between two or more parties.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Communication Document UPDATED Class",
                        "http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY": "Communications",
                        "http://www.w3.org/2004/02/skos/core#comment": "A communication will typically have the Licence Holder (Highways England) as one of the parties."
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/RDLUE0UQz6th3NduA1L3n3u": null,
                        "http://webprotege.stanford.edu/RY4x5rU5jNH9YIcM63gBgJ": "http://webprotege.stanford.edu/RXaMAxdkuV5CvgEpovEVvp"
                    }
                },
                "afterXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/R0jI731hv09ZcJeji1fbtY\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/RDLUE0UQz6th3NduA1L3n3u\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RXaMAxdkuV5CvgEpovEVvp\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RY4x5rU5jNH9YIcM63gBgJ\"/></owl:Restriction></rdfs:subClassOf><webprotege:RkKVruwOD8lCCdsbyX0lwY>Communications</webprotege:RkKVruwOD8lCCdsbyX0lwY><rdfs:label rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Communication Document UPDATED Class</rdfs:label><skos:comment>A communication will typically have the Licence Holder (Highways England) as one of the parties.</skos:comment><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Document storing the information conveyed between two or more parties.</skos:definition></owl:Class>"
            },
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R0qk59fxFmgNbyUncZoU8M",
                    "label": "Programme",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#comment": "A strategic goal that is achieved through a number of projects.",
                        "http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY": "Maintain Plan",
                        "http://www.w3.org/2004/02/skos/core#example": "Develop connectivity between London and Inverness.",
                        "http://www.w3.org/2004/02/skos/core#definition": "A collection of projects or tasks undertaken to realise a strategic goal.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Programme"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/R1CEYmOdNWhDr4n2yz9Lzf": "http://webprotege.stanford.edu/RBfzJ6HkijEIMSY3oKjcLay",
                        "http://webprotege.stanford.edu/R8QQzkUbCD5WRXDQQSl0vX8": "http://webprotege.stanford.edu/RBXkLIHl4DLxgRus9nf68fU",
                        "http://webprotege.stanford.edu/RCCNbe0sG8e3ngkdoP9cSl6": "http://webprotege.stanford.edu/RC1zYYNqqFSlJxIKg4SdBTB",
                        "http://webprotege.stanford.edu/RCxwL4b8LCMbVkVPEbOn78g": "http://webprotege.stanford.edu/RC1zYYNqqFSlJxIKg4SdBTB",
                        "http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs": null
                    }
                },
                "beforeXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/R0qk59fxFmgNbyUncZoU8M\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RBXkLIHl4DLxgRus9nf68fU\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/R8QQzkUbCD5WRXDQQSl0vX8\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RBfzJ6HkijEIMSY3oKjcLay\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/R1CEYmOdNWhDr4n2yz9Lzf\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RC1zYYNqqFSlJxIKg4SdBTB\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RCCNbe0sG8e3ngkdoP9cSl6\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RC1zYYNqqFSlJxIKg4SdBTB\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RCxwL4b8LCMbVkVPEbOn78g\"/></owl:Restriction></rdfs:subClassOf><webprotege:RkKVruwOD8lCCdsbyX0lwY>Maintain Plan</webprotege:RkKVruwOD8lCCdsbyX0lwY><rdfs:label>Programme</rdfs:label><skos:comment rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">A strategic goal that is achieved through a number of projects.</skos:comment><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">A collection of projects or tasks undertaken to realise a strategic goal.</skos:definition><skos:example rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Develop connectivity between London and Inverness.</skos:example></owl:Class>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/R0qk59fxFmgNbyUncZoU8M",
                    "label": "Programme",
                    "annotations": {
                        "http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY": "Maintain Plan",
                        "http://www.w3.org/2004/02/skos/core#comment": "A strategic goal that is achieved through a number of projects.",
                        "http://www.w3.org/2004/02/skos/core#definition": "A collection of projects or tasks undertaken to realise a strategic goal.",
                        "http://www.w3.org/2004/02/skos/core#example": "Develop connectivity between London and Inverness UPDATED CLASS.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Programme"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/RCCNbe0sG8e3ngkdoP9cSl6": "http://webprotege.stanford.edu/RC1zYYNqqFSlJxIKg4SdBTB",
                        "http://webprotege.stanford.edu/R1CEYmOdNWhDr4n2yz9Lzf": "http://webprotege.stanford.edu/RBfzJ6HkijEIMSY3oKjcLay",
                        "http://webprotege.stanford.edu/R8QQzkUbCD5WRXDQQSl0vX8": "http://webprotege.stanford.edu/RBXkLIHl4DLxgRus9nf68fU",
                        "http://webprotege.stanford.edu/RCxwL4b8LCMbVkVPEbOn78g": "http://webprotege.stanford.edu/RC1zYYNqqFSlJxIKg4SdBTB",
                        "http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs": null
                    }
                },
                "afterXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/R0qk59fxFmgNbyUncZoU8M\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RBXkLIHl4DLxgRus9nf68fU\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/R8QQzkUbCD5WRXDQQSl0vX8\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RBfzJ6HkijEIMSY3oKjcLay\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/R1CEYmOdNWhDr4n2yz9Lzf\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RC1zYYNqqFSlJxIKg4SdBTB\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RCCNbe0sG8e3ngkdoP9cSl6\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RC1zYYNqqFSlJxIKg4SdBTB\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RCxwL4b8LCMbVkVPEbOn78g\"/></owl:Restriction></rdfs:subClassOf><webprotege:RkKVruwOD8lCCdsbyX0lwY>Maintain Plan</webprotege:RkKVruwOD8lCCdsbyX0lwY><rdfs:label>Programme</rdfs:label><skos:comment rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">A strategic goal that is achieved through a number of projects.</skos:comment><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">A collection of projects or tasks undertaken to realise a strategic goal.</skos:definition><skos:example rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Develop connectivity between London and Inverness UPDATED CLASS.</skos:example></owl:Class>"
            },
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R2mI7fMFtIsSHM8bOfJoEk",
                    "label": "Capacity",
                    "annotations": {
                        "http://www.w3.org/2000/01/rdf-schema#label": "Capacity",
                        "http://www.w3.org/2004/02/skos/core#definition": "The maximum number of vehicles that can be present on a Link or section of the Network.",
                        "http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY": "Plan Operate"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/RJVpffoomVWohIDaJCykd9": "http://webprotege.stanford.edu/R8fzvBl85R2Nc2SqsikiKp9",
                        "http://webprotege.stanford.edu/RJ4FstTjtD6dNQx4agULMp": "http://webprotege.stanford.edu/RC0fF4cbTcg59fvYtEu1FF0",
                        "http://webprotege.stanford.edu/Rr60siMdu9IEvdag4DhF7M": null
                    }
                },
                "beforeXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/R2mI7fMFtIsSHM8bOfJoEk\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/Rr60siMdu9IEvdag4DhF7M\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/R8fzvBl85R2Nc2SqsikiKp9\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RJVpffoomVWohIDaJCykd9\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RC0fF4cbTcg59fvYtEu1FF0\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RJ4FstTjtD6dNQx4agULMp\"/></owl:Restriction></rdfs:subClassOf><webprotege:RkKVruwOD8lCCdsbyX0lwY>Plan Operate</webprotege:RkKVruwOD8lCCdsbyX0lwY><rdfs:label>Capacity</rdfs:label><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">The maximum number of vehicles that can be present on a Link or section of the Network.</skos:definition></owl:Class>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/R2mI7fMFtIsSHM8bOfJoEk",
                    "label": "Capacity",
                    "annotations": {
                        "http://www.w3.org/2000/01/rdf-schema#label": "Capacity",
                        "http://www.w3.org/2004/02/skos/core#definition": "The maximum number of vehicles that can be present on a Link or section of the Network.",
                        "http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY": "Plan Operate"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/RJ4FstTjtD6dNQx4agULMp": "http://webprotege.stanford.edu/RC0fF4cbTcg59fvYtEu1FF0",
                        "http://webprotege.stanford.edu/RB2wiyzebv6p4qrvJjgommU": "http://webprotege.stanford.edu/RBGj27xJbqpVePdpgjXqeVk",
                        "http://webprotege.stanford.edu/RJVpffoomVWohIDaJCykd9": "http://webprotege.stanford.edu/R8fzvBl85R2Nc2SqsikiKp9",
                        "http://webprotege.stanford.edu/Rr60siMdu9IEvdag4DhF7M": null
                    }
                },
                "afterXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/R2mI7fMFtIsSHM8bOfJoEk\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/Rr60siMdu9IEvdag4DhF7M\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/R8fzvBl85R2Nc2SqsikiKp9\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RJVpffoomVWohIDaJCykd9\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RC0fF4cbTcg59fvYtEu1FF0\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RJ4FstTjtD6dNQx4agULMp\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RBGj27xJbqpVePdpgjXqeVk\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RB2wiyzebv6p4qrvJjgommU\"/></owl:Restriction></rdfs:subClassOf><webprotege:RkKVruwOD8lCCdsbyX0lwY>Plan Operate</webprotege:RkKVruwOD8lCCdsbyX0lwY><rdfs:label>Capacity</rdfs:label><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">The maximum number of vehicles that can be present on a Link or section of the Network.</skos:definition></owl:Class>"
            },
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/RBiRKtGhVPgOvc65a5n6S10",
                    "label": "Account",
                    "annotations": {
                        "http://www.w3.org/2000/01/rdf-schema#label": "Account",
                        "http://www.w3.org/2004/02/skos/core#definition": "TEST047 An electronic identity, as a username and its associated data, assigned to an individual or group for secure, personalised access.",
                        "http://webprotege.stanford.edu/R9S1rcldeHXCMGJUZEkvaWJ": "Road User Charging Account",
                        "http://webprotege.stanford.edu/RB4qRK0cMJE67o1Bc9MmGDD": "FFC"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs": null,
                        "http://webprotege.stanford.edu/RBJ3sWyEdjzo3HjkcABim8C": "http://webprotege.stanford.edu/R5RtyDq66TW7a4WxGVqSku"
                    }
                },
                "beforeXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/RBiRKtGhVPgOvc65a5n6S10\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/R5RtyDq66TW7a4WxGVqSku\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RBJ3sWyEdjzo3HjkcABim8C\"/></owl:Restriction></rdfs:subClassOf><webprotege:R9S1rcldeHXCMGJUZEkvaWJ rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Road User Charging Account</webprotege:R9S1rcldeHXCMGJUZEkvaWJ><webprotege:RB4qRK0cMJE67o1Bc9MmGDD rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">FFC</webprotege:RB4qRK0cMJE67o1Bc9MmGDD><rdfs:label>Account</rdfs:label><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">TEST047 An electronic identity, as a username and its associated data, assigned to an individual or group for secure, personalised access.</skos:definition></owl:Class>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/RBiRKtGhVPgOvc65a5n6S10",
                    "label": "Account",
                    "annotations": {
                        "http://webprotege.stanford.edu/R9S1rcldeHXCMGJUZEkvaWJ": "Road User Charging Account",
                        "http://webprotege.stanford.edu/RB4qRK0cMJE67o1Bc9MmGDD": "FFC",
                        "http://www.w3.org/2004/02/skos/core#definition": "TEST018 An electronic identity, as a username and its associated data, assigned to an individual or group for secure, personalised access.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Account"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs": null,
                        "http://webprotege.stanford.edu/RBJ3sWyEdjzo3HjkcABim8C": "http://webprotege.stanford.edu/R5RtyDq66TW7a4WxGVqSku"
                    }
                },
                "afterXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/RBiRKtGhVPgOvc65a5n6S10\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/R5RtyDq66TW7a4WxGVqSku\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RBJ3sWyEdjzo3HjkcABim8C\"/></owl:Restriction></rdfs:subClassOf><webprotege:R9S1rcldeHXCMGJUZEkvaWJ rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Road User Charging Account</webprotege:R9S1rcldeHXCMGJUZEkvaWJ><webprotege:RB4qRK0cMJE67o1Bc9MmGDD rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">FFC</webprotege:RB4qRK0cMJE67o1Bc9MmGDD><rdfs:label>Account</rdfs:label><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">TEST018 An electronic identity, as a username and its associated data, assigned to an individual or group for secure, personalised access.</skos:definition></owl:Class>"
            },
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/RxMK8BflSk74kqDWT4eHTy",
                    "label": "Defect",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#definition": "Failure of an Asset to perform its intended purpose within all expected normal operating parameters.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Defect",
                        "http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY": "Plan Maintain Operate",
                        "http://webprotege.stanford.edu/R8AWk6f00nQhiAoDl6ujohI": "Handover"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/R79918d31mkj7gGPmR00us9": "http://webprotege.stanford.edu/RBouRer6kTdZCfCZ4kpk7K3",
                        "http://webprotege.stanford.edu/R8vPX062NwsvUg0z6NRZerH": null,
                        "http://webprotege.stanford.edu/RJ4FstTjtD6dNQx4agULMp": "http://webprotege.stanford.edu/RC0fF4cbTcg59fvYtEu1FF0",
                        "http://webprotege.stanford.edu/R9H3QGGtwC0XhV4Mfk6Ceep": "http://webprotege.stanford.edu/RoaVc0YAiyET5nKJSYJAoX",
                        "http://webprotege.stanford.edu/R94oKO9u1LgzfqODgcPAc8L": "http://webprotege.stanford.edu/RoaVc0YAiyET5nKJSYJAoX"
                    }
                },
                "beforeXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/RxMK8BflSk74kqDWT4eHTy\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/R8vPX062NwsvUg0z6NRZerH\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RBouRer6kTdZCfCZ4kpk7K3\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/R79918d31mkj7gGPmR00us9\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RC0fF4cbTcg59fvYtEu1FF0\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RJ4FstTjtD6dNQx4agULMp\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RoaVc0YAiyET5nKJSYJAoX\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/R94oKO9u1LgzfqODgcPAc8L\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RoaVc0YAiyET5nKJSYJAoX\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/R9H3QGGtwC0XhV4Mfk6Ceep\"/></owl:Restriction></rdfs:subClassOf><webprotege:R8AWk6f00nQhiAoDl6ujohI>Handover</webprotege:R8AWk6f00nQhiAoDl6ujohI><webprotege:RkKVruwOD8lCCdsbyX0lwY>Plan Maintain Operate</webprotege:RkKVruwOD8lCCdsbyX0lwY><rdfs:label>Defect</rdfs:label><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">Failure of an Asset to perform its intended purpose within all expected normal operating parameters.</skos:definition></owl:Class>",
                "after": {
                    "iri": "http://webprotege.stanford.edu/RxMK8BflSk74kqDWT4eHTy",
                    "label": "Defect",
                    "annotations": {
                        "http://www.w3.org/2004/02/skos/core#definition": "TEST ES UPDATE 3 Failure of an Asset to perform its intended purpose within all expected normal operating parameters.",
                        "http://www.w3.org/2000/01/rdf-schema#label": "Defect",
                        "http://webprotege.stanford.edu/R8AWk6f00nQhiAoDl6ujohI": "Handover",
                        "http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY": "Plan Maintain Operate"
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/R94oKO9u1LgzfqODgcPAc8L": "http://webprotege.stanford.edu/RoaVc0YAiyET5nKJSYJAoX",
                        "http://webprotege.stanford.edu/RJ4FstTjtD6dNQx4agULMp": "http://webprotege.stanford.edu/RC0fF4cbTcg59fvYtEu1FF0",
                        "http://webprotege.stanford.edu/R9H3QGGtwC0XhV4Mfk6Ceep": "http://webprotege.stanford.edu/RoaVc0YAiyET5nKJSYJAoX",
                        "http://webprotege.stanford.edu/R79918d31mkj7gGPmR00us9": "http://webprotege.stanford.edu/RBouRer6kTdZCfCZ4kpk7K3",
                        "http://webprotege.stanford.edu/R8vPX062NwsvUg0z6NRZerH": null
                    }
                },
                "afterXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/RxMK8BflSk74kqDWT4eHTy\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/R8vPX062NwsvUg0z6NRZerH\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RBouRer6kTdZCfCZ4kpk7K3\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/R79918d31mkj7gGPmR00us9\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RC0fF4cbTcg59fvYtEu1FF0\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RJ4FstTjtD6dNQx4agULMp\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RoaVc0YAiyET5nKJSYJAoX\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/R94oKO9u1LgzfqODgcPAc8L\"/></owl:Restriction></rdfs:subClassOf><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RoaVc0YAiyET5nKJSYJAoX\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/R9H3QGGtwC0XhV4Mfk6Ceep\"/></owl:Restriction></rdfs:subClassOf><webprotege:R8AWk6f00nQhiAoDl6ujohI>Handover</webprotege:R8AWk6f00nQhiAoDl6ujohI><webprotege:RkKVruwOD8lCCdsbyX0lwY>Plan Maintain Operate</webprotege:RkKVruwOD8lCCdsbyX0lwY><rdfs:label>Defect</rdfs:label><skos:definition rdf:datatype=\"http://www.w3.org/2001/XMLSchema#string\">TEST ES UPDATE 3 Failure of an Asset to perform its intended purpose within all expected normal operating parameters.</skos:definition></owl:Class>"
            }
        ],
        "deletedClasses": [
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R1AD8Bb0IbQzZYE0Ee9Qa8",
                    "label": "Low Level Design",
                    "annotations": {
                        "http://www.w3.org/2000/01/rdf-schema#label": "Low Level Design",
                        "http://www.w3.org/2004/02/skos/core#definition": "Design (for programmers) that further exposes logical detailed Design of each of the elements present in the High Level Design."
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/R9WIxkbvxYbhp8NthzYsXSx": null
                    }
                },
                "beforeXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/R1AD8Bb0IbQzZYE0Ee9Qa8\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/R9WIxkbvxYbhp8NthzYsXSx\"/><rdfs:label>Low Level Design</rdfs:label><skos:definition>Design (for programmers) that further exposes logical detailed Design of each of the elements present in the High Level Design.</skos:definition></owl:Class>",
                "after": null,
                "afterXml": null
            },
            {
                "before": {
                    "iri": "http://webprotege.stanford.edu/R1CEYmOdNWhDr4n2yz9Lzf",
                    "label": "External Factor",
                    "annotations": {
                        "http://webprotege.stanford.edu/RkKVruwOD8lCCdsbyX0lwY": "Plan",
                        "http://www.w3.org/2000/01/rdf-schema#label": "External Factor",
                        "http://www.w3.org/2004/02/skos/core#example": "Climate change, big political change, global pandemic",
                        "http://www.w3.org/2004/02/skos/core#definition": "Elements, often part of the economic, political and social environment of the locations where the company operates, that influence the business' results and performance from the outside."
                    },
                    "parentClasses": {
                        "http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs": null,
                        "http://webprotege.stanford.edu/RJ4FstTjtD6dNQx4agULMp": "http://webprotege.stanford.edu/RC0fF4cbTcg59fvYtEu1FF0"
                    }
                },
                "beforeXml": "<owl:Class rdf:about=\"http://webprotege.stanford.edu/R1CEYmOdNWhDr4n2yz9Lzf\"><rdfs:subClassOf rdf:resource=\"http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs\"/><rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource=\"http://webprotege.stanford.edu/RC0fF4cbTcg59fvYtEu1FF0\"/><owl:someValuesFrom rdf:resource=\"http://webprotege.stanford.edu/RJ4FstTjtD6dNQx4agULMp\"/></owl:Restriction></rdfs:subClassOf><webprotege:RkKVruwOD8lCCdsbyX0lwY>Plan</webprotege:RkKVruwOD8lCCdsbyX0lwY><rdfs:label>External Factor</rdfs:label><skos:definition>Elements, often part of the economic, political and social environment of the locations where the company operates, that influence the business' results and performance from the outside.</skos:definition><skos:example>Climate change, big political change, global pandemic</skos:example></owl:Class>",
                "after": null,
                "afterXml": null
            }
        ]
    }
}

6. Put RDF Dataset

Overview

Create or replace the entire RDF dataset content of a W3C Web Ontology Language (OWL) ontology managed by the OntoPop triplestore.

HTTP request methodPUT
API endpoint/triplestore/ontologies/{id}

Path Variables

NameDescriptionExample
id (integer)ID of the ontology whose entire RDF dataset content will be replaced.13

Request Parameters

NameDescriptionExample
format (string) *The format of the ontology data sent to this endpoint. Currently only rdf-xml and json are supported (required).rdf-xml
client (string)The name or ID of the client requesting this endpoint. Note that if API Authentication is enabled then the client name or ID is retrieved from the API Key, in which case this request parameter is not required. However if API Authentication is not enabled, then this request parameter MUST be provided otherwise a HTTP 400 Bad Request response will be returned.myclient
author (string) *The name or username of the end user who has authored the ontology data sent to this endpoint (required).myusername
message (string)An optional short message describing the changes made to the ontology data. This optional message will be used as the commit message when writing to the underlying Git repository, thus should follow the standard conventions when writing Git commit messages, as detailed at https://cbea.ms/git-commit. Note that if no message is provided, then OntoPop will generate a default commit message (optional).Add new vehicle class

Request Body

The ontology data with which to create or replace the entire RDF dataset content of the relevant W3C Web Ontology Language (OWL) ontology managed by the OntoPop triplestore.

FormatDescription
rdf-xmlIf the value of the format request parameter is rdf-xml, then a semantically valid RDF/XML string representing the full and entire OWL ontology must be provided in the request body.
jsonIf the value of the format request parameter is json, then a JSON object representing the full and entire ontology must be provided in the request body. OntoPop will then use the client name or client ID (retrieved from the API Key or client request parameter - see above) to select the appropriate mapper function to transform the JSON payload into an RDF/XML OWL ontology.

At the time of writing, OntoPop provides an out-of-the-box JSON to RDF/XML mapper function for the third party commercial OntoKai visualization client only. Additional native mappers (including LD-JSON, N-Quads and TriG to RDF/XML) are currently under development and will be released in future versions of OntoPop Community 3.x.

Request Headers

KeyValueDescription
X-API-KeyIssued API KeySee API Authentication for further details

Responses

HTTP StatusDescriptionResponse Schema
200 OKOntology RDF dataset successfully updated.N/A
400 Bad RequestMissing or invalid format, client, author or payload.N/A
401 UnauthorizedOntology data operation unauthorized.N/A
404 Not FoundOntology not found.N/A
500 Internal Server ErrorInternal server error.N/A

Examples

OntoKai Client

Example request (custom JSON payload)

$ curl -H "X-API-Key: ABCDEFGHIJKLMNOP12356789" -X PUT http://localhost:8080/triplestore/ontologies/13?format=json&author=joebloggs&message=Add%20Immaterial%20Continuant%20class -d 

'{
 "iaName": "Merge4",
 "metadata": {
  "timestamp": "2022-02-28T14:44:55.786953",
  "useTriage": [
   1,
   2
  ],
  "base": "Corporate Ontology",
  "graft": [
   "ADMM v13",
   "CBS v4.5",
   "PCF",
   "RBS",
   "WBS v5.4"
  ],
  "iaName": "Merge4",
  "longName": "Ont+Classifications",
  "abbreviation": "M4"
 },
 "selection": false,
 "version": 2,
 "nodes": [
  {
   "id": 26409,
   "category": "Class",
   "type": "Merge4",
   "label": "Immaterial Continuant",
   "autoCreated": "Corporate Ontology",
   "state": "Corporate Ontology",
   "ordinality": null,
   "published": 1,
   "idx": null,
   "keepState": null,
   "userLabel": null,
   "url": "http://webprotege.stanford.edu/RTyCIe0sZbCvkp6VVWaYGs",
   "attributes": [
    {
     "name": "definition",
     "value": "Concepts and ideas that exist in the real world.",
     "dataSource": "Corporate Ontology",
     "json": 0
    }
   ],
   "relationships": [
    {
     "childId": 26409,
     "parentId": 26665,
     "type": "subclass_of"
    }
   ],
   "taxons": [
    {
     "id": 1000002,
     "analystLabel": "Immaterial Continuant",
     "parentId": 1000001,
     "state": "readytodo",
     "dead": 0,
     "published": 1,
     "hidden": 0,
     "confidence": ":-",
     "clusterId": 1000002,
     "goalMatchState": "notset",
     "goalMatchId": 1910,
     "triageState": 1,
     "metonym": 0,
     "estimated": 0,
     "colour": "#e62325",
     "value": 1000,
     "clientShare": 0,
     "metricValue": 1000,
     "relevance": 0,
     "label": "Immaterial Continuant"
    }
   ]
  }
 ]
}'