http://example.org/boardgame-ontology#SizeConstraint leaf node


URI

http://example.org/boardgame-ontology#SizeConstraint

Label

SizeConstraint

Shape Properties

Instances of http://example.org/boardgame-ontology#Game can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

http://example.org/boardgame-ontology#Game
http://example.org/boardgame-ontology#hasSize

Implementation

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .

<http://example.org/boardgame-ontology#SizeConstraint> a sh:NodeShape ;
    sh:property [ sh:in ( <http://example.org/boardgame-ontology#small> <http://example.org/boardgame-ontology#medium> <http://example.org/boardgame-ontology#large> ) ;
            sh:path <http://example.org/boardgame-ontology#hasSize> ] ;
    sh:targetClass <http://example.org/boardgame-ontology#Game> .