rows { options { physical_type: PHYSICAL_STREAM_TYPE_QUADS max_name_table_size: 128 max_prefix_table_size: 16 max_datatype_table_size: 16 logical_type: LOGICAL_STREAM_TYPE_DATASETS version: 2 } } rows { prefix { value: "https://w3id.org/np/" } } rows { name { value: "RAkU2SgTmitySCECY3OZoYWgis-8e_JO3B_VWN15X5su8" } } rows { namespace { name: "this" value { prefix_id: 1 } } } rows { prefix { value: "https://w3id.org/np/RAkU2SgTmitySCECY3OZoYWgis-8e_JO3B_VWN15X5su8/" } } rows { name { } } rows { namespace { name: "sub" value { prefix_id: 2 } } } rows { prefix { value: "http://schema.org/" } } rows { namespace { name: "schema" value { prefix_id: 3 name_id: 2 } } } rows { prefix { value: "https://w3id.org/kpxl/gen/terms/" } } rows { namespace { name: "gen" value { prefix_id: 4 name_id: 2 } } } rows { prefix { value: "http://www.nanopub.org/nschema#" } } rows { namespace { name: "np" value { prefix_id: 5 name_id: 2 } } } rows { prefix { value: "http://purl.org/dc/terms/" } } rows { namespace { name: "dct" value { prefix_id: 6 name_id: 2 } } } rows { prefix { value: "https://w3id.org/np/o/ntemplate/" } } rows { namespace { name: "nt" value { prefix_id: 7 name_id: 2 } } } rows { prefix { value: "http://purl.org/nanopub/x/" } } rows { namespace { name: "npx" value { prefix_id: 8 name_id: 2 } } } rows { prefix { value: "http://www.w3.org/2001/XMLSchema#" } } rows { namespace { name: "xsd" value { prefix_id: 9 name_id: 2 } } } rows { prefix { value: "http://www.w3.org/2000/01/rdf-schema#" } } rows { namespace { name: "rdfs" value { prefix_id: 10 name_id: 2 } } } rows { prefix { value: "http://www.w3.org/ns/prov#" } } rows { namespace { name: "prov" value { prefix_id: 11 name_id: 2 } } } rows { name { value: "hasAssertion" } } rows { name { value: "assertion" } } rows { name { value: "Head" } } rows { quad { s_iri { prefix_id: 1 name_id: 1 } p_iri { prefix_id: 5 name_id: 3 } o_iri { prefix_id: 2 } g_iri { } } } rows { name { value: "hasProvenance" } } rows { name { value: "provenance" } } rows { quad { p_iri { prefix_id: 5 } o_iri { prefix_id: 2 } } } rows { name { value: "hasPublicationInfo" } } rows { name { value: "pubinfo" } } rows { quad { p_iri { prefix_id: 5 } o_iri { prefix_id: 2 } } } rows { prefix { value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#" } } rows { name { value: "type" } } rows { name { value: "Nanopublication" } } rows { quad { p_iri { prefix_id: 12 } o_iri { prefix_id: 5 } } } rows { prefix { value: "https://w3id.org/np/RAg9nnMEhUmb8Kvw1HUE_xcymDqloIK6lsX97XHuW37Bs/" } } rows { name { value: "paragraph" } } rows { name { value: "about" } } rows { name { value: "NanopubTemplate" } } rows { quad { s_iri { prefix_id: 13 } p_iri { prefix_id: 3 } o_iri { prefix_id: 7 } g_iri { prefix_id: 2 name_id: 4 } } } rows { name { value: "title" } } rows { quad { p_iri { prefix_id: 3 name_id: 15 } o_literal { lex: "Placeholders" } } } rows { name { value: "Paragraph" } } rows { quad { p_iri { prefix_id: 12 name_id: 10 } o_iri { prefix_id: 4 name_id: 16 } } } rows { name { value: "hasContent" } } rows { quad { p_iri { } o_literal { lex: "
A placeholder is a node in the template typed with one of the placeholder classes and given an rdfs:label; that label is what the form shows as the field\'s name.
The common kinds are: nt:LiteralPlaceholder for a short text and nt:LongLiteralPlaceholder for a longer one; nt:UriPlaceholder for a URI to be minted here and nt:ExternalUriPlaceholder for one that already exists elsewhere; nt:TrustyUriPlaceholder for the URI of another nanopublication; nt:AgentPlaceholder for a person or agent; nt:DatePlaceholder for a date whose precision is left to the author; and nt:RestrictedChoicePlaceholder and nt:GuidedChoicePlaceholder for values chosen from a list or looked up. nt:ValuePlaceholder accepts a text or a URI.
A placeholder can carry several types at once, for example a URI placeholder that is also an introduced resource, or a lookup field that is also an nt:ExternalUriPlaceholder, so that the form does not offer to mint a new identifier. nt:NewUriPlaceholder marks the opposite case, a field naming something that must not exist yet. A few further, rarely needed types exist for special cases such as automatically escaped URIs.