http://spinrdf.org/spl#Attribute
Class spl:Attribute


spin:body
ASK WHERE {
{
FILTER (bound(?minCount) && (spl:objectCount(?this, ?predicate) < ?minCount)) . } UNION { FILTER (bound(?maxCount) && (spl:objectCount(?this, ?predicate) > ?maxCount)) http://www.fadyart.com/parties#.
}
UNION
{
FILTER bound(?valueType) http://www.fadyart.com/parties#.
?this ?predicate ?value http://www.fadyart.com/parties#.
FILTER (!spl:instanceOf(?value, ?valueType)) http://www.fadyart.com/parties#.
} http://www.fadyart.com/parties#.
}
spin:constraint
Argument default value http://www.fadyart.com/parties#
Argument comment http://www.fadyart.com/parties# xsd:string
Argument spl:maxCount http://www.fadyart.com/parties# xsd:integer
Argument value type http://www.fadyart.com/parties# rdfs:Class
Argument spl:predicate http://www.fadyart.com/parties# Property
Argument spl:minCount http://www.fadyart.com/parties# xsd:integer
spin:label template
Attribute {?predicate} : {?valueType} [{?minCount},{?maxCount}]
rdf:type
spin:Template
rdfs:comment
Defines an "attribute" of a class. Attribute definitions bundle common modeling patterns known from object-oriented languages like UML. Each attribute can have min and max cardinality, a value type and a default value. The attribute links a class with one RDF property. This template should be used as spin:constraints on a class to make sure that classes meet the expected cardinalities and valueType constraints. If a model wants to use spl:defaultValue, then it should instantiate the spl:ConstructDefaultValues as a spin:constructor at some root class, such as rdfs:Resource.
rdfs:label
Attribute
rdfs:subClassOf
spin:Templates

Generated with TopBraid Composer by TopQuadrant, Inc.