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: "RAxSg08vlstq6syPhzzet6zmQCJopXr5n36G3oSu_T7Xk" } } rows { namespace { name: "this" value { prefix_id: 1 } } } rows { prefix { value: "https://w3id.org/np/RAxSg08vlstq6syPhzzet6zmQCJopXr5n36G3oSu_T7Xk/" } } 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-consilience-disagreement-claims" } } rows { name { value: "description" } } rows { quad { s_iri { prefix_id: 2 } p_iri { prefix_id: 5 } o_literal { lex: "Shows claim A and claim B of a disagreement (cv:Disagreement) in two columns: claim card, theory, position, polarity, claim statement and sources. The disagreement and both claim records must be signed by a current admin, maintainer or member of the context space; the newest valid version of each is used." } g_iri { prefix_id: 2 name_id: 4 } } } rows { name { value: "license" } } rows { prefix { value: "https://creativecommons.org/licenses/by/4.0/" } } rows { quad { p_iri { prefix_id: 5 name_id: 14 } o_iri { prefix_id: 14 name_id: 2 } } } rows { name { value: "grlc-query" } } rows { quad { p_iri { prefix_id: 13 name_id: 10 } o_iri { prefix_id: 4 name_id: 15 } } } rows { name { value: "label" } } rows { quad { p_iri { prefix_id: 9 } o_literal { lex: "Get the two claims of a Consilience disagreement side by side" } } } 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 rdf: \nprefix rdfs: \nprefix dct: \nprefix foaf: \nprefix prov: \nprefix np: \nprefix npa: \nprefix npx: \nprefix nt: \nprefix gen: \nprefix cv: \n\nselect ?Property_noheader ?claim_A ?claim_A_label ?claim_B ?claim_B_label where {\n {\n select ?ord ?Property_noheader (max(?vA) as ?claim_A) (max(?lA) as ?claim_A_label)\n (max(?vB) as ?claim_B) (max(?lB) as ?claim_B_label)\n where {\n {\n select ?side ?c ?ca ?cpi ?cnpl ?firstDoc ?docsLabel where {\n {\n select ?memberKeys ?claimA ?claimB where {\n service {\n select (group_concat(distinct ?mpk; separator=\" \") as ?memberKeys) where {\n values ?__context_multi_iri {}\n graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?sg . }\n graph ?sg {\n ?__context_multi_iri npa:isMaintainedBy? ?space .\n ?ri a gen:RoleInstantiation ; npa:forSpace ?space ; npa:hasRoleType ?tier ; npa:forAgent ?agent .\n filter(?tier in (gen:AdminRole, gen:MaintainerRole, gen:MemberRole))\n ?acct a npa:AccountState ; npa:agent ?agent ; npa:pubkey ?mpk .\n }\n }\n }\n values ?_disagreement_multi_iri {}\n graph npa:graph {\n ?np npx:introduces ?_disagreement_multi_iri ; np:hasAssertion ?a ; np:hasProvenance ?prov ; np:hasPublicationInfo ?pi ;\n dct:created ?date ; npa:hasValidSignatureForPublicKeyHash ?pk .\n filter not exists { ?inv npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pk . }\n filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . }\n }\n filter(contains(?memberKeys, ?pk))\n graph ?a { ?_disagreement_multi_iri a cv:Disagreement . }\n optional {\n graph npa:graph {\n ?newer npx:introduces ?_disagreement_multi_iri ; dct:created ?newerDate ; npa:hasValidSignatureForPublicKeyHash ?newerPk .\n filter not exists { ?newerInv npx:invalidates ?newer ; npa:hasValidSignatureForPublicKeyHash ?newerPk . }\n }\n filter(contains(?memberKeys, ?newerPk) && concat(str(?newerDate), \">\", str(?newer)) > concat(str(?date), \">\", str(?np)))\n }\n filter(!bound(?newer))\n graph ?a { ?_disagreement_multi_iri cv:claimA ?claimA ; cv:claimB ?claimB . }\n }\n }\n values ?side { \"A\" \"B\" }\n bind(if(?side = \"A\", ?claimA, ?claimB) as ?c)\n graph npa:graph {\n ?cnp npx:introduces ?c ; np:hasAssertion ?ca ; np:hasProvenance ?cprov ; np:hasPublicationInfo ?cpi ;\n dct:created ?cdate ; npa:hasValidSignatureForPublicKeyHash ?pkC .\n filter not exists { ?invC npx:invalidates ?cnp ; npa:hasValidSignatureForPublicKeyHash ?pkC . }\n filter not exists { ?cnp npx:hasNanopubType npx:ExampleNanopub . }\n }\n filter(contains(?memberKeys, ?pkC))\n graph ?ca { ?c a cv:TheoryClaim . }\n optional {\n graph npa:graph {\n ?newerC npx:introduces ?c ; dct:created ?newerDateC ; npa:hasValidSignatureForPublicKeyHash ?newerPkC .\n filter not exists { ?newerInvC npx:invalidates ?newerC ; npa:hasValidSignatureForPublicKeyHash ?newerPkC . }\n }\n filter(contains(?memberKeys, ?newerPkC) && concat(str(?newerDateC), \">\", str(?newerC)) > concat(str(?cdate), \">\", str(?cnp)))\n }\n filter(!bound(?newerC))\n optional { graph ?cpi { ?cnp rdfs:label ?cnpl0 } }\n bind(coalesce(?cnpl0, \"\") as ?cnpl)\n optional {\n {\n select ?c ?ca (min(str(?doc0)) as ?firstDoc) (group_concat(?docLabel0; separator=\"; \") as ?docsLabel) where {\n {\n select ?c ?ca ?doc0 (group_concat(distinct ?page; separator=\", \") as ?pages) where {\n graph ?ca { ?c cv:restsOn ?loc . ?loc dct:source ?doc0 . }\n optional { graph ?ca { ?loc cv:pageLocator ?page } }\n } group by ?c ?ca ?doc0\n }\n bind(concat(replace(str(?doc0), \"^https?://(dx[.])?doi[.]org/\", \"\"),\n if(?pages != \"\", concat(\" (\", ?pages, \")\"), \"\")) as ?docLabel0)\n } group by ?c ?ca\n }\n }\n }\n }\n graph ?ca { ?c cv:theory ?theory ; cv:position ?pos . }\n optional { graph ?cpi { ?theory rdfs:label|nt:hasLabelFromApi ?theoryPi } }\n optional { graph ?cpi { ?pos rdfs:label|nt:hasLabelFromApi ?posPi } }\n optional { graph ?ca { ?c cv:claimStatement ?statement } }\n optional { graph ?ca { ?c cv:polarity ?pol } }\n optional { graph ?ca { ?c dct:identifier ?ident } }\n values (?k ?Property_noheader ?ord) {\n (\"claim\" \"Claim card:\" 1)\n (\"theory\" \"Theory:\" 2)\n (\"position\" \"Position:\" 3)\n (\"polarity\" \"Polarity:\" 4)\n (\"statement\" \"Claim:\" 5)\n (\"sources\" \"Sources:\" 6)\n }\n bind(if(?k = \"claim\", str(?c),\n if(?k = \"theory\", str(?theory),\n if(?k = \"position\", coalesce(?posPi, if(if(regex(?cnpl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\"), replace(?cnpl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\", \"$3\"), \"\") != \"\", if(regex(?cnpl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\"), replace(?cnpl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\", \"$3\"), \"\"), lcase(replace(replace(str(?pos), \"^.*[/#]\", \"\"), \"([a-z0-9])([A-Z])\", \"$1 $2\")))),\n if(?k = \"polarity\", if(bound(?pol), lcase(replace(replace(str(?pol), \"^.*[/#]\", \"\"), \"([a-z0-9])([A-Z])\", \"$1 $2\")), \"\"),\n if(?k = \"statement\", if(bound(?statement), str(?statement), \"\"), coalesce(?firstDoc, \"\")))))) as ?v)\n bind(if(?k = \"claim\", if(bound(?ident), str(?ident), \"claim card\"),\n if(?k = \"theory\", coalesce(?theoryPi, if(if(regex(?cnpl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\"), replace(?cnpl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\", \"$1\"), \"\") != \"\", if(regex(?cnpl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\"), replace(?cnpl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\", \"$1\"), \"\"), lcase(replace(replace(str(?theory), \"^.*[/#]\", \"\"), \"([a-z0-9])([A-Z])\", \"$1 $2\")))),\n if(?k = \"sources\", coalesce(?docsLabel, \"\"), \"\"))) as ?l)\n bind(if(?side = \"A\", ?v, \"\") as ?vA)\n bind(if(?side = \"A\", ?l, \"\") as ?lA)\n bind(if(?side = \"B\", ?v, \"\") as ?vB)\n bind(if(?side = \"B\", ?l, \"\") as ?lB)\n } group by ?ord ?Property_noheader\n }\n filter(?claim_A != \"\" || ?claim_B != \"\")\n}\norder by ?ord" } } } 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: 20 } 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: 21 } 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: 23 } o_literal { lex: "2026-11-20T12:16:55.863+01:00" datatype: 1 } } } rows { name { value: "creator" } } rows { quad { p_iri { } o_iri { prefix_id: 10 name_id: 21 } } } rows { quad { p_iri { prefix_id: 5 name_id: 14 } o_iri { prefix_id: 14 name_id: 2 } } } rows { name { value: "embeds" } } rows { quad { p_iri { prefix_id: 7 name_id: 25 } o_iri { prefix_id: 2 name_id: 12 } } } rows { quad { p_iri { prefix_id: 9 name_id: 16 } o_literal { lex: "Get the two claims of a Consilience disagreement side by side" } } } rows { name { value: "wasCreatedFromProvenanceTemplate" } } rows { name { value: "RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU" } } rows { quad { p_iri { prefix_id: 6 name_id: 26 } o_iri { prefix_id: 1 } } } 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: "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: "DjZ+PoyP7p0z0+xPe/FWcllh/5fD9F1Yeq5AXZAYS2N9jlYnbVxMCmLHn90LAXj5mKJ4uKCYbH6C0AUfdQqd4CsMSQ3eFZfykfCglMy3sYfMZsY5RnDpNSdQmO2SXcwNDnPGQ8yl3ZRs1Nz3uZG39g45iWw5q2X24da3aXbGqEw=" } } } 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: 38 } o_iri { prefix_id: 10 name_id: 21 } } }