[ { "@id": "https://w3id.org/np/RACYP2tjWHK5oWj9wwhk93l6vQty7NqszptlckCz8qVdM/assertion", "@graph": [ { "@id": "https://w3id.org/np/RACYP2tjWHK5oWj9wwhk93l6vQty7NqszptlckCz8qVdM/get-nanosuggestion-details", "http://purl.org/dc/terms/description": [ { "@value": "Returns the details of a single nanosuggestion as field/value rows for a compact info card: title, kind, text, current status, assignee, the spaces it is relevant for, what it is about, and further links. Values that are IRIs are returned as IRIs so they render as links, with a companion label column supplying the link text. Empty fields are omitted and only the most recent status assertion is shown." } ], "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 the details of a nanosuggestion" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/full" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "\nprefix rdf: \nprefix rdfs: \nprefix dct: \nprefix foaf: \nprefix np: \nprefix npa: \nprefix npx: \nprefix schema: \nprefix gen: \nprefix nsug: \n\nselect distinct ?Property_noheader ?Value_noheader ?Value_label where {\n values (?property ?Property_noheader ?ord) {\n ( rdfs:label 'Title:' '1' )\n ( rdf:type 'Kind:' '2' )\n ( rdf:value 'Text:' '3' )\n ( schema:actionStatus 'Status:' '4' )\n ( schema:agent 'Assigned to:' '5' )\n ( gen:isRelevantFor 'Relevant for:' '6' )\n ( schema:about 'About:' '7' )\n ( rdfs:seeAlso 'More info:' '8' )\n }\n graph npa:graph {\n ?np npa:hasValidSignatureForPublicKeyHash ?pubkey ; np:hasAssertion ?a ; dct:created ?d .\n filter not exists { ?npi npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }\n }\n graph ?a { ?_suggestion_iri ?property ?Value_noheader . }\n # the base types are structural, not the \"kind\"\n filter(!(?property = rdf:type && (?Value_noheader = nsug:Nanosuggestion || ?Value_noheader = schema:Statement)))\n # of the status assertions, keep only the most recent\n filter(?property != schema:actionStatus || not exists {\n graph npa:graph {\n ?np2 npa:hasValidSignatureForPublicKeyHash ?pk2 ; np:hasAssertion ?a2 ; dct:created ?d2 .\n filter not exists { ?np2i npx:invalidates ?np2 ; npa:hasValidSignatureForPublicKeyHash ?pk2 . }\n filter(?d2 > ?d)\n }\n graph ?a2 { ?_suggestion_iri schema:actionStatus ?other . }\n })\n # link text for IRI values; empty string leaves literals as they are\n optional { ?Value_noheader rdfs:label ?vl . filter(lang(?vl) = '') }\n optional { ?Value_noheader foaf:name ?vn }\n bind(if(?Value_noheader = schema:PotentialActionStatus, 'open',\n if(?Value_noheader = schema:ActiveActionStatus, 'in progress',\n if(?Value_noheader = schema:CompletedActionStatus, 'done',\n if(?Value_noheader = schema:FailedActionStatus, 'rejected',\n coalesce(?vl, ?vn, ''))))) as ?Value_label)\n}\norder by ?ord ?Value_label\n" } ] } ] }, { "@id": "https://w3id.org/np/RACYP2tjWHK5oWj9wwhk93l6vQty7NqszptlckCz8qVdM/provenance", "@graph": [ { "@id": "https://w3id.org/np/RACYP2tjWHK5oWj9wwhk93l6vQty7NqszptlckCz8qVdM/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RACYP2tjWHK5oWj9wwhk93l6vQty7NqszptlckCz8qVdM/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/RACYP2tjWHK5oWj9wwhk93l6vQty7NqszptlckCz8qVdM", "http://purl.org/dc/terms/created": [ { "@value": "2026-08-26T14:11:13Z", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://purl.org/dc/terms/creator": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ], "http://purl.org/dc/terms/license": [ { "@id": "https://creativecommons.org/licenses/by/4.0/" } ], "http://purl.org/nanopub/x/embeds": [ { "@id": "https://w3id.org/np/RACYP2tjWHK5oWj9wwhk93l6vQty7NqszptlckCz8qVdM/get-nanosuggestion-details" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAlorCjp4uSt7p8VdwrMrsR0dmGSqsq_lPu1mdDU7qBcg" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get the details of a nanosuggestion" } ], "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/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw" }, { "@id": "https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [ { "@id": "https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k" } ] }, { "@id": "https://w3id.org/np/RACYP2tjWHK5oWj9wwhk93l6vQty7NqszptlckCz8qVdM/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": "jqiu65QXl2sfAqIw3k0ztW0Z3lLUeTVSx2Ih8b75YCCKYq5JrbtRYBiiahSpBhB9PzQmO7UGCECAMM+kgib1dYgyG8mCaLo87mDTuW5o2nbcNRnZo49vVYVEbd9bHzzAiSXj+NmnkUigQgasMZU+B3B35P1BTScccDk2WYwhnNw=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RACYP2tjWHK5oWj9wwhk93l6vQty7NqszptlckCz8qVdM" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RACYP2tjWHK5oWj9wwhk93l6vQty7NqszptlckCz8qVdM/Head", "@graph": [ { "@id": "https://w3id.org/np/RACYP2tjWHK5oWj9wwhk93l6vQty7NqszptlckCz8qVdM", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RACYP2tjWHK5oWj9wwhk93l6vQty7NqszptlckCz8qVdM/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RACYP2tjWHK5oWj9wwhk93l6vQty7NqszptlckCz8qVdM/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RACYP2tjWHK5oWj9wwhk93l6vQty7NqszptlckCz8qVdM/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] } ]