Created
March 27, 2017 22:20
-
-
Save derofim/c27d58c1eb93c55aebc4ee8226e278dc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| <?xml version="1.0"?> | |
| <Ontology xmlns="http://www.w3.org/2002/07/owl#" | |
| xml:base="http://www.semanticweb.org/denis/ontologies/2017/2/web" | |
| 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#" | |
| ontologyIRI="http://www.semanticweb.org/denis/ontologies/2017/2/web"> | |
| <Prefix name="" IRI="http://www.semanticweb.org/denis/ontologies/2017/2/web"/> | |
| <Prefix name="owl" IRI="http://www.w3.org/2002/07/owl#"/> | |
| <Prefix name="rdf" IRI="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/> | |
| <Prefix name="xml" IRI="http://www.w3.org/XML/1998/namespace"/> | |
| <Prefix name="xsd" IRI="http://www.w3.org/2001/XMLSchema#"/> | |
| <Prefix name="rdfs" IRI="http://www.w3.org/2000/01/rdf-schema#"/> | |
| <Annotation> | |
| <AnnotationProperty abbreviatedIRI="rdfs:comment"/> | |
| <Literal xml:lang="en" datatypeIRI="http://www.w3.org/1999/02/22-rdf-syntax-ns#PlainLiteral">Онтология клиент-серверной модели. (сервер приложений, web сервер, серверного приложения, клиентского приложения, методов обмена данными между клиентом и сервером)</Literal> | |
| </Annotation> | |
| <Declaration> | |
| <NamedIndividual IRI="#ServerApp1"/> | |
| </Declaration> | |
| <Declaration> | |
| <Class IRI="#ExchangeMethods"/> | |
| </Declaration> | |
| <Declaration> | |
| <NamedIndividual IRI="#AppServer1"/> | |
| </Declaration> | |
| <Declaration> | |
| <ObjectProperty IRI="#uses"/> | |
| </Declaration> | |
| <Declaration> | |
| <Class IRI="#WebSockets"/> | |
| </Declaration> | |
| <Declaration> | |
| <DataProperty IRI="#appID"/> | |
| </Declaration> | |
| <Declaration> | |
| <Class IRI="#HTTP"/> | |
| </Declaration> | |
| <Declaration> | |
| <DataProperty IRI="#serverID"/> | |
| </Declaration> | |
| <Declaration> | |
| <Class IRI="#ClientApplication"/> | |
| </Declaration> | |
| <Declaration> | |
| <Class IRI="#WebServer"/> | |
| </Declaration> | |
| <Declaration> | |
| <NamedIndividual IRI="#WebServer1"/> | |
| </Declaration> | |
| <Declaration> | |
| <NamedIndividual IRI="#POST"/> | |
| </Declaration> | |
| <Declaration> | |
| <Class IRI="#Application"/> | |
| </Declaration> | |
| <Declaration> | |
| <ObjectProperty IRI="#connects"/> | |
| </Declaration> | |
| <Declaration> | |
| <Class IRI="#AppServer"/> | |
| </Declaration> | |
| <Declaration> | |
| <DataProperty IRI="#AppName"/> | |
| </Declaration> | |
| <Declaration> | |
| <NamedIndividual IRI="#GET"/> | |
| </Declaration> | |
| <Declaration> | |
| <Class IRI="#Server"/> | |
| </Declaration> | |
| <Declaration> | |
| <DataProperty IRI="#methodID"/> | |
| </Declaration> | |
| <Declaration> | |
| <NamedIndividual IRI="#ClientApp1"/> | |
| </Declaration> | |
| <Declaration> | |
| <Class IRI="#ServerApplication"/> | |
| </Declaration> | |
| <Declaration> | |
| <DataProperty IRI="#serverIP"/> | |
| </Declaration> | |
| <Declaration> | |
| <DataProperty IRI="#serverPort"/> | |
| </Declaration> | |
| <SubClassOf> | |
| <Class IRI="#AppServer"/> | |
| <Class IRI="#Server"/> | |
| </SubClassOf> | |
| <SubClassOf> | |
| <Class IRI="#ClientApplication"/> | |
| <Class IRI="#Application"/> | |
| </SubClassOf> | |
| <SubClassOf> | |
| <Class IRI="#HTTP"/> | |
| <Class IRI="#ExchangeMethods"/> | |
| </SubClassOf> | |
| <SubClassOf> | |
| <Class IRI="#ServerApplication"/> | |
| <Class IRI="#Application"/> | |
| </SubClassOf> | |
| <SubClassOf> | |
| <Class IRI="#WebServer"/> | |
| <Class IRI="#Server"/> | |
| </SubClassOf> | |
| <SubClassOf> | |
| <Class IRI="#WebSockets"/> | |
| <Class IRI="#ExchangeMethods"/> | |
| </SubClassOf> | |
| <DisjointClasses> | |
| <Class IRI="#AppServer"/> | |
| <Class IRI="#WebServer"/> | |
| </DisjointClasses> | |
| <DisjointClasses> | |
| <Class IRI="#Application"/> | |
| <Class IRI="#Server"/> | |
| </DisjointClasses> | |
| <DisjointClasses> | |
| <Class IRI="#ClientApplication"/> | |
| <Class IRI="#ServerApplication"/> | |
| </DisjointClasses> | |
| <ClassAssertion> | |
| <Class IRI="#AppServer"/> | |
| <NamedIndividual IRI="#AppServer1"/> | |
| </ClassAssertion> | |
| <ClassAssertion> | |
| <Class IRI="#ClientApplication"/> | |
| <NamedIndividual IRI="#ClientApp1"/> | |
| </ClassAssertion> | |
| <ClassAssertion> | |
| <Class IRI="#HTTP"/> | |
| <NamedIndividual IRI="#GET"/> | |
| </ClassAssertion> | |
| <ClassAssertion> | |
| <Class IRI="#WebSockets"/> | |
| <NamedIndividual IRI="#GET"/> | |
| </ClassAssertion> | |
| <ClassAssertion> | |
| <Class IRI="#HTTP"/> | |
| <NamedIndividual IRI="#POST"/> | |
| </ClassAssertion> | |
| <ClassAssertion> | |
| <Class IRI="#WebSockets"/> | |
| <NamedIndividual IRI="#POST"/> | |
| </ClassAssertion> | |
| <ClassAssertion> | |
| <Class IRI="#ServerApplication"/> | |
| <NamedIndividual IRI="#ServerApp1"/> | |
| </ClassAssertion> | |
| <ClassAssertion> | |
| <Class IRI="#WebServer"/> | |
| <NamedIndividual IRI="#WebServer1"/> | |
| </ClassAssertion> | |
| <ObjectPropertyAssertion> | |
| <ObjectProperty IRI="#connects"/> | |
| <NamedIndividual IRI="#AppServer1"/> | |
| <NamedIndividual IRI="#ClientApp1"/> | |
| </ObjectPropertyAssertion> | |
| <ObjectPropertyAssertion> | |
| <ObjectProperty IRI="#uses"/> | |
| <NamedIndividual IRI="#AppServer1"/> | |
| <NamedIndividual IRI="#POST"/> | |
| </ObjectPropertyAssertion> | |
| <ObjectPropertyAssertion> | |
| <ObjectProperty IRI="#connects"/> | |
| <NamedIndividual IRI="#WebServer1"/> | |
| <NamedIndividual IRI="#ServerApp1"/> | |
| </ObjectPropertyAssertion> | |
| <DataPropertyAssertion> | |
| <DataProperty IRI="#serverID"/> | |
| <NamedIndividual IRI="#AppServer1"/> | |
| <Literal datatypeIRI="http://www.w3.org/2001/XMLSchema#integer">1</Literal> | |
| </DataPropertyAssertion> | |
| <DataPropertyAssertion> | |
| <DataProperty IRI="#serverIP"/> | |
| <NamedIndividual IRI="#AppServer1"/> | |
| <Literal datatypeIRI="http://www.w3.org/1999/02/22-rdf-syntax-ns#PlainLiteral">198.255.255</Literal> | |
| </DataPropertyAssertion> | |
| <DataPropertyAssertion> | |
| <DataProperty IRI="#serverPort"/> | |
| <NamedIndividual IRI="#AppServer1"/> | |
| <Literal datatypeIRI="http://www.w3.org/2001/XMLSchema#integer">8080</Literal> | |
| </DataPropertyAssertion> | |
| <DataPropertyAssertion> | |
| <DataProperty IRI="#AppName"/> | |
| <NamedIndividual IRI="#ClientApp1"/> | |
| <Literal datatypeIRI="http://www.w3.org/1999/02/22-rdf-syntax-ns#PlainLiteral">Main</Literal> | |
| </DataPropertyAssertion> | |
| <DataPropertyAssertion> | |
| <DataProperty IRI="#appID"/> | |
| <NamedIndividual IRI="#ClientApp1"/> | |
| <Literal datatypeIRI="http://www.w3.org/2001/XMLSchema#integer">1</Literal> | |
| </DataPropertyAssertion> | |
| <DataPropertyAssertion> | |
| <DataProperty IRI="#methodID"/> | |
| <NamedIndividual IRI="#GET"/> | |
| <Literal datatypeIRI="http://www.w3.org/2001/XMLSchema#integer">1</Literal> | |
| </DataPropertyAssertion> | |
| <DataPropertyAssertion> | |
| <DataProperty IRI="#methodID"/> | |
| <NamedIndividual IRI="#POST"/> | |
| <Literal datatypeIRI="http://www.w3.org/2001/XMLSchema#integer">2</Literal> | |
| </DataPropertyAssertion> | |
| <DataPropertyAssertion> | |
| <DataProperty IRI="#AppName"/> | |
| <NamedIndividual IRI="#ServerApp1"/> | |
| <Literal datatypeIRI="http://www.w3.org/1999/02/22-rdf-syntax-ns#PlainLiteral">Main</Literal> | |
| </DataPropertyAssertion> | |
| <DataPropertyAssertion> | |
| <DataProperty IRI="#appID"/> | |
| <NamedIndividual IRI="#ServerApp1"/> | |
| <Literal datatypeIRI="http://www.w3.org/2001/XMLSchema#integer">2</Literal> | |
| </DataPropertyAssertion> | |
| <DataPropertyAssertion> | |
| <DataProperty IRI="#serverID"/> | |
| <NamedIndividual IRI="#WebServer1"/> | |
| <Literal datatypeIRI="http://www.w3.org/2001/XMLSchema#integer">2</Literal> | |
| </DataPropertyAssertion> | |
| <DataPropertyAssertion> | |
| <DataProperty IRI="#serverIP"/> | |
| <NamedIndividual IRI="#WebServer1"/> | |
| <Literal datatypeIRI="http://www.w3.org/1999/02/22-rdf-syntax-ns#PlainLiteral">255.255.255</Literal> | |
| </DataPropertyAssertion> | |
| <DataPropertyAssertion> | |
| <DataProperty IRI="#serverPort"/> | |
| <NamedIndividual IRI="#WebServer1"/> | |
| <Literal datatypeIRI="http://www.w3.org/2001/XMLSchema#integer">8080</Literal> | |
| </DataPropertyAssertion> | |
| <SubObjectPropertyOf> | |
| <ObjectProperty IRI="#connects"/> | |
| <ObjectProperty abbreviatedIRI="owl:topObjectProperty"/> | |
| </SubObjectPropertyOf> | |
| <ObjectPropertyDomain> | |
| <ObjectProperty IRI="#connects"/> | |
| <Class IRI="#Server"/> | |
| </ObjectPropertyDomain> | |
| <ObjectPropertyDomain> | |
| <ObjectProperty IRI="#uses"/> | |
| <Class IRI="#Server"/> | |
| </ObjectPropertyDomain> | |
| <ObjectPropertyRange> | |
| <ObjectProperty IRI="#connects"/> | |
| <Class IRI="#Application"/> | |
| </ObjectPropertyRange> | |
| <ObjectPropertyRange> | |
| <ObjectProperty IRI="#uses"/> | |
| <Class IRI="#ExchangeMethods"/> | |
| </ObjectPropertyRange> | |
| <DataPropertyDomain> | |
| <DataProperty IRI="#AppName"/> | |
| <Class IRI="#Application"/> | |
| </DataPropertyDomain> | |
| <DataPropertyDomain> | |
| <DataProperty IRI="#appID"/> | |
| <Class IRI="#Application"/> | |
| </DataPropertyDomain> | |
| <DataPropertyDomain> | |
| <DataProperty IRI="#methodID"/> | |
| <Class IRI="#ExchangeMethods"/> | |
| </DataPropertyDomain> | |
| <DataPropertyDomain> | |
| <DataProperty IRI="#serverID"/> | |
| <Class IRI="#Server"/> | |
| </DataPropertyDomain> | |
| <DataPropertyDomain> | |
| <DataProperty IRI="#serverIP"/> | |
| <Class IRI="#Server"/> | |
| </DataPropertyDomain> | |
| <DataPropertyDomain> | |
| <DataProperty IRI="#serverPort"/> | |
| <Class IRI="#Server"/> | |
| </DataPropertyDomain> | |
| <DataPropertyRange> | |
| <DataProperty IRI="#AppName"/> | |
| <Datatype abbreviatedIRI="xsd:string"/> | |
| </DataPropertyRange> | |
| <DataPropertyRange> | |
| <DataProperty IRI="#appID"/> | |
| <Datatype abbreviatedIRI="xsd:int"/> | |
| </DataPropertyRange> | |
| <DataPropertyRange> | |
| <DataProperty IRI="#methodID"/> | |
| <Datatype abbreviatedIRI="xsd:int"/> | |
| </DataPropertyRange> | |
| <DataPropertyRange> | |
| <DataProperty IRI="#serverID"/> | |
| <Datatype abbreviatedIRI="xsd:int"/> | |
| </DataPropertyRange> | |
| <DataPropertyRange> | |
| <DataProperty IRI="#serverIP"/> | |
| <Datatype abbreviatedIRI="xsd:string"/> | |
| </DataPropertyRange> | |
| <DataPropertyRange> | |
| <DataProperty IRI="#serverPort"/> | |
| <Datatype abbreviatedIRI="xsd:int"/> | |
| </DataPropertyRange> | |
| </Ontology> | |
| <!-- Generated by the OWL API (version 4.2.8.20170104-2310) https://github.com/owlcs/owlapi --> | |
This file contains hidden or 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
| Онтология клиент-серверной модели. (сервер приложений, web сервер, серверного приложения, клиентского приложения, методов обмена данными между клиентом и сервером) | |
| PREFIX owl: <http://www.w3.org/2002/07/owl#> | |
| PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
| PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
| PREFIX foaf: <http://www.semanticweb.org/denis/ontologies/2017/2/web#> | |
| SELECT ?x (STR(?id) AS ?idsrv) WHERE { | |
| #{ ?x rdfs:subClassOf <http://www.semanticweb.org/denis/ontologies/2017/2/web#Application> } | |
| . {?x foaf:serverIP ?ip FILTER REGEX(?ip, '^255.255.255' ) } | |
| . {?x foaf:serverID ?id} | |
| } | |
| ORDER BY ?label | |
| ============================================ | |
| PREFIX owl: <http://www.w3.org/2002/07/owl#> | |
| PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
| PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
| SELECT ?x (STR(?lab) AS ?label) WHERE { | |
| ?x rdf:type owl:Class . | |
| OPTIONAL {?x rdfs:label ?lab} | |
| . { ?x rdfs:subClassOf <http://www.semanticweb.org/denis/ontologies/2017/2/web#Application> } | |
| } | |
| ORDER BY ?label | |
| ============================================ | |
| PREFIX owl: <http://www.w3.org/2002/07/owl#> | |
| PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
| PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
| SELECT ?x (STR(?lab) AS ?label) WHERE { | |
| ?x rdf:type owl:Class . | |
| OPTIONAL {?x rdfs:label ?lab} | |
| } | |
| ORDER BY ?label |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment