[ { "@id": "https://w3id.org/np/RAMf0TI_-Dt6VuWbHY9dCpGgdUGe_IPeW0_zyQTckO3js/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAMf0TI_-Dt6VuWbHY9dCpGgdUGe_IPeW0_zyQTckO3js/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAMf0TI_-Dt6VuWbHY9dCpGgdUGe_IPeW0_zyQTckO3js/Head", "@graph": [ { "@id": "https://w3id.org/np/RAMf0TI_-Dt6VuWbHY9dCpGgdUGe_IPeW0_zyQTckO3js", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAMf0TI_-Dt6VuWbHY9dCpGgdUGe_IPeW0_zyQTckO3js/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAMf0TI_-Dt6VuWbHY9dCpGgdUGe_IPeW0_zyQTckO3js/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAMf0TI_-Dt6VuWbHY9dCpGgdUGe_IPeW0_zyQTckO3js/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAMf0TI_-Dt6VuWbHY9dCpGgdUGe_IPeW0_zyQTckO3js/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAMf0TI_-Dt6VuWbHY9dCpGgdUGe_IPeW0_zyQTckO3js/list-consilience-disagreements", "http://purl.org/dc/terms/description": [ { "@value": "Lists the disagreements (cv:Disagreement) between theory claims, one row per disagreement, grouped by the dimension of commitment, with the two claims, the observable and the testability. Only records signed by a current admin, maintainer or member of the space count, each in its newest valid version. Labels come from the record's pubinfo where it gives one, else from the record label the Consilience exporter writes, else from the term's IRI." } ], "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": "List the disagreements of a Consilience space" } ], "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 ?dimension_group ?disagreement ?disagreement_label ?claim_A ?claim_A_label ?claim_B ?claim_B_label\n ?observable ?testability ?np ?np_label where {\n {\n select ?disagreement ?np ?claim_A ?claim_B\n (sample(?dimL) as ?dimension) (sample(?testL) as ?testability) (sample(?ident) as ?identifier)\n (group_concat(distinct ?obsL; separator=\", \") as ?observables) (sample(?obsParsed) as ?observableParsed)\n (max(?aRank) as ?aWin) (max(?bRank) as ?bWin)\n where {\n service {\n select (group_concat(distinct ?mpk; separator=\" \") as ?memberKeys) where {\n values ?_space_multi_iri {}\n graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?sg . }\n graph ?sg {\n ?_space_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 graph npa:graph { ?np npx:hasNanopubType cv:Disagreement . }\n graph npa:graph {\n ?np npx:introduces ?disagreement ; 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 a cv:Disagreement . }\n optional {\n graph npa:graph {\n ?newer npx:introduces ?disagreement ; 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 cv:claimA ?claim_A ; cv:claimB ?claim_B ; cv:dimension ?dim ; cv:testability ?test . }\n optional { graph ?pi { ?np rdfs:label ?npl0 } }\n bind(coalesce(?npl0, \"\") as ?npl)\n optional { graph ?a { ?disagreement dct:identifier ?ident } }\n optional { graph ?pi { ?dim rdfs:label|nt:hasLabelFromApi ?dimPi } }\n optional { graph ?pi { ?test rdfs:label|nt:hasLabelFromApi ?testPi } }\n bind(if(regex(?npl, \"^Disagreement .+ on ([^:]+): .*$\"), replace(?npl, \"^Disagreement .+ on ([^:]+): .*$\", \"$1\"), \"\") as ?dimParsed)\n bind(coalesce(?dimPi, if(?dimParsed != \"\", ?dimParsed, lcase(replace(replace(str(?dim), \"^.*[/#]\", \"\"), \"([a-z0-9])([A-Z])\", \"$1 $2\")))) as ?dimL)\n bind(coalesce(?testPi, lcase(replace(replace(str(?test), \"^.*[/#]\", \"\"), \"([a-z0-9])([A-Z])\", \"$1 $2\"))) as ?testL)\n bind(if(regex(?npl, \"^.*[(]observable: (.+)[)]$\"), replace(?npl, \"^.*[(]observable: (.+)[)]$\", \"$1\"), \"\") as ?obsParsed)\n optional { graph ?a { ?disagreement cv:observable ?obs } }\n bind(coalesce(?obs, ) as ?obsKey)\n optional { graph ?pi { ?obsKey rdfs:label|nt:hasLabelFromApi ?obsPi } }\n bind(if(bound(?obs), coalesce(?obsPi, lcase(replace(replace(str(?obs), \"^.*[/#]\", \"\"), \"([a-z0-9])([A-Z])\", \"$1 $2\"))), \"\") as ?obsL)\n optional {\n graph npa:graph {\n ?anp npx:introduces ?claim_A ; np:hasPublicationInfo ?api ; dct:created ?adate ; npa:hasValidSignatureForPublicKeyHash ?apk .\n filter not exists { ?ainv npx:invalidates ?anp ; npa:hasValidSignatureForPublicKeyHash ?apk . }\n }\n filter(contains(?memberKeys, ?apk))\n graph ?api { ?anp rdfs:label ?anpl }\n bind(concat(str(?adate), \">\", if(regex(?anpl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\"), replace(?anpl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\", \"$3 ($1)\"), ?anpl)) as ?aRank)\n }\n optional {\n graph npa:graph {\n ?bnp npx:introduces ?claim_B ; np:hasPublicationInfo ?bpi ; dct:created ?bdate ; npa:hasValidSignatureForPublicKeyHash ?bpk .\n filter not exists { ?binv npx:invalidates ?bnp ; npa:hasValidSignatureForPublicKeyHash ?bpk . }\n }\n filter(contains(?memberKeys, ?bpk))\n graph ?bpi { ?bnp rdfs:label ?bnpl }\n bind(concat(str(?bdate), \">\", if(regex(?bnpl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\"), replace(?bnpl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\", \"$3 ($1)\"), ?bnpl)) as ?bRank)\n }\n } group by ?disagreement ?np ?claim_A ?claim_B\n }\n bind(concat(ucase(substr(?dimension, 1, 1)), substr(?dimension, 2)) as ?dimension_group)\n bind(if(bound(?identifier), replace(str(?identifier), \"[|]\", \" vs \"), \"disagreement\") as ?disagreement_label)\n bind(if(bound(?aWin), strafter(?aWin, \">\"), str(?claim_A)) as ?claim_A_label)\n bind(if(bound(?bWin), strafter(?bWin, \">\"), str(?claim_B)) as ?claim_B_label)\n bind(if(?observableParsed != \"\", ?observableParsed, ?observables) as ?observable)\n bind(\"^\" as ?np_label)\n}\norder by ?dimension_group ?claim_A_label ?claim_B_label" } ] } ] }, { "@id": "https://w3id.org/np/RAMf0TI_-Dt6VuWbHY9dCpGgdUGe_IPeW0_zyQTckO3js/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/RAMf0TI_-Dt6VuWbHY9dCpGgdUGe_IPeW0_zyQTckO3js", "http://purl.org/dc/terms/created": [ { "@value": "2026-11-20T12:16:55.885+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/RAMf0TI_-Dt6VuWbHY9dCpGgdUGe_IPeW0_zyQTckO3js/list-consilience-disagreements" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "List the disagreements of a Consilience space" } ], "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/RAMf0TI_-Dt6VuWbHY9dCpGgdUGe_IPeW0_zyQTckO3js/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": "H44pJeVSHqn/vp7ZpE3BEUatNsEThOFh5tQodsF9Bb5EFCq80G+DFwWqCtAHS++cDGcdXxck4915X2eAJa2t5wXLT3LLqiM3WSN6HVVw1ydfmE952UqyNi+I8/4H7c4PVNj5t2aUaSMIAEBTlIW9y5vvfW6ShtgZawp3ybgfkao=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAMf0TI_-Dt6VuWbHY9dCpGgdUGe_IPeW0_zyQTckO3js" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] } ]