@prefix rdf:      <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd:      <http://www.w3.org/2001/XMLSchema#> .
@prefix skos:     <http://www.w3.org/2004/02/skos/core#> .
@prefix dcterms:  <http://purl.org/dc/terms/> .
@prefix arch:     <https://meta.linked.archi/core#> .
@prefix arch-vis: <https://meta.linked.archi/core-vis#> .
@prefix am:       <https://meta.linked.archi/archimate3/onto#> .
@prefix ampc:     <https://meta.linked.archi/archimate3/presentation-contexts#> .
@prefix :         <https://meta.linked.archi/examples/styles-invalid/> .

#################################################################
# Shared styles and a concept's own look — what is reported
#
# Each resource below breaks one rule of core-vis-shapes' shared styles
# (core-vis 0.11), and its comment names the shape that reports it. Used
# as the data graph of the `core-vis-styles` validation profile in
# .scripts/validate.sh, which passes when the report is exactly
# styles-invalid-example.expected.tsv. The valid cases are in
# styles-example.ttl.
#################################################################

:StylesInvalidModel
    a                             arch:Model ;
    skos:prefLabel                "Core-vis Styles, Broken"@en ;
    arch:modelConformsToMetamodel <https://meta.linked.archi/archimate3/metamodel#ArchiMate3.2> ;
    arch-vis:usesStyleSet         :Styles ;
    dcterms:created               "2026-12-04"^^xsd:date ;
.

# StyleSetUseTargetShape: a model uses, as a style set, what is no StyleSet.
:OtherModel
    a                             arch:Model ;
    skos:prefLabel                "Another model"@en ;
    arch:modelConformsToMetamodel <https://meta.linked.archi/archimate3/metamodel#ArchiMate3.2> ;
    arch-vis:usesStyleSet         :Billing ;
.

:Styles
    a              arch-vis:StyleSet ;
    skos:prefLabel "Styles"@en ;
.

# StyleSetNameShape: a set with no name.
:Unnamed
    a arch-vis:StyleSet ;
.

:Plain
    a                   arch-vis:Style ;
    arch-vis:inStyleSet :Styles ;
    skos:prefLabel      "Plain"@en ;
    arch-vis:fillColor  "#ffffff" ;
.

:Bold
    a                   arch-vis:Style ;
    arch-vis:inStyleSet :Styles ;
    skos:prefLabel      "Bold"@en ;
    arch-vis:fontStyle  "bold" ;
.

# NamedStyleNameShape: a set's style with no name.
:NoName
    a                   arch-vis:Style ;
    arch-vis:inStyleSet :Styles ;
    arch-vis:fillColor  "#eeeeee" ;
.

# NamedStyleLookShape: a set's style for one audience only, the look there of no style for every context.
:ForExecutives
    a                          arch-vis:Style ;
    arch-vis:inStyleSet        :Styles ;
    skos:prefLabel             "For executives"@en ;
    arch:inPresentationContext ampc:ExecutiveContext ;
.

# NamedStyleBasedOnShape: a set's style based on another.
:Derived
    a                   arch-vis:Style ;
    arch-vis:inStyleSet :Styles ;
    skos:prefLabel      "Derived"@en ;
    arch-vis:basedOn    :Plain ;
.

# NamedStyleLooksShape: Plain has two looks for executives. Each is a set's look for one context as it should be.
:PlainForExecutives
    a                          arch-vis:Style ;
    arch-vis:inStyleSet        :Styles ;
    arch:inPresentationContext ampc:ExecutiveContext ;
    arch-vis:basedOn           :Plain ;
    arch-vis:fillColor         "#202124" ;
.
:PlainForExecutivesAgain
    a                          arch-vis:Style ;
    arch-vis:inStyleSet        :Styles ;
    arch:inPresentationContext ampc:ExecutiveContext ;
    arch-vis:basedOn           :Plain ;
    arch-vis:fillColor         "#5f6368" ;
.

:OtherStyles
    a              arch-vis:StyleSet ;
    skos:prefLabel "Other styles"@en ;
.
:Elsewhere
    a                   arch-vis:Style ;
    arch-vis:inStyleSet :OtherStyles ;
    skos:prefLabel      "Elsewhere"@en ;
.

# NamedStyleLookShape: a look for executives in one set, of a style of another.
:ElsewhereForExecutives
    a                          arch-vis:Style ;
    arch-vis:inStyleSet        :Styles ;
    arch:inPresentationContext ampc:ExecutiveContext ;
    arch-vis:basedOn           :Elsewhere ;
