[ { "@id": "https://w3id.org/np/RASoSJHTqFbstPGUNIdxyUUl-1VUbJY4YfMgVMHbGWM_Y/provenance", "@graph": [ { "@id": "https://w3id.org/np/RASoSJHTqFbstPGUNIdxyUUl-1VUbJY4YfMgVMHbGWM_Y/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RASoSJHTqFbstPGUNIdxyUUl-1VUbJY4YfMgVMHbGWM_Y/Head", "@graph": [ { "@id": "https://w3id.org/np/RASoSJHTqFbstPGUNIdxyUUl-1VUbJY4YfMgVMHbGWM_Y", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RASoSJHTqFbstPGUNIdxyUUl-1VUbJY4YfMgVMHbGWM_Y/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RASoSJHTqFbstPGUNIdxyUUl-1VUbJY4YfMgVMHbGWM_Y/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RASoSJHTqFbstPGUNIdxyUUl-1VUbJY4YfMgVMHbGWM_Y/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RASoSJHTqFbstPGUNIdxyUUl-1VUbJY4YfMgVMHbGWM_Y/pubinfo", "@graph": [ { "@id": "https://orcid.org/0000-0002-1267-0234", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Tobias Kuhn" } ] }, { "@id": "https://w3id.org/np/RASoSJHTqFbstPGUNIdxyUUl-1VUbJY4YfMgVMHbGWM_Y", "http://purl.org/dc/terms/created": [ { "@value": "2026-08-14T10:20:00Z", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://purl.org/dc/terms/creator": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ], "http://purl.org/dc/terms/license": [ { "@id": "https://creativecommons.org/licenses/by/4.0/" } ], "http://purl.org/nanopub/x/embeds": [ { "@id": "https://w3id.org/np/RASoSJHTqFbstPGUNIdxyUUl-1VUbJY4YfMgVMHbGWM_Y/get-project-summary-svg" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAXpmwP_IYPG8sh_U2WLHc3en2ojjegN2QRAwgNXjh4TU" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get project summary diagram as SVG" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate": [ { "@id": "http://purl.org/np/RAcm8OurwUk15WOgBM9wySo-T3a5h6as4K8YR5MBrrxUc" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate": [ { "@id": "https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" }, { "@id": "https://w3id.org/np/RARW4MsFkHuwjycNElvEVtuMjpf4yWDL10-0C5l2MqqRQ" }, { "@id": "https://w3id.org/np/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw" }, { "@id": "https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [ { "@id": "https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k" } ] }, { "@id": "https://w3id.org/np/RASoSJHTqFbstPGUNIdxyUUl-1VUbJY4YfMgVMHbGWM_Y/sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "U1PxoPumbjHUcHcFav4itOBbRzpvK3Swnc+0rvLwsxa0e/c+FSsPMu8ELx9R6VCsT7OwqyO0a3bZ0HbjYy9uQ3JxahKA/aB68X5mqLDotzVBEou8eQLEEjcXq1U0Kwmq4mOSCj/Mpodz8ykcCLtS30DUXMsESoY342KfvOgUMkE=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RASoSJHTqFbstPGUNIdxyUUl-1VUbJY4YfMgVMHbGWM_Y" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RASoSJHTqFbstPGUNIdxyUUl-1VUbJY4YfMgVMHbGWM_Y/assertion", "@graph": [ { "@id": "https://w3id.org/np/RASoSJHTqFbstPGUNIdxyUUl-1VUbJY4YfMgVMHbGWM_Y/get-project-summary-svg", "http://purl.org/dc/terms/description": [ { "@value": "Computes an SVG summary diagram of a FAIR project: the studies and other activities in the middle, the reused datasets that feed them on the left, the outputs they produce on the right, the findings and insights they yield above, and the people and their institutions below. Every box links to the resource it stands for." } ], "http://purl.org/dc/terms/license": [ { "@id": "http://www.apache.org/licenses/LICENSE-2.0" } ], "@type": [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get project summary diagram as SVG" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/full" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "prefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix gen: \nprefix ff: \nprefix obo: \nprefix hycl: \nprefix cito: \nprefix foaf: \nselect (concat(\n ' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) + 44) + (floor((?nppl + 2) / 3) * 28 + 14) + 36) + (floor((?ninst + 2) / 3) * 28 + 14) + 12)),\n '\" width=\"', str(744 * 3 / 2), '\" height=\"', str(((((26 + (floor((?nkno + 1) / 2) * 28 + 14) + 44) + ((if(?nin > ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) + 44) + (floor((?nppl + 2) / 3) * 28 + 14) + 36) + (floor((?ninst + 2) / 3) * 28 + 14) + 12) * 3 / 2), '\" font-family=\"Noto Emoji, Inter, Verdana, Helvetica, sans-serif\">',\n 'KNOWLEDGE',\n '',\n '', ?boxeskno, '',\n 'INPUTS',\n ' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14)),\n '\" rx=\"4\" fill=\"#f4f4f4\" stroke=\"#888\">',\n '', ?boxesin, '',\n 'ACTIVITIES',\n ' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14)),\n '\" rx=\"4\" fill=\"#f4f4f4\" stroke=\"#888\">',\n '', ?boxesact, '',\n 'OUTPUTS',\n ' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14)),\n '\" rx=\"4\" fill=\"#f4f4f4\" stroke=\"#888\">',\n '', ?boxesout, '',\n ' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) + 44) - 9), '\" text-anchor=\"middle\" font-size=\"11\" font-weight=\"bold\" fill=\"#444\" letter-spacing=\"0.8\">PEOPLE',\n ' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) + 44)), '\" width=\"656\" height=\"', str((floor((?nppl + 2) / 3) * 28 + 14)),\n '\" rx=\"4\" fill=\"#f4f4f4\" stroke=\"#888\">',\n ' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) + 44) + 6), ')\">', ?boxesppl, '',\n ' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) + 44) + (floor((?nppl + 2) / 3) * 28 + 14) + 36) - 9), '\" text-anchor=\"middle\" font-size=\"11\" font-weight=\"bold\" fill=\"#444\" letter-spacing=\"0.8\">INSTITUTIONS',\n ' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) + 44) + (floor((?nppl + 2) / 3) * 28 + 14) + 36)), '\" width=\"656\" height=\"', str((floor((?ninst + 2) / 3) * 28 + 14)),\n '\" rx=\"4\" fill=\"#f4f4f4\" stroke=\"#888\">',\n ' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) + 44) + (floor((?nppl + 2) / 3) * 28 + 14) + 36) + 6), ')\">', ?boxesinst, '',\n ' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) / 2)), '\" x2=\"252\" y2=\"', str(((26 + (floor((?nkno + 1) / 2) * 28 + 14) + 44) + ((if(?nin > ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) / 2)), '\" stroke=\"#666\" stroke-width=\"1.5\">',\n ' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) / 2)), ' L 250 ', str(((26 + (floor((?nkno + 1) / 2) * 28 + 14) + 44) + ((if(?nin > ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) / 2) - 5), ' L 250 ', str(((26 + (floor((?nkno + 1) / 2) * 28 + 14) + 44) + ((if(?nin > ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) / 2) + 5), ' Z\" fill=\"#666\">',\n ' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) / 2)), '\" x2=\"504\" y2=\"', str(((26 + (floor((?nkno + 1) / 2) * 28 + 14) + 44) + ((if(?nin > ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) / 2)), '\" stroke=\"#666\" stroke-width=\"1.5\">',\n ' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) / 2)), ' L 502 ', str(((26 + (floor((?nkno + 1) / 2) * 28 + 14) + 44) + ((if(?nin > ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) / 2) - 5), ' L 502 ', str(((26 + (floor((?nkno + 1) / 2) * 28 + 14) + 44) + ((if(?nin > ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) / 2) + 5), ' Z\" fill=\"#666\">',\n '',\n '',\n ' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) + 44) - 22), '\" x2=\"372\" y2=\"', str((26 + (floor((?nkno + 1) / 2) * 28 + 14) + 44) + ((if(?nin > ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14)), '\" stroke=\"#bbb\" stroke-width=\"1.5\" stroke-dasharray=\"3 3\">',\n ' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) + 44) + (floor((?nppl + 2) / 3) * 28 + 14) + 36) - 22), '\" x2=\"372\" y2=\"', str(((26 + (floor((?nkno + 1) / 2) * 28 + 14) + 44) + ((if(?nin > ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 28 + 14) + 44) + (floor((?nppl + 2) / 3) * 28 + 14)), '\" stroke=\"#bbb\" stroke-width=\"1.5\" stroke-dasharray=\"3 3\">',\n '') as ?svg) (\"FAIR project summary\" as ?title)\nwhere {\n {\n select (group_concat(distinct ?boxkno; separator=\"\") as ?boxeskno) (count(*) as ?nkno) where {\n {\n select ?irikno (min(?labelkno) as ?lblkno) (min(?iconkno) as ?icokno)\n (group_concat(distinct ?typekno; separator=\" / \") as ?typkno)\n (count(distinct ?okno) as ?iykno) where {\n values ?_project_multi_iri {}\n service {\n select (group_concat(?mpk; separator=\" \") as ?memberPubkeys) where {\n graph npa:graph { npa:hasCurrentSpaceState ?stateG . }\n values ?_project_multi_iri {}\n graph ?stateG {\n ?_project_multi_iri npa:isMaintainedBy? ?space .\n ?ri a gen:RoleInstantiation ; npa:forSpace ?space ; npa:forAgent ?agent ; npa:hasRoleType ?roleType .\n filter(?roleType in (gen:AdminRole, gen:MaintainerRole, gen:MemberRole))\n ?acct a npa:AccountState ; npa:agent ?agent ; npa:pubkey ?mpk .\n }\n }\n }\n graph npa:graph {\n ?npskno np:hasAssertion ?askno ;\n npa:hasValidSignatureForPublicKeyHash ?pkskno .\n filter not exists { ?ixskno npx:invalidates ?npskno ; npa:hasValidSignatureForPublicKeyHash ?pkskno . }\n filter not exists { ?sxskno npx:supersedes ?npskno . }\n }\n graph ?askno {\n ?studykno a obo:OBI_0000066 ; dct:isPartOf ?_project_multi_iri .\n }\n graph npa:graph {\n ?npkno np:hasAssertion ?akno ;\n np:hasPublicationInfo ?pikno ;\n npa:hasValidSignatureForPublicKeyHash ?pkkno .\n filter not exists { ?ixkno npx:invalidates ?npkno ; npa:hasValidSignatureForPublicKeyHash ?pkkno . }\n filter not exists { ?sxkno npx:supersedes ?npkno . }\n }\n graph ?akno {\n ?irikno a hycl:AIDA-Sentence ; cito:obtainsSupportFrom ?studykno .\n }\n optional { graph ?pikno { ?npkno rdfs:label ?lpkno } }\n bind(coalesce(?lpkno, \"(finding)\") as ?labelkno)\n bind(\"finding\" as ?typekno)\n bind(\"๐Ÿ’ก\" as ?iconkno)\n filter(contains(?memberPubkeys, ?pkkno))\n optional {\n graph npa:graph {\n ?onpskno np:hasAssertion ?oaskno ;\n npa:hasValidSignatureForPublicKeyHash ?opkskno .\n filter not exists { ?oixskno npx:invalidates ?onpskno ; npa:hasValidSignatureForPublicKeyHash ?opkskno . }\n filter not exists { ?osxskno npx:supersedes ?onpskno . }\n }\n graph ?oaskno {\n ?ostudykno a obo:OBI_0000066 ; dct:isPartOf ?_project_multi_iri .\n }\n graph npa:graph {\n ?onpkno np:hasAssertion ?oakno ;\n np:hasPublicationInfo ?opikno ;\n npa:hasValidSignatureForPublicKeyHash ?opkkno .\n filter not exists { ?oixkno npx:invalidates ?onpkno ; npa:hasValidSignatureForPublicKeyHash ?opkkno . }\n filter not exists { ?osxkno npx:supersedes ?onpkno . }\n }\n graph ?oakno {\n ?okno a hycl:AIDA-Sentence ; cito:obtainsSupportFrom ?ostudykno .\n }\n filter(str(?okno) < str(?irikno) && contains(?memberPubkeys, ?opkkno))\n }\n } group by ?irikno\n }\n bind((?iykno - floor(?iykno / 2) * 2) * 336 as ?bxkno)\n bind(floor(?iykno / 2) * 28 as ?bykno)\n bind(if(strlen(?lblkno) > 52, concat(substr(?lblkno, 1, 51), \"โ€ฆ\"), ?lblkno) as ?tkno)\n bind(replace(replace(replace(?tkno, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?esckno)\n bind(replace(replace(replace(?lblkno, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?fullkno)\n bind(concat('',\n '', ?fullkno, '',\n '', ?icokno, ' ', ?esckno, '',\n '', ?typkno, '',\n '') as ?boxkno)\n }\n }\n {\n select (group_concat(distinct ?boxin; separator=\"\") as ?boxesin) (count(*) as ?nin) where {\n {\n select ?iriin (min(?labelin) as ?lblin) (min(?iconin) as ?icoin)\n (group_concat(distinct ?typein; separator=\" / \") as ?typin)\n (count(distinct ?oin) as ?iyin) where {\n values ?_project_multi_iri {}\n service {\n select (group_concat(?mpk; separator=\" \") as ?memberPubkeys) where {\n graph npa:graph { npa:hasCurrentSpaceState ?stateG . }\n values ?_project_multi_iri {}\n graph ?stateG {\n ?_project_multi_iri npa:isMaintainedBy? ?space .\n ?ri a gen:RoleInstantiation ; npa:forSpace ?space ; npa:forAgent ?agent ; npa:hasRoleType ?roleType .\n filter(?roleType in (gen:AdminRole, gen:MaintainerRole, gen:MemberRole))\n ?acct a npa:AccountState ; npa:agent ?agent ; npa:pubkey ?mpk .\n }\n }\n }\n graph npa:graph {\n ?npin np:hasAssertion ?ain ;\n np:hasPublicationInfo ?piin ;\n npa:hasValidSignatureForPublicKeyHash ?pkin .\n filter not exists { ?ixin npx:invalidates ?npin ; npa:hasValidSignatureForPublicKeyHash ?pkin . }\n filter not exists { ?sxin npx:supersedes ?npin . }\n }\n graph ?ain {\n ?_project_multi_iri ff:reuses ?iriin .\n }\n optional { graph ?ain { ?iriin rdfs:label ?lain } }\n optional { graph ?piin { ?iriin foaf:name ?lfin } }\n optional { graph ?piin { ?iriin rdfs:label ?lqin } }\n bind(coalesce(?lain, ?lfin, ?lqin, replace(str(?iriin), \"^.*[/#]\", \"\")) as ?labelin)\n bind(\"reused dataset\" as ?typein)\n bind(\"๐Ÿ’พ\" as ?iconin)\n filter(contains(?memberPubkeys, ?pkin))\n optional {\n graph npa:graph {\n ?onpin np:hasAssertion ?oain ;\n np:hasPublicationInfo ?opiin ;\n npa:hasValidSignatureForPublicKeyHash ?opkin .\n filter not exists { ?oixin npx:invalidates ?onpin ; npa:hasValidSignatureForPublicKeyHash ?opkin . }\n filter not exists { ?osxin npx:supersedes ?onpin . }\n }\n graph ?oain {\n ?_project_multi_iri ff:reuses ?oin .\n }\n filter(str(?oin) < str(?iriin) && contains(?memberPubkeys, ?opkin))\n }\n } group by ?iriin\n }\n bind((?iyin - floor(?iyin / 1) * 1) * 212 as ?bxin)\n bind(floor(?iyin / 1) * 28 as ?byin)\n bind(if(strlen(?lblin) > 30, concat(substr(?lblin, 1, 29), \"โ€ฆ\"), ?lblin) as ?tin)\n bind(replace(replace(replace(?tin, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?escin)\n bind(replace(replace(replace(?lblin, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?fullin)\n bind(concat('',\n '', ?fullin, '',\n '', ?icoin, ' ', ?escin, '',\n '', ?typin, '',\n '') as ?boxin)\n }\n }\n {\n select (group_concat(distinct ?boxact; separator=\"\") as ?boxesact) (count(*) as ?nact) where {\n {\n select ?iriact (min(?labelact) as ?lblact) (min(?iconact) as ?icoact)\n (group_concat(distinct ?typeact; separator=\" / \") as ?typact)\n (count(distinct ?oact) as ?iyact) where {\n values ?_project_multi_iri {}\n service {\n select (group_concat(?mpk; separator=\" \") as ?memberPubkeys) where {\n graph npa:graph { npa:hasCurrentSpaceState ?stateG . }\n values ?_project_multi_iri {}\n graph ?stateG {\n ?_project_multi_iri npa:isMaintainedBy? ?space .\n ?ri a gen:RoleInstantiation ; npa:forSpace ?space ; npa:forAgent ?agent ; npa:hasRoleType ?roleType .\n filter(?roleType in (gen:AdminRole, gen:MaintainerRole, gen:MemberRole))\n ?acct a npa:AccountState ; npa:agent ?agent ; npa:pubkey ?mpk .\n }\n }\n }\n graph npa:graph {\n ?npact np:hasAssertion ?aact ;\n np:hasPublicationInfo ?piact ;\n npa:hasValidSignatureForPublicKeyHash ?pkact .\n filter not exists { ?ixact npx:invalidates ?npact ; npa:hasValidSignatureForPublicKeyHash ?pkact . }\n filter not exists { ?sxact npx:supersedes ?npact . }\n }\n graph ?aact {\n ?iriact a obo:OBI_0000066 ; dct:isPartOf ?_project_multi_iri .\n }\n optional { graph ?aact { ?iriact rdfs:label ?laact } }\n optional {\n graph ?aact {\n ?iriact a ?subact .\n filter(?subact != obo:OBI_0000066 && strstarts(str(?subact), \"http://purl.obolibrary.org/obo/OBI_\"))\n }\n graph ?piact { ?subact rdfs:label ?sublact }\n }\n bind(coalesce(?laact, replace(str(?iriact), \"^.*[/#]\", \"\")) as ?labelact)\n bind(coalesce(replace(?sublact, \" .*\", \"\"), \"study\") as ?typeact)\n bind(\"๐Ÿงช\" as ?iconact)\n filter(contains(?memberPubkeys, ?pkact))\n optional {\n graph npa:graph {\n ?onpact np:hasAssertion ?oaact ;\n np:hasPublicationInfo ?opiact ;\n npa:hasValidSignatureForPublicKeyHash ?opkact .\n filter not exists { ?oixact npx:invalidates ?onpact ; npa:hasValidSignatureForPublicKeyHash ?opkact . }\n filter not exists { ?osxact npx:supersedes ?onpact . }\n }\n graph ?oaact {\n ?oact a obo:OBI_0000066 ; dct:isPartOf ?_project_multi_iri .\n }\n filter(str(?oact) < str(?iriact) && contains(?memberPubkeys, ?opkact))\n }\n } group by ?iriact\n }\n bind((?iyact - floor(?iyact / 1) * 1) * 212 as ?bxact)\n bind(floor(?iyact / 1) * 28 as ?byact)\n bind(if(strlen(?lblact) > 30, concat(substr(?lblact, 1, 29), \"โ€ฆ\"), ?lblact) as ?tact)\n bind(replace(replace(replace(?tact, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?escact)\n bind(replace(replace(replace(?lblact, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?fullact)\n bind(concat('',\n '', ?fullact, '',\n '', ?icoact, ' ', ?escact, '',\n '', ?typact, '',\n '') as ?boxact)\n }\n }\n {\n select (group_concat(distinct ?boxout; separator=\"\") as ?boxesout) (count(*) as ?nout) where {\n {\n select ?iriout (min(?labelout) as ?lblout) (min(?iconout) as ?icoout)\n (group_concat(distinct ?typeout; separator=\" / \") as ?typout)\n (count(distinct ?oout) as ?iyout) where {\n values ?_project_multi_iri {}\n service {\n select (group_concat(?mpk; separator=\" \") as ?memberPubkeys) where {\n graph npa:graph { npa:hasCurrentSpaceState ?stateG . }\n values ?_project_multi_iri {}\n graph ?stateG {\n ?_project_multi_iri npa:isMaintainedBy? ?space .\n ?ri a gen:RoleInstantiation ; npa:forSpace ?space ; npa:forAgent ?agent ; npa:hasRoleType ?roleType .\n filter(?roleType in (gen:AdminRole, gen:MaintainerRole, gen:MemberRole))\n ?acct a npa:AccountState ; npa:agent ?agent ; npa:pubkey ?mpk .\n }\n }\n }\n graph npa:graph {\n ?npout np:hasAssertion ?aout ;\n np:hasPublicationInfo ?piout ;\n npa:hasValidSignatureForPublicKeyHash ?pkout .\n filter not exists { ?ixout npx:invalidates ?npout ; npa:hasValidSignatureForPublicKeyHash ?pkout . }\n filter not exists { ?sxout npx:supersedes ?npout . }\n }\n graph ?aout {\n ?_project_multi_iri ?relout ?iriout .\n values ?relout { ff:has-article ff:has-dataset ff:has-software ff:has-method ff:has-dmp ff:has-presentation ff:has-blog-post ff:has-media-coverage ff:has-social-post ff:has-podcast ff:has-discussion }\n }\n optional { graph ?aout { ?iriout rdfs:label ?laout } }\n optional { graph ?piout { ?iriout foaf:name ?lfout } }\n optional { graph ?piout { ?iriout rdfs:label ?lqout } }\n bind(coalesce(?laout, ?lfout, ?lqout, replace(str(?iriout), \"^.*[/#]\", \"\")) as ?labelout)\n bind(strafter(str(?relout), \"https://w3id.org/fair/ff/terms/has-\") as ?raw)\n bind(replace(?raw, \"-\", \" \") as ?typeout)\n bind(if(?raw = \"article\", \"๐Ÿ“„\", if(?raw = \"software\", \"๐Ÿ’ป\", if(?raw = \"dataset\", \"๐Ÿ’พ\", if(?raw = \"presentation\", \"๐ŸŽค\", if(?raw = \"blog-post\", \"๐Ÿ“\", if(?raw = \"podcast\", \"๐ŸŽง\", if(?raw = \"media-coverage\", \"๐Ÿ“ฐ\", if(?raw = \"social-post\", \"๐Ÿ’ฌ\", if(?raw = \"discussion\", \"๐Ÿ’ฌ\", if(?raw = \"method\", \"๐Ÿ”ง\", if(?raw = \"dmp\", \"๐Ÿ“‹\", \"๐Ÿ”—\"))))))))))) as ?iconout)\n filter(contains(?memberPubkeys, ?pkout))\n optional {\n graph npa:graph {\n ?onpout np:hasAssertion ?oaout ;\n np:hasPublicationInfo ?opiout ;\n npa:hasValidSignatureForPublicKeyHash ?opkout .\n filter not exists { ?oixout npx:invalidates ?onpout ; npa:hasValidSignatureForPublicKeyHash ?opkout . }\n filter not exists { ?osxout npx:supersedes ?onpout . }\n }\n graph ?oaout {\n ?_project_multi_iri ?orelout ?oout .\n values ?orelout { ff:has-article ff:has-dataset ff:has-software ff:has-method ff:has-dmp ff:has-presentation ff:has-blog-post ff:has-media-coverage ff:has-social-post ff:has-podcast ff:has-discussion }\n }\n filter(str(?oout) < str(?iriout) && contains(?memberPubkeys, ?opkout))\n }\n } group by ?iriout\n }\n bind((?iyout - floor(?iyout / 1) * 1) * 212 as ?bxout)\n bind(floor(?iyout / 1) * 28 as ?byout)\n bind(if(strlen(?lblout) > 30, concat(substr(?lblout, 1, 29), \"โ€ฆ\"), ?lblout) as ?tout)\n bind(replace(replace(replace(?tout, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?escout)\n bind(replace(replace(replace(?lblout, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?fullout)\n bind(concat('',\n '', ?fullout, '',\n '', ?icoout, ' ', ?escout, '',\n '', ?typout, '',\n '') as ?boxout)\n }\n }\n {\n select (group_concat(distinct ?boxppl; separator=\"\") as ?boxesppl) (count(*) as ?nppl) where {\n {\n select ?irippl (min(?labelppl) as ?lblppl) (min(?iconppl) as ?icoppl)\n (group_concat(distinct ?typeppl; separator=\" / \") as ?typppl)\n (count(distinct ?oppl) as ?iyppl) where {\n values ?_project_multi_iri {}\n service {\n select (group_concat(?mpk; separator=\" \") as ?memberPubkeys) where {\n graph npa:graph { npa:hasCurrentSpaceState ?stateG . }\n values ?_project_multi_iri {}\n graph ?stateG {\n ?_project_multi_iri npa:isMaintainedBy? ?space .\n ?ri a gen:RoleInstantiation ; npa:forSpace ?space ; npa:forAgent ?agent ; npa:hasRoleType ?roleType .\n filter(?roleType in (gen:AdminRole, gen:MaintainerRole, gen:MemberRole))\n ?acct a npa:AccountState ; npa:agent ?agent ; npa:pubkey ?mpk .\n }\n }\n }\n graph npa:graph {\n ?npppl np:hasAssertion ?appl ;\n np:hasPublicationInfo ?pippl ;\n npa:hasValidSignatureForPublicKeyHash ?pkppl .\n filter not exists { ?ixppl npx:invalidates ?npppl ; npa:hasValidSignatureForPublicKeyHash ?pkppl . }\n filter not exists { ?sxppl npx:supersedes ?npppl . }\n }\n graph ?appl {\n ?_project_multi_iri ?relppl ?irippl .\n values ?relppl { ff:has-principal-investigator ff:has-participant ff:has-data-steward gen:hasProjectLead }\n }\n optional { graph ?appl { ?irippl rdfs:label ?lappl } }\n optional { graph ?pippl { ?irippl foaf:name ?lfppl } }\n optional { graph ?pippl { ?irippl rdfs:label ?lqppl } }\n bind(coalesce(?lappl, ?lfppl, ?lqppl, replace(str(?irippl), \"^.*[/#]\", \"\")) as ?labelppl)\n bind(if(?relppl = ff:has-principal-investigator, \"PI\", if(?relppl = gen:hasProjectLead, \"project lead\", if(?relppl = ff:has-data-steward, \"data steward\", \"participant\"))) as ?typeppl)\n bind(\"๐Ÿ‘ค\" as ?iconppl)\n filter(contains(?memberPubkeys, ?pkppl))\n optional {\n graph npa:graph {\n ?onpppl np:hasAssertion ?oappl ;\n np:hasPublicationInfo ?opippl ;\n npa:hasValidSignatureForPublicKeyHash ?opkppl .\n filter not exists { ?oixppl npx:invalidates ?onpppl ; npa:hasValidSignatureForPublicKeyHash ?opkppl . }\n filter not exists { ?osxppl npx:supersedes ?onpppl . }\n }\n graph ?oappl {\n ?_project_multi_iri ?orelppl ?oppl .\n values ?orelppl { ff:has-principal-investigator ff:has-participant ff:has-data-steward gen:hasProjectLead }\n }\n filter(str(?oppl) < str(?irippl) && contains(?memberPubkeys, ?opkppl))\n }\n } group by ?irippl\n }\n bind((?iyppl - floor(?iyppl / 3) * 3) * 216 as ?bxppl)\n bind(floor(?iyppl / 3) * 28 as ?byppl)\n bind(if(strlen(?lblppl) > 31, concat(substr(?lblppl, 1, 30), \"โ€ฆ\"), ?lblppl) as ?tppl)\n bind(replace(replace(replace(?tppl, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?escppl)\n bind(replace(replace(replace(?lblppl, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?fullppl)\n bind(concat('',\n '', ?fullppl, '',\n '', ?icoppl, ' ', ?escppl, '',\n '', ?typppl, '',\n '') as ?boxppl)\n }\n }\n {\n select (group_concat(distinct ?boxinst; separator=\"\") as ?boxesinst) (count(*) as ?ninst) where {\n {\n select ?iriinst (min(?labelinst) as ?lblinst) (min(?iconinst) as ?icoinst)\n (group_concat(distinct ?typeinst; separator=\" / \") as ?typinst)\n (count(distinct ?oinst) as ?iyinst) where {\n values ?_project_multi_iri {}\n service {\n select (group_concat(?mpk; separator=\" \") as ?memberPubkeys) where {\n graph npa:graph { npa:hasCurrentSpaceState ?stateG . }\n values ?_project_multi_iri {}\n graph ?stateG {\n ?_project_multi_iri npa:isMaintainedBy? ?space .\n ?ri a gen:RoleInstantiation ; npa:forSpace ?space ; npa:forAgent ?agent ; npa:hasRoleType ?roleType .\n filter(?roleType in (gen:AdminRole, gen:MaintainerRole, gen:MemberRole))\n ?acct a npa:AccountState ; npa:agent ?agent ; npa:pubkey ?mpk .\n }\n }\n }\n graph npa:graph {\n ?npinst np:hasAssertion ?ainst ;\n np:hasPublicationInfo ?piinst ;\n npa:hasValidSignatureForPublicKeyHash ?pkinst .\n filter not exists { ?ixinst npx:invalidates ?npinst ; npa:hasValidSignatureForPublicKeyHash ?pkinst . }\n filter not exists { ?sxinst npx:supersedes ?npinst . }\n }\n graph ?ainst {\n ?_project_multi_iri ?relinst ?iriinst .\n values ?relinst { ff:has-lead-institution ff:has-partner-institution ff:has-funder }\n }\n optional { graph ?ainst { ?iriinst rdfs:label ?lainst } }\n optional { graph ?piinst { ?iriinst foaf:name ?lfinst } }\n optional { graph ?piinst { ?iriinst rdfs:label ?lqinst } }\n bind(coalesce(?lainst, ?lfinst, ?lqinst, replace(str(?iriinst), \"^.*[/#]\", \"\")) as ?labelinst)\n bind(if(?relinst = ff:has-lead-institution, \"lead institution\", if(?relinst = ff:has-partner-institution, \"partner\", \"funder\")) as ?typeinst)\n bind(\"๐Ÿ›\" as ?iconinst)\n filter(contains(?memberPubkeys, ?pkinst))\n optional {\n graph npa:graph {\n ?onpinst np:hasAssertion ?oainst ;\n np:hasPublicationInfo ?opiinst ;\n npa:hasValidSignatureForPublicKeyHash ?opkinst .\n filter not exists { ?oixinst npx:invalidates ?onpinst ; npa:hasValidSignatureForPublicKeyHash ?opkinst . }\n filter not exists { ?osxinst npx:supersedes ?onpinst . }\n }\n graph ?oainst {\n ?_project_multi_iri ?orelinst ?oinst .\n values ?orelinst { ff:has-lead-institution ff:has-partner-institution ff:has-funder }\n }\n filter(str(?oinst) < str(?iriinst) && contains(?memberPubkeys, ?opkinst))\n }\n } group by ?iriinst\n }\n bind((?iyinst - floor(?iyinst / 3) * 3) * 216 as ?bxinst)\n bind(floor(?iyinst / 3) * 28 as ?byinst)\n bind(if(strlen(?lblinst) > 31, concat(substr(?lblinst, 1, 30), \"โ€ฆ\"), ?lblinst) as ?tinst)\n bind(replace(replace(replace(?tinst, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?escinst)\n bind(replace(replace(replace(?lblinst, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?fullinst)\n bind(concat('',\n '', ?fullinst, '',\n '', ?icoinst, ' ', ?escinst, '',\n '', ?typinst, '',\n '') as ?boxinst)\n }\n }\n}" } ] } ] } ]