/jowl

http api to some owl apis writen in java

Primary LanguageJavaApache License 2.0Apache-2.0

jowl

Jowl is a spring boot application to expose some reasoning APIS such as checking consistency / satisfaisability and computeinference. we used Pellet and OWLAPI for developement of this application. This application will be in docker and we will provide a full documentation to run it.

One Command : To Build && Run The application Via Docker-Compose (Jowl + Virtuoso)

docker-compose up

this command will build and run two containers (Jowl and Virtuoso) and link them together.


Build only Jowl (without virtuoso) Via Docker

in case you already have a virtuoso container running in your machine (server or local pc), you only need to run the Jowl container:

  1. inside the application.properties file, you need to specify the virtuoso endpoint
VIRTUOSO_ENDPOINT_URL=http://localhost:8890/sparql
  1. build the Jowl container
docker build -t jowl .
  1. run the Jowl container
docker run -p 9170:9170 jowl

To Run The Application in the background

docker run -d -p 9170:9170 jowl

If you don't have docker installed

Refer to the Docker Web Site


API Documentation

After successfully downloading the project and running it, here's the API that you can use

Base URL : http://localhost:9170

Reasoning's APIS

Method Type API Description
GET /reasoner/test Testing if the server is running or not
GET /reasoner/consistency?filePath=<YOUR_FILE_NAME> Checking if the passed ontology file is consistent or not
GET /reasoner/consistency?url=<YOUR_URL_HERE> Checking if the passed ontology URL is consistent or not
GET /reasoner/unsatisfiable?filePath=<YOUR_FILE_NAME> Checking if the passed ontology file has an unsatifiable classes
GET /reasoner/unsatisfiable?url=<YOUR_URL_HERE> Checking if the passed ontology URL has an unsatifiable classes
GET /reasoner/inference?filePath=<YOUR_FILE_NAME> Generating Inferences from a file
GET /reasoner/inference?url=<YOUR_URL_HERE> Generating Inferences from an URL
GET /reasoner/parametres Get all the predicates associated with their class name
POST /reasoner/consistency Checking if the passed ontology file is consistent or not : can work with any input (File , URL , Text)
POST /reasoner/unsatisfiable Checking if the passed ontology file has an unsatifiable classes : can work with any input (File , URL , Text)
POST /reasoner/inference Generating Inferences : can work with any input (File , URL , Text)

Example Of Use For Reasoning Part

You open for example Postman ( You don't you know postman ? : Postman )

You choose POST Request , you pass this URL http://localhost:9170/reasoner/inference (or http://localhost:9170/hermit/inference )

You should pass one parameter of those in this List {url,ontologyContentEncoded64,filePath } in the JSON Body

For example when u say RangeAndDomain inside the predicate array u mean , Infer All the Range and Domain from the Ontology

You pick Body -> Raw -> JSON

{  
    "ontologyContentEncoded64":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIgogICAgICAgICB4bWxuczpyZGZzPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwLzAxL3JkZi1zY2hlbWEjIgoJIHhtbG5zOm93bD0iaHR0cDovL3d3dy53My5vcmcvMjAwMi8wNy9vd2wjIgoJIHhtbG5zPSJodHRwOi8vd3d3Lnhmcm9udC5jb20vb3dsL29udG9sb2dpZXMvY2FtZXJhLyMiCgkgeG1sbnM6Y2FtZXJhPSJodHRwOi8vd3d3Lnhmcm9udC5jb20vb3dsL29udG9sb2dpZXMvY2FtZXJhLyMiCgkgeG1sOmJhc2U9Imh0dHA6Ly93d3cueGZyb250LmNvbS9vd2wvb250b2xvZ2llcy9jYW1lcmEvIj4KCiAgICA8b3dsOk9udG9sb2d5PgogICAgICAgIDxyZGZzOmNvbW1lbnQ+CiAgICAgICAgQ2FtZXJhIE9XTCBPbnRvbG9neSAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgQXV0aG9yOiBSb2dlciBMLiBDb3N0ZWxsbyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgIEFja25vd2xlZ2VtZW50czogTWFueSB0aGFua3MgdG8gdGhlIGZvbGxvd2luZyBwZW9wbGUgZm9yICAgIAogICAgICAgICAgICAgICAgICAgICAgIHRoZWlyIGludmFsdWFibGUgaW5wdXQ6ICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICBSaWNoYXJkIE1jQ3VsbG91Z2gsIFl1emhvbmcgUXUsICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgTGVvIFNhdWVybWFubiwgQnJpYW4gTWNCcmlkZSBhbmQgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgIEppbSBGYXJydWdpYS4gICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAKICAgICAgTW9kaWZpZWQgYXMgYSBKZW5hIGV4YW1wbGUgYnkgSWFuIERpY2tpbnNvbgogICAgICAgIDwvcmRmczpjb21tZW50PgogICAgPC9vd2w6T250b2xvZ3k+CgogICAgIDxvd2w6Q2xhc3MgcmRmOklEPSJNb25leSI+CiAgICAgICAgICA8cmRmczpzdWJDbGFzc09mIHJkZjpyZXNvdXJjZT0iaHR0cDovL3d3dy53My5vcmcvMjAwMi8wNy9vd2wjVGhpbmciLz4KICAgICA8L293bDpDbGFzcz4KCiAgICAgPG93bDpEYXRhdHlwZVByb3BlcnR5IHJkZjpJRD0iY3VycmVuY3kiPgogICAgICAgICAgPHJkZnM6ZG9tYWluIHJkZjpyZXNvdXJjZT0iI01vbmV5Ii8+CiAgICAgICAgICA8cmRmczpyYW5nZSByZGY6cmVzb3VyY2U9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hI3N0cmluZyIvPgogICAgIDwvb3dsOkRhdGF0eXBlUHJvcGVydHk+CgogICAgIDxvd2w6Q2xhc3MgcmRmOklEPSJSYW5nZSI+CiAgICAgICAgICA8cmRmczpzdWJDbGFzc09mIHJkZjpyZXNvdXJjZT0iaHR0cDovL3d3dy53My5vcmcvMjAwMi8wNy9vd2wjVGhpbmciLz4KICAgICA8L293bDpDbGFzcz4KCiAgICAgPG93bDpEYXRhdHlwZVByb3BlcnR5IHJkZjpJRD0ibWluIj4KICAgICAgICAgIDxyZGZzOmRvbWFpbiByZGY6cmVzb3VyY2U9IiNSYW5nZSIvPgogICAgICAgICAgPH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lPSIjQm9keSIvPgogICAgIDwvb3dsOk9iamVjdFByb3BlcnR5PgoKICAgICA8b3dsOk9iamVjdFByb3BlcnR5IHJkZjpJRD0ic2h1dHRlci1zcGVlZCI+CiAgICAgICAgICA8cmRmczpkb21haW4gcmRmOnJlc291cmNlPSIjQm9keSIvPgogICAgICAgICAgPHJkZnM6cmFuZ2UgcmRmOnJlc291cmNlPSIjUmFuZ2UiLz4KICAgICA8L293bDpPYmplY3RQcm9wZXJ0eT4KCiAgICAgPG93bDpEYXRhdHlwZVByb3BlcnR5IHJkZjpJRD0iZm9jYWwtbGVuZ3RoIj4KICAgICAgICAgIDxvd2w6ZXF1aXZhbGVudFByb3BlcnR5IHJkZjpyZXNvdXJjZT0iI3NpemUiLz4KICAgICAgICAgIDxyZGZzOmRvbWFpbiByZGY6cmVzb3VyY2U9IiNMZW5zIi8+CiAgICAgICAgICA8cmRmczpyYW5nZSByZGY6cmVzb3VyY2U9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hI3N0cmluZyIvPgogICAgIDwvb3dsOkRhdGF0eXBlUHJvcGVydHk+CgogICAgIDxvd2w6RGF0YXR5cGVQcm9wZXJ0eSByZGY6SUQ9ImYtc3RvcCI+CiAgICAgICAgICA8b3dsOmVxdWl2YWxlbnRQcm9wZXJ0eSByZGY6cmVzb3VyY2U9IiNhcGVydHVyZSIvPgogICAgICAgICAgPHJkZnM6ZG9tYWluIHJkZjpyZXNvdXJjZT0iI0xlbnMiLz4KICAgICAgICAgIDxyZGZzOnJhbmdlIHJkZjpyZXNvdXJjZT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEjc3RyaW5nIi8+CiAgICAgPC9vd2w6RGF0YXR5cGVQcm9wZXJ0eT4KCjwvcmRmOlJERj4=",
    "predicates":[
           "DomainAndRange","UnionOf"
       ]
    }

Example 2 Of Use For Reasoning Part

here example when u say AllOWL inside the predicate array u mean , Infer Anything Possible from the Ontology

the list of the predicate:

  1. equivalentClass
  2. sameIndividual
  3. IntersectionOf
  4. UnionOf
  5. DisjointClasses
  6. differentIndividual
  7. HasValue
  8. InverseObjectProperties
  9. AllValuesFrom
  10. SomeValuesFrom
  11. DomainAndRange
  12. ClassAssertion
  13. SubClass
  14. DataPropertyCharacteristic
  15. EquivalentDataProperty
  16. EquivalentObjectProperty
  17. SubObjectProperty
  18. SubDataPropertyOfAxiom
  19. ObjectPropertyCharacteristic
  20. SubDataPropertyOfAxiom
  21. ComplementOf
  22. All_OWL
{  
    "ontologyContentEncoded64":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIgogICAgICAgICB4bWxuczpyZGZzPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwLzAxL3JkZi1zY2hlbWEjIgoJIHhtbG5zOm93bD0iaHR0cDovL3d3dy53My5vcmcvMjAwMi8wNy9vd2wjIgoJIHhtbG5zPSJodHRwOi8vd3d3Lnhmcm9udC5jb20vb3dsL29udG9sb2dpZXMvY2FtZXJhLyMiCgkgeG1sbnM6Y2FtZXJhPSJodHRwOi8vd3d3Lnhmcm9udC5jb20vb3dsL29udG9sb2dpZXMvY2FtZXJhLyMiCgkgeG1sOmJhc2U9Imh0dHA6Ly93d3cueGZyb250LmNvbS9vd2wvb250b2xvZ2llcy9jYW1lcmEvIj4KCiAgICA8b3dsOk9udG9sb2d5PgogICAgICAgIDxyZGZzOmNvbW1lbnQ+CiAgICAgICAgQ2FtZXJhIE9XTCBPbnRvbG9neSAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgQXV0aG9yOiBSb2dlciBMLiBDb3N0ZWxsbyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgIEFja25vd2xlZ2VtZW50czogTWFueSB0aGFua3MgdG8gdGhlIGZvbGxvd2luZyBwZW9wbGUgZm9yICAgIAogICAgICAgICAgICAgICAgICAgICAgIHRoZWlyIGludmFsdWFibGUgaW5wdXQ6ICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICBSaWNoYXJkIE1jQ3VsbG91Z2gsIFl1emhvbmcgUXUsICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgTGVvIFNhdWVybWFubiwgQnJpYW4gTWNCcmlkZSBhbmQgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgIEppbSBGYXJydWdpYS4gICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAKICAgICAgTW9kaWZpZWQgYXMgYSBKZW5hIGV4YW1wbGUgYnkgSWFuIERpY2tpbnNvbgogICAgICAgIDwvcmRmczpjb21tZW50PgogICAgPC9vd2w6T250b2xvZ3k+CgogICAgIDxvd2w6Q2xhc3MgcmRmOklEPSJNb25leSI+CiAgICAgICAgICA8cmRmczpzdWJDbGFzc09mIHJkZjpyZXNvdXJjZT0iaHR0cDovL3d3dy53My5vcmcvMjAwMi8wNy9vd2wjVGhpbmciLz4KICAgICA8L293bDpDbGFzcz4KCiAgICAgPG93bDpEYXRhdHlwZVByb3BlcnR5IHJkZjpJRD0iY3VycmVuY3kiPgogICAgICAgICAgPHJkZnM6ZG9tYWluIHJkZjpyZXNvdXJjZT0iI01vbmV5Ii8+CiAgICAgICAgICA8cmRmczpyYW5nZSByZGY6cmVzb3VyY2U9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hI3N0cmluZyIvPgogICAgIDwvb3dsOkRhdGF0eXBlUHJvcGVydHk+CgogICAgIDxvd2w6Q2xhc3MgcmRmOklEPSJSYW5nZSI+CiAgICAgICAgICA8cmRmczpzdWJDbGFzc09mIHJkZjpyZXNvdXJjZT0iaHR0cDovL3d3dy53My5vcmcvM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jc3RyaW5nIi8+CiAgICAgPC9vd2w6RGF0YXR5cGVQcm9wZXJ0eT4KCjwvcmRmOlJERj4=",
    "predicates":[
           "All_OWL"
       ]
    }

Jena's APIS

Method Type API Description
POST /jena/rdftriple Jena Triple Parsedr : can work and support any format (NQUADS,N3,SHACLC,RDFJSON,NTRIPLES,JSONLD,TURTLE,RDFXML,OWL) and can work with any input type (File , URL , Text)

Example Of Use for Jena PART .

You open for example Postman ( You don't you know postman ? : Postman )

You choose POST Request , you pass this URL http://localhost:9170/jena/rdftriple

You should pass one parameter of those in this List {url,ontologyContentEncoded64,filePath } in the JSON Body

You pick Body -> Raw -> JSON

    {
        "ontologyContentEncoded64":"PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxyZGY6UkRGIHhtbG5zPSJodHRwOi8vd3d3LnNlbWFudGljd2ViLm9yZy9uYXNyby9vbnRvbG9naWVzLzIwMjMvMy91bnRpdGxlZC1vbnRvbG9neS0xMC8iCiAgICAgeG1sOmJhc2U9Imh0dHA6Ly93d3cuc2VtYW50aWN3ZWIub3JnL25hc3JvL29udG9sb2dpZXMvMjAyMy8zL3VudGl0bGVkLW9udG9sb2d5LTEwLyIKICAgICB4bWxuczpvd2w9Imh0dHA6Ly93d3cudzMub3JnLzIwMDIvMDcvb3dsIyIKICAgICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgICAgeG1sbnM6eG1sPSJodHRwOi8vd3d3LnczLm9yZy9YTUwvMTk5OC9uYW1lc3BhY2UiCiAgICAgeG1sbnM6eHNkPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSMiCiAgICAgeG1sbnM6cmRmcz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC8wMS9yZGYtc2NoZW1hIyI+CiAgICA8b3dsOk9udG9sb2d5IHJkZjphYm91dD0iaHR0cDovL3d3dy5zZW1hbnRpY3dlYi5vcmcvbmFzcm8vb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AgICAgICAgICAgICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9Imh0dHA6Ly93d3cuc2VtYW50aWN3ZWIub3JnL25hc3JvL29udG9sb2dpZXMvMjAyMy8zL3VudGl0bGVkLW9udG9sb2d5LTEwI2JveSIvPgogICAgICAgICAgICAgICAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSJodHRwOi8vd3d3LnNlbWFudGljd2ViLm9yZy9uYXNyby9vbnRvbG9naWVzLzIwMjMvMy91bnRpdGxlZC1vbnRvbG9neS0xMCNzbWFsbCIvPgogICAgICAgICAgICAgICAgPC9vd2w6dW5pb25PZj4KICAgICAgICAgICAgPC9vd2w6Q2xhc3M+CiAgICAgICAgPC9vd2w6ZXF1aXZhbGVudENsYXNzPgogICAgPC9vd2w6Q2xhc3M+CiAgICAKCgogICAgPCEtLSBodHRwOi8vd3d3LnNlbWFudGljd2ViLm9yZy9uYXNyby9vbnRvbG9naWVzLzIwMjMvMy91bnRpdGxlZC1vbnRvbG9neS0xMCNzbWFsbCAtLT4KCiAgICA8b3dsOkNsYXNzIHJkZjphYm91dD0iaHR0cDovL3d3dy5zZW1hbnRpY3dlYi5vcmcvbmFzcm8vb250b2xvZ2llcy8yMDIzLzMvdW50aXRsZWQtb250b2xvZ3ktMTAjc21hbGwiLz4KPC9yZGY6UkRGPgoKCgo8IS0tIEdlbmVyYXRlZCBieSB0aGUgT1dMIEFQSSAodmVyc2lvbiA0LjUuMjUuMjAyMy0wMi0xNVQxOToxNTo0OVopIGh0dHBzOi8vZ2l0aHViLmNvbS9vd2xjcy9vd2xhcGkgLS0+Cgo="}

SWRL Rules's APIS

Method Type API Description
POST /swrl/alternative_exec_rule SWRL Rule for classification : Student(x) -> Person (x)
POST /swrl/exec_rule SWRL Rule Complex Input :Person(x) ^ hasSibling (x,y) ^ man (y) -> hasBrother(x,y)

Example Of Use For SWRL Part [ api 1]

You open for example Postman ( You don't you know postman ? : Postman )

You choose POST Request , you pass this URL http://localhost:9170/swrl/alternative_exec_rule

You should pass one parameter of those in this List {url,ontologyContentEncoded64,filePath } in the JSON Body

Lets take an example :

Student(x) -> Person(x)

if x = Amine and Amine is a student then Amine is a person and that's what we infer.

You pick Body -> Raw -> JSON

    {
        "ontologyContentEncoded64" : "PHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIgogICAgICAgICB4bWxuczpvd2w9Imh0dHA6Ly93d3cudzMub3JnLzIwMDIvMDcvb3dsIyIKICAgICAgICAgeG1sbnM6cmRmcz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC8wMS9yZGYtc2NoZW1hIyIKICAgICAgICAgeG1sbnM6eHNkPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSMiCiAgICAgICAgIHhtbG5zPSJodHRwOi8vd3d3LmV4YW1wbGUuY29tL29udG9sb2d5IyIKICAgICAgICAgeG1sOmJhc2U9Imh0dHA6Ly93d3cuZXhhbXBsZS5jb20vb250b2xvZ3kiPgoKICAgIDxvd2w6T250b2xvZ3kgcmRmOmFib3V0PSJodHRwOi8vd3d3LmV4YW1wbGUuY29tL29udG9sb2d5Ii8+CgogICAgPG93bDpDbGFzcyByZGY6YWJvdXQ9Imh0dHA6Ly93d3cuZXhhbXBsZS5jb20vb250b2xvZ3kjUGVyc29uIi8+CiAgICAKICAgIDxvd2w6Q2xhc3MgcmRmOmFib3V0PSJodHRwOi8vd3d3LmV4YW1wbGUuY29tL29udG9sb2d5I1N0dWRlbnQiLz4KCiAgICA8b3dsOk5hbWVkSW5kaXZpZHVhbCByZGY6YWJvdXQ9Imh0dHA6Ly93d3cuZXhhbXBsZS5jb20vb250b2xvZ3kjQW1pbmUiPgogICAgICAgIDxyZGY6dHlwZSByZGY6cmVzb3VyY2U9Imh0dHA6Ly93d3cuZXhhbXBsZS5jb20vb250b2xvZ3kjU3R1ZGVudCIvPgogICAgPC9vd2w6TmFtZWRJbmRpdmlkdWFsPgo8L3JkZjpSREY+Cg==" ,
            "premise":["http://www.example.com/ontology#Student"],
            "conclusion":["http://www.example.com/ontology#Person"]
        
        }

Example Of Use For SWRL Part [ api 2]

You open for example Postman ( You don't you know postman ? : Postman )

You choose POST Request , you pass this URL http://localhost:9170/swrl/exec_rule

You should pass one parameter of those in this List {url,ontologyContentEncoded64,filePath } in the JSON Body

Lets take an example :

Person(x) ^ hasSibling (x,y) ^ man (y) → hasBrother(x,y)

x = Amine and y = Anas if Amine is a person also Amine has a sibling Anas and Anas is a man then Amine has brother called Anas and that's what we infer.

You pick Body -> Raw -> JSON

{
"ontologyContentEncoded64" : "PHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIgogICAgICAgICB4bWxuczpvd2w9Imh0dHA6Ly93d3cudzMub3JnLzIwMDIvMDcvb3dsIyIKICAgICAgICAgeG1sbnM6cmRmcz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC8wMS9yZGYtc2NoZW1hIyIKICAgICAgICAgeG1sbnM6eHNkPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSMiCiAgICAgICAgIHhtbG5zPSJodHRwOi8vd3d3LmV4YW1wbGUuY29tL29udG9sb2d5IyIKICAgICAgICAgeG1sOmJhc2U9Imh0dHA6Ly93d3cuZXhhbXBsZS5jb20vb250b2xvZ3kiPgoKICAgIDxvd2w6T250b2xvZ3kgcmRmOmFib3V0PSJodHRwOi8vd3d3LmV4YW1wbGUuY29tL29udG9sb2d5Ii8+CgogICAgPG93bDpDbGFzcyByZGY6YWJvdXQ9Imh0dHA6Ly93d3cuZXhhbXBsZS5jb20vb250b2xvZ3kjUGVyc29uIi8+CiAgICAKICAgIDxvd2w6Q2xhc3MgcmRmOmFib3V0PSJodHRwOi8vd3d3LmV4YW1wbGUuY29tL29udG9sb2d5I0h1bWFuIi8+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b3VyY2U9Imh0dHA6Ly93d3cuZXhhbXBsZS5jb20vb250b2xvZ3kjUGVyc29uIi8+CiAgICAgICAgPGhhc1NpYmxpbmcgcmRmOnJlc291cmNlPSJodHRwOi8vd3d3LmV4YW1wbGUuY29tL29udG9sb2d5I0FuYXMiLz4KICAgIDwvb3dsOk5hbWVkSW5kaXZpZHVhbD4KICAgIAo8L3JkZjpSREY+Cg==" ,
"premise":[
    {
        "type": "owl:Class",
        "entities": [
            {
                "name": "http://www.example.com/ontology#Person",
                "var": ["A"]
            },
            {
                "name": "http://www.example.com/ontology#Man",
                "var": ["Y"]
            }
        ]
    },
    {
        "type": "owl:ObjectProperty",
        "entities": [
            {
                "name": "http://www.example.com/ontology#hasSibling",
                "var": ["A", "Y"]
            }
        ]
    }
],
"conclusion":[
    {
        "type": "owl:ObjectProperty",
        "entities": [
            {
                "name": "http://www.example.com/ontology#hasBrother",
                "var": ["A", "Y"]
            }
        ]
    }
]
            

}

Example Of Use For SWRL Part [ SWRL BUILT IN For compare features api 3]

You open for example Postman ( You don't you know postman ? : Postman )

You choose POST Request , you pass this URL http://localhost:9170/swrl/exec_rule

You should pass one parameter of those in this List {url,ontologyContentEncoded64,filePath } in the JSON Body

Lets take an example :

Person(x) ^ hasAge (x,Age) ^ swrlb:greaterThanOrEqual (18) → Adult(x)

x = Amine if Amine is a person and has an age and his age is greater than 18 then he's Adult and that's what we infer.

You pick Body -> Raw -> JSON

    {
        "ontologyContentEncoded64" : "PHJkZjpSREYKICAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIKICAgIHhtbG5zOm93bD0iaHR0cDovL3d3dy53My5vcmcvMjAwMi8wNy9vd2wjIgogICAgeG1sbnM6ZXg9Imh0dHA6Ly93d3cuZXhhbXBsZS5jb20jIgogICAgeG1sbnM6eHNkPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSMiCiAgICB4bWxu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2w6TmFtZWRJbmRpdmlkdWFsIHJkZjphYm91dD0iaHR0cDovL3d3dy5leGFtcGxlLmNvbSNMb3VqZWluIj4KICAgICAgICA8cmRmOnR5cGUgcmRmOnJlc291cmNlPSJodHRwOi8vd3d3LmV4YW1wbGUuY29tI1BlcnNvbiIvPgogICAgICAgIDxleDpoYXNBZ2UgcmRmOmRhdGF0eXBlPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSNpbnQiPjE0PC9leDpoYXNBZ2U+CiAgICA8L293bDpOYW1lZEluZGl2aWR1YWw+CgogICAgPG93bDpOYW1lZEluZGl2aWR1YWwgcmRmOmFib3V0PSJodHRwOi8vd3d3LmV4YW1wbGUuY29tI0FtaW5lIj4KICAgICAgICA8cmRmOnR5cGUgcmRmOnJlc291cmNlPSJodHRwOi8vd3d3LmV4YW1wbGUuY29tI1BlcnNvbiIvPgogICAgICAgIDxleDpoYXNBZ2UgcmRmOmRhdGF0eXBlPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSNpbnQiPjI0PC9leDpoYXNBZ2U+CiAgICA8L293bDpOYW1lZEluZGl2aWR1YWw+CgogICAgPG93bDpOYW1lZEluZGl2aWR1YWwgcmRmOmFib3V0PSJodHRwOi8vd3d3LmV4YW1wbGUuY29tI1JhbmlhIj4KICAgICAgICA8cmRmOnR5cGUgcmRmOnJlc291cmNlPSJodHRwOi8vd3d3LmV4YW1wbGUuY29tI1BlcnNvbiIvPgogICAgICAgIDxleDpoYXNBZ2UgcmRmOmRhdGF0eXBlPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSNpbnQiPjMwPC9leDpoYXNBZ2U+CiAgICA8L293bDpOYW1lZEluZGl2aWR1YWw+CjwvcmRmOlJERj4K" ,
"premise":[
    {
        "type": "owl:Class",
        "entities": [
            {
                "name": "http://www.example.com/ontology#Person",
                "var": ["X"]
            }
        ]
    },
    {
        "type": "owl:DataProperty",
        "entities": [
            {
                "name": "http://www.example.com#hasAge",
                "var": ["X", "age"]
            }
        ]
    },{
        "type":"swrlb:compare",
        "entities":
        [
            {
                "name": "greaterThanOrEqual",
                "var": ["age"],
                "literal":["18"]
            }
        ]
    }
],
"conclusion":[
    {
        "type": "owl:Class",
        "entities": [
            {
                "name": "http://www.example.com#Adult",
                "var": ["X"]
            }
        ]
    }
]
            

        }

Example Of Use For SWRL Part [ SWRL BUILT IN For String features api 4]

You open for example Postman ( You don't you know postman ? : Postman )

You choose POST Request , you pass this URL http://localhost:9170/swrl/exec_rule

You should pass one parameter of those in this List {url,ontologyContentEncoded64,filePath } in the JSON Body

Lets take an example :

Student(y) ^ hasName (y,name) ^ swrlb:endsWith (name,"s") → Person(x)

If hes student and has a name ends with S then it will be returned as a person

You pick Body -> Raw -> JSON

    {
        "ontologyContentEncoded64" : "PHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIgogICAgICAgICB4bWxuczpvd2w9Imh0dHA6Ly93d3cudzMub3JnLzIwMDIvMDcvb3dsIyIKICAgICAgICAgeG1sbnM6cmRmcz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC8wMS9yZGYtc2NoZW1hIyIKICAgICAgICAgeG1sbnM6eHNkPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSMiCiAgICAgICAgIHhtbG5zPSJodHRwOi8vd3d3LmV4YW1wbGUuY29tL29udG9sb2d5IyIKICAgICAgICAgeG1sOmJhc2U9Imh0dHA6Ly93d3cuZXhhbXBsZS5jb20vb250b2xvZ3kiPgoKICAgIDxvd2w6T250b2xvZ3kgcmRmOmFib3V0PSJodHRwOi8vd3d3LmV4YW1wbGUuY29tL29udG9sb2d5Ii8+CgogICAgPG93bDpDbGFzcyByZGY6YWJvdXQ9Imh0dHA6Ly93d3cuZXhhbXBsZS5jb20vb250b2xvZ3kjUGVyc29uIi8+CgogICAgPG93bDpDbGFzcyByZGY6YWJvdXQ9Imh0dHA6Ly93d3cuZXhhbXBsZS5jb20vb250b2xvZ3kjU3R1ZGVudCIvPgoKICAgIDxvd2w6RGF0YXR5cGVQcm9wZXJ0eSByZGY6YWJvdXQ9Imh0dHA6Ly93d3cuZXhhbXBsZS5jb20vb250b2xvZ3kjaGFzTmFtZSI+CiAgICAgICAgPHJkZnM6cmFuZ2UgcmRmOnJlc291cmNlPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSNzdHJpbmciLz4KICAgIDwvb3dsOkRhdGF0eXBlUHJvcGVydHk+CgogICAgPG93bDpOYW1lZEluZGl2aWR1YWwgcmRmOmFib3V0PSJodHRwOi8vd3d3LmV4YW1wbGUuY29tL29udG9sb2d5I0FtaW5lIj4KICAgICAgICA8cmRmOnR5cGUgcmRmOnJlc291cmNlPSJodHRwOi8vd3d3LmV4YW1wbGUuY29tL29udG9sb2d5I1N0dWRlbnQiLz4KICAgICAgICA8aGFzTmFtZSByZGY6ZGF0YXR5cGU9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hI3N0cmluZyI+QW1pbmU8L2hhc05hbWU+CiAgICA8L293bDpOYW1lZEluZGl2aWR1YWw+CgogICAgPG93bDpOYW1lZEluZGl2aWR1YWwgcmRmOmFib3V0PSJodHRwOi8vd3d3LmV4YW1wbGUuY29tL29udG9sb2d5I0FuYXMiPgogICAgICAgIDxyZGY6dHlwZSByZGY6cmVzb3VyY2U9Imh0dHA6Ly93d3cuZXhhbXBsZS5jb20vb250b2xvZ3kjU3R1ZGVudCIvPgogICAgICAgIDxoYXNOYW1lIHJkZjpkYXRhdHlwZT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEjc3RyaW5nIj5BbmFzPC9oYXNOYW1lPgogICAgPC9vd2w6TmFtZWRJbmRpdmlkdWFsPgoKPC9yZGY6UkRGPgo=" ,
            "premise":[
    {
        "type": "owl:Class",
        "entities": [
            {
                "name": "http://www.example.com/ontology#Student",
                "var": ["Y"]
            }
        ]
    },
        {
        "type": "owl:DataProperty",
        "entities": [
            {
                "name": "http://www.example.com/ontology#hasName",
                "var": ["Y", "name"]
            }
        ]
    },
    {
        "type":"swrlb:string",
        "entities":
        [
            {
                "name": "endsWith",
                "var": ["name"],
                "literal":["s"]
            }
        ]
    }
],
            "conclusion":[
    {
        "type": "owl:Class",
        "entities": [
            {
                "name": "http://www.example.com/ontology#Person",
                "var": ["Y"]
            }
        ]
    }
]
            

        }

Manchester OWL Syntax's APIS

Method Type API Description
POST /manchester/manchester2triples Convert an Axiom written in Manchester OWL Syntax to Triples
POST /manchester/triples2manchester Convert a set of triples to Manchester OWL Syntax
POST /manchester/checkConsistency Check consistency an axiom written in Manchester OWL Syntax
POST /manchester/getClassAxioms Retrieve all the axioms for a certain class in manchester and/or triple format

Example Of Use For Manchester Part api 1

You open for example Postman ( You don't you know postman ? : Postman )

Choose a POST Request , you pass this URL http://localhost:9170/manchester/manchester2triples

In the body of the request (You click on Body -> Raw -> JSON ), two parameters should be passed:

  1. The graph name in virtuoso of the ontology that contains the definition of the classes and properties used in the axiom you want to convert to triples.
  2. The axiom you want to convert to triples.
  3. The class uri (the class that will be on the left side of the axiom).
  4. The axiom type (subCLassOf, EquivalentTo, DisjointUnion, DisjointWIth).
  5. save, boolean to save triples in triple store in the specified graph name.
  6. check, boolean to check consistency(and the ontology with the new axiom) of the axiom while converting it.
    {
  "graphName":  "https://spec.industrialontologies.org/ontology/core/Core/",
  "input": " <https://spec.industrialontologies.org/ontology/core/Core/BusinessProcess> SubClassOf: ( <https://spec.industrialontologies.org/ontology/core/Core/prescribedBy> some (<https://spec.industrialontologies.org/ontology/core/Core/PlanSpecification> and ( <http://purl.obolibrary.org/obo/BFO_0000110> some (<https://spec.industrialontologies.org/ontology/core/Core/ObjectiveSpecification> and (<http://purl.obolibrary.org/obo/BFO_0000084> some <https://spec.industrialontologies.org/ontology/core/Core/BusinessOrganization>)))))",
  "classUri": "https://spec.industrialontologies.org/ontology/core/Core/BusinessProcess",
  "axiomType": "subclassOf",
  "saveTriples": true,
  "checkConsistency": true
}

Example Of Use For Manchester Part api 2

You open for example Postman ( You don't you know postman ? : Postman )

Choose a POST Request , you pass this URL http://localhost:9170/manchester/triples2manchester

In the body of the request (You click on Body -> Raw -> JSON ), two option of parametres could be passed, the first one is to specify a graphName, and a list of triples (subject, predicate, object). Or as other option we can pass one parameter axiomGraphName and then all triples of that graph will be queried from the triple store and converted to manchester:

first option

  1. The graph name in virtuoso of the ontology that contains the definition of the classes and properties used in the axiom you want to convert to triples.
  2. The triples you want to convert to a manchester syntax.
    {
    "graphName":  "https://spec.industrialontologies.org/ontology/core/Core/",
    "triples": [
        {
          "subject": "https://spec.industrialontologies.org/ontology/core/Core/BusinessProcess",
          "predicate": "http://www.w3.org/2000/01/rdf-schema#subClassOf",
          "object": "https://spec.industrialontologies.org/ontology/core/Core/PlanSpecification"
        }
      ]
    }

second option

  {
    "axiomGraphName": "https://spec.industrialontologies.org/ontology/202401/core/Core/concepts/BusinessProcess/SubClassOf/f388ea9c-f035-46ed-9b94-1f89b991182b/"
  }

Example Of Use For Manchester Part api 3

You open for example Postman ( You don't you know postman ? : Postman )

Choose a POST Request , you pass this URL http://localhost:9170/manchester/checkConsistency

In the body of the request (You click on Body -> Raw -> JSON ), two parameters should be passed:

  1. The graph name in virtuoso of the ontology that contains the definition of the classes and properties used in the axiom you want to convert to triples.
  2. The axiom you want to check the consistency for.
    {
    "graphName":  "https://spec.industrialontologies.org/ontology/core/Core/",
    "input": " <https://spec.industrialontologies.org/ontology/core/Core/BusinessProcess> SubClassOf: ( <https://spec.industrialontologies.org/ontology/core/Core/prescribedBy> some (<https://spec.industrialontologies.org/ontology/core/Core/PlanSpecification> and ( <http://purl.obolibrary.org/obo/BFO_0000110> some (<https://spec.industrialontologies.org/ontology/core/Core/ObjectiveSpecification> and (<http://purl.obolibrary.org/obo/BFO_0000084> some <https://spec.industrialontologies.org/ontology/core/Core/BusinessOrganization>)))))"
    }

Example Of Use For Manchester Part api 1

You open for example Postman ( You don't you know postman ? : Postman )

Choose a POST Request , you pass this URL http://localhost:9170/manchester/manchester2triples

In the body of the request (You click on Body -> Raw -> JSON ), two parameters should be passed:

  1. The graph name in virtuoso of the ontology that contains the definition of the classes and properties used in the axiom you want to convert to triples.
  2. The class uri of the class we want to retrieve its axioms.
  3. Tthe axiom type (subCLassOf, EquivalentTo, DisjointWIth or empty for all).
  4. manchetserFormat, boolean to specify that the axioms should be returned in manchester format.
  5. tripleFormat, boolean to specify that the axioms should be returned in triples format.
    {
  "graphName":  "https://spec.industrialontologies.org/ontology/core/Core/",
  "classUri": "https://spec.industrialontologies.org/ontology/core/Core/BusinessProcess",
  "axiomType": "subclassOf",
  "manchetserFormat": true,
  "tripleFormat": true
}

Useful encoders to encode the TEXT

ENOCDER-64

Useful Link for BuiltIn Function

Documentation

Useful Link for Manchester OWL Syntax

Machester OWL Syntax