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: "RAxbKCATXh8o8iFUnoVSMAN4rCOK4lBOehb7kYU_LOxX0" } } rows { namespace { name: "this" value { prefix_id: 1 } } } rows { prefix { value: "https://w3id.org/np/RAxbKCATXh8o8iFUnoVSMAN4rCOK4lBOehb7kYU_LOxX0/" } } 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: "list-consilience-theory-claims" } } rows { name { value: "description" } } rows { quad { s_iri { prefix_id: 2 } p_iri { prefix_id: 5 } o_literal { lex: "Lists the theory claims (cv:TheoryClaim), one row per claim, grouped by theory, with dimension, position, the source documents with their page locators and the number of disagreements the claim takes part in. Only records signed by a current admin, maintainer or member of the space count, each in its newest valid version." } 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: "List the theory claims of a Consilience space" } } } 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 ?theory_group ?claim ?claim_label ?dimension ?sources_multi_iri ?sources_label_multi ?disagreements\n ?identifier ?np ?np_label where {\n {\n select ?claim ?np ?theoryL ?dimL ?posL ?identifier ?disagreements\n (group_concat(str(?doc); separator=\" \") as ?sources_multi_iri)\n (group_concat(?docLabel; separator=\"\\n\") as ?sources_label_multi)\n where {\n {\n select ?claim ?np ?theoryL ?dimL ?posL ?identifier ?disagreements ?doc\n (group_concat(distinct ?page; separator=\", \") as ?pages)\n where {\n {\n select ?claim ?np ?a (sample(?theoryL0) as ?theoryL) (sample(?dimL0) as ?dimL) (sample(?posL0) as ?posL)\n (sample(?ident) as ?identifier) (count(distinct ?d) as ?disagreements)\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:TheoryClaim . }\n graph npa:graph {\n ?np npx:introduces ?claim ; 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 { ?claim a cv:TheoryClaim . }\n optional {\n graph npa:graph {\n ?newer npx:introduces ?claim ; 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 { ?claim cv:theory ?theory ; cv:dimension ?dim ; cv:position ?pos . }\n optional { graph ?a { ?claim cv:polarity ?pol } }\n optional { graph ?a { ?claim dct:identifier ?ident } }\n optional { graph ?pi { ?np rdfs:label ?npl0 } }\n bind(coalesce(?npl0, \"\") as ?npl)\n optional { graph ?pi { ?theory rdfs:label|nt:hasLabelFromApi ?theoryPi } }\n optional { graph ?pi { ?dim rdfs:label|nt:hasLabelFromApi ?dimPi } }\n optional { graph ?pi { ?pos rdfs:label|nt:hasLabelFromApi ?posPi } }\n bind(coalesce(?theoryPi, if(if(regex(?npl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\"), replace(?npl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\", \"$1\"), \"\") != \"\", if(regex(?npl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\"), replace(?npl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\", \"$1\"), \"\"), lcase(replace(replace(str(?theory), \"^.*[/#]\", \"\"), \"([a-z0-9])([A-Z])\", \"$1 $2\")))) as ?theoryL0)\n bind(coalesce(?dimPi, if(if(regex(?npl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\"), replace(?npl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\", \"$2\"), \"\") != \"\", if(regex(?npl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\"), replace(?npl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\", \"$2\"), \"\"), lcase(replace(replace(str(?dim), \"^.*[/#]\", \"\"), \"([a-z0-9])([A-Z])\", \"$1 $2\")))) as ?dimL0)\n bind(concat(if(coalesce(?pol = cv:Denies, false), \"not: \", \"\"),\n coalesce(?posPi, if(if(regex(?npl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\"), replace(?npl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\", \"$3\"), \"\") != \"\", if(regex(?npl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\"), replace(?npl, \"^Theory claim [^ ]+ [(]([^)]+)[)]: ([^=]+) = (.+)$\", \"$3\"), \"\"), lcase(replace(replace(str(?pos), \"^.*[/#]\", \"\"), \"([a-z0-9])([A-Z])\", \"$1 $2\"))))) as ?posL0)\n optional {\n graph ?da { ?d cv:claimA|cv:claimB ?claim }\n graph npa:graph {\n ?dnp np:hasAssertion ?da ; npx:introduces ?d ; npa:hasValidSignatureForPublicKeyHash ?dpk .\n filter not exists { ?dinv npx:invalidates ?dnp ; npa:hasValidSignatureForPublicKeyHash ?dpk . }\n filter not exists { ?dnp npx:hasNanopubType npx:ExampleNanopub . }\n }\n filter(contains(?memberKeys, ?dpk))\n }\n } group by ?claim ?np ?a\n }\n optional {\n graph ?a { ?claim cv:restsOn ?loc . ?loc dct:source ?doc . }\n optional { graph ?a { ?loc cv:pageLocator ?page } }\n }\n } group by ?claim ?np ?theoryL ?dimL ?posL ?identifier ?disagreements ?doc\n }\n bind(if(bound(?doc), concat(replace(str(?doc), \"^https?://(dx[.])?doi[.]org/\", \"\"),\n if(?pages != \"\", concat(\" (\", ?pages, \")\"), \"\")), \"\") as ?docLabel)\n } group by ?claim ?np ?theoryL ?dimL ?posL ?identifier ?disagreements\n }\n bind(?theoryL as ?theory_group)\n bind(concat(?posL, \" (\", ?theoryL, \")\") as ?claim_label)\n bind(?dimL as ?dimension)\n bind(\"^\" as ?np_label)\n}\norder by ?theory_group ?dimension ?claim_label" } } } 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.896+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: "List the theory claims of a Consilience space" } } } 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: "KsOaB2U46aOrgWbVa16obvSaQIP1pyi/P0KJP+mDi2Os4kNWAKEjZfx0xwqO2A5Imgy2l2wbL56PsMXcuX+YvEdk1ezDWxUTsiFVKN9tyOWJQ/UIrBCcsVrppy6TIkIjAJ4I2AFNKE4LvfOAeTTQJKASzOvgF1tocrhW3vu5ChE=" } } } 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 } } }