@prefix this: . @prefix sub: . @prefix np: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix prov: . @prefix foaf: . sub:Head { this: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { a ; ; "Multi-value result columns"; """

Result columns (not placeholders) can use the \"_multi_iri\", \"_multi\", and \"_multi_val\" suffixes to hold multiple concatenated values produced by group_concat:

_multi_iri — all values are URIs, separated by any whitespace (spaces, newlines, or tabs). Example: (group_concat(str(?item); separator=\" \") as ?items_multi_iri)

_multi — all values are literals, separated by newlines, with escaping. Example: (group_concat(replace(replace(?text, \"\\\\\\\\\", \"\\\\\\\\\\\\\\\\\"), \"[\\r\\n]+\", \"\\\\\\\\n\"); separator=\"\\n\") as ?texts_multi)

_multi_val — values can be a mix of URIs and literals, separated by newlines, with escaping. Each value is checked individually: URIs (matching https?://) are rendered as links, literals are rendered as text or sanitized HTML. Example: (group_concat(replace(replace(str(?val), \"\\\\\\\\\", \"\\\\\\\\\\\\\\\\\"), \"[\\r\\n]+\", \"\\\\\\\\n\"); separator=\"\\n\") as ?values_multi_val)

"""; "07" . } sub:provenance { sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 . } sub:pubinfo { orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" . this: dct:created "2026-03-30T07:35:49Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:introduces ; npx:supersedes ; rdfs:label "Multi-value result columns"; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "lMw1T5bFxqEw1d/JvobTiGI0ilYc71uj2I0mEJRiU/g+TD1CiSgAzETTzfhZHWwK6RVVzq5+F3LvAqsBUA69hYu2FhicetQhKqHuSjfeySwJNsMSqu4iA6rvRTN0ycA6/UMd3aHJDbeQykG51dU2jh/vxa/20Y3lp5RSmj5SlMo="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }