OntoPop
Search…
⌃K

Triplestore API

API for querying the OntoPop RDF Triplestore.
Last Updated: 28 March 2022 • Page Author: Jillur Quddus

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 Method
POST
API Endpoint
/triplestore/ontologies/{id}/query/sparql

Path Variables

Name
Description
Example
id (integer)
ID of the ontology to query
13

Request Body

Content Type
Example
application/json
{ "query": "SELECT ?subject ?predicate ?object WHERE {?subject ?predicate ?object} LIMIT 25" }
application/x-www-form-urlencoded
Key: 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

Key
Value
Description
Accept
application/sparql-results+json (default)
Accept
application/sparql-results+xml
X-API-Key
Issued API Key
See API Authentication for further details.

Response Headers

Key
Description
Example
x-ontopop-latest-git-webhook-id
The ID of the latest Git webhook that has been consumed and processed for this ontology.
74

Responses

HTTP Status
Description
Response Schema
200 OK
SPARQL query successfully executed.
See above for the supported W3C standard response formats.
401 Unauthorized
SPARQL query request unauthorized.
N/A
500 Internal Server Error
Internal 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. RDF Dataset

Overview

Get the contents of an entire RDF dataset (i.e. RDF/XML OWL ontology) managed by the OntoPop triplestore.
HTTP Request Method
GET
API Endpoint
/triplestore/ontologies/{id}/data/rdf

Path Variables

Name
Description
Example
id (integer)
ID of the ontology to query
13

Request Body

Not Applicable

Request Headers

Key
Value
Description
Accept
application/trig (default)
Accept
application/ld+json
JSON-LD (JSON for Linking Data) W3C standard Specification | JSON-LD
Accept
application/n-quads
X-API-Key
Issued API Key
See API Authentication for further details.

Response Headers

Key
Description
Example
x-ontopop-latest-git-webhook-id
The ID of the latest Git webhook that has been consumed and processed for this ontology.
74

Responses

HTTP Status
Description
Response Schema
200 OK
RDF data successfully retrieved.
See above for the supported W3C standard response formats.
401 Unauthorized
Retrieval of RDF data unauthorized.
N/A
500 Internal Server Error
Internal 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. 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 Method
GET
API Endpoint
/triplestore/ontologies/{id}/data/owl

Path Variables

Name
Description
Example
id (integer)
ID of the ontology to query
13

Request Parameters

Name
Description
Example
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

Key
Value
Description
X-API-Key
Issued API Key
See API Authentication for further details.

Response Headers

Key
Description
Example
x-ontopop-latest-git-webhook-id
The ID of the latest Git webhook that has been consumed and processed for this ontology.
74

Responses

HTTP Status
Description
Response Schema
200 OK
OWL data successfully retrieved.
RDF/XML
401 Unauthorized
Retrieval of OWL data unauthorized.
N/A
500 Internal Server Error
Internal 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. 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 Method
GET
API Endpoint
/triplestore/ontologies/{id}/diff/temporal

Path Variables

Name
Description
Example
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.
Name
Description
Example
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

Key
Value
Description
X-API-Key
Issued API Key
See API Authentication for further details.

Responses

HTTP Status
Description
Response Schema
200 OK
Ontological temporal diff successfully processed.
400 Bad Request
Invalid timestamp.
N/A
401 Unauthorized
Ontological temporal diff operation unauthorized.
N/A
500 Internal Server Error
Internal 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>"
},
{