EquivDataHasValue

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

Available formats

Specification

@prefix : <http://candidate.ottr.xyz/owl/axiom/EquivDataHasValue#> .
@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:EquivDataHasValue( :xClass : 1 class , :xProperty : 1 dataProperty , "value"^^xsd:string : 1 literal )
  ::
  t-owl-axiom:EquivalentClass( :xClass , _:b1 )
  t-owl-rstr:DataHasValue( _:b1 , :xProperty , "value"^^xsd:string ) .

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/EquivDataHasValue#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl:   <http://www.w3.org/2002/07/owl#> .

:xProperty  a   owl:DatatypeProperty .

:xClass  a                   owl:Class ;
        owl:equivalentClass  [ a               owl:Restriction , owl:Class ;
                               owl:hasValue    "value" ;
                               owl:onProperty  :xProperty
                             ] .

Source

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

@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/EquivDataHasValue#> .

t-owl-axiom:EquivDataHasValue a ottr:Template ;
    ottr:hasParameter :pClass, :pProperty, :pRange .

:pClass  ottr:index 1;  ottr:classVariable  :xClass .
:pProperty  ottr:index 2;  ottr:dataPropertyVariable  :xProperty .
:pRange     ottr:index 3;  ottr:literalVariable  "value" .

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

[] ottr:templateRef t-owl-rstr:DataHasValue ;
    ottr:withValues ( _:restriction  :xProperty "value" ) .