[ { "@id": "https://w3id.org/np/RAWxyEV4PJHr0BZyDZCUgoU6uMT9kyKm4c2jt9AEwJVEI/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAWxyEV4PJHr0BZyDZCUgoU6uMT9kyKm4c2jt9AEwJVEI/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAWxyEV4PJHr0BZyDZCUgoU6uMT9kyKm4c2jt9AEwJVEI/Head", "@graph": [ { "@id": "https://w3id.org/np/RAWxyEV4PJHr0BZyDZCUgoU6uMT9kyKm4c2jt9AEwJVEI", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAWxyEV4PJHr0BZyDZCUgoU6uMT9kyKm4c2jt9AEwJVEI/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAWxyEV4PJHr0BZyDZCUgoU6uMT9kyKm4c2jt9AEwJVEI/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAWxyEV4PJHr0BZyDZCUgoU6uMT9kyKm4c2jt9AEwJVEI/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAWxyEV4PJHr0BZyDZCUgoU6uMT9kyKm4c2jt9AEwJVEI/pubinfo", "@graph": [ { "@id": "https://w3id.org/np/RAWxyEV4PJHr0BZyDZCUgoU6uMT9kyKm4c2jt9AEwJVEI", "http://purl.org/dc/terms/created": [ { "@value": "2026-07-16T06:49:04Z", "@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/RAWxyEV4PJHr0BZyDZCUgoU6uMT9kyKm4c2jt9AEwJVEI/get-faqs" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAhUrDrKt1MclIQXc7eCQPIv2G0pd6Mo5_nNVtmdOyMc8" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get 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/RAWxyEV4PJHr0BZyDZCUgoU6uMT9kyKm4c2jt9AEwJVEI/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": "n3G/AQ/X5QEEZp+CcPXIH+ArCASQsukgCC3UvsaXyeQcUvWxrGhAX6iMNsPq2Ge2d9xqLv9Cmk7lLb6716Qok1tTQB3Pq1LPfPBr03X2c65axPaRoQQkpTtQ/4Uvub2LrIHF6epu/gjbcCz4xQBfvHJvSxSGmWfOZgj/rHLBznY=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAWxyEV4PJHr0BZyDZCUgoU6uMT9kyKm4c2jt9AEwJVEI" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAWxyEV4PJHr0BZyDZCUgoU6uMT9kyKm4c2jt9AEwJVEI/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAWxyEV4PJHr0BZyDZCUgoU6uMT9kyKm4c2jt9AEwJVEI/get-faqs", "http://purl.org/dc/terms/description": [ { "@value": "This query returns the answered FAQ entries (questions and answers) of an entity, including source nanopub and date. Only entries published by an admin, maintainer, or member of the space that maintains the entity are returned; the maintaining space and its validated member public-key hashes are resolved server-side from the spaces repo (/repo/spaces), observers excluded. Entries currently typed as gen:UnansweredQuestion (placeholder stubs) are excluded. When several member-published nanopubs declare the same FAQ entry, only the most recent one is returned." } ], "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 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 ?title ?content ?date ?faq (?np as ?override_target) ?np where {\n service {\n select (group_concat(?mpk; separator=\" \") as ?memberPubkeys) where {\n graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?stateG . }\n values ?_resource_multi_iri {}\n graph ?stateG {\n ?_resource_multi_iri npa:isMaintainedBy? ?space .\n ?ri a gen:RoleInstantiation ; npa:forSpace ?space ; npa:forAgent ?agent ;\n npa:hasRoleType ?rt .\n filter(?rt 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 ?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 filter(contains(?memberPubkeys, ?pubkey))\n graph ?a {\n ?faq rdf:type schema:Question .\n ?faq rdfs:label ?title .\n ?faq gen:hasContent ?content .\n values ?_resource_multi_iri {}\n ?faq dct:isPartOf ?_resource_multi_iri .\n filter not exists { ?faq rdf:type gen:UnansweredQuestion }\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 filter(contains(?memberPubkeys, ?pubkey2))\n graph ?a2 {\n ?faq rdf:type schema:Question .\n }\n }\n}\norder by ?position ?title" } ] } ] } ]