[ { "@id": "https://w3id.org/np/RAz76URtDXiLs-16LwzK-zNyzbIugXW8OjhUQdh5jPdtw#provenance", "@graph": [ { "@id": "https://w3id.org/np/RAz76URtDXiLs-16LwzK-zNyzbIugXW8OjhUQdh5jPdtw#assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAz76URtDXiLs-16LwzK-zNyzbIugXW8OjhUQdh5jPdtw#Head", "@graph": [ { "@id": "https://w3id.org/np/RAz76URtDXiLs-16LwzK-zNyzbIugXW8OjhUQdh5jPdtw", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAz76URtDXiLs-16LwzK-zNyzbIugXW8OjhUQdh5jPdtw#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAz76URtDXiLs-16LwzK-zNyzbIugXW8OjhUQdh5jPdtw#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAz76URtDXiLs-16LwzK-zNyzbIugXW8OjhUQdh5jPdtw#pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAz76URtDXiLs-16LwzK-zNyzbIugXW8OjhUQdh5jPdtw#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/RAz76URtDXiLs-16LwzK-zNyzbIugXW8OjhUQdh5jPdtw#sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "QbHGcdOX3wTGbNhQiR5VtU9r74uZZp92ipfC8+XhotvMWxZKGkTi6nf/sbFTeau6sLet2PEJKL8crNJy76/kGbFcpZHXzXBzihVP+KO94V3UGdFAC1cKgeHJgvG+/fyBW9nqD5Y5kVZVDtlcenlUbJc+F3fNjaRK/Kq0fSPiTq0=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAz76URtDXiLs-16LwzK-zNyzbIugXW8OjhUQdh5jPdtw" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] }, { "@id": "https://w3id.org/np/RAz76URtDXiLs-16LwzK-zNyzbIugXW8OjhUQdh5jPdtw", "http://purl.org/dc/terms/created": [ { "@value": "2025-03-11T11:06:47.124Z", "@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/introduces": [ { "@id": "https://w3id.org/np/RAz76URtDXiLs-16LwzK-zNyzbIugXW8OjhUQdh5jPdtw#get-fip-supercommunities" } ], "http://purl.org/nanopub/x/wasCreatedAt": [ { "@id": "https://nanodash.knowledgepixels.com/" } ], "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/RA0J4vUn_dekg-U1kK3AOEt02p9mT2WO03uGxLDec1jLw" }, { "@id": "https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [ { "@id": "https://w3id.org/np/RAYvkQOT9-zrcql5lzMW9OpiPjA9UvSh-RezaVwYmWvns" } ] } ] }, { "@id": "https://w3id.org/np/RAz76URtDXiLs-16LwzK-zNyzbIugXW8OjhUQdh5jPdtw#assertion", "@graph": [ { "@id": "https://w3id.org/np/RAz76URtDXiLs-16LwzK-zNyzbIugXW8OjhUQdh5jPdtw#get-fip-supercommunities", "http://purl.org/dc/terms/description": [ { "@value": "This query returns a list of all FIP communities that have supercommunities." } ], "http://purl.org/dc/terms/license": [ { "@id": "http://www.apache.org/licenses/LICENSE-2.0" } ], "@type": [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get FIP supercommunities" } ], "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 rdfs: \r\nprefix dct: \r\nprefix np: \r\nprefix npa: \r\nprefix npx: \r\nprefix fip: \r\n\r\nselect distinct ?community (group_concat(distinct ?supercommunity; separator=\" \") as ?supercommunities) (group_concat(distinct ?sc; separator=\" \") as ?sc) where {\r\n graph npa:graph {\r\n ?np npa:hasValidSignatureForPublicKey ?pubkey .\r\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . }\r\n ?np npx:hasNanopubType fip:FAIR-Implementation-Community .\r\n ?np (npx:introduces|npx:describes) ?community .\r\n ?np np:hasAssertion ?a .\r\n }\r\n graph ?a {\r\n ?community dct:isPartOf ?supercommunity .\r\n }\r\n optional {\r\n graph npa:graph {\r\n ?disapproval np:hasAssertion ?da .\r\n ?disapproval npa:hasValidSignatureForPublicKey ?dpubkey .\r\n filter not exists { ?disapproval_x npx:invalidates ?disapproval ; npa:hasValidSignatureForPublicKey ?dpubkey . }\r\n }\r\n graph {\r\n ?dpubkeys npx:hasPublicKey ?dpubkey .\r\n }\r\n graph ?da {\r\n ?dsomebody ( npx:disapproves-of | npx:disapprovesOf ) ?np .\r\n }\r\n } filter(!bound(?disapproval)) # for some reason this is much faster than \"filter not exists\"\r\n bind(replace(str(?supercommunity), \".*#\", \"\") as ?sc)\r\n} group by ?community" } ] } ] } ]