.

:Billing
    a                     am:ApplicationComponent ;
    skos:prefLabel        "Billing"@en ;
    arch-vis:conceptStyle :BillingLook, :BillingLookForExecutives ;
.
:BillingLook
    a                  arch-vis:Style ;
    arch-vis:fillColor "#c8e6c9" ;
.
:BillingLookForExecutives
    a                          arch-vis:Style ;
    arch:inPresentationContext ampc:ExecutiveContext ;
    arch-vis:fillColor         "#2e7d32" ;
.

# ConceptStyleUseShape: two looks of its own for every presentation context.
:Payments
    a                     am:ApplicationComponent ;
    skos:prefLabel        "Payments"@en ;
    arch-vis:conceptStyle :PaymentsLook, :PaymentsOtherLook ;
.
:PaymentsLook      a arch-vis:Style ; arch-vis:fillColor "#e8f0fe" .
:PaymentsOtherLook a arch-vis:Style ; arch-vis:fillColor "#fef7e0" .

# ConceptStyleBasedOnShape: a concept's look based on a set's style.
# ConceptStyleInSetShape: a concept's look in a set — reported by NamedStyleLookShape too, as a set's
# style for one audience that is the look there of none.
:Ledger
    a                     am:ApplicationComponent ;
    skos:prefLabel        "Ledger"@en ;
    arch-vis:conceptStyle :LedgerLook, :LedgerLookForExecutives ;
.
:LedgerLook
    a                arch-vis:Style ;
    arch-vis:basedOn :Plain ;
.
:LedgerLookForExecutives
    a                          arch-vis:Style ;
    arch:inPresentationContext ampc:ExecutiveContext ;
    arch-vis:inStyleSet        :Styles ;
    skos:prefLabel             "Ledger for executives"@en ;
.

:LandscapeView
    a                            arch:View ;
    skos:prefLabel               "Landscape"@en ;
    arch:viewConformsToViewpoint <https://meta.linked.archi/archimate3/viewpoints#ApplicationCooperationViewpoint> ;
.

:BillingNode
    a                    arch-vis:ArchNode ;
    arch-vis:view        :LandscapeView ;
    arch-vis:archElement :Billing ;
    arch-vis:style       :BillingNodeStyle ;
.
:BillingNodeStyle
    a                arch-vis:Style ;
    arch-vis:basedOn :Plain ;
.

# BasedOnOneShape: a style based on two.
:BillingNodeAgain
    a                    arch-vis:ArchNode ;
    arch-vis:view        :LandscapeView ;
    arch-vis:archElement :Billing ;
    arch-vis:style       :TwoBases ;
.
:TwoBases
    a                arch-vis:Style ;
    arch-vis:basedOn :Plain, :Bold ;
.

# BasedOnShape: based on another diagram element's style.
:PaymentsNode
    a                    arch-vis:ArchNode ;
    arch-vis:view        :LandscapeView ;
    arch-vis:archElement :Payments ;
    arch-vis:style       :OnAnotherNode ;
.
:OnAnotherNode
    a                arch-vis:Style ;
    arch-vis:basedOn :BillingNodeStyle ;
.

# BasedOnShape: based on the look of another concept than the one it draws.
:LedgerNode
    a                    arch-vis:ArchNode ;
    arch-vis:view        :LandscapeView ;
    arch-vis:archElement :Ledger ;
    arch-vis:style       :OnAnotherConcept ;
.
:OnAnotherConcept
    a                arch-vis:Style ;
    arch-vis:basedOn :BillingLook ;
.

# BasedOnShape: based on its concept's look for one audience, which is read through its look for every context.
:BillingNodeThird
    a                    arch-vis:ArchNode ;
    arch-vis:view        :LandscapeView ;
    arch-vis:archElement :Billing ;
    arch-vis:style       :OnALookForOneContext ;
.
:OnALookForOneContext
    a                arch-vis:Style ;
    arch-vis:basedOn :BillingLookForExecutives ;
.

# BasedOnShape: based on a set's look for one audience, which is read through the style it is the look of.
:BillingNodeFourth
    a                    arch-vis:ArchNode ;
    arch-vis:view        :LandscapeView ;
    arch-vis:archElement :Billing ;
    arch-vis:style       :OnASetLookForOneContext ;
.
:OnASetLookForOneContext
    a                arch-vis:Style ;
    arch-vis:basedOn :PlainForExecutives ;
.
