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: "RASoSJHTqFbstPGUNIdxyUUl-1VUbJY4YfMgVMHbGWM_Y" } } rows { namespace { name: "this" value { prefix_id: 1 } } } rows { prefix { value: "https://w3id.org/np/RASoSJHTqFbstPGUNIdxyUUl-1VUbJY4YfMgVMHbGWM_Y/" } } rows { name { } } rows { namespace { name: "sub" value { prefix_id: 2 } } } rows { prefix { value: "http://www.nanopub.org/nschema#" } } rows { namespace { name: "np" value { prefix_id: 3 name_id: 2 } } } rows { prefix { value: "https://w3id.org/kpxl/grlc/" } } rows { namespace { name: "grlc" value { prefix_id: 4 name_id: 2 } } } rows { prefix { value: "http://purl.org/dc/terms/" } } rows { namespace { name: "dct" value { prefix_id: 5 name_id: 2 } } } rows { prefix { value: "https://w3id.org/np/o/ntemplate/" } } rows { namespace { name: "nt" value { prefix_id: 6 name_id: 2 } } } rows { prefix { value: "http://purl.org/nanopub/x/" } } rows { namespace { name: "npx" value { prefix_id: 7 name_id: 2 } } } rows { prefix { value: "http://www.w3.org/2001/XMLSchema#" } } rows { namespace { name: "xsd" value { prefix_id: 8 name_id: 2 } } } rows { prefix { value: "http://www.w3.org/2000/01/rdf-schema#" } } rows { namespace { name: "rdfs" value { prefix_id: 9 name_id: 2 } } } rows { prefix { value: "https://orcid.org/" } } rows { namespace { name: "orcid" 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 { prefix { value: "http://xmlns.com/foaf/0.1/" } } rows { namespace { name: "foaf" value { prefix_id: 12 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: 3 name_id: 3 } o_iri { prefix_id: 2 } g_iri { } } } rows { name { value: "hasProvenance" } } rows { name { value: "provenance" } } rows { quad { p_iri { prefix_id: 3 } o_iri { prefix_id: 2 } } } rows { name { value: "hasPublicationInfo" } } rows { name { value: "pubinfo" } } rows { quad { p_iri { prefix_id: 3 } 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: 13 } o_iri { prefix_id: 3 } } } rows { name { value: "get-project-summary-svg" } } rows { name { value: "description" } } rows { quad { s_iri { prefix_id: 2 } p_iri { prefix_id: 5 } o_literal { lex: "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." } g_iri { prefix_id: 2 name_id: 4 } } } rows { name { value: "license" } } rows { prefix { value: "http://www.apache.org/licenses/" } } rows { name { value: "LICENSE-2.0" } } rows { quad { p_iri { prefix_id: 5 name_id: 14 } o_iri { prefix_id: 14 } } } rows { name { value: "grlc-query" } } rows { quad { p_iri { prefix_id: 13 name_id: 10 } o_iri { prefix_id: 4 name_id: 16 } } } rows { name { value: "label" } } rows { quad { p_iri { prefix_id: 9 } o_literal { lex: "Get project summary diagram as SVG" } } } rows { name { value: "endpoint" } } rows { prefix { value: "https://w3id.org/np/l/nanopub-query-1.1/repo/" } } rows { name { value: "full" } } rows { quad { p_iri { prefix_id: 4 } o_iri { prefix_id: 15 } } } rows { name { value: "sparql" } } rows { quad { p_iri { prefix_id: 4 } o_literal { lex: "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(\"\360\237\222\241\" 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), \"\342\200\246\"), ?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(\"\360\237\222\276\" 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), \"\342\200\246\"), ?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(\"\360\237\247\252\" 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), \"\342\200\246\"), ?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\", \"\360\237\223\204\", if(?raw = \"software\", \"\360\237\222\273\", if(?raw = \"dataset\", \"\360\237\222\276\", if(?raw = \"presentation\", \"\360\237\216\244\", if(?raw = \"blog-post\", \"\360\237\223\235\", if(?raw = \"podcast\", \"\360\237\216\247\", if(?raw = \"media-coverage\", \"\360\237\223\260\", if(?raw = \"social-post\", \"\360\237\222\254\", if(?raw = \"discussion\", \"\360\237\222\254\", if(?raw = \"method\", \"\360\237\224\247\", if(?raw = \"dmp\", \"\360\237\223\213\", \"\360\237\224\227\"))))))))))) 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), \"\342\200\246\"), ?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(\"\360\237\221\244\" 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), \"\342\200\246\"), ?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(\"\360\237\217\233\" 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), \"\342\200\246\"), ?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}" } } } rows { name { value: "wasAttributedTo" } } rows { name { value: "0000-0002-1267-0234" } } rows { quad { s_iri { prefix_id: 2 name_id: 4 } p_iri { prefix_id: 11 name_id: 21 } o_iri { prefix_id: 10 } g_iri { prefix_id: 2 name_id: 7 } } } rows { name { value: "name" } } rows { quad { s_iri { prefix_id: 10 name_id: 22 } p_iri { prefix_id: 12 } o_literal { lex: "Tobias Kuhn" } g_iri { prefix_id: 2 name_id: 9 } } } rows { name { value: "created" } } rows { datatype { value: "http://www.w3.org/2001/XMLSchema#dateTime" } } rows { quad { s_iri { prefix_id: 1 name_id: 1 } p_iri { prefix_id: 5 name_id: 24 } o_literal { lex: "2026-08-14T10:20:00Z" datatype: 1 } } } rows { name { value: "creator" } } rows { quad { p_iri { } o_iri { prefix_id: 10 name_id: 22 } } } rows { prefix { value: "https://creativecommons.org/licenses/by/4.0/" } } rows { quad { p_iri { prefix_id: 5 name_id: 14 } o_iri { prefix_id: 16 name_id: 2 } } } rows { name { value: "embeds" } } rows { quad { p_iri { prefix_id: 7 name_id: 26 } o_iri { prefix_id: 2 name_id: 12 } } } rows { name { value: "supersedes" } } rows { name { value: "RAXpmwP_IYPG8sh_U2WLHc3en2ojjegN2QRAwgNXjh4TU" } } rows { quad { p_iri { prefix_id: 7 name_id: 27 } o_iri { prefix_id: 1 } } } rows { quad { p_iri { prefix_id: 9 name_id: 17 } o_literal { lex: "Get project summary diagram as SVG" } } } rows { name { value: "wasCreatedFromProvenanceTemplate" } } rows { prefix { id: 8 value: "http://purl.org/np/" } } rows { name { value: "RAcm8OurwUk15WOgBM9wySo-T3a5h6as4K8YR5MBrrxUc" } } rows { quad { p_iri { prefix_id: 6 name_id: 29 } o_iri { prefix_id: 8 } } } rows { name { value: "wasCreatedFromPubinfoTemplate" } } rows { name { value: "RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" } } rows { quad { p_iri { prefix_id: 6 } o_iri { prefix_id: 1 } } } rows { name { value: "RARW4MsFkHuwjycNElvEVtuMjpf4yWDL10-0C5l2MqqRQ" } } rows { quad { o_iri { } } } rows { name { value: "RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw" } } rows { quad { o_iri { } } } rows { name { value: "RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI" } } rows { quad { o_iri { } } } rows { name { value: "wasCreatedFromTemplate" } } rows { name { value: "RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k" } } rows { quad { p_iri { prefix_id: 6 } o_iri { prefix_id: 1 } } } rows { name { value: "sig" } } rows { name { value: "hasAlgorithm" } } rows { quad { s_iri { prefix_id: 2 } p_iri { prefix_id: 7 } o_literal { lex: "RSA" } } } rows { name { value: "hasPublicKey" } } rows { quad { p_iri { } o_literal { lex: "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" } } } rows { name { value: "hasSignature" } } rows { quad { p_iri { } o_literal { lex: "U1PxoPumbjHUcHcFav4itOBbRzpvK3Swnc+0rvLwsxa0e/c+FSsPMu8ELx9R6VCsT7OwqyO0a3bZ0HbjYy9uQ3JxahKA/aB68X5mqLDotzVBEou8eQLEEjcXq1U0Kwmq4mOSCj/Mpodz8ykcCLtS30DUXMsESoY342KfvOgUMkE=" } } } rows { name { value: "hasSignatureTarget" } } rows { quad { p_iri { } o_iri { prefix_id: 1 name_id: 1 } } } rows { name { value: "signedBy" } } rows { quad { p_iri { prefix_id: 7 name_id: 43 } o_iri { prefix_id: 10 name_id: 22 } } }