diff --git a/Example_usage_of_the_Base_Ontology_-_combinig_SAREF_and_BO/BO_SAREF.owl b/Example_usage_of_the_Base_Ontology_-_combinig_SAREF_and_BO/BO_SAREF.owl new file mode 100644 index 0000000000000000000000000000000000000000..45b8016bf4f83a95573212ca32e76d3020038993 --- /dev/null +++ b/Example_usage_of_the_Base_Ontology_-_combinig_SAREF_and_BO/BO_SAREF.owl @@ -0,0 +1,418 @@ +<?xml version="1.0"?> +<rdf:RDF xmlns="https://git.onem2m.org/MAS/BaseOntology/raw/master/BO_SAREF.owl#" + xml:base="https://git.onem2m.org/MAS/BaseOntology/raw/master/BO_SAREF.owl" + xmlns:B_O="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:terms="http://purl.org/dc/terms/" + xmlns:owl="http://www.w3.org/2002/07/owl#" + xmlns:bo_saref="https://git.onem2m.org/MAS/BaseOntology/raw/master/BO_SAREF.owl#" + xmlns:xml="http://www.w3.org/XML/1998/namespace" + xmlns:saref="https://w3id.org/saref#" + xmlns:xsd="http://www.w3.org/2001/XMLSchema#" + xmlns:skos="http://www.w3.org/2004/02/skos/core#" + xmlns:base_ontology="https://git.onem2m.org/MAS/BaseOntology/raw/3_6_0/base_ontology.owl#" + xmlns:time="http://www.w3.org/2006/time#" + xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"> + <owl:Ontology rdf:about="https://git.onem2m.org/MAS/BaseOntology/raw/master/BO_SAREF.owl"> + <owl:imports rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/3_6_0/base_ontology.owl"/> + <owl:imports rdf:resource="https://w3id.org/saref"/> + </owl:Ontology> + + + + <!-- + /////////////////////////////////////////////////////////////////////////////////////// + // + // Object Properties + // + /////////////////////////////////////////////////////////////////////////////////////// + --> + + + + + <!-- https://w3id.org/saref#IsUsedFor --> + + <rdf:Description rdf:about="https://w3id.org/saref#IsUsedFor"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasThingProperty"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#accomplishes --> + + <rdf:Description rdf:about="https://w3id.org/saref#accomplishes"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasThingProperty"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#actsUpon --> + + <rdf:Description rdf:about="https://w3id.org/saref#actsUpon"> + <rdfs:subPropertyOf> + <rdf:Description> + <owl:inverseOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#exposesCommand"/> + </rdf:Description> + </rdfs:subPropertyOf> + </rdf:Description> + + + + <!-- https://w3id.org/saref#contains --> + + <rdf:Description rdf:about="https://w3id.org/saref#contains"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasThingRelation"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#hasCategory --> + + <rdf:Description rdf:about="https://w3id.org/saref#hasCategory"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasThingProperty"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#hasCommand --> + + <rdf:Description rdf:about="https://w3id.org/saref#hasCommand"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasCommand"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#hasConsumption --> + + <rdf:Description rdf:about="https://w3id.org/saref#hasConsumption"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasThingProperty"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#hasFunction --> + + <rdf:Description rdf:about="https://w3id.org/saref#hasFunction"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasFunction"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#hasInputParameter --> + + <rdf:Description rdf:about="https://w3id.org/saref#hasInputParameter"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasInputDataPoint"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#hasOutputParameter --> + + <rdf:Description rdf:about="https://w3id.org/saref#hasOutputParameter"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasOutputDataPoint"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#hasPrice --> + + <rdf:Description rdf:about="https://w3id.org/saref#hasPrice"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasThingProperty"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#hasProduction --> + + <rdf:Description rdf:about="https://w3id.org/saref#hasProduction"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasThingProperty"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#hasProfile --> + + <rdf:Description rdf:about="https://w3id.org/saref#hasProfile"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasThingProperty"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#hasState --> + + <rdf:Description rdf:about="https://w3id.org/saref#hasState"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasThingProperty"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#hasTime --> + + <rdf:Description rdf:about="https://w3id.org/saref#hasTime"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasThingProperty"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#hasTypicalConsumption --> + + <rdf:Description rdf:about="https://w3id.org/saref#hasTypicalConsumption"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasThingProperty"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#isAccomplishedBy --> + + <rdf:Description rdf:about="https://w3id.org/saref#isAccomplishedBy"> + <rdfs:subPropertyOf> + <rdf:Description> + <owl:inverseOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasThingProperty"/> + </rdf:Description> + </rdfs:subPropertyOf> + </rdf:Description> + + + + <!-- https://w3id.org/saref#isCategoryOf --> + + <rdf:Description rdf:about="https://w3id.org/saref#isCategoryOf"> + <rdfs:subPropertyOf> + <rdf:Description> + <owl:inverseOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasThingProperty"/> + </rdf:Description> + </rdfs:subPropertyOf> + </rdf:Description> + + + + <!-- https://w3id.org/saref#isCommandOf --> + + <rdf:Description rdf:about="https://w3id.org/saref#isCommandOf"> + <rdfs:subPropertyOf> + <rdf:Description> + <owl:inverseOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasCommand"/> + </rdf:Description> + </rdfs:subPropertyOf> + </rdf:Description> + + + + <!-- https://w3id.org/saref#isLocatedIn --> + + <rdf:Description rdf:about="https://w3id.org/saref#isLocatedIn"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasThingRelation"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#isMeasuredIn --> + + <rdf:Description rdf:about="https://w3id.org/saref#isMeasuredIn"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#describes"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#isOfferedBy --> + + <rdf:Description rdf:about="https://w3id.org/saref#isOfferedBy"> + <rdfs:subPropertyOf> + <rdf:Description> + <owl:inverseOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasService"/> + </rdf:Description> + </rdfs:subPropertyOf> + </rdf:Description> + + + + <!-- https://w3id.org/saref#offers --> + + <rdf:Description rdf:about="https://w3id.org/saref#offers"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasService"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#represents --> + + <rdf:Description rdf:about="https://w3id.org/saref#represents"> + <rdfs:subPropertyOf> + <rdf:Description> + <owl:inverseOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#exposesFunction"/> + </rdf:Description> + </rdfs:subPropertyOf> + </rdf:Description> + + + + <!-- + /////////////////////////////////////////////////////////////////////////////////////// + // + // Data properties + // + /////////////////////////////////////////////////////////////////////////////////////// + --> + + + + + <!-- https://w3id.org/saref#hasDescription --> + + <rdf:Description rdf:about="https://w3id.org/saref#hasDescription"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasThingAnnotation"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#hasManufacturer --> + + <rdf:Description rdf:about="https://w3id.org/saref#hasManufacturer"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasThingAnnotation"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#hasModel --> + + <rdf:Description rdf:about="https://w3id.org/saref#hasModel"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasThingAnnotation"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#hasSpaceType --> + + <rdf:Description rdf:about="https://w3id.org/saref#hasSpaceType"> + <rdfs:subPropertyOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#hasThingAnnotation"/> + </rdf:Description> + + + + <!-- + /////////////////////////////////////////////////////////////////////////////////////// + // + // Classes + // + /////////////////////////////////////////////////////////////////////////////////////// + --> + + + + + <!-- https://w3id.org/saref#BuildingObject --> + + <rdf:Description rdf:about="https://w3id.org/saref#BuildingObject"> + <rdfs:subClassOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#ThingProperty"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#BuildingSpace --> + + <rdf:Description rdf:about="https://w3id.org/saref#BuildingSpace"> + <rdfs:subClassOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#Thing"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#Command --> + + <rdf:Description rdf:about="https://w3id.org/saref#Command"> + <rdfs:subClassOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#Command"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#Commodity --> + + <rdf:Description rdf:about="https://w3id.org/saref#Commodity"> + <rdfs:subClassOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#ThingProperty"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#Device --> + + <rdf:Description rdf:about="https://w3id.org/saref#Device"> + <rdfs:subClassOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#Device"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#DeviceCategory --> + + <rdf:Description rdf:about="https://w3id.org/saref#DeviceCategory"> + <rdfs:subClassOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#ThingProperty"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#Function --> + + <rdf:Description rdf:about="https://w3id.org/saref#Function"> + <rdfs:subClassOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#Function"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#FunctionCategory --> + + <rdf:Description rdf:about="https://w3id.org/saref#FunctionCategory"> + <rdfs:subClassOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#Aspect"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#Profile --> + + <rdf:Description rdf:about="https://w3id.org/saref#Profile"> + <rdfs:subClassOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#Thing"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#Property --> + + <rdf:Description rdf:about="https://w3id.org/saref#Property"> + <rdfs:subClassOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#Variable"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#Service --> + + <rdf:Description rdf:about="https://w3id.org/saref#Service"> + <rdfs:subClassOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#Service"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#State --> + + <rdf:Description rdf:about="https://w3id.org/saref#State"> + <rdfs:subClassOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#Variable"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#Task --> + + <rdf:Description rdf:about="https://w3id.org/saref#Task"> + <rdfs:subClassOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#ThingProperty"/> + </rdf:Description> + + + + <!-- https://w3id.org/saref#UnitOfMeasure --> + + <rdf:Description rdf:about="https://w3id.org/saref#UnitOfMeasure"> + <rdfs:subClassOf rdf:resource="https://git.onem2m.org/MAS/BaseOntology/raw/master/base_ontology.owl#MetaData"/> + </rdf:Description> +</rdf:RDF> + + + +<!-- Generated by the OWL API (version 4.2.6.20160910-2108) https://github.com/owlcs/owlapi --> +