sub:assertion {
rdf:type rdfs:label "is a" .
<
https://w3id.org/kpxl/gen/terms/ActivatedViewDisplay>
rdfs:label "activated view display" .
<
https://w3id.org/kpxl/gen/terms/ColumnWidth02of12>
rdfs:label "10/12 columns" , "2/12 columns" .
<
https://w3id.org/kpxl/gen/terms/ColumnWidth03of12>
rdfs:label "3/12 columns" .
<
https://w3id.org/kpxl/gen/terms/ColumnWidth04of12>
rdfs:label "4/12 columns" .
<
https://w3id.org/kpxl/gen/terms/ColumnWidth05of12>
rdfs:label "5/12 columns" .
<
https://w3id.org/kpxl/gen/terms/ColumnWidth06of12>
rdfs:label "6/12 columns" .
<
https://w3id.org/kpxl/gen/terms/ColumnWidth07of12>
rdfs:label "7/12 columns" .
<
https://w3id.org/kpxl/gen/terms/ColumnWidth08of12>
rdfs:label "8/12 columns" .
<
https://w3id.org/kpxl/gen/terms/ColumnWidth09of12>
rdfs:label "9/12 columns" .
<
https://w3id.org/kpxl/gen/terms/ColumnWidth10of12>
rdfs:label "10/12 columns" .
<
https://w3id.org/kpxl/gen/terms/ColumnWidth12of12>
rdfs:label "12/12 columns" .
<
https://w3id.org/kpxl/gen/terms/DeactivatedViewDisplay>
rdfs:label "deactivated view display" .
<
https://w3id.org/kpxl/gen/terms/PartLevelViewDisplay>
rdfs:label "part-level view display" .
<
https://w3id.org/kpxl/gen/terms/TopLevelViewDisplay>
rdfs:label "top-level view display" .
<
https://w3id.org/kpxl/gen/terms/ViewDisplay>
rdfs:label "view display" .
<
https://w3id.org/kpxl/gen/terms/appliesTo>
rdfs:label "only applies to resource" .
<
https://w3id.org/kpxl/gen/terms/appliesToInstancesOf>
rdfs:label "applies to all instances of" .
<
https://w3id.org/kpxl/gen/terms/hasDisplayWidth>
rdfs:label "has the display width" .
<
https://w3id.org/kpxl/gen/terms/hasPageSize>
rdfs:label "has the page size" .
<
https://w3id.org/kpxl/gen/terms/hasStructuralPosition>
rdfs:label "has the structural position" .
<
https://w3id.org/kpxl/gen/terms/isDisplayFor>
rdfs:label "is a display for" .
<
https://w3id.org/kpxl/gen/terms/isDisplayOfView>
rdfs:label "is a display of the view" .
sub:appliesToClass a nt:ExternalUriPlaceholder ;
rdfs:label "class URI, overriding view definition" .
sub:appliesToNamespace a nt:ExternalUriPlaceholder ;
rdfs:label "namespace (URI prefix)" , "namespace, overriding view definition" .
sub:appliesToResource a nt:ExternalUriPlaceholder ;
rdfs:label "resource URI" .
sub:assertion dct:description "Declare a view that should be displayed for the given resource (e.g. space, user, maintained resource)." ;
a nt:AssertionTemplate ;
rdfs:label "Displaying a view for a resource" ;
nt:hasNanopubLabelPattern "${resource} displays view: ${view}" ;
nt:hasStatement sub:st10 ,
sub:st11 ,
sub:st12 ,
sub:st20 ,
sub:st30 ,
sub:st31 ,
sub:st32 ,
sub:st33 ,
sub:st35 ,
sub:st40 ,
sub:st50 ;
nt:hasTag "Spaces" .
sub:display a nt:EmbeddedResource ,
nt:LocalResource ;
rdfs:label "this" .
sub:displayMode a nt:RestrictedChoicePlaceholder ;
rdfs:label "select whether this display is activated or deactivated" ;
nt:hasDefaultValue <
https://w3id.org/kpxl/gen/terms/ActivatedViewDisplay> ;
nt:possibleValue <
https://w3id.org/kpxl/gen/terms/ActivatedViewDisplay> , <
https://w3id.org/kpxl/gen/terms/DeactivatedViewDisplay> .
sub:displayType a nt:RestrictedChoicePlaceholder ;
rdfs:label "top-level or part-level" ;
nt:hasDefaultValue <
https://w3id.org/kpxl/gen/terms/TopLevelViewDisplay> ;
nt:possibleValue <
https://w3id.org/kpxl/gen/terms/PartLevelViewDisplay> , <
https://w3id.org/kpxl/gen/terms/TopLevelViewDisplay> .
sub:pageSize a nt:LiteralPlaceholder ;
rdfs:label "page size in number of entries, overriding view definition" ;
nt:hasRegex "[0-9]+" .
sub:resource a nt:GuidedChoicePlaceholder ;
rdfs:label "the ID of the resource" ;
nt:possibleValuesFromApi "https://w3id.org/np/l/nanopub-query-1.1/api/RAyMrQ89RECTi9gZK5q7gjL1wKTiP8StkLy0NIkkCiyew/find-things?type=https://w3id.org/kpxl/gen/terms/MaintainedResource" , "https://w3id.org/np/l/nanopub-query-1.1/api/RAyMrQ89RECTi9gZK5q7gjL1wKTiP8StkLy0NIkkCiyew/find-things?type=https://w3id.org/kpxl/gen/terms/Space" .
sub:st10 rdf:object <
https://w3id.org/kpxl/gen/terms/ViewDisplay> ;
rdf:predicate rdf:type ;
rdf:subject sub:display .
sub:st11 rdf:object sub:displayType ;
rdf:predicate rdf:type ;
rdf:subject sub:display .
sub:st12 rdf:object sub:displayMode ;
rdf:predicate rdf:type ;
rdf:subject sub:display .
sub:st20 rdf:object sub:view ;
rdf:predicate <
https://w3id.org/kpxl/gen/terms/isDisplayOfView> ;
rdf:subject sub:display .
sub:st30 rdf:object sub:resource ;
rdf:predicate <
https://w3id.org/kpxl/gen/terms/isDisplayFor> ;
rdf:subject sub:display .
sub:st31 rdf:object sub:appliesToResource ;
rdf:predicate <
https://w3id.org/kpxl/gen/terms/appliesTo> ;
rdf:subject sub:display ;
a nt:OptionalStatement .
sub:st32 rdf:object sub:appliesToClass ;
rdf:predicate <
https://w3id.org/kpxl/gen/terms/appliesToInstancesOf> ;
rdf:subject sub:display ;
a nt:OptionalStatement ,
nt:RepeatableStatement .
sub:st33 rdf:object sub:appliesToNamespace ;
rdf:predicate <
https://w3id.org/kpxl/gen/terms/appliesToNamespace> ;
rdf:subject sub:display ;
a nt:OptionalStatement ,
nt:RepeatableStatement .
sub:st35 rdf:object sub:structuralPosition ;
rdf:predicate <
https://w3id.org/kpxl/gen/terms/hasStructuralPosition> ;
rdf:subject sub:display ;
a nt:OptionalStatement .
sub:st40 rdf:object sub:pageSize ;
rdf:predicate <
https://w3id.org/kpxl/gen/terms/hasPageSize> ;
rdf:subject sub:display ;
a nt:OptionalStatement .
sub:st50 rdf:object sub:width ;
rdf:predicate <
https://w3id.org/kpxl/gen/terms/hasDisplayWidth> ;
rdf:subject sub:display ;
a nt:OptionalStatement .
sub:structuralPosition a nt:LiteralPlaceholder ;
rdfs:label "structural position id like '5.5.thing', overriding view definition" ;
nt:hasRegex "[1-9]\\.[1-9]\\..*" .
sub:view a nt:GuidedChoicePlaceholder ;
rdfs:label "choose the view" ;
nt:possibleValuesFromApi "https://w3id.org/np/l/nanopub-query-1.1/api/RAs7Q2IMbb7C2WzFa98bVwlDMhN3kJ0rrF9cSEybtvLaA/find-embedded-things?type=https://w3id.org/kpxl/gen/terms/ResourceView" .
sub:width a nt:RestrictedChoicePlaceholder ;
rdfs:label "display width, overriding view definition" ;
nt:possibleValue <
https://w3id.org/kpxl/gen/terms/ColumnWidth02of12> , <
https://w3id.org/kpxl/gen/terms/ColumnWidth03of12> , <
https://w3id.org/kpxl/gen/terms/ColumnWidth04of12> , <
https://w3id.org/kpxl/gen/terms/ColumnWidth05of12> , <
https://w3id.org/kpxl/gen/terms/ColumnWidth06of12> , <
https://w3id.org/kpxl/gen/terms/ColumnWidth07of12> , <
https://w3id.org/kpxl/gen/terms/ColumnWidth08of12> , <
https://w3id.org/kpxl/gen/terms/ColumnWidth09of12> , <
https://w3id.org/kpxl/gen/terms/ColumnWidth10of12> , <
https://w3id.org/kpxl/gen/terms/ColumnWidth12of12> .
}