[ { "@id": "https://w3id.org/np/RAIME46ULg47l7S0jj7zc7fTHrZquzJ8ByXmwUa50ejSU/Head", "@graph": [ { "@id": "https://w3id.org/np/RAIME46ULg47l7S0jj7zc7fTHrZquzJ8ByXmwUa50ejSU", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAIME46ULg47l7S0jj7zc7fTHrZquzJ8ByXmwUa50ejSU/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAIME46ULg47l7S0jj7zc7fTHrZquzJ8ByXmwUa50ejSU/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAIME46ULg47l7S0jj7zc7fTHrZquzJ8ByXmwUa50ejSU/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAIME46ULg47l7S0jj7zc7fTHrZquzJ8ByXmwUa50ejSU/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAIME46ULg47l7S0jj7zc7fTHrZquzJ8ByXmwUa50ejSU/get-concluded-sub-space-projects", "http://purl.org/dc/terms/description": [ { "@value": "Returns the concluded projects (defined as Spaces) that are sub-spaces of the given space, together with their project lead. A project counts as concluded when it has an end date that lies before today. A lead is only shown when it is a validated (top-down approved) holder of a project-lead role that is attached to that project at Member tier or above (observer-tier, self-attestable lead roles are excluded)." } ], "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 concluded sub-space projects" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/type/8ad572d99071cc1ba0c16e54087b43594bdd9e8b2cfb62d2a0b16945fc49e53c" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "prefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix gen: \nprefix schema: \nprefix foaf: \nprefix xsd: \n\nselect distinct ?project ?project_label ?dates ?lead ?lead_label ?description ?np (\"^\" as ?np_label) where {\n graph npa:graph {\n ?np npa:hasValidSignatureForPublicKeyHash ?pubkey .\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }\n filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . }\n ?np npx:introduces ?project .\n ?np np:hasAssertion ?a .\n ?np dct:created ?npDate .\n filter not exists {\n ?np2 npx:introduces ?project .\n ?np2 npa:hasValidSignatureForPublicKeyHash ?pubkey2 .\n filter not exists { ?npx2 npx:invalidates ?np2 ; npa:hasValidSignatureForPublicKeyHash ?pubkey2 . }\n ?np2 dct:created ?npDate2 .\n filter(?npDate2 > ?npDate)\n }\n }\n graph ?a {\n ?project a gen:Space .\n ?project a gen:Project .\n ?project rdfs:label ?project_label .\n optional { ?project dct:description ?description . }\n optional { ?project schema:startDate ?datetime . }\n ?project schema:endDate ?endDatetime .\n }\n service {\n graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?stateG . }\n graph ?stateG { ?_resource_iri npa:hasSubSpace ?project . }\n optional {\n graph npa:spacesGraph {\n ?riStem (npa:regularProperty|npa:inverseProperty) gen:hasProjectLead ;\n npa:forSpace ?project ; npa:forAgent ?lead .\n ?ra a gen:RoleAssignment ; npa:forSpace ?project ; gen:hasRole ?role .\n ?rd npa:role ?role ; (gen:hasRegularProperty|gen:hasInverseProperty) gen:hasProjectLead ; npa:hasRoleType ?roleType .\n filter(?roleType in (gen:MemberRole, gen:MaintainerRole, gen:AdminRole))\n }\n graph ?stateG { ?riFull npa:forSpace ?project ; npa:forAgent ?lead . }\n filter(strstarts(str(?riFull), concat(str(?riStem), \"__\")))\n optional { graph ?stateG { ?lead foaf:name ?lead_label } }\n }\n }\n bind(xsd:date(substr(str(?endDatetime), 1, 10)) as ?endDate)\n bind(xsd:date(substr(str(now()), 1, 10)) as ?today)\n filter(?endDate < ?today)\n bind(substr(str(?datetime), 1, 10) as ?startDay)\n bind(substr(str(?endDatetime), 1, 10) as ?endDay)\n bind(if(!bound(?datetime), ?endDay, if(?startDay = ?endDay, concat(?startDay, \" \", substr(str(?datetime), 12, 5)), concat(?startDay, \" – \", ?endDay))) as ?dates)\n} order by ?startDay" } ] } ] }, { "@id": "https://w3id.org/np/RAIME46ULg47l7S0jj7zc7fTHrZquzJ8ByXmwUa50ejSU/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAIME46ULg47l7S0jj7zc7fTHrZquzJ8ByXmwUa50ejSU/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAIME46ULg47l7S0jj7zc7fTHrZquzJ8ByXmwUa50ejSU/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/RAIME46ULg47l7S0jj7zc7fTHrZquzJ8ByXmwUa50ejSU", "http://purl.org/dc/terms/created": [ { "@value": "2026-06-23T13:37:43Z", "@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/introduces": [ { "@id": "https://w3id.org/np/RAIME46ULg47l7S0jj7zc7fTHrZquzJ8ByXmwUa50ejSU/get-concluded-sub-space-projects" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAIy6NKfnpmPM35UbS0PZOqaykhOumFrzSKZMCzdIXMvw" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate": [ { "@id": "https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate": [ { "@id": "https://w3id.org/np/RA0J4vUn_dekg-U1kK3AOEt02p9mT2WO03uGxLDec1jLw" }, { "@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/RAIME46ULg47l7S0jj7zc7fTHrZquzJ8ByXmwUa50ejSU/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": "SYbNbGLdAh8wweVCTB16Xb0qUbzyykYEMuu+eh77pVpunWqAOKYu33UJKBQO431oklMQMEehAx9udvuhCh83UoQokXB0X5Gp9nioJNpuHDpq5o9tNiofWIpDYikkWLOGIU6OMztqvbWIsiiAN7oXNK4aa2dE4mW1cDWZAIM2FJk=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAIME46ULg47l7S0jj7zc7fTHrZquzJ8ByXmwUa50ejSU" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] } ]