-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
416 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#Name of the project | ||
name: BusinessOntology | ||
|
||
## OpenAPI Section | ||
### Name, version and URL of the OpenAPI | ||
### For more information about the section. Go to the official documentation | ||
openapi: | ||
openapi: 3.0.1 | ||
info: | ||
description: This is the API of the Business Ontology | ||
title: Business Ontology test | ||
version: v1 | ||
externalDocs: | ||
description: busont | ||
url: https://www.semanticarts.com/gist/previous-versions/ | ||
servers: | ||
- url: http://localhost:8080/v1 | ||
- description: localhost server | ||
|
||
## Ontologies | ||
### List of ontologies | ||
ontologies: | ||
- examples/business/ontology.xml | ||
|
||
## SPARQL information | ||
endpoint: | ||
url: http://localhost:7201/sparql | ||
prefix: https://businessontology.com/resource | ||
|
||
## Filter the paths by methods | ||
enable_get_paths: true | ||
enable_post_paths: false | ||
enable_delete_paths: false | ||
enable_put_paths: false | ||
|
||
|
||
follow_references: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
<?xml version="1.0"?> | ||
<rdf:RDF xmlns="https://businessontology.com/ontology/" | ||
xml:base="https://businessontology.com/ontology/" | ||
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#"> | ||
<owl:Ontology rdf:about="https://businessontology.com/ontology"/> | ||
|
||
|
||
|
||
<!-- | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Object Properties | ||
// | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
--> | ||
|
||
|
||
|
||
|
||
<!-- https://businessontology.com/ontology/hasLocation --> | ||
|
||
<owl:ObjectProperty rdf:about="https://businessontology.com/ontology/hasLocation"/> | ||
|
||
|
||
|
||
<!-- https://businessontology.com/ontology/hasOrder --> | ||
|
||
<owl:ObjectProperty rdf:about="https://businessontology.com/ontology/hasOrder"/> | ||
|
||
|
||
|
||
<!-- https://businessontology.com/ontology/locatedAt --> | ||
|
||
<owl:ObjectProperty rdf:about="https://businessontology.com/ontology/locatedAt"/> | ||
|
||
|
||
|
||
<!-- https://businessontology.com/ontology/orderedBy --> | ||
|
||
<owl:ObjectProperty rdf:about="https://businessontology.com/ontology/orderedBy"/> | ||
|
||
|
||
|
||
<!-- | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Classes | ||
// | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
--> | ||
|
||
|
||
|
||
|
||
<!-- https://businessontology.com/ontology/Artifact --> | ||
|
||
<owl:Class rdf:about="https://businessontology.com/ontology/Artifact"/> | ||
|
||
|
||
|
||
<!-- https://businessontology.com/ontology/Building --> | ||
|
||
<owl:Class rdf:about="https://businessontology.com/ontology/Building"> | ||
<rdfs:subClassOf> | ||
<owl:Restriction> | ||
<owl:onProperty rdf:resource="https://businessontology.com/ontology/locatedAt"/> | ||
<owl:someValuesFrom rdf:resource="https://businessontology.com/ontology/Location"/> | ||
</owl:Restriction> | ||
</rdfs:subClassOf> | ||
</owl:Class> | ||
|
||
|
||
|
||
<!-- https://businessontology.com/ontology/Business_User --> | ||
|
||
<owl:Class rdf:about="https://businessontology.com/ontology/Business_User"/> | ||
|
||
|
||
|
||
<!-- https://businessontology.com/ontology/Customer --> | ||
|
||
<owl:Class rdf:about="https://businessontology.com/ontology/Customer"> | ||
<rdfs:subClassOf> | ||
<owl:Restriction> | ||
<owl:onProperty rdf:resource="https://businessontology.com/ontology/hasOrder"/> | ||
<owl:someValuesFrom rdf:resource="https://businessontology.com/ontology/Transaction_Document"/> | ||
</owl:Restriction> | ||
</rdfs:subClassOf> | ||
</owl:Class> | ||
|
||
|
||
|
||
<!-- https://businessontology.com/ontology/Location --> | ||
|
||
<owl:Class rdf:about="https://businessontology.com/ontology/Location"/> | ||
|
||
|
||
|
||
<!-- https://businessontology.com/ontology/Transaction_Document --> | ||
|
||
<owl:Class rdf:about="https://businessontology.com/ontology/Transaction_Document"/> | ||
</rdf:RDF> | ||
|
||
|
||
|
||
<!-- Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi --> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
<?xml version="1.0"?> | ||
<rdf:RDF xmlns="https://businessontology.com/ontology#" | ||
xml:base="https://businessontology.com/ontology#" | ||
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#"> | ||
<owl:Ontology rdf:about="https://businessontology.com/ontology#"/> | ||
|
||
|
||
|
||
<!-- | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Object Properties | ||
// | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
--> | ||
|
||
|
||
|
||
|
||
<!-- https://businessontology.com/ontology#hasLocation --> | ||
|
||
<owl:ObjectProperty rdf:about="https://businessontology.com/ontology#hasLocation"> | ||
<rdfs:domain rdf:resource="https://businessontology.com/ontology#Building"/> | ||
<rdfs:range rdf:resource="https://businessontology.com/ontology#Location"/> | ||
<rdfs:comment>has location def</rdfs:comment> | ||
<rdfs:label>has location</rdfs:label> | ||
</owl:ObjectProperty> | ||
|
||
|
||
|
||
<!-- https://businessontology.com/ontology#hasOrder --> | ||
|
||
<owl:ObjectProperty rdf:about="https://businessontology.com/ontology#hasOrder"> | ||
<rdfs:domain rdf:resource="https://businessontology.com/ontology#Customer"/> | ||
<rdfs:range rdf:resource="https://businessontology.com/ontology#Transaction_Document"/> | ||
</owl:ObjectProperty> | ||
|
||
|
||
|
||
<!-- https://businessontology.com/ontology#locatedAt --> | ||
|
||
<owl:ObjectProperty rdf:about="https://businessontology.com/ontology#locatedAt"/> | ||
|
||
|
||
|
||
<!-- https://businessontology.com/ontology#orderedBy --> | ||
|
||
<owl:ObjectProperty rdf:about="https://businessontology.com/ontology#orderedBy"/> | ||
|
||
|
||
|
||
<!-- | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Classes | ||
// | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
--> | ||
|
||
|
||
|
||
|
||
<!-- https://businessontology.com/ontology#Artifact --> | ||
|
||
<owl:Class rdf:about="https://businessontology.com/ontology#Artifact"> | ||
<rdfs:comment xml:lang="en">Artifact def</rdfs:comment> | ||
<rdfs:label xml:lang="en">Artifact</rdfs:label> | ||
</owl:Class> | ||
|
||
|
||
|
||
<!-- https://businessontology.com/ontology#Building --> | ||
|
||
<owl:Class rdf:about="https://businessontology.com/ontology#Building"> | ||
<rdfs:subClassOf> | ||
<owl:Restriction> | ||
<owl:onProperty rdf:resource="https://businessontology.com/ontology#locatedAt"/> | ||
<owl:someValuesFrom rdf:resource="https://businessontology.com/ontology#Location"/> | ||
</owl:Restriction> | ||
</rdfs:subClassOf> | ||
<rdfs:comment xml:lang="en">The building</rdfs:comment> | ||
<rdfs:label xml:lang="en">Building</rdfs:label> | ||
</owl:Class> | ||
|
||
|
||
|
||
<!-- https://businessontology.com/ontology#Business_User --> | ||
|
||
<owl:Class rdf:about="https://businessontology.com/ontology#Business_User"> | ||
<rdfs:comment xml:lang="en">Buisiness user def</rdfs:comment> | ||
<rdfs:label xml:lang="en">Buisiness user</rdfs:label> | ||
</owl:Class> | ||
|
||
|
||
|
||
<!-- https://businessontology.com/ontology#Customer --> | ||
|
||
<owl:Class rdf:about="https://businessontology.com/ontology#Customer"> | ||
<rdfs:subClassOf> | ||
<owl:Restriction> | ||
<owl:onProperty rdf:resource="https://businessontology.com/ontology#hasOrder"/> | ||
<owl:someValuesFrom rdf:resource="https://businessontology.com/ontology#Transaction_Document"/> | ||
</owl:Restriction> | ||
</rdfs:subClassOf> | ||
<rdfs:comment xml:lang="en">Customer definition</rdfs:comment> | ||
<rdfs:label xml:lang="en">Customer</rdfs:label> | ||
</owl:Class> | ||
|
||
|
||
|
||
<!-- https://businessontology.com/ontology#Location --> | ||
|
||
<owl:Class rdf:about="https://businessontology.com/ontology#Location"> | ||
<rdfs:label xml:lang="en">Location</rdfs:label> | ||
</owl:Class> | ||
|
||
|
||
|
||
<!-- https://businessontology.com/ontology#Transaction_Document --> | ||
|
||
<owl:Class rdf:about="https://businessontology.com/ontology#Transaction_Document"> | ||
<rdfs:comment xml:lang="en">Transaction document definition</rdfs:comment> | ||
<rdfs:label xml:lang="en">Transaction document</rdfs:label> | ||
</owl:Class> | ||
</rdf:RDF> | ||
|
||
|
||
|
||
<!-- Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi --> | ||
|
Oops, something went wrong.