Skip to content

Commit

Permalink
API TESTS updated
Browse files Browse the repository at this point in the history
  • Loading branch information
henrietteharmse committed Nov 8, 2024
1 parent a80c979 commit cdc3842
Show file tree
Hide file tree
Showing 465 changed files with 94,368 additions and 35,195 deletions.
299 changes: 298 additions & 1 deletion testcases_expected_output_api/ontologies.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,61 @@
"status": "LOADED",
"updated": "<updated>"
},
{
"_links": {
"individuals": {
"href": "<base>/api/ontologies/base_uri/individuals"
},
"properties": {
"href": "<base>/api/ontologies/base_uri/properties"
},
"self": {
"href": "<base>/api/ontologies/base_uri?lang=en"
},
"terms": {
"href": "<base>/api/ontologies/base_uri/terms"
}
},
"baseUris": [
"http://www.ebi.ac.uk/baseUri/BASE_URI_"
],
"config": {
"allowDownload": false,
"baseUris": [
"http://www.ebi.ac.uk/baseUri/BASE_URI_"
],
"creators": [],
"definitionProperties": [],
"fileLocation": "./testcases/defined-fields/BaseUri.owl",
"hiddenProperties": [],
"hierarchicalProperties": [],
"id": "base_uri",
"isSkos": false,
"labelProperty": "http://www.w3.org/2000/01/rdf-schema#label",
"namespace": "base_uri",
"oboSlims": false,
"preferredPrefix": "BASE_URI",
"preferredRootTerms": [],
"synonymProperties": [],
"title": "Experimental Factor Ontology",
"version": "3.63.0",
"versionIri": "http://www.ebi.ac.uk/baseUri/releases/v3.63.0/BaseUri.owl"
},
"lang": "en",
"languages": [
"en"
],
"loadAttempts": 0,
"loaded": "<loaded>",
"message": "",
"numberOfIndividuals": 0,
"numberOfProperties": 0,
"numberOfTerms": 0,
"ontologyId": "base_uri",
"status": "LOADED",
"updated": "<updated>",
"version": "3.63.0"
},
{
"_links": {
"individuals": {
Expand Down Expand Up @@ -95,6 +150,152 @@
"status": "LOADED",
"updated": "<updated>"
},
{
"_links": {
"individuals": {
"href": "<base>/api/ontologies/definition-multiple/individuals"
},
"properties": {
"href": "<base>/api/ontologies/definition-multiple/properties"
},
"self": {
"href": "<base>/api/ontologies/definition-multiple?lang=en"
},
"terms": {
"href": "<base>/api/ontologies/definition-multiple/terms"
}
},
"baseUris": [],
"config": {
"allowDownload": false,
"baseUris": [],
"creators": [],
"definitionProperties": [],
"fileLocation": "./testcases/defined-fields/DefinitionMultiple.owl",
"hiddenProperties": [],
"hierarchicalProperties": [],
"id": "definition-multiple",
"isSkos": false,
"labelProperty": "http://www.w3.org/2000/01/rdf-schema#label",
"namespace": "definition-multiple",
"oboSlims": false,
"preferredPrefix": "Definition-Multiple",
"preferredRootTerms": [],
"synonymProperties": [],
"versionIri": "http://www.ebi.ac.uk/testcases/defined-fields/v.0.0.1/DefinitionMultiple.owl"
},
"lang": "en",
"languages": [
"en"
],
"loadAttempts": 0,
"loaded": "<loaded>",
"message": "",
"numberOfIndividuals": 0,
"numberOfProperties": 0,
"numberOfTerms": 1,
"ontologyId": "definition-multiple",
"status": "LOADED",
"updated": "<updated>"
},
{
"_links": {
"individuals": {
"href": "<base>/api/ontologies/definition-single/individuals"
},
"properties": {
"href": "<base>/api/ontologies/definition-single/properties"
},
"self": {
"href": "<base>/api/ontologies/definition-single?lang=en"
},
"terms": {
"href": "<base>/api/ontologies/definition-single/terms"
}
},
"baseUris": [
"http://www.w3.org/2002/07/owl#"
],
"config": {
"allowDownload": false,
"baseUris": [
"http://www.w3.org/2002/07/owl#"
],
"creators": [],
"definitionProperties": [],
"fileLocation": "./testcases/defined-fields/DefinitionSingle.ttl",
"hiddenProperties": [],
"hierarchicalProperties": [],
"id": "definition-single",
"isSkos": false,
"labelProperty": "http://www.w3.org/2000/01/rdf-schema#label",
"namespace": "definition-single",
"oboSlims": false,
"preferredPrefix": "Definition-Single",
"preferredRootTerms": [],
"synonymProperties": []
},
"lang": "en",
"languages": [
"en"
],
"loadAttempts": 0,
"loaded": "<loaded>",
"message": "",
"numberOfIndividuals": 0,
"numberOfProperties": 0,
"numberOfTerms": 1,
"ontologyId": "definition-single",
"status": "LOADED",
"updated": "<updated>"
},
{
"_links": {
"individuals": {
"href": "<base>/api/ontologies/direct-parent-with-annotation-axiom/individuals"
},
"properties": {
"href": "<base>/api/ontologies/direct-parent-with-annotation-axiom/properties"
},
"self": {
"href": "<base>/api/ontologies/direct-parent-with-annotation-axiom?lang=en"
},
"terms": {
"href": "<base>/api/ontologies/direct-parent-with-annotation-axiom/terms"
}
},
"baseUris": [],
"config": {
"allowDownload": false,
"baseUris": [],
"creators": [],
"definitionProperties": [],
"fileLocation": "./testcases/defined-fields/DirectParentWithAnnotationAxiom.owl",
"hiddenProperties": [],
"hierarchicalProperties": [],
"id": "direct-parent-with-annotation-axiom",
"isSkos": false,
"labelProperty": "http://www.w3.org/2000/01/rdf-schema#label",
"namespace": "direct-parent-with-annotation-axiom",
"oboSlims": false,
"preferredPrefix": "Direct-Parent-With-Annotation-Axiom",
"preferredRootTerms": [],
"synonymProperties": []
},
"lang": "en",
"languages": [
"en"
],
"loadAttempts": 0,
"loaded": "<loaded>",
"message": "",
"numberOfIndividuals": 0,
"numberOfProperties": 2,
"numberOfTerms": 3,
"ontologyId": "direct-parent-with-annotation-axiom",
"status": "LOADED",
"updated": "<updated>"
},
{
"_links": {
"individuals": {
Expand Down Expand Up @@ -583,6 +784,54 @@
"status": "LOADED",
"updated": "<updated>"
},
{
"_links": {
"individuals": {
"href": "<base>/api/ontologies/labelsingle/individuals"
},
"properties": {
"href": "<base>/api/ontologies/labelsingle/properties"
},
"self": {
"href": "<base>/api/ontologies/labelsingle?lang=en"
},
"terms": {
"href": "<base>/api/ontologies/labelsingle/terms"
}
},
"baseUris": [],
"config": {
"allowDownload": false,
"baseUris": [],
"creators": [],
"definitionProperties": [],
"fileLocation": "./testcases/defined-fields/labelSingle.owl",
"hiddenProperties": [],
"hierarchicalProperties": [],
"id": "labelsingle",
"isSkos": false,
"labelProperty": "http://www.w3.org/2000/01/rdf-schema#label",
"namespace": "labelsingle",
"oboSlims": false,
"preferredPrefix": "labelSingle",
"preferredRootTerms": [],
"synonymProperties": [],
"versionIri": "http://www.ebi.ac.uk/ols4/testcase/label/v.0.0.1"
},
"lang": "en",
"languages": [
"en"
],
"loadAttempts": 0,
"loaded": "<loaded>",
"message": "",
"numberOfIndividuals": 0,
"numberOfProperties": 0,
"numberOfTerms": 1,
"ontologyId": "labelsingle",
"status": "LOADED",
"updated": "<updated>"
},
{
"_links": {
"individuals": {
Expand Down Expand Up @@ -702,7 +951,7 @@
],
"creators": [],
"definitionProperties": [],
"fileLocation": "https://gist.githubusercontent.com/haideriqbal/4a2b1a9aa81d9fa26cae81e0b0b7730b/raw/527665128b9be9d7d6133f9a796379600151c737/oboInOwl.owl",
"fileLocation": "./testcases/annotation-properties/oboInOwl.owl",
"hiddenProperties": [],
"hierarchicalProperties": [],
"id": "oio",
Expand Down Expand Up @@ -4433,6 +4682,54 @@
"status": "LOADED",
"updated": "<updated>"
},
{
"_links": {
"individuals": {
"href": "<base>/api/ontologies/preferred-root/individuals"
},
"properties": {
"href": "<base>/api/ontologies/preferred-root/properties"
},
"self": {
"href": "<base>/api/ontologies/preferred-root?lang=en"
},
"terms": {
"href": "<base>/api/ontologies/preferred-root/terms"
}
},
"baseUris": [],
"config": {
"allowDownload": false,
"baseUris": [],
"creators": [],
"definitionProperties": [],
"fileLocation": "./testcases/defined-fields/PreferredRoot.owl",
"hiddenProperties": [],
"hierarchicalProperties": [],
"id": "preferred-root",
"isSkos": false,
"labelProperty": "http://www.w3.org/2000/01/rdf-schema#label",
"namespace": "preferred-root",
"oboSlims": false,
"preferredPrefix": "Preferred-Root",
"preferredRootTerms": [],
"synonymProperties": [],
"versionIri": "http://www.ebi.ac.uk/testcases/defined-fields/v.0.0.1/PreferredRoot.owl"
},
"lang": "en",
"languages": [
"en"
],
"loadAttempts": 0,
"loaded": "<loaded>",
"message": "",
"numberOfIndividuals": 0,
"numberOfProperties": 0,
"numberOfTerms": 1,
"ontologyId": "preferred-root",
"status": "LOADED",
"updated": "<updated>"
},
{
"_links": {
"individuals": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"status": 404,
"message": "Endpoint not found: /api/ontologies/definition-multiple/classes/http%253A%252F%252Fwww.ebi.ac.uk%252Ftestcases%252Fdefined-fields%252FDefinitionMultiple.owl%2523Definition-Multiple_0001"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"status": 404,
"message": "Endpoint not found: /api/ontologies/definition-multiple/entities/http%253A%252F%252Fwww.ebi.ac.uk%252Ftestcases%252Fdefined-fields%252FDefinitionMultiple.owl%2523Definition-Multiple_0001"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[
{
"_links": {
"graph": {
"href": "<base>/api/ontologies/definition-multiple/terms/http%253A%252F%252Fwww.ebi.ac.uk%252Ftestcases%252Fdefined-fields%252FDefinitionMultiple.owl%2523Definition-Multiple_0001/graph"
},
"self": {
"href": "<base>/api/ontologies/definition-multiple/terms/http%253A%252F%252Fwww.ebi.ac.uk%252Ftestcases%252Fdefined-fields%252FDefinitionMultiple.owl%2523Definition-Multiple_0001?lang=en"
}
},
"annotation": {},
"description": [
"A disease involving the liver.",
"Any disease or dysfunction of the liver and the intrahepatic bile ducts.",
"Pathological processes of the LIVER."
],
"has_children": false,
"iri": "http://www.ebi.ac.uk/testcases/defined-fields/DefinitionMultiple.owl#Definition-Multiple_0001",
"is_defining_ontology": false,
"is_obsolete": false,
"is_preferred_root": false,
"is_root": true,
"label": "liver disease",
"lang": "en",
"obo_id": "Definition-Multiple:0001",
"ontology_iri": "http://www.ebi.ac.uk/testcases/owl2primer/class.owl",
"ontology_name": "definition-multiple",
"ontology_prefix": "Definition-Multiple",
"short_form": "Definition-Multiple_0001",
"synonyms": []
}
]
Loading

0 comments on commit cdc3842

Please sign in to comment.