[ { "@id": "https://w3id.org/np/RAxSg08vlstq6syPhzzet6zmQCJopXr5n36G3oSu_T7Xk/pubinfo", "@graph": [ { "@id": "https://orcid.org/0000-0002-1267-0234", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Tobias Kuhn" } ] }, { "@id": "https://w3id.org/np/RAxSg08vlstq6syPhzzet6zmQCJopXr5n36G3oSu_T7Xk", "http://purl.org/dc/terms/created": [ { "@value": "2026-11-20T12:16:55.863+01:00", "@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/RAxSg08vlstq6syPhzzet6zmQCJopXr5n36G3oSu_T7Xk/get-consilience-disagreement-claims" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get the two claims of a Consilience disagreement side by side" } ], "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/RA-N4_kFxcruvBTlo1yJv29E4SLOXsx5KO_th69PprMrA" }, { "@id": "https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [ { "@id": "https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k" } ] }, { "@id": "https://w3id.org/np/RAxSg08vlstq6syPhzzet6zmQCJopXr5n36G3oSu_T7Xk/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": "DjZ+PoyP7p0z0+xPe/FWcllh/5fD9F1Yeq5AXZAYS2N9jlYnbVxMCmLHn90LAXj5mKJ4uKCYbH6C0AUfdQqd4CsMSQ3eFZfykfCglMy3sYfMZsY5RnDpNSdQmO2SXcwNDnPGQ8yl3ZRs1Nz3uZG39g45iWw5q2X24da3aXbGqEw=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAxSg08vlstq6syPhzzet6zmQCJopXr5n36G3oSu_T7Xk" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAxSg08vlstq6syPhzzet6zmQCJopXr5n36G3oSu_T7Xk/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAxSg08vlstq6syPhzzet6zmQCJopXr5n36G3oSu_T7Xk/get-consilience-disagreement-claims", "http://purl.org/dc/terms/description": [ { "@value": "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." } ], "http://purl.org/dc/terms/license": [ { "@id": "https://creativecommons.org/licenses/by/4.0/" } ], "@type": [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get the two claims of a Consilience disagreement side by side" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/full" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "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" } ] } ] }, { "@id": "https://w3id.org/np/RAxSg08vlstq6syPhzzet6zmQCJopXr5n36G3oSu_T7Xk/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAxSg08vlstq6syPhzzet6zmQCJopXr5n36G3oSu_T7Xk/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAxSg08vlstq6syPhzzet6zmQCJopXr5n36G3oSu_T7Xk/Head", "@graph": [ { "@id": "https://w3id.org/np/RAxSg08vlstq6syPhzzet6zmQCJopXr5n36G3oSu_T7Xk", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAxSg08vlstq6syPhzzet6zmQCJopXr5n36G3oSu_T7Xk/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAxSg08vlstq6syPhzzet6zmQCJopXr5n36G3oSu_T7Xk/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAxSg08vlstq6syPhzzet6zmQCJopXr5n36G3oSu_T7Xk/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] } ]