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: "RAylw5GVAohwMiDZty7dtWtZu94TbrFcfLLtgzJ1wbHX0" } } rows { namespace { name: "this" value { prefix_id: 1 } } } rows { prefix { value: "https://w3id.org/np/RAylw5GVAohwMiDZty7dtWtZu94TbrFcfLLtgzJ1wbHX0/" } } 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))) * 21 + 12) + 48) + (?nppl * 21 + 12) + 34) + (?ninst * 21 + 12) + 20)),\n \'\" width=\"980\" height=\"\', str(((((44 + (?nkno * 21 + 12) + 48) + ((if(?nin > ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 21 + 12) + 48) + (?nppl * 21 + 12) + 34) + (?ninst * 21 + 12) + 20)), \'\" font-family=\"sans-serif\">\',\n \'Knowledge\',\n \'\',\n \'\', ?lineskno, \'\',\n \'Inputs\',\n \' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 21 + 12)),\n \'\" rx=\"4\" fill=\"#f0f0f0\" stroke=\"#ccc\">\',\n \'\', ?linesin, \'\',\n \'Activities\',\n \' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 21 + 12)),\n \'\" rx=\"4\" fill=\"#f0f0f0\" stroke=\"#ccc\">\',\n \'\', ?linesact, \'\',\n \'Outputs\',\n \' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 21 + 12)),\n \'\" rx=\"4\" fill=\"#f0f0f0\" stroke=\"#ccc\">\',\n \'\', ?linesout, \'\',\n \' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 21 + 12) + 48) - 12), \'\" text-anchor=\"middle\" font-size=\"15\" font-weight=\"bold\" fill=\"#333\">People\',\n \' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 21 + 12) + 48)), \'\" width=\"940\" height=\"\', str((?nppl * 21 + 12)),\n \'\" rx=\"4\" fill=\"#f0f0f0\" stroke=\"#ccc\">\',\n \' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 21 + 12) + 48)), \'\" font-size=\"14\" fill=\"#111\">\', ?linesppl, \'\',\n \' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 21 + 12) + 48) + (?nppl * 21 + 12) + 34) - 12), \'\" text-anchor=\"middle\" font-size=\"15\" font-weight=\"bold\" fill=\"#333\">Institutions\',\n \' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 21 + 12) + 48) + (?nppl * 21 + 12) + 34)), \'\" width=\"940\" height=\"\', str((?ninst * 21 + 12)),\n \'\" rx=\"4\" fill=\"#f0f0f0\" stroke=\"#ccc\">\',\n \' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 21 + 12) + 48) + (?nppl * 21 + 12) + 34)), \'\" font-size=\"14\" fill=\"#111\">\', ?linesinst, \'\',\n \' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 21 + 12) / 2)), \' L 329 \', str(((44 + (?nkno * 21 + 12) + 48) + ((if(?nin > ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 21 + 12) / 2) - 7), \' L 329 \', str(((44 + (?nkno * 21 + 12) + 48) + ((if(?nin > ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 21 + 12) / 2) + 7), \' Z\" fill=\"#999\">\',\n \' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 21 + 12) / 2)), \' L 654 \', str(((44 + (?nkno * 21 + 12) + 48) + ((if(?nin > ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 21 + 12) / 2) - 7), \' L 654 \', str(((44 + (?nkno * 21 + 12) + 48) + ((if(?nin > ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 21 + 12) / 2) + 7), \' Z\" fill=\"#999\">\',\n \'\',\n \'\',\n \' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 21 + 12) + 48) - 32), \'\" x2=\"505\" y2=\"\', str((44 + (?nkno * 21 + 12) + 48) + ((if(?nin > ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 21 + 12)), \'\" stroke=\"#bbb\" stroke-width=\"2\" stroke-dasharray=\"4 3\">\',\n \' ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 21 + 12) + 48) + (?nppl * 21 + 12) + 34) - 32), \'\" x2=\"505\" y2=\"\', str(((44 + (?nkno * 21 + 12) + 48) + ((if(?nin > ?nact, if(?nin > ?nout, ?nin, ?nout), if(?nact > ?nout, ?nact, ?nout))) * 21 + 12) + 48) + (?nppl * 21 + 12)), \'\" stroke=\"#bbb\" stroke-width=\"2\" stroke-dasharray=\"4 3\">\',\n \'\') as ?svg) (\"FAIR project summary\" as ?title)\nwhere {\n {\n select (group_concat(distinct ?linekno; separator=\"\") as ?lineskno) (count(*) as ?nkno) where {\n {\n select ?irikno (min(?labelkno) as ?lblkno) (min(?icon0kno) as ?icokno)\n (group_concat(distinct ?typekno; separator=\"/\") as ?typkno) 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 ?nps npa:hasValidSignatureForPublicKeyHash ?pks ;\n np:hasAssertion ?as ;\n np:hasPublicationInfo ?pis .\n filter not exists { ?ixs npx:invalidates ?nps ; npa:hasValidSignatureForPublicKeyHash ?pks . }\n filter not exists { ?sxs npx:supersedes ?nps . }\n }\n filter(contains(?memberPubkeys, ?pks))\n graph ?as {\n ?study a obo:OBI_0000066 ; dct:isPartOf ?_project_multi_iri .\n }\n graph npa:graph {\n ?npkno npa:hasValidSignatureForPublicKeyHash ?pkkno ;\n np:hasAssertion ?akno ;\n np:hasPublicationInfo ?pikno .\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 ?study .\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 ?icon0kno)\n } group by ?irikno\n }\n bind(if(strlen(?lblkno) > 96, concat(substr(?lblkno, 1, 95), \"\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 \' \302\267 \', ?typkno, \'\') as ?linekno)\n }\n }\n {\n select (group_concat(distinct ?linein; separator=\"\") as ?linesin) (count(*) as ?nin) where {\n {\n select ?iriin (min(?labelin) as ?lblin) (min(?icon0in) as ?icoin)\n (group_concat(distinct ?typein; separator=\"/\") as ?typin) 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 npa:hasValidSignatureForPublicKeyHash ?pkin ;\n np:hasAssertion ?ain ;\n np:hasPublicationInfo ?piin .\n filter not exists { ?ixin npx:invalidates ?npin ; npa:hasValidSignatureForPublicKeyHash ?pkin . }\n filter not exists { ?sxin npx:supersedes ?npin . }\n }\n filter(contains(?memberPubkeys, ?pkin))\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(\"dataset\" as ?typein)\n bind(\"\360\237\222\276\" as ?icon0in)\n } group by ?iriin\n }\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 \' \302\267 \', ?typin, \'\') as ?linein)\n }\n }\n {\n select (group_concat(distinct ?lineact; separator=\"\") as ?linesact) (count(*) as ?nact) where {\n {\n select ?iriact (min(?labelact) as ?lblact) (min(?icon0act) as ?icoact)\n (group_concat(distinct ?typeact; separator=\"/\") as ?typact) 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 npa:hasValidSignatureForPublicKeyHash ?pkact ;\n np:hasAssertion ?aact ;\n np:hasPublicationInfo ?piact .\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(\"\360\237\247\252\" as ?icon0act)\n } group by ?iriact\n }\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 \' \302\267 \', ?typact, \'\') as ?lineact)\n }\n }\n {\n select (group_concat(distinct ?lineout; separator=\"\") as ?linesout) (count(*) as ?nout) where {\n {\n select ?iriout (min(?labelout) as ?lblout) (min(?icon0out) as ?icoout)\n (group_concat(distinct ?typeout; separator=\"/\") as ?typout) 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 npa:hasValidSignatureForPublicKeyHash ?pkout ;\n np:hasAssertion ?aout ;\n np:hasPublicationInfo ?piout .\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 ?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\", \"\342\234\215\", 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\227\243\", if(?raw = \"method\", \"\360\237\224\247\", if(?raw = \"dmp\", \"\360\237\223\213\", \"\360\237\224\227\"))))))))))) as ?iconout)\n bind(?iconout as ?icon0out)\n } group by ?iriout\n }\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 \' \302\267 \', ?typout, \'\') as ?lineout)\n }\n }\n {\n select (group_concat(distinct ?lineppl; separator=\"\") as ?linesppl) (count(*) as ?nppl) where {\n {\n select ?irippl (min(?labelppl) as ?lblppl) (min(?icon0ppl) as ?icoppl)\n (group_concat(distinct ?typeppl; separator=\"/\") as ?typppl) 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 npa:hasValidSignatureForPublicKeyHash ?pkppl ;\n np:hasAssertion ?appl ;\n np:hasPublicationInfo ?pippl .\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, \"lead\", if(?relppl = ff:has-data-steward, \"steward\", \"participant\"))) as ?typeppl)\n bind(\"\360\237\221\244\" as ?icon0ppl)\n } group by ?irippl\n }\n bind(if(strlen(?lblppl) > 42, concat(substr(?lblppl, 1, 41), \"\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 \' \302\267 \', ?typppl, \'\') as ?lineppl)\n }\n }\n {\n select (group_concat(distinct ?lineinst; separator=\"\") as ?linesinst) (count(*) as ?ninst) where {\n {\n select ?iriinst (min(?labelinst) as ?lblinst) (min(?icon0inst) as ?icoinst)\n (group_concat(distinct ?typeinst; separator=\"/\") as ?typinst) 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 npa:hasValidSignatureForPublicKeyHash ?pkinst ;\n np:hasAssertion ?ainst ;\n np:hasPublicationInfo ?piinst .\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\", if(?relinst = ff:has-partner-institution, \"partner\", \"funder\")) as ?typeinst)\n bind(\"\360\237\217\233\" as ?icon0inst)\n } group by ?iriinst\n }\n bind(if(strlen(?lblinst) > 52, concat(substr(?lblinst, 1, 51), \"\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 \' \302\267 \', ?typinst, \'\') as ?lineinst)\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-14T09:30: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: "RAB0A48STv6efzv1khghLrvl-hMh88-1hBl6vOMJvzM2I" } } 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: "AfbsHXrIhouiy+S8HS9v0g2k/1UrJcQrgTR/l70niqFWsxVTpgLYmvqdHt1C986mWdxHzaUQSvLv4sEX7PrYZAxtsOfDPoBKAmPdpdE6nG+qSLuu7fMl9xqpQ9KBUGciqYbaAUSKrQYJ+W/4mNWw0QTKEuL1BxV1i9ffE7rPc4I=" } } } 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 } } }