. . . . "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." . . . "Get the two claims of a Consilience disagreement side by side" . . "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" . . "Tobias Kuhn" . "2026-11-20T12:16:55.863+01:00"^^ . . . . "Get the two claims of a Consilience disagreement side by side" . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" . "DjZ+PoyP7p0z0+xPe/FWcllh/5fD9F1Yeq5AXZAYS2N9jlYnbVxMCmLHn90LAXj5mKJ4uKCYbH6C0AUfdQqd4CsMSQ3eFZfykfCglMy3sYfMZsY5RnDpNSdQmO2SXcwNDnPGQ8yl3ZRs1Nz3uZG39g45iWw5q2X24da3aXbGqEw=" . . .