. . . . "This query returns the core info - creator, author, label, etc. - of a given nanopublication." . . . "Get the core info of a nanopublication" . . "prefix np: \r\nprefix npa: \r\nprefix npx: \r\nprefix xsd: \r\nprefix dct: \r\nprefix oa: \r\nprefix rdfs: \r\nprefix nt: \r\nprefix pav: \r\nprefix bibo: \r\nprefix rdf: \r\n\r\nselect distinct ?np (coalesce(?signer, min(?declaredCreator)) as ?creator) (coalesce(?firstAuthor, min(?author), min(?creator)) as ?mainAuthor) (if(count(distinct ?author)>0,count(distinct ?author),count(distinct ?creator)) as ?authorCount) ?introducedThing ?label ?date where {\r\n graph npa:graph {\r\n bind(replace(str(), \"^.*[^a-zA-Z0-9-_](RA[a-zA-Z0-9-_]{43})$\", \"$1\") as ?ac)\r\n ?np npa:artifactCode ?ac .\r\n optional { ?_np_iri} # for grlc to pick up the placeholder\r\n ?np npa:hasHeadGraph ?h .\r\n ?np dct:created ?date .\r\n ?np npa:hasValidSignatureForPublicKey ?pubkey .\r\n ?np rdfs:label ?label .\r\n ?np np:hasPublicationInfo ?i .\r\n ?np dct:creator ?declaredCreator .\r\n optional { ?np npx:signedBy ?signer . }\r\n optional { ?np npx:introduces ?introducedThing . }\r\n }\r\n optional {\r\n graph ?i { ?np pav:authoredBy ?author . }\r\n }\r\n optional {\r\n graph ?i {\r\n ?np bibo:authorList ?authorList .\r\n ?authorList ?hasElement ?author .\r\n filter(strstarts(str(?hasElement), str(rdf:_)))\r\n }\r\n }\r\n optional {\r\n graph ?i {\r\n ?np bibo:authorList ?authorList .\r\n ?authorList rdf:_1 ?firstAuthor .\r\n }\r\n }\r\n}\r\ngroup by ?np ?signer ?introducedThing ?label ?date ?firstAuthor" . . "Tobias Kuhn" . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB" . "aafmdzKuOmf1yZCuRNkPwSFWCiZeTvo6btI5mEL4uFgw6l50Trjlm43jvqfl+Mh9+gYuBDA4MJXzKa0RFFXmTkCm1DpvLgmi/51qXqyWK7PPTXptXAyyGVRkZFhyKqfAMNB2yys8F16GCoiuVnzJa9DPlzB0ntya1hoJMI5YVcw=" . . . "2024-07-01T07:25:49.764Z"^^ . . . . . . . . .