AgentRole-5

IRI: http://candidate.ottr.xyz/odp/content/AgentRole-5

Available formats

Specification

@prefix : <http://candidate.ottr.xyz/odp/content/AgentRole-5#> .
@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 t-odp-content: <http://candidate.ottr.xyz/odp/content/> .
@prefix t-owl-axiom: <http://candidate.ottr.xyz/owl/axiom/> .
@prefix t-owl-macro: <http://candidate.ottr.xyz/owl/macro/> .

t-odp-content:AgentRole-5( :xAgentRole : 1 class , :xRoleProvider : 1 class , :xprovidesRole : 1 objectProperty , :xAgent : 1 class , :xperformedBy : 1 objectProperty )
  ::
  t-owl-axiom:DisjointClasses( <:xAgentRole, :xAgent> )
  t-owl-axiom:SubObjectSomeValuesFrom( :xAgentRole , _:b1 , :xRoleProvider )
  t-owl-axiom:SubObjectSomeValuesFrom( :xAgentRole , :xperformedBy , :xAgent )
  t-owl-macro:ScopedDomainRange( :xperformedBy , :xAgentRole , :xAgent )
  ( :xAgentRole , rdf:type , owl:Class )
  ( :xAgent , rdf:type , owl:Class )
  ( :xprovidesRole , rdf:type , owl:ObjectProperty )
  ( :xprovidesRole , rdfs:range , :xAgentRole )
  ( :xRoleProvider , rdf:type , owl:Class )
  ( _:b1 , owl:inverseOf , :xprovidesRole ) .

Direct dependency templates

Templates instantiated in the body of this template:

Diagram of pattern

RDF graph visualisation of the expanded body:

Pattern

The pattern the template represents, i.e., the expanded template body.

@prefix :      <http://candidate.ottr.xyz/odp/content/AgentRole-5#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl:   <http://www.w3.org/2002/07/owl#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .

[ a                   owl:Restriction ;
  rdfs:subClassOf     :xAgentRole ;
  owl:onProperty      :xperformedBy ;
  owl:someValuesFrom  :xAgent
] .

:xAgentRole  a           owl:Class ;
        rdfs:subClassOf  [ a                  owl:Restriction ;
                           owl:allValuesFrom  :xAgent ;
                           owl:onProperty     :xperformedBy
                         ] ;
        rdfs:subClassOf  [ a                   owl:Restriction ;
                           owl:onProperty      :xperformedBy ;
                           owl:someValuesFrom  :xAgent
                         ] ;
        rdfs:subClassOf  [ a                   owl:Restriction ;
                           owl:onProperty      [ a              owl:ObjectProperty ;
                                                 owl:inverseOf  :xprovidesRole
                                               ] ;
                           owl:someValuesFrom  :xRoleProvider
                         ] .

:xperformedBy  a  owl:ObjectProperty .

[ a            owl:AllDisjointClasses ;
  owl:members  ( :xAgentRole :xAgent )
] .

:xAgent  a      owl:Class .

:xprovidesRole  a   owl:ObjectProperty ;
        rdfs:range  :xAgentRole .

:xRoleProvider  a  owl:Class .

Source

Raw source - http://candidate.ottr.xyz/odp/content/AgentRole-5:

@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl:   <http://www.w3.org/2002/07/owl#> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .

@prefix ottr:   <http://ns.ottr.xyz/templates#> .

@prefix t-owl-axiom:     <http://candidate.ottr.xyz/owl/axiom/> .
@prefix t-owl-macro:     <http://candidate.ottr.xyz/owl/macro/> .
@prefix t-odp-content:   <http://candidate.ottr.xyz/odp/content/> .

@prefix :     <http://candidate.ottr.xyz/odp/content/AgentRole-5#> .

<http://candidate.ottr.xyz/odp/content/AgentRole-5>  a ottr:Template ;
  ottr:hasParameter :pAgentRole, :pRoleProvider, :pprovidesRole, :pAgent, :pperformedBy .

:pAgentRole      ottr:index 1;  ottr:classVariable           :xAgentRole .
:pRoleProvider   ottr:index 2;  ottr:classVariable           :xRoleProvider .
:pprovidesRole   ottr:index 3;  ottr:objectPropertyVariable  :xprovidesRole .
:pAgent          ottr:index 4;  ottr:classVariable           :xAgent .
:pperformedBy    ottr:index 5;  ottr:objectPropertyVariable  :xperformedBy .

:xAgentRole    a owl:Class .
:xRoleProvider a owl:Class .
:xAgent a owl:Class .

# axiom 1.7
:xprovidesRole a owl:ObjectProperty ;
  rdfs:range :xAgentRole .

# axiom - none
[] ottr:templateRef t-owl-axiom:SubObjectSomeValuesFrom ; 
   ottr:withValues ( :xAgentRole [ owl:inverseOf :xprovidesRole ] :xRoleProvider ) . 

# axiom 1.1, weakened from exact 1
[] ottr:templateRef t-owl-axiom:SubObjectSomeValuesFrom ;
   ottr:withValues ( :xAgentRole :xperformedBy :xAgent ) .

# axiom 1.3 + 1.5
[] ottr:templateRef t-owl-macro:ScopedDomainRange ;
   ottr:withValues ( :xperformedBy :xAgentRole :xAgent ) .

# axiom 1.8, partial
[] ottr:templateRef t-owl-axiom:DisjointClasses ;
   ottr:withValues ( ( :xAgentRole :xAgent) ) .