SubDataExactCardinality

IRI: http://candidate.ottr.xyz/owl/axiom/SubDataExactCardinality

Available formats

Specification

@prefix : <http://candidate.ottr.xyz/owl/axiom/SubDataExactCardinality#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix t-owl-axiom: <http://candidate.ottr.xyz/owl/axiom/> .
@prefix t-owl-rstr: <http://candidate.ottr.xyz/owl/restriction/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

t-owl-axiom:SubDataExactCardinality( :xRestriction : 1 class , "97"^^xsd:nonNegativeInteger : 1 literal , :xProperty : 1 dataProperty , rdf:PlainLiteral : 1 datatype )
  ::
  t-owl-axiom:SubClassOf( :xRestriction , _:b1 )
  t-owl-rstr:DataExactCardinality( _:b1 , "97"^^xsd:nonNegativeInteger , :xProperty , rdf:PlainLiteral ) .

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/owl/axiom/SubDataExactCardinality#> .
@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#> .

:xRestriction  rdfs:subClassOf  [ a                         owl:Restriction ;
                                  owl:onDataRange           rdf:PlainLiteral ;
                                  owl:onProperty            :xProperty ;
                                  owl:qualifiedCardinality  "97"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger>
                                ] .

rdf:PlainLiteral  a  rdfs:Datatype .

:xProperty  a   owl:DatatypeProperty .

Source

Raw source - http://candidate.ottr.xyz/owl/axiom/SubDataExactCardinality:

@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-atom: <http://candidate.ottr.xyz/owl/atom/> .
@prefix t-owl-rstr: <http://candidate.ottr.xyz/owl/restriction/> .
@prefix t-owl-axiom: <http://candidate.ottr.xyz/owl/axiom/> .

@prefix :     <http://candidate.ottr.xyz/owl/axiom/SubDataExactCardinality#> .

t-owl-axiom:SubDataExactCardinality a ottr:Template ;
    ottr:hasParameter :pRestriction, :pCardinality, :pProperty, :pRange .

:pRestriction       ottr:index 1;  ottr:classVariable  :xRestriction .
:pCardinality       ottr:index 2;  ottr:literalVariable     "97"^^xsd:nonNegativeInteger .
:pProperty          ottr:index 3;  ottr:dataPropertyVariable    :xProperty .
:pRange             ottr:index 4;  ottr:datatypeVariable  rdf:PlainLiteral .

[] ottr:templateRef t-owl-axiom:SubClassOf ;
   ottr:withValues ( :xRestriction _:restriction ) .

[] ottr:templateRef t-owl-rstr:DataExactCardinality ;
    ottr:withValues ( _:restriction "97"^^xsd:nonNegativeInteger :xProperty rdf:PlainLiteral ) .