Chessgame Pattern¶
Source: ODP portal · Published by: purl.org · Category: structural · Domain: games
To model a flexible schema to allow exposing chess games as linked data.
What it answers¶
- Who played against Kasparov in the round 1994 Linares tournament? Did (s)he play as a white or black player?
- What is the first move taken by black player in the Sicilian Defence opening?
- List all moves in a Fools Mate game where black wins after 2 moves by both players?
- What did Kasparov say about his opponent first two moves in his commentary about his game against Topalov in 1999 Tournament in Wijk aan Zee?
The pattern¶
The graph is the axioms the pattern asserts; nothing here is inferred. Drag to rearrange, scroll to zoom, and use the graph's own search box to find a term inside it.
Opens at level of detail 3: classes, individuals, properties and restrictions, without the literals. Raise it with the LOD control in the graph's own toolbar to see annotation values and anything a reasoner adds.
Should you use this one?¶
| Size | 18 classes, 22 properties, 160 axioms |
| Brings in | 1 imported ontology, so adopting it adopts that too |
| Reasoning | HermiT finds this pattern consistent, with no unsatisfiable class, and its worked example consistent with the pattern. |
A situation it was written for. Exposing chess games as linked data
Check it yourself: the published pattern · an archived copy · the ontology itself.
If a link does not open
ontologydesignpatterns.org, which publishes most of this library, does
not currently answer over HTTPS, and its wiki redirects submission pages
to its front page. The archived copy is there for exactly that reason.
The ontology files themselves are still served over plain HTTP.
Terms it declares¶
The 40 classes and properties this pattern models, as the recommender scores them. Annotation properties and built-ins are excluded, because an annotation property is not modelling.
http://purl.org/NET/rdfchess/ontology/ActingPlayerRolehttp://purl.org/NET/rdfchess/ontology/Agenthttp://purl.org/NET/rdfchess/ontology/AgentRolehttp://purl.org/NET/rdfchess/ontology/AuthorRolehttp://purl.org/NET/rdfchess/ontology/BlackPlayerRolehttp://purl.org/NET/rdfchess/ontology/ChessCompetitionInstancehttp://purl.org/NET/rdfchess/ontology/ChessCompetitionRoundhttp://purl.org/NET/rdfchess/ontology/ChessCompetitionSerieshttp://purl.org/NET/rdfchess/ontology/ChessGamehttp://purl.org/NET/rdfchess/ontology/ChessGameManifestationhttp://purl.org/NET/rdfchess/ontology/ChessGameResulthttp://purl.org/NET/rdfchess/ontology/ChessOpeninghttp://purl.org/NET/rdfchess/ontology/Eventhttp://purl.org/NET/rdfchess/ontology/HalfMovehttp://purl.org/NET/rdfchess/ontology/HalfMoveAnnotationhttp://purl.org/NET/rdfchess/ontology/Placehttp://purl.org/NET/rdfchess/ontology/TemporalExtenthttp://purl.org/NET/rdfchess/ontology/WhitePlayerRolehttp://purl.org/NET/rdfchess/ontology/annotatesHalfMovehttp://purl.org/NET/rdfchess/ontology/atPlacehttp://purl.org/NET/rdfchess/ontology/atTimehttp://purl.org/NET/rdfchess/ontology/containsAnnotationhttp://purl.org/NET/rdfchess/ontology/encodedAsSANhttp://purl.org/NET/rdfchess/ontology/hasContenthttp://purl.org/NET/rdfchess/ontology/hasECOCodehttp://purl.org/NET/rdfchess/ontology/hasFirstHalfMovehttp://purl.org/NET/rdfchess/ontology/hasHalfMovehttp://purl.org/NET/rdfchess/ontology/hasLastHalfMovehttp://purl.org/NET/rdfchess/ontology/hasManifestationhttp://purl.org/NET/rdfchess/ontology/hasOpeninghttp://purl.org/NET/rdfchess/ontology/hasOpeningNamehttp://purl.org/NET/rdfchess/ontology/hasPGNFilehttp://purl.org/NET/rdfchess/ontology/hasResulthttp://purl.org/NET/rdfchess/ontology/hasSANRecordhttp://purl.org/NET/rdfchess/ontology/nextHalfMovehttp://purl.org/NET/rdfchess/ontology/originatesFromhttp://purl.org/NET/rdfchess/ontology/partOfhttp://purl.org/NET/rdfchess/ontology/performedByhttp://purl.org/NET/rdfchess/ontology/providesAgentRolehttp://purl.org/NET/rdfchess/ontology/subEventOf
An example of it in use¶
The pattern says what may be asserted; this says it. The graph below is a small set of individuals that instantiate the classes above and are connected by its properties, so the shape the pattern describes is visible as data rather than as a schema.
Import this pattern into your own ontology from inside Protégé: OntoBoard → Reuse → Pattern library…, which hands it to Import terms… and writes the term list, the module, the import and the catalog entry the way ODK expects. See Working with ODK.
Something wrong with this pattern, its example or this page? Report a problem with this pattern - the form opens with the pattern filled in, and a title and a sentence are all it needs.