[ { "@id": "https://w3id.org/np/RAIl77GsOo8_o1vsNOP-9docHAWFIcB2GAVD0cyl2Bb7s/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAIl77GsOo8_o1vsNOP-9docHAWFIcB2GAVD0cyl2Bb7s/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAIl77GsOo8_o1vsNOP-9docHAWFIcB2GAVD0cyl2Bb7s/Head", "@graph": [ { "@id": "https://w3id.org/np/RAIl77GsOo8_o1vsNOP-9docHAWFIcB2GAVD0cyl2Bb7s", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAIl77GsOo8_o1vsNOP-9docHAWFIcB2GAVD0cyl2Bb7s/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAIl77GsOo8_o1vsNOP-9docHAWFIcB2GAVD0cyl2Bb7s/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAIl77GsOo8_o1vsNOP-9docHAWFIcB2GAVD0cyl2Bb7s/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAIl77GsOo8_o1vsNOP-9docHAWFIcB2GAVD0cyl2Bb7s/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/RAIl77GsOo8_o1vsNOP-9docHAWFIcB2GAVD0cyl2Bb7s", "http://purl.org/dc/terms/created": [ { "@value": "2026-08-17T07: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/RAIl77GsOo8_o1vsNOP-9docHAWFIcB2GAVD0cyl2Bb7s/get-project-summary-svg" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAVZ7DWsfBMe6kjFw80tBbkMbVZi0v7BLpb-Wq2ar37tQ" } ], "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/RAIl77GsOo8_o1vsNOP-9docHAWFIcB2GAVD0cyl2Bb7s/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": "ohetJeUuvy4gKqHJ0NDSJao3sSMnNx8jTlMU5sl0rvsWnTrRM23D55qyOqFT1ftp+OhupMhEZsH7Cmo6vJylIfJbdc+86x5TfOKn1zV0poavRz76gOrYO3UuLWQ8PdmCuoih9ZGHGGBfvrEiXzXIavjoDrlZdjv9RB03C2b0aBM=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAIl77GsOo8_o1vsNOP-9docHAWFIcB2GAVD0cyl2Bb7s" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAIl77GsOo8_o1vsNOP-9docHAWFIcB2GAVD0cyl2Bb7s/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAIl77GsOo8_o1vsNOP-9docHAWFIcB2GAVD0cyl2Bb7s/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 on the left, the outputs they produced on the right, the evidence they yielded above that, 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: \nprefix prov: \nprefix xsd: \nselect (concat(\n ' ?nout, ?nact, ?nout)) * 28 + 14) + 44) + (floor((?nppl + 2) / 3) * 28 + 14) + 36) + (floor((?ninst + 1) / 2) * 28 + 14) + 12)),\n '\" width=\"', str(700 * 2), '\" height=\"', str((((((26 + (floor((?nkno + 0) / 1) * 40 + 14) + 44) + (floor((?nev + 1) / 2) * 28 + 14) + 44) + ((if(?nact > ?nout, ?nact, ?nout)) * 28 + 14) + 44) + (floor((?nppl + 2) / 3) * 28 + 14) + 36) + (floor((?ninst + 1) / 2) * 28 + 14) + 12) * 2), '\" font-family=\"Noto Emoji, Inter, Verdana, Helvetica, sans-serif\">',\n '๐Ÿ’ก KNOWLEDGE',\n '',\n '', ?boxeskno, '',\n '๐Ÿ“Š EVIDENCE',\n '',\n '', ?boxesev, '',\n '๐Ÿงช ACTIVITIES',\n ' ?nout, ?nact, ?nout)) * 28 + 14)),\n '\" rx=\"4\" fill=\"#f4f4f4\" stroke=\"#888\">',\n '', ?boxesact, '',\n '๐Ÿ“ฆ OUTPUTS',\n ' ?nout, ?nact, ?nout)) * 28 + 14)),\n '\" rx=\"4\" fill=\"#f4f4f4\" stroke=\"#888\">',\n '', ?boxesout, '',\n ' ?nout, ?nact, ?nout)) * 28 + 14) + 44) - 9), '\" text-anchor=\"middle\" font-size=\"11\" font-weight=\"bold\" fill=\"#444\" letter-spacing=\"0.8\">๐Ÿ‘ค PEOPLE',\n ' ?nout, ?nact, ?nout)) * 28 + 14) + 44)), '\" width=\"656\" height=\"', str((floor((?nppl + 2) / 3) * 28 + 14)),\n '\" rx=\"4\" fill=\"#f4f4f4\" stroke=\"#888\">',\n ' ?nout, ?nact, ?nout)) * 28 + 14) + 44) + 6), ')\">', ?boxesppl, '',\n ' ?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 ' ?nout, ?nact, ?nout)) * 28 + 14) + 44) + (floor((?nppl + 2) / 3) * 28 + 14) + 36)), '\" width=\"640\" height=\"', str((floor((?ninst + 1) / 2) * 28 + 14)),\n '\" rx=\"4\" fill=\"#f4f4f4\" stroke=\"#888\">',\n ' ?nout, ?nact, ?nout)) * 28 + 14) + 44) + (floor((?nppl + 2) / 3) * 28 + 14) + 36) + 6), ')\">', ?boxesinst, '',\n ' ?nout, ?nact, ?nout)) * 28 + 14) / 2)), '\" x2=\"356\" y2=\"', str((((26 + (floor((?nkno + 0) / 1) * 40 + 14) + 44) + (floor((?nev + 1) / 2) * 28 + 14) + 44) + ((if(?nact > ?nout, ?nact, ?nout)) * 28 + 14) / 2)), '\" stroke=\"#666\" stroke-width=\"1.5\">',\n ' ?nout, ?nact, ?nout)) * 28 + 14) / 2)), ' L 354 ', str((((26 + (floor((?nkno + 0) / 1) * 40 + 14) + 44) + (floor((?nev + 1) / 2) * 28 + 14) + 44) + ((if(?nact > ?nout, ?nact, ?nout)) * 28 + 14) / 2) - 5), ' L 354 ', str((((26 + (floor((?nkno + 0) / 1) * 40 + 14) + 44) + (floor((?nev + 1) / 2) * 28 + 14) + 44) + ((if(?nact > ?nout, ?nact, ?nout)) * 28 + 14) / 2) + 5), ' Z\" fill=\"#666\">',\n '',\n '',\n '',\n '',\n ' ?nout, ?nact, ?nout)) * 28 + 14) + 44) - 22), '\" x2=\"350\" y2=\"', str(((26 + (floor((?nkno + 0) / 1) * 40 + 14) + 44) + (floor((?nev + 1) / 2) * 28 + 14) + 44) + ((if(?nact > ?nout, ?nact, ?nout)) * 28 + 14)), '\" stroke=\"#bbb\" stroke-width=\"1.5\" stroke-dasharray=\"3 3\">',\n ' ?nout, ?nact, ?nout)) * 28 + 14) + 44) + (floor((?nppl + 2) / 3) * 28 + 14) + 36) - 22), '\" x2=\"350\" y2=\"', str((((26 + (floor((?nkno + 0) / 1) * 40 + 14) + 44) + (floor((?nev + 1) / 2) * 28 + 14) + 44) + ((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 ?lblkno ?icokno ?typkno ?rrankkno (count(distinct ?okno) as ?iykno) where {\n values ?_project_multi_iri {}\n {\n select ?irikno (min(?labelkno) as ?lblkno) (min(?iconkno) as ?icokno)\n (group_concat(distinct ?typekno; separator=\", \") as ?typkno) (min(?rrkno) as ?rrankkno)\n (sample(?memberPubkeys) as ?mpkkno) where {\n values ?_project_multi_iri {}\n\n {\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 ?npsgkno np:hasAssertion ?asgkno ;\n npa:hasValidSignatureForPublicKeyHash ?pksgkno .\n filter not exists { ?ixsgkno npx:invalidates ?npsgkno ; npa:hasValidSignatureForPublicKeyHash ?pksgkno . }\n filter not exists { ?sxsgkno npx:supersedes ?npsgkno . }\n }\n filter(contains(?memberPubkeys, ?pksgkno))\n graph ?asgkno {\n ?studygkno a obo:OBI_0000066 ; dct:isPartOf ?_project_multi_iri .\n }\n graph npa:graph {\n ?npfgkno np:hasAssertion ?afgkno ;\n npa:hasValidSignatureForPublicKeyHash ?pkfgkno .\n filter not exists { ?ixfgkno npx:invalidates ?npfgkno ; npa:hasValidSignatureForPublicKeyHash ?pkfgkno . }\n filter not exists { ?sxfgkno npx:supersedes ?npfgkno . }\n }\n filter(contains(?memberPubkeys, ?pkfgkno))\n graph ?afgkno {\n ?fndkno a hycl:AIDA-Sentence ; cito:obtainsSupportFrom ?studygkno .\n }\n graph npa:graph {\n ?nprgkno np:hasAssertion ?argkno ;\n npa:hasValidSignatureForPublicKeyHash ?pkrgkno .\n filter not exists { ?ixrgkno npx:invalidates ?nprgkno ; npa:hasValidSignatureForPublicKeyHash ?pkrgkno . }\n filter not exists { ?sxrgkno npx:supersedes ?nprgkno . }\n }\n filter(contains(?memberPubkeys, ?pkrgkno))\n graph ?argkno {\n ?irikno hycl:hasMoreGeneralMeaningThan ?fndkno .\n }\n bind(replace(replace(replace(replace(replace(strafter(str(?irikno), \"http://purl.org/aida/\"), \"[+]\", \" \"), \"%2C\", \",\"), \"%3A\", \":\"), \"%28\", \"(\"), \"%29\", \")\") as ?labelkno)\n bind(\"increased evidence\" as ?typekno)\n bind(0 as ?rrkno)\n bind(\"๐Ÿ’ก\" as ?iconkno)\n } union {\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 filter(contains(?memberPubkeys, ?pkskno))\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 filter(contains(?memberPubkeys, ?pkkno))\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, replace(replace(replace(replace(replace(strafter(str(?irikno), \"http://purl.org/aida/\"), \"[+]\", \" \"), \"%2C\", \",\"), \"%3A\", \":\"), \"%28\", \"(\"), \"%29\", \")\")) as ?labelkno)\n bind(\"finding\" as ?typekno)\n bind(1 as ?rrkno)\n bind(\"๐Ÿ’ก\" as ?iconkno)\n }\n } group by ?irikno\n }\n optional {\n {\n\n graph npa:graph {\n ?onpsgkno np:hasAssertion ?oasgkno ;\n npa:hasValidSignatureForPublicKeyHash ?opksgkno .\n filter not exists { ?oixsgkno npx:invalidates ?onpsgkno ; npa:hasValidSignatureForPublicKeyHash ?opksgkno . }\n filter not exists { ?osxsgkno npx:supersedes ?onpsgkno . }\n }\n graph ?oasgkno {\n ?ostudygkno a obo:OBI_0000066 ; dct:isPartOf ?_project_multi_iri .\n }\n graph npa:graph {\n ?onpfgkno np:hasAssertion ?oafgkno ;\n npa:hasValidSignatureForPublicKeyHash ?opkfgkno .\n filter not exists { ?oixfgkno npx:invalidates ?onpfgkno ; npa:hasValidSignatureForPublicKeyHash ?opkfgkno . }\n filter not exists { ?osxfgkno npx:supersedes ?onpfgkno . }\n }\n graph ?oafgkno {\n ?ofndkno a hycl:AIDA-Sentence ; cito:obtainsSupportFrom ?ostudygkno .\n }\n graph npa:graph {\n ?onprgkno np:hasAssertion ?oargkno ;\n npa:hasValidSignatureForPublicKeyHash ?opkrgkno .\n filter not exists { ?oixrgkno npx:invalidates ?onprgkno ; npa:hasValidSignatureForPublicKeyHash ?opkrgkno . }\n filter not exists { ?osxrgkno npx:supersedes ?onprgkno . }\n }\n graph ?oargkno {\n ?okno hycl:hasMoreGeneralMeaningThan ?ofndkno .\n }\n bind(0 as ?orrkno)\n } union {\n\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 bind(1 as ?orrkno)\n }\n filter(concat(str(?orrkno), \"|\", str(?okno)) < concat(str(?rrankkno), \"|\", str(?irikno))\n && (!bound(?opkfgkno) || contains(?mpkkno, ?opkfgkno))\n && (!bound(?opkkno) || contains(?mpkkno, ?opkkno))\n && (!bound(?opkrgkno) || contains(?mpkkno, ?opkrgkno))\n && (!bound(?opksgkno) || contains(?mpkkno, ?opksgkno))\n && (!bound(?opkskno) || contains(?mpkkno, ?opkskno)))\n }\n } group by ?irikno ?lblkno ?icokno ?typkno ?rrankkno\n }\n bind((?iykno - floor(?iykno / 1) * 1) * 672 as ?bxkno)\n bind(floor(?iykno / 1) * 40 as ?bykno)\n bind(xsd:integer(floor((656 - 30 - strlen(?typkno) * 4.9) / 5.5)) as ?cap0kno)\n bind(if(?cap0kno < 8, 8, ?cap0kno) as ?capkno)\n bind(?lblkno as ?tkno)\n bind(replace(replace(replace(?tkno, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?esckno)\n bind(replace(replace(replace(?lblkno, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?fullkno)\n bind(if(strlen(?esckno) > 92, replace(?esckno, \"^(.{1,92})[ ].*$\", \"$1\"), ?esckno) as ?l1kno)\n bind(if(strlen(?esckno) > strlen(?l1kno), substr(?esckno, strlen(?l1kno) + 2, 108), \"\") as ?l2kno)\n bind(concat('',\n '', ?fullkno, '',\n '',\n ?icokno, ' ', ?l1kno, '',\n '', ?l2kno, '',\n '',\n '', ?typkno, '') as ?boxkno)\n }\n }\n {\n select (group_concat(distinct ?boxev; separator=\"\") as ?boxesev) (count(*) as ?nev) where {\n {\n select ?iriev ?lblev ?icoev ?typev ?rrankev (count(distinct ?oev) as ?iyev) where {\n values ?_project_multi_iri {}\n {\n select ?iriev (min(?labelev) as ?lblev) (min(?iconev) as ?icoev)\n (group_concat(distinct ?typeev; separator=\", \") as ?typev) (min(?rrev) as ?rrankev)\n (sample(?memberPubkeys) as ?mpkev) 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 ?npsev np:hasAssertion ?asev ;\n npa:hasValidSignatureForPublicKeyHash ?pksev .\n filter not exists { ?ixsev npx:invalidates ?npsev ; npa:hasValidSignatureForPublicKeyHash ?pksev . }\n filter not exists { ?sxsev npx:supersedes ?npsev . }\n }\n filter(contains(?memberPubkeys, ?pksev))\n graph ?asev {\n ?studyev a obo:OBI_0000066 ; dct:isPartOf ?_project_multi_iri .\n }\n graph npa:graph {\n ?npev np:hasAssertion ?aev ;\n np:hasPublicationInfo ?piev ;\n npa:hasValidSignatureForPublicKeyHash ?pkev .\n filter not exists { ?ixev npx:invalidates ?npev ; npa:hasValidSignatureForPublicKeyHash ?pkev . }\n filter not exists { ?sxev npx:supersedes ?npev . }\n }\n filter(contains(?memberPubkeys, ?pkev))\n graph ?aev {\n ?iriev a obo:ECO_0000000 ; prov:wasGeneratedBy ?studyev .\n }\n optional { graph ?aev { ?iriev rdfs:label ?laev } }\n optional {\n graph ?aev {\n ?iriev a ?subev .\n filter(?subev != obo:ECO_0000000 && strstarts(str(?subev), \"http://purl.obolibrary.org/obo/ECO_\"))\n }\n graph ?piev { ?subev rdfs:label ?sublev }\n }\n bind(coalesce(?laev, replace(str(?iriev), \"^.*[/#]\", \"\")) as ?labelev)\n bind(coalesce(replace(?sublev, \" evidence$\", \"\"), \"evidence\") as ?typeev)\n bind(0 as ?rrev)\n bind(\"๐Ÿ“Š\" as ?iconev)\n } group by ?iriev\n }\n optional {\n graph npa:graph {\n ?onpsev np:hasAssertion ?oasev ;\n npa:hasValidSignatureForPublicKeyHash ?opksev .\n filter not exists { ?oixsev npx:invalidates ?onpsev ; npa:hasValidSignatureForPublicKeyHash ?opksev . }\n filter not exists { ?osxsev npx:supersedes ?onpsev . }\n }\n graph ?oasev {\n ?ostudyev a obo:OBI_0000066 ; dct:isPartOf ?_project_multi_iri .\n }\n graph npa:graph {\n ?onpev np:hasAssertion ?oaev ;\n np:hasPublicationInfo ?opiev ;\n npa:hasValidSignatureForPublicKeyHash ?opkev .\n filter not exists { ?oixev npx:invalidates ?onpev ; npa:hasValidSignatureForPublicKeyHash ?opkev . }\n filter not exists { ?osxev npx:supersedes ?onpev . }\n }\n graph ?oaev {\n ?oev a obo:ECO_0000000 ; prov:wasGeneratedBy ?ostudyev .\n }\n bind(0 as ?orrev)\n filter(concat(str(?orrev), \"|\", str(?oev)) < concat(str(?rrankev), \"|\", str(?iriev))\n && (!bound(?opkev) || contains(?mpkev, ?opkev))\n && (!bound(?opksev) || contains(?mpkev, ?opksev)))\n }\n } group by ?iriev ?lblev ?icoev ?typev ?rrankev\n }\n bind((?iyev - floor(?iyev / 2) * 2) * 336 as ?bxev)\n bind(floor(?iyev / 2) * 28 as ?byev)\n bind(xsd:integer(floor((320 - 30 - strlen(?typev) * 4.9) / 5.5)) as ?cap0ev)\n bind(if(?cap0ev < 8, 8, ?cap0ev) as ?capev)\n bind(if(strlen(?lblev) > ?capev, concat(substr(?lblev, 1, ?capev - 1), \"โ€ฆ\"), ?lblev) as ?tev)\n bind(replace(replace(replace(?tev, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?escev)\n bind(replace(replace(replace(?lblev, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?fullev)\n\n bind(concat('',\n '', ?fullev, '',\n '',\n ?icoev, ' ', ?escev, '',\n '',\n '', ?typev, '') as ?boxev)\n }\n }\n {\n select (group_concat(distinct ?boxact; separator=\"\") as ?boxesact) (count(*) as ?nact) where {\n {\n select ?iriact ?lblact ?icoact ?typact ?rrankact (count(distinct ?oact) as ?iyact) where {\n values ?_project_multi_iri {}\n {\n select ?iriact (min(?labelact) as ?lblact) (min(?iconact) as ?icoact)\n (group_concat(distinct ?typeact; separator=\", \") as ?typact) (min(?rract) as ?rrankact)\n (sample(?memberPubkeys) as ?mpkact) 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 filter(contains(?memberPubkeys, ?pkact))\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(0 as ?rract)\n bind(\"๐Ÿงช\" as ?iconact)\n } group by ?iriact\n }\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 bind(0 as ?orract)\n filter(concat(str(?orract), \"|\", str(?oact)) < concat(str(?rrankact), \"|\", str(?iriact))\n && (!bound(?opkact) || contains(?mpkact, ?opkact)))\n }\n } group by ?iriact ?lblact ?icoact ?typact ?rrankact\n }\n bind((?iyact - floor(?iyact / 1) * 1) * 276 as ?bxact)\n bind(floor(?iyact / 1) * 28 as ?byact)\n bind(xsd:integer(floor((260 - 30 - strlen(?typact) * 4.9) / 5.5)) as ?cap0act)\n bind(if(?cap0act < 8, 8, ?cap0act) as ?capact)\n bind(if(strlen(?lblact) > ?capact, concat(substr(?lblact, 1, ?capact - 1), \"โ€ฆ\"), ?lblact) as ?tact)\n bind(replace(replace(replace(?tact, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?escact)\n bind(replace(replace(replace(?lblact, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?fullact)\n\n bind(concat('',\n '', ?fullact, '',\n '',\n ?icoact, ' ', ?escact, '',\n '',\n '', ?typact, '') as ?boxact)\n }\n }\n {\n select (group_concat(distinct ?boxout; separator=\"\") as ?boxesout) (count(*) as ?nout) where {\n {\n select ?iriout ?lblout ?icoout ?typout ?rrankout (count(distinct ?oout) as ?iyout) where {\n values ?_project_multi_iri {}\n {\n select ?iriout (min(?labelout) as ?lblout) (min(?iconout) as ?icoout)\n (group_concat(distinct ?typeout; separator=\", \") as ?typout) (min(?rrout) as ?rrankout)\n (sample(?memberPubkeys) as ?mpkout) 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 filter(contains(?memberPubkeys, ?pkout))\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 ?rawout)\n bind(replace(?rawout, \"-\", \" \") as ?typeout)\n bind(0 as ?rrout)\n bind(if(?rawout = \"article\", \"๐Ÿ“„\", if(?rawout = \"software\", \"๐Ÿ’ป\", if(?rawout = \"dataset\", \"๐Ÿ’พ\", if(?rawout = \"presentation\", \"๐ŸŽค\", if(?rawout = \"blog-post\", \"๐Ÿ“\", if(?rawout = \"podcast\", \"๐ŸŽง\", if(?rawout = \"media-coverage\", \"๐Ÿ“ฐ\", if(?rawout = \"social-post\", \"๐Ÿ’ฌ\", if(?rawout = \"discussion\", \"๐Ÿ’ฌ\", if(?rawout = \"method\", \"๐Ÿ”ง\", if(?rawout = \"dmp\", \"๐Ÿ“‹\", \"๐Ÿ”—\"))))))))))) as ?iconout)\n } group by ?iriout\n }\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 bind(strafter(str(?orelout), \"https://w3id.org/fair/ff/terms/has-\") as ?orawout)\n bind(0 as ?orrout)\n filter(concat(str(?orrout), \"|\", str(?oout)) < concat(str(?rrankout), \"|\", str(?iriout))\n && (!bound(?opkout) || contains(?mpkout, ?opkout)))\n }\n } group by ?iriout ?lblout ?icoout ?typout ?rrankout\n }\n bind((?iyout - floor(?iyout / 1) * 1) * 276 as ?bxout)\n bind(floor(?iyout / 1) * 28 as ?byout)\n bind(xsd:integer(floor((260 - 30 - strlen(?typout) * 4.9) / 5.5)) as ?cap0out)\n bind(if(?cap0out < 8, 8, ?cap0out) as ?capout)\n bind(if(strlen(?lblout) > ?capout, concat(substr(?lblout, 1, ?capout - 1), \"โ€ฆ\"), ?lblout) as ?tout)\n bind(replace(replace(replace(?tout, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?escout)\n bind(replace(replace(replace(?lblout, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?fullout)\n\n bind(concat('',\n '', ?fullout, '',\n '',\n ?icoout, ' ', ?escout, '',\n '',\n '', ?typout, '') as ?boxout)\n }\n }\n {\n select (group_concat(distinct ?boxppl; separator=\"\") as ?boxesppl) (count(*) as ?nppl) where {\n {\n select ?irippl ?lblppl ?icoppl ?typppl ?rrankppl (count(distinct ?oppl) as ?iyppl) where {\n values ?_project_multi_iri {}\n {\n select ?irippl (min(?labelppl) as ?lblppl) (min(?iconppl) as ?icoppl)\n (group_concat(distinct ?typeppl; separator=\", \") as ?typppl) (min(?rrppl) as ?rrankppl)\n (sample(?memberPubkeys) as ?mpkppl) 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 filter(contains(?memberPubkeys, ?pkppl))\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(if(?relppl = ff:has-principal-investigator, 0, if(?relppl = gen:hasProjectLead, 1, if(?relppl = ff:has-data-steward, 2, 3))) as ?rrppl)\n bind(\"๐Ÿ‘ค\" as ?iconppl)\n } group by ?irippl\n }\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 bind(if(?orelppl = ff:has-principal-investigator, 0, if(?orelppl = gen:hasProjectLead, 1, if(?orelppl = ff:has-data-steward, 2, 3))) as ?orrppl)\n filter(concat(str(?orrppl), \"|\", str(?oppl)) < concat(str(?rrankppl), \"|\", str(?irippl))\n && (!bound(?opkppl) || contains(?mpkppl, ?opkppl)))\n }\n } group by ?irippl ?lblppl ?icoppl ?typppl ?rrankppl\n }\n bind((?iyppl - floor(?iyppl / 3) * 3) * 216 as ?bxppl)\n bind(floor(?iyppl / 3) * 28 as ?byppl)\n bind(xsd:integer(floor((200 - 30 - strlen(?typppl) * 4.9) / 5.5)) as ?cap0ppl)\n bind(if(?cap0ppl < 8, 8, ?cap0ppl) as ?capppl)\n bind(if(strlen(?lblppl) > ?capppl, concat(substr(?lblppl, 1, ?capppl - 1), \"โ€ฆ\"), ?lblppl) as ?tppl)\n bind(replace(replace(replace(?tppl, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?escppl)\n bind(replace(replace(replace(?lblppl, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?fullppl)\n\n bind(concat('',\n '', ?fullppl, '',\n '',\n ?icoppl, ' ', ?escppl, '',\n '',\n '', ?typppl, '') as ?boxppl)\n }\n }\n {\n select (group_concat(distinct ?boxinst; separator=\"\") as ?boxesinst) (count(*) as ?ninst) where {\n {\n select ?iriinst ?lblinst ?icoinst ?typinst ?rrankinst (count(distinct ?oinst) as ?iyinst) where {\n values ?_project_multi_iri {}\n {\n select ?iriinst (min(?labelinst) as ?lblinst) (min(?iconinst) as ?icoinst)\n (group_concat(distinct ?typeinst; separator=\", \") as ?typinst) (min(?rrinst) as ?rrankinst)\n (sample(?memberPubkeys) as ?mpkinst) 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 filter(contains(?memberPubkeys, ?pkinst))\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(if(?relinst = ff:has-lead-institution, 0, if(?relinst = ff:has-partner-institution, 1, 2)) as ?rrinst)\n bind(if(?relinst = ff:has-funder, \"๐Ÿ’ถ\", \"๐Ÿ›\") as ?iconinst)\n } group by ?iriinst\n }\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 bind(if(?orelinst = ff:has-lead-institution, 0, if(?orelinst = ff:has-partner-institution, 1, 2)) as ?orrinst)\n filter(concat(str(?orrinst), \"|\", str(?oinst)) < concat(str(?rrankinst), \"|\", str(?iriinst))\n && (!bound(?opkinst) || contains(?mpkinst, ?opkinst)))\n }\n } group by ?iriinst ?lblinst ?icoinst ?typinst ?rrankinst\n }\n bind((?iyinst - floor(?iyinst / 2) * 2) * 316 as ?bxinst)\n bind(floor(?iyinst / 2) * 28 as ?byinst)\n bind(xsd:integer(floor((300 - 30 - strlen(?typinst) * 4.9) / 5.5)) as ?cap0inst)\n bind(if(?cap0inst < 8, 8, ?cap0inst) as ?capinst)\n bind(if(strlen(?lblinst) > ?capinst, concat(substr(?lblinst, 1, ?capinst - 1), \"โ€ฆ\"), ?lblinst) as ?tinst)\n bind(replace(replace(replace(?tinst, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?escinst)\n bind(replace(replace(replace(?lblinst, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?fullinst)\n\n bind(concat('',\n '', ?fullinst, '',\n '',\n ?icoinst, ' ', ?escinst, '',\n '',\n '', ?typinst, '') as ?boxinst)\n }\n }\n}" } ] } ] } ]