@prefix dcterms: .
@prefix this: .
@prefix sub: .
@prefix np: .
@prefix rdf: .
@prefix nt: .
@prefix npx: .
@prefix xsd: .
@prefix rdfs: .
@prefix orcid: .
@prefix prov: .
@prefix foaf: .
sub:Head {
this: np:hasAssertion sub:assertion;
np:hasProvenance sub:provenance;
np:hasPublicationInfo sub:pubinfo;
a np:Nanopublication .
}
sub:assertion {
dcterms:title rdfs:label "has the title" .
rdf:type rdfs:label "is a" .
rdfs:label rdfs:label "has the label" .
rdfs:label "resource view" .
rdfs:label "tabular view" .
rdfs:label "has the template" .
rdfs:label "has the template target field" .
rdfs:label "has the action" .
rdfs:label "has the query" .
rdfs:label "has the query target field" .
sub:action a nt:LocalResource, nt:UriPlaceholder;
rdfs:label "short ID suffix for the action";
nt:hasDefaultValue sub:action .
sub:actionLabel a nt:LiteralPlaceholder;
rdfs:label "text shown on the action button" .
sub:actionTemplate a nt:GuidedChoicePlaceholder;
rdfs:label "choose the template for this action";
nt:possibleValuesFromApi "https://w3id.org/np/l/nanopub-query-1.1/api/RARD6qOGIXUvfxmf5CQNEDxPqlTVCqeLdWeSg5h8tUcEA/search-templates" .
sub:actionTemplateField a nt:LiteralPlaceholder;
rdfs:label "the template field URI suffix";
nt:hasDefaultValue "resource" .
sub:assertion dcterms:description "Declaring a view that to be shown on a resource page (i.e. user/space/maintained resource page).";
a nt:AssertionTemplate;
rdfs:label "Declaring a resource view";
nt:hasStatement sub:st10, sub:st11, sub:st20, sub:st30, sub:st31, sub:st50;
nt:hasTag "Spaces" .
sub:query a nt:GuidedChoicePlaceholder;
rdfs:label "choose the query";
nt:possibleValuesFromApi "https://w3id.org/np/l/nanopub-query-1.1/api/RAyMrQ89RECTi9gZK5q7gjL1wKTiP8StkLy0NIkkCiyew/find-things?type=https://w3id.org/kpxl/grlc/grlc-query" .
sub:queryField a nt:LiteralPlaceholder;
rdfs:label "the query placeholder name";
nt:hasDefaultValue "resource" .
sub:st10 rdf:object ;
rdf:predicate rdf:type;
rdf:subject sub:view .
sub:st11 rdf:object sub:viewType;
rdf:predicate rdf:type;
rdf:subject sub:view .
sub:st20 rdf:object sub:title;
rdf:predicate dcterms:title;
rdf:subject sub:view .
sub:st30 rdf:object sub:query;
rdf:predicate ;
rdf:subject sub:view .
sub:st31 rdf:object sub:queryField;
rdf:predicate ;
rdf:subject sub:view .
sub:st50 a nt:GroupedStatement, nt:OptionalStatement, nt:RepeatableStatement;
nt:hasStatement sub:st51, sub:st52, sub:st53, sub:st54 .
sub:st51 rdf:object sub:action;
rdf:predicate ;
rdf:subject sub:view .
sub:st52 rdf:object sub:actionTemplate;
rdf:predicate ;
rdf:subject sub:action .
sub:st53 rdf:object sub:actionTemplateField;
rdf:predicate ;
rdf:subject sub:action .
sub:st54 rdf:object sub:actionLabel;
rdf:predicate rdfs:label;
rdf:subject sub:action .
sub:title a nt:LiteralPlaceholder;
rdfs:label "title for the view" .
sub:view a nt:EmbeddedResource, nt:LocalResource, nt:UriPlaceholder;
rdfs:label "short ID suffix for the view" .
sub:viewType a nt:RestrictedChoicePlaceholder;
rdfs:label "choose the type of view";
nt:hasDefaultValue ;
nt:possibleValue .
}
sub:provenance {
sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 .
}
sub:pubinfo {
orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" .
this: dcterms:created "2025-10-22T08:15:41.698Z"^^xsd:dateTime;
dcterms:creator orcid:0000-0002-1267-0234;
dcterms:license ;
npx:supersedes ;
npx:wasCreatedAt ;
rdfs:label "Declaring a resource view";
nt:wasCreatedFromProvenanceTemplate ;
nt:wasCreatedFromPubinfoTemplate ,
, ;
nt:wasCreatedFromTemplate .
sub:sig npx:hasAlgorithm "RSA";
npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB";
npx:hasSignature "XSGQykjyY+GLeHYnWxWMaidBseXsSrun7P2rulE9gPqwhZq+r+sx2lZc8CKfkUiPy+xNqlrwdABK8kfQeFDpJAxbA77+8L+Z4qPw04sBfoYTqvlwhF3pXGJuf7s6QiaaVFcdmCPCTay0xD18ggSkn3YFqu5yfy3CJPCY77xOrDo=";
npx:hasSignatureTarget this:;
npx:signedBy orcid:0000-0002-1267-0234 .
}