iWhitePlayerAgent

IRI: http://draft.ottr.xyz/chess/iWhitePlayerAgent

Available formats

Specification

@prefix : <http://draft.ottr.xyz/chess/iWhitePlayerAgent#> .
@prefix chess: <http://draft.ottr.xyz/chess/ChessGame.ttl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

http://draft.ottr.xyz/chess/iWhitePlayerAgent( :ID : 1 , :Name : 1 , :ELO : 1 )
  ::
  http://draft.ottr.xyz/chess/iPlayer( _:b1 , :Name , :ELO )
  ( :ID , rdf:type , chess:AgentRole )
  ( :ID , rdf:type , chess:WhitePlayerRole )
  ( :ID , chess:performedBy , _:b1 ) .

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://draft.ottr.xyz/chess/iWhitePlayerAgent#> .
@prefix chess: <http://draft.ottr.xyz/chess/ChessGame.ttl#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

:ID     a                  chess:AgentRole , chess:WhitePlayerRole ;
        chess:performedBy  [ a                chess:ChessPlayer ;
                             chess:hasName    :Name ;
                             chess:hasRating  :ELO
                           ] .

Source

Raw source - http://draft.ottr.xyz/chess/iWhitePlayerAgent:

@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 chess:  <http://draft.ottr.xyz/chess/ChessGame.ttl#> .
@prefix :       <http://draft.ottr.xyz/chess/iWhitePlayerAgent#> .

<http://draft.ottr.xyz/chess/iWhitePlayerAgent> a ottr:Template ;
   ottr:withVariables ( :ID :Name :ELO ) .

:ID a chess:AgentRole, chess:WhitePlayerRole ;
    chess:performedBy _:player .

[] ottr:templateRef <http://draft.ottr.xyz/chess/iPlayer> ;
   ottr:withValues ( _:player :Name :ELO ) .