[ { "@id": "https://w3id.org/np/RAhWK15S--cGM4Hy7oiO5RA0zLpRAAGEnxGvgWbCGvikY#Head", "@graph": [ { "@id": "https://w3id.org/np/RAhWK15S--cGM4Hy7oiO5RA0zLpRAAGEnxGvgWbCGvikY", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAhWK15S--cGM4Hy7oiO5RA0zLpRAAGEnxGvgWbCGvikY#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAhWK15S--cGM4Hy7oiO5RA0zLpRAAGEnxGvgWbCGvikY#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAhWK15S--cGM4Hy7oiO5RA0zLpRAAGEnxGvgWbCGvikY#pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAhWK15S--cGM4Hy7oiO5RA0zLpRAAGEnxGvgWbCGvikY#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/RAhWK15S--cGM4Hy7oiO5RA0zLpRAAGEnxGvgWbCGvikY#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": "zV2s0S852AFPiCjo2RDLCpzG78DEdNMy1cDHeO6aZa0z0BaJ/m1e8ll5Bk18hNpUWEULyw6CGY0THgNe/Jeb5/BY1cpwtTICatxwRx9nNk+svZUHlE6vH/v0ttfIs2gX2TjVYpYKNe/7uDux1XjHKfnkKCm+t9PCtl20pLUJ0HY=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAhWK15S--cGM4Hy7oiO5RA0zLpRAAGEnxGvgWbCGvikY" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] }, { "@id": "https://w3id.org/np/RAhWK15S--cGM4Hy7oiO5RA0zLpRAAGEnxGvgWbCGvikY", "http://purl.org/dc/terms/created": [ { "@value": "2024-11-26T07:45:33.754Z", "@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/RAhWK15S--cGM4Hy7oiO5RA0zLpRAAGEnxGvgWbCGvikY#get-classes-for-thing" } ], "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/RAhWK15S--cGM4Hy7oiO5RA0zLpRAAGEnxGvgWbCGvikY#provenance", "@graph": [ { "@id": "https://w3id.org/np/RAhWK15S--cGM4Hy7oiO5RA0zLpRAAGEnxGvgWbCGvikY#assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAhWK15S--cGM4Hy7oiO5RA0zLpRAAGEnxGvgWbCGvikY#assertion", "@graph": [ { "@id": "https://w3id.org/np/RAhWK15S--cGM4Hy7oiO5RA0zLpRAAGEnxGvgWbCGvikY#get-classes-for-thing", "http://purl.org/dc/terms/description": [ { "@value": "This query returns the classes that have been assigned to the thing of the given URI." } ], "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 the classes assigned to a thing" } ], "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 dct: \r\nprefix rdfs: \r\nprefix np: \r\nprefix npa: \r\nprefix npx: \r\n\r\nselect ?class ?np ?label ?date ?pubkey where {\r\n graph ?g {\r\n ?_thing_iri a ?class .\r\n }\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 npa:hasGraph ?g .\r\n ?np dct:created ?date .\r\n optional { ?np rdfs:label ?label }\r\n }\r\n} order by desc(?date)" } ] } ] } ]