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: "RAKKvoW87RRMfNEZF973EH-CGBDlESxze7TRd3CD_cUeI" } } rows { namespace { name: "this" value { prefix_id: 1 } } } rows { prefix { value: "https://w3id.org/np/RAKKvoW87RRMfNEZF973EH-CGBDlESxze7TRd3CD_cUeI/" } } 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-feedback" } } rows { name { value: "description" } } rows { quad { s_iri { prefix_id: 2 } p_iri { prefix_id: 5 } o_literal { lex: "Lists the feedback (instances of the Feedback class, published with the \"Giving feedback to organizers\" template) that is addressed to a given space or maintained resource, with its kind (went well / could be improved / suggestion for next time), most up-voted first, then oldest first. An up-vote is a schema:VoteAction (published with the \"Up-voting an idea or feedback\" template) whose schema:object is the feedback; the count is the number of distinct signing keys with a valid, non-retracted up-vote, so each person counts once and a retracted up-vote no longer counts. Example nanopublications and superseded or invalidated feedback are ignored. The hidden action columns are computed against the viewer\'s local key (?__LOCALPUBKEY_multi): upvote_target holds the feedback unless the viewer has already up-voted it, withdraw_target holds the viewer\'s own up-vote nanopublication (to retract it), and edit_target holds the feedback nanopublication if the viewer\'s key signed it (to supersede it)." } 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 the feedback given to the organizers of a resource with up-votes" } } } 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 schema: \nprefix foaf: \nprefix fb: \n\nselect ?kind ?feedback ?feedback_label ?details ?upvotes ?author ?author_label ?date ?np ?np_label ?upvote_target ?withdraw_target ?edit_target\nwhere {\n {\n select ?feedback ?np ?a ?pk ?created\n (min(str(?lbl)) as ?feedback_label) (sample(?desc) as ?details) (min(str(?k)) as ?kindS)\n (min(str(?auth)) as ?authS) (min(str(?aname)) as ?author_label)\n where {\n {\n select ?feedback ?np ?a ?pk ?created where {\n values ?_target_multi_iri {}\n graph ?a { ?feedback a fb:Feedback ; gen:isRelevantFor ?_target_multi_iri . }\n graph npa:graph {\n ?np np:hasAssertion ?a ; npa:hasValidSignatureForPublicKey ?pk ; npx:introduces ?feedback ; dct:created ?created .\n filter not exists { ?inv npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pk . }\n filter not exists { ?newer npx:supersedes ?np . }\n filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . }\n }\n }\n }\n graph ?a { ?feedback rdfs:label ?lbl . }\n optional { graph ?a { ?feedback dct:type ?k . } }\n optional { graph ?a { ?feedback dct:description ?desc . } }\n graph npa:graph { ?np np:hasPublicationInfo ?pi . }\n optional { graph ?pi { ?np dct:creator ?auth . } }\n optional { graph ?pi { ?auth foaf:name ?aname . } }\n } group by ?feedback ?np ?a ?pk ?created\n }\n optional {\n select ?feedback (count(distinct ?vpk) as ?nvotes) where {\n graph ?va { ?vote a schema:VoteAction ; schema:object ?feedback . }\n graph npa:graph {\n ?vnp np:hasAssertion ?va ; npa:hasValidSignatureForPublicKey ?vpk .\n filter not exists { ?vinv npx:invalidates ?vnp ; npa:hasValidSignatureForPublicKey ?vpk . }\n filter not exists { ?vnp npx:hasNanopubType npx:ExampleNanopub . }\n }\n } group by ?feedback\n }\n optional {\n select ?feedback (max(str(?mvnp)) as ?myvote) where {\n values ?__LOCALPUBKEY_multi {}\n graph ?mva { ?mvote a schema:VoteAction ; schema:object ?feedback . }\n graph npa:graph {\n ?mvnp np:hasAssertion ?mva ; npa:hasValidSignatureForPublicKey ?mvpk .\n filter not exists { ?minv npx:invalidates ?mvnp ; npa:hasValidSignatureForPublicKey ?mvpk . }\n }\n filter(coalesce(str(?mvpk) = str(?__LOCALPUBKEY_multi), false))\n } group by ?feedback\n }\n values ?__LOCALPUBKEY_multi {}\n bind(if(?kindS = str(fb:WentWell), \"\360\237\221\215 went well\",\n if(?kindS = str(fb:ToImprove), \"\360\237\224\247 could be improved\",\n if(?kindS = str(fb:SuggestionForNextTime), \"\360\237\222\241 suggestion for next time\", \"\"))) as ?kind)\n bind(coalesce(?nvotes, 0) as ?upvotes)\n bind(if(bound(?authS), iri(?authS), ?authS) as ?author)\n bind(substr(str(?created), 1, 10) as ?date)\n bind(\"^\" as ?np_label)\n bind(if(bound(?myvote), \"\", str(?feedback)) as ?upvote_target)\n bind(coalesce(?myvote, \"\") as ?withdraw_target)\n bind(if(coalesce(str(?pk) = str(?__LOCALPUBKEY_multi), false), str(?np), \"\") as ?edit_target)\n}\norder by desc(?upvotes) ?created" } } } 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-09-15T08:47:33Z" 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 { quad { p_iri { prefix_id: 9 name_id: 17 } o_literal { lex: "Get the feedback given to the organizers of a resource with up-votes" } } } rows { name { value: "wasCreatedFromProvenanceTemplate" } } rows { prefix { id: 8 value: "http://purl.org/np/" } } rows { name { value: "RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM" } } rows { quad { p_iri { prefix_id: 6 name_id: 27 } o_iri { prefix_id: 8 } } } rows { name { value: "wasCreatedFromPubinfoTemplate" } } rows { name { value: "RA-N4_kFxcruvBTlo1yJv29E4SLOXsx5KO_th69PprMrA" } } rows { quad { p_iri { prefix_id: 6 } o_iri { prefix_id: 1 } } } rows { name { value: "RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" } } rows { quad { o_iri { } } } rows { name { value: "RARJj78P72NR5edKOnu_f4ePE9NYYuW2m2pM-fEoobMBk" } } 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: "LMpz4mOoEayx502fWFiHyatNUhpmSIBol9LcHhKWbap2UFzxfv8WugP/tJ8cFf0zShlDQal6Eaj7Qo1lYaZlniDDOIWWK/cFNw8B6MUdt3V/mM5rWmK+Z9AMT8BXR3bmNeWPK9cEA4FaTumkjgtowU8HWCBhz9hu3ViwEINNaDo=" } } } 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: 40 } o_iri { prefix_id: 10 name_id: 22 } } }