Last: ALPHA JECT micro 1 ISA Version 0.0.1 Id: d7ed7d up 7.5 hours Healthz 11.0 MB I Index N Node browser U DocTest editor T Run all DocTests
Quick search:SOGDemo is a demonstration of SharpOntologyGraph (SOG) through various domain applications. REST API with HTML and JSON. DocTest concept combines documentation with testing. See _Documentation__start.sogt (or scroll down on this page)
SharpOntologyGraph is copyright Bulbitech AS, Trondheim, Norway 2025. SOGDemo is copyright Bjørn Erling Fløtten. Source code (Bitbucket)
Central concepts are
Operations
related to some
Container
out of which
Populations
arise.
(Note: The actual calculation of the population characteristics is not yet implemented as of Nov 2025).
See PopulationLifeCycle.sogt for a practical example. The demonstration is bare-bones but shows the succinct nature of SOG's DocTest concept.
SOGDemo invents its own "sd_aqua" ontology for aquaculture. Note that no attempt has been made to identify existing ontologies specificially created for aquaculture. Using well established ontologies, if any exists, would make sense as it would ease interoperability and understanding. The underlying concepts would stay the same however. Brickschema, although originally made for buildings, is probably a useful starting point for modelling aquaculture process control systems
TODO
TODO
For resetting of data use /applicationExit (no response will be given)
| LocationsWithCages | Run | Location with Cages |
| _Documentation__start | Run | Documentation for SharpOntologyGraph's DocTest mechanism and SOGT syntax (Sharp Ontology Graph Test). |
| _Documentation_trick | Run | How to present the actual API JSON response in the DocTest HTML interface? |
| createInstance_invalid_ | Run | Test /createInstance endpoint |
| CreateOperation__valid_ThroughCreateInstance | Run | Create Operation through createInstance (ci) endpoint |
| createRelation_invalid | Run | Test /createRelation |
| HasInstanceRelationsTo__valid | Run | Valid operations for OwlClassRelationType sog_schema:hasInstanceRelationTo |
| HasInstanceRelationsTo_invalid | Run | Invalid operations for OwlClassRelationType sog_schema:hasInstanceRelationTo |
| HasInstanceRelationsTo_subclasses | Run | hasInstanceRelationTo involving sub classes |
| Immutable | Run | sog:Immutable classes should be immutable for properties but not relations |
| node_invalid | Run | Test /node |
| PopulationLifeCycle | Run | Demonstration of a fish population's life cycle |
| ScalarValidators_validateScalar__valid | Run | Test ScalarValidators with valid scalar values |
| ScalarValidators_validateScalar_invalid | Run | Test ScalarValidators with invalid scalar values |
| Search | Run | Search endpoint |
| setProperty_removeProperty__valid | Run | Test /setProperty and /removeProperty API endpoints with valid scalar values. |
| setProperty_removeProperty_invalid | Run | Test /setProperty and /removeProperty API endpoints with invalid scalar values. |
| SOGQ__valid_ClassDescription | Run | SOGQ with sog:ClassDescription |
| SOGQ__valid_ScalarDescription | Run | SOGQ with sog:GraphScalarDescription |
| SOGQ__valid_WHERE | Run | SOGQ mostly related to InstanceWHERETransformation |
| SOGQ__valid | Run | Some valid SOGT queries |
| SOGQ_invalid | Run | Some invalid SOGT queries |
| validateScalarValue_invalid | Run | Test invalid use of /validateScalarValue endpoint |