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: "RATVsPwk_dy_f6r4kvkvkKLLQhMQSCspdxkwCoGdnd8UY" } } rows { namespace { name: "this" value { prefix_id: 1 } } } rows { prefix { value: "https://w3id.org/np/RATVsPwk_dy_f6r4kvkvkKLLQhMQSCspdxkwCoGdnd8UY/" } } 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 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 higher-level statements they increased the evidence for 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: \nprefix prov: \nprefix xsd: \nselect (concat(\n \' ?nout, ?nact, ?nout)) * 20 + 14) + 44) + (floor((?nppl + 2) / 3) * 20 + 14) + 36) + (floor((?ninst + 1) / 2) * 20 + 14) + 12)),\n \'\" width=\"\', str(700 * 2), \'\" height=\"\', str((((((26 + (floor((?nkno + 0) / 1) * 28 + 14) + 44) + (floor((?nev + 1) / 2) * 20 + 14) + 44) + ((if(?nact > ?nout, ?nact, ?nout)) * 20 + 14) + 44) + (floor((?nppl + 2) / 3) * 20 + 14) + 36) + (floor((?ninst + 1) / 2) * 20 + 14) + 12) * 2), \'\" font-family=\"Noto Emoji, Inter, Verdana, Helvetica, sans-serif\">\',\n \'\360\237\222\241 KNOWLEDGE\',\n \'\',\n \'\', ?boxeskno, \'\',\n \'\360\237\223\212 EVIDENCE\',\n \'\',\n \'\', ?boxesev, \'\',\n \'\360\237\247\252 ACTIVITIES\',\n \' ?nout, ?nact, ?nout)) * 20 + 14)),\n \'\" rx=\"4\" fill=\"#f4f4f4\" stroke=\"#888\">\',\n \'\', ?boxesact, \'\',\n \'\360\237\223\246 OUTPUTS\',\n \' ?nout, ?nact, ?nout)) * 20 + 14)),\n \'\" rx=\"4\" fill=\"#f4f4f4\" stroke=\"#888\">\',\n \'\', ?boxesout, \'\',\n \' ?nout, ?nact, ?nout)) * 20 + 14) + 44) - 9), \'\" text-anchor=\"middle\" font-size=\"11\" font-weight=\"bold\" fill=\"#444\" letter-spacing=\"0.8\">\360\237\221\244 PEOPLE\',\n \' ?nout, ?nact, ?nout)) * 20 + 14) + 44)), \'\" width=\"680\" height=\"\', str((floor((?nppl + 2) / 3) * 20 + 14)),\n \'\" rx=\"4\" fill=\"#f4f4f4\" stroke=\"#888\">\',\n \' ?nout, ?nact, ?nout)) * 20 + 14) + 44) + 6), \')\">\', ?boxesppl, \'\',\n \' ?nout, ?nact, ?nout)) * 20 + 14) + 44) + (floor((?nppl + 2) / 3) * 20 + 14) + 36) - 9), \'\" text-anchor=\"middle\" font-size=\"11\" font-weight=\"bold\" fill=\"#444\" letter-spacing=\"0.8\">\360\237\217\233 INSTITUTIONS\',\n \' ?nout, ?nact, ?nout)) * 20 + 14) + 44) + (floor((?nppl + 2) / 3) * 20 + 14) + 36)), \'\" width=\"680\" height=\"\', str((floor((?ninst + 1) / 2) * 20 + 14)),\n \'\" rx=\"4\" fill=\"#f4f4f4\" stroke=\"#888\">\',\n \' ?nout, ?nact, ?nout)) * 20 + 14) + 44) + (floor((?nppl + 2) / 3) * 20 + 14) + 36) + 6), \')\">\', ?boxesinst, \'\',\n \' ?nout, ?nact, ?nout)) * 20 + 14) / 2)), \'\" x2=\"356\" y2=\"\', str((((26 + (floor((?nkno + 0) / 1) * 28 + 14) + 44) + (floor((?nev + 1) / 2) * 20 + 14) + 44) + ((if(?nact > ?nout, ?nact, ?nout)) * 20 + 14) / 2)), \'\" stroke=\"#666\" stroke-width=\"1.5\">\',\n \' ?nout, ?nact, ?nout)) * 20 + 14) / 2)), \' L 354 \', str((((26 + (floor((?nkno + 0) / 1) * 28 + 14) + 44) + (floor((?nev + 1) / 2) * 20 + 14) + 44) + ((if(?nact > ?nout, ?nact, ?nout)) * 20 + 14) / 2) - 5), \' L 354 \', str((((26 + (floor((?nkno + 0) / 1) * 28 + 14) + 44) + (floor((?nev + 1) / 2) * 20 + 14) + 44) + ((if(?nact > ?nout, ?nact, ?nout)) * 20 + 14) / 2) + 5), \' Z\" fill=\"#666\">\',\n \'\',\n \'\',\n \'\',\n \'\',\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 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(\"\360\237\222\241\" as ?iconkno)\n } group by ?irikno\n }\n optional {\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 filter(concat(str(?orrkno), \"|\", str(?okno)) < concat(str(?rrankkno), \"|\", str(?irikno))\n && (!bound(?opkfgkno) || contains(?mpkkno, ?opkfgkno))\n && (!bound(?opkrgkno) || contains(?mpkkno, ?opkrgkno))\n && (!bound(?opksgkno) || contains(?mpkkno, ?opksgkno)))\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) * 28 as ?bykno)\n bind(xsd:integer(floor((656 - 36 - 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) > 116, replace(?esckno, \"^(.{1,116})[ ].*$\", \"$1\"), ?esckno) as ?l1kno)\n bind(if(strlen(?esckno) > strlen(?l1kno), substr(?esckno, strlen(?l1kno) + 2, 96), \"\") as ?l2kno)\n\n bind(concat(\n \'\',\n \'\',\n \'\', ?fullkno, \'\', ?icokno, \' \', ?l1kno, \'\',\n \'\',\n \'\', ?l2kno, \'\',\n \'\', ?typkno, \'\',\n \'\') 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(\"\360\237\223\212\" 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) * 20 as ?byev)\n bind(xsd:integer(floor((320 - 36 - 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), \"\342\200\246\"), ?lblev) as ?tev)\n bind(replace(replace(replace(?tev, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?escev)\n bind(replace(replace(replace(?lblev, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?fullev)\n\n bind(concat(\n \'\',\n \'\',\n \'\', ?fullev, \'\', ?icoev, \' \', ?escev, \'\',\n \'\', ?typev, \'\',\n \'\') 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(\"\360\237\247\252\" 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) * 316 as ?bxact)\n bind(floor(?iyact / 1) * 20 as ?byact)\n bind(xsd:integer(floor((300 - 36 - 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), \"\342\200\246\"), ?lblact) as ?tact)\n bind(replace(replace(replace(?tact, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?escact)\n bind(replace(replace(replace(?lblact, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?fullact)\n\n bind(concat(\n \'\',\n \'\',\n \'\', ?fullact, \'\', ?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 ?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\", \"\360\237\223\204\", if(?rawout = \"software\", \"\360\237\222\273\", if(?rawout = \"dataset\", \"\360\237\222\276\", if(?rawout = \"presentation\", \"\360\237\216\244\", if(?rawout = \"blog-post\", \"\360\237\223\235\", if(?rawout = \"podcast\", \"\360\237\216\247\", if(?rawout = \"media-coverage\", \"\360\237\223\260\", if(?rawout = \"social-post\", \"\360\237\222\254\", if(?rawout = \"discussion\", \"\360\237\222\254\", if(?rawout = \"method\", \"\360\237\224\247\", if(?rawout = \"dmp\", \"\360\237\223\213\", \"\360\237\224\227\"))))))))))) 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) * 316 as ?bxout)\n bind(floor(?iyout / 1) * 20 as ?byout)\n bind(xsd:integer(floor((300 - 36 - 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), \"\342\200\246\"), ?lblout) as ?tout)\n bind(replace(replace(replace(?tout, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?escout)\n bind(replace(replace(replace(?lblout, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?fullout)\n\n bind(concat(\n \'\',\n \'\',\n \'\', ?fullout, \'\', ?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 ?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(\"\360\237\221\244\" 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) * 224 as ?bxppl)\n bind(floor(?iyppl / 3) * 20 as ?byppl)\n bind(xsd:integer(floor((208 - 36 - 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), \"\342\200\246\"), ?lblppl) as ?tppl)\n bind(replace(replace(replace(?tppl, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?escppl)\n bind(replace(replace(replace(?lblppl, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?fullppl)\n\n bind(concat(\n \'\',\n \'\',\n \'\', ?fullppl, \'\', ?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 ?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, \"\360\237\222\266\", \"\360\237\217\233\") 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) * 336 as ?bxinst)\n bind(floor(?iyinst / 2) * 20 as ?byinst)\n bind(xsd:integer(floor((320 - 36 - 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), \"\342\200\246\"), ?lblinst) as ?tinst)\n bind(replace(replace(replace(?tinst, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?escinst)\n bind(replace(replace(replace(?lblinst, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?fullinst)\n\n bind(concat(\n \'\',\n \'\',\n \'\', ?fullinst, \'\', ?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-17T07:45: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: "RAg_174O1ZiNXrwp4TviJWcIdw6ALrCIzAJ_MfIMt2-wE" } } 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: "LyIZDM8KBB3nl43R96zh06X3mQx9kNssj0HDxyFlbFYL4VIOpj8hWLz0Lvmeu52/qoSsuGDRthhnM4yKHK9Sb2Vlv05n1hescRlULLz+JRdwSE9Iynf5WQEdbZdUOh1HpBra/nW4ihgZJt4yddDmIcwwE2gCSb7gW1oiK7Stt5g=" } } } 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 } } }