iChessGameReportExample

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

Available formats

Specification

@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

http://draft.ottr.xyz/chess/iChessGameReportExample(  )
  ::
  http://draft.ottr.xyz/chess/iChessGameReport( "WCh 2013"^^xsd:string , "Chennai IND"^^xsd:string , "2013.11.09"^^xsd:string , "Carlsen, Magnus"^^xsd:string , "Anand, Viswanathan"^^xsd:string , "1/2-1/2"^^xsd:string , "2870"^^xsd:string , "2775"^^xsd:string , "A07"^^xsd:string , <"Nf3"^^xsd:string, "d5"^^xsd:string, "g3"^^xsd:string, "g6"^^xsd:string, "Bg2"^^xsd:string, "Bg7"^^xsd:string, "d4"^^xsd:string, "c6"^^xsd:string, "O-O"^^xsd:string, "Nf6"^^xsd:string, "b3"^^xsd:string, "O-O"^^xsd:string, "Bb2"^^xsd:string, "Bf5"^^xsd:string, "c4"^^xsd:string, "Nbd7"^^xsd:string, "Nc3"^^xsd:string, "dxc4"^^xsd:string, "bxc4"^^xsd:string, "Nb6"^^xsd:string, "c5"^^xsd:string, "Nc4"^^xsd:string, "Bc1"^^xsd:string, "Nd5"^^xsd:string, "Qb3"^^xsd:string, "Na5"^^xsd:string, "Qa3"^^xsd:string, "Nc4"^^xsd:string, "Qb3"^^xsd:string, "Na5"^^xsd:string, "Qa3"^^xsd:string, "Nc4"^^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 chess: <http://draft.ottr.xyz/chess/ChessGame.ttl#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .

[ a                        chess:ChessGame ;
  chess:hasFirstHalfMove   ( "Nf3" "d5" "g3" "g6" "Bg2" "Bg7" "d4" "c6" "O-O" "Nf6" "b3" "O-O" "Bb2" "Bf5" "c4" "Nbd7" "Nc3" "dxc4" "bxc4" "Nb6" "c5" "Nc4" "Bc1" "Nd5" "Qb3" "Na5" "Qa3" "Nc4" "Qb3" "Na5" "Qa3" "Nc4" ) ;
  chess:hasOpening         [ a                 chess:ChessGameOpening ;
                             chess:hasECOCode  "A07"
                           ] ;
  chess:hasReport          [ a  chess:ChessGameReport ] ;
  chess:hasResult          [ a                   chess:ChessGameResult ;
                             chess:encodedAsSAN  "1/2-1/2"
                           ] ;
  chess:providesAgentRole  [ a                  chess:BlackPlayerRole , chess:AgentRole ;
                             chess:performedBy  [ a                chess:ChessPlayer ;
                                                  chess:hasName    "Anand, Viswanathan" ;
                                                  chess:hasRating  "2775"
                                                ]
                           ] ;
  chess:providesAgentRole  [ a                  chess:WhitePlayerRole , chess:AgentRole ;
                             chess:performedBy  [ a                chess:ChessPlayer ;
                                                  chess:hasName    "Carlsen, Magnus" ;
                                                  chess:hasRating  "2870"
                                                ]
                           ] ;
  chess:subEventOf         [ a              chess:ChessTournament ;
                             chess:atPlace  [ a           chess:Place ;
                                              rdfs:label  "Chennai IND"
                                            ] ;
                             chess:atTime   [ a           chess:TemporalExtent ;
                                              rdfs:label  "2013.11.09"
                                            ] ;
                             chess:hasName  "WCh 2013"
                           ]
] .

Source

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

@prefix owl:   <http://www.w3.org/2002/07/owl#> .
@prefix ottr:  <http://ns.ottr.xyz/templates#> .

<http://draft.ottr.xyz/chess/iChessGameReportExample> a ottr:Template , owl:Ontology ;
   owl:imports <http://sws.ifi.uio.no/ottrs/expansion/body/?tpl=http://draft.ottr.xyz/chess/ChessGame.ttl> .

[] ottr:templateRef <http://draft.ottr.xyz/chess/iChessGameReport> ;
   ottr:withValues ( 
      "WCh 2013"
      "Chennai IND"
      "2013.11.09"
      "Carlsen, Magnus"
      "Anand, Viswanathan"
      "1/2-1/2"
      "2870"
      "2775"
      "A07"
      ( "Nf3" "d5" "g3" "g6" "Bg2" "Bg7" "d4" "c6" "O-O" "Nf6" "b3" "O-O" "Bb2" "Bf5" "c4" "Nbd7" "Nc3" "dxc4" "bxc4" "Nb6" "c5" "Nc4" "Bc1" "Nd5" "Qb3" "Na5" "Qa3" "Nc4" "Qb3" "Na5" "Qa3" "Nc4" )
   ) .