[ { "@id": "https://w3id.org/np/RArWqN4YQPryxPR6PtGP5nAjTq_kSnnzS5BPGjxemcaas/provenance", "@graph": [ { "@id": "https://w3id.org/np/RArWqN4YQPryxPR6PtGP5nAjTq_kSnnzS5BPGjxemcaas/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RArWqN4YQPryxPR6PtGP5nAjTq_kSnnzS5BPGjxemcaas/assertion", "@graph": [ { "@id": "https://w3id.org/np/RArWqN4YQPryxPR6PtGP5nAjTq_kSnnzS5BPGjxemcaas/get-unanswered-faqs", "http://purl.org/dc/terms/description": [ { "@value": "This query returns the unanswered FAQ entries of an entity: questions whose most recent declaration is typed as gen:UnansweredQuestion (i.e. still carrying a placeholder instead of a real answer). Questions from everybody are returned (no author filter). Returns the question text as a plain label, plus per-row action target columns: override_target and answer_target both hold the latest nanopub that npx:introduces the entry (the valid Nanodash @override fill target, so the form pre-fills with the entry's own IRI preserved), and mark_unanswered holds the gen:UnansweredQuestion IRI so an 'override...' action can keep the entry marked unanswered while an 'answer...' action turns it into an answered entry." } ], "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 unanswered FAQ entries of an entity" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/type/88a3271eb4f952262a674b6765824830ecb6c5a9ae10f1fd8caa4fc21cdccad7" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "prefix rdf: \nprefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix schema: \nprefix gen: \n\nselect ?question (?introNp as ?override_target) (?introNp as ?answer_target)\n (\"https://w3id.org/kpxl/gen/terms/UnansweredQuestion\" as ?mark_unanswered)\n ?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 ?np dct:created ?date .\n ?np np:hasAssertion ?a .\n }\n graph ?a {\n ?faq rdf:type schema:Question .\n ?faq rdf:type gen:UnansweredQuestion .\n ?faq rdfs:label ?question .\n values ?_resource_multi_iri {}\n ?faq dct:isPartOf ?_resource_multi_iri .\n optional { ?faq gen:hasPositionString ?position }\n }\n filter not exists {\n graph npa:graph {\n ?np2 npa:hasValidSignatureForPublicKeyHash ?pubkey2 .\n filter not exists { ?npx2 npx:invalidates ?np2 ; npa:hasValidSignatureForPublicKeyHash ?pubkey2 . }\n ?np2 dct:created ?date2 .\n ?np2 np:hasAssertion ?a2 .\n filter (?date2 > ?date)\n }\n graph ?a2 {\n ?faq rdf:type schema:Question .\n }\n }\n optional {\n graph npa:graph {\n ?introNp npx:introduces ?faq ;\n npa:hasValidSignatureForPublicKeyHash ?ipk ;\n dct:created ?idate .\n filter not exists { ?iv npx:invalidates ?introNp ; npa:hasValidSignatureForPublicKeyHash ?ipk . }\n }\n filter not exists {\n graph npa:graph {\n ?introNp2 npx:introduces ?faq ;\n npa:hasValidSignatureForPublicKeyHash ?ipk2 ;\n dct:created ?idate2 .\n filter not exists { ?iv2 npx:invalidates ?introNp2 ; npa:hasValidSignatureForPublicKeyHash ?ipk2 . }\n filter(?idate2 > ?idate || (?idate2 = ?idate && str(?introNp2) > str(?introNp)))\n }\n }\n }\n}\norder by ?position ?question" } ] } ] }, { "@id": "https://w3id.org/np/RArWqN4YQPryxPR6PtGP5nAjTq_kSnnzS5BPGjxemcaas/pubinfo", "@graph": [ { "@id": "https://w3id.org/np/RArWqN4YQPryxPR6PtGP5nAjTq_kSnnzS5BPGjxemcaas", "http://purl.org/dc/terms/created": [ { "@value": "2026-07-16T10:40:54Z", "@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/RArWqN4YQPryxPR6PtGP5nAjTq_kSnnzS5BPGjxemcaas/get-unanswered-faqs" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAk4l9ya2-Diy7nV7BC01Cuwfg8crfABGn4E1wwnBU2ko" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get unanswered FAQ entries of an entity" } ], "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/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" }, { "@id": "https://w3id.org/np/RAMEgudZsQ1bh1fZhfYnkthqH6YSXpghSE_DEN1I-6eAI" }, { "@id": "https://w3id.org/np/RARW4MsFkHuwjycNElvEVtuMjpf4yWDL10-0C5l2MqqRQ" }, { "@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/RArWqN4YQPryxPR6PtGP5nAjTq_kSnnzS5BPGjxemcaas/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": "aMpGbq3XrvnRu80nTcKPrZrZrXTvW1bYvvpd6uROD+bvKlVXARCej8alTiPhwPzDVKCEgyMfUPGq//5At3E76g16hL2utx0NJwtCjc+zCTk5lOgo4cvICDQP8zhz1I0Q4aOjV3Zwk2G2SADUsqVqG1jmNLWieKQCwXagpF6O4FQ=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RArWqN4YQPryxPR6PtGP5nAjTq_kSnnzS5BPGjxemcaas" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RArWqN4YQPryxPR6PtGP5nAjTq_kSnnzS5BPGjxemcaas/Head", "@graph": [ { "@id": "https://w3id.org/np/RArWqN4YQPryxPR6PtGP5nAjTq_kSnnzS5BPGjxemcaas", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RArWqN4YQPryxPR6PtGP5nAjTq_kSnnzS5BPGjxemcaas/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RArWqN4YQPryxPR6PtGP5nAjTq_kSnnzS5BPGjxemcaas/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RArWqN4YQPryxPR6PtGP5nAjTq_kSnnzS5BPGjxemcaas/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] } ]