[ { "@id": "https://w3id.org/np/RAm6IS2F4q8Y2vNP7XlhGbUUE7OLW60mXUYJ7mgjAbUXE/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAm6IS2F4q8Y2vNP7XlhGbUUE7OLW60mXUYJ7mgjAbUXE/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAm6IS2F4q8Y2vNP7XlhGbUUE7OLW60mXUYJ7mgjAbUXE/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/RAm6IS2F4q8Y2vNP7XlhGbUUE7OLW60mXUYJ7mgjAbUXE", "http://purl.org/dc/terms/created": [ { "@value": "2026-02-09T11:01:56.528Z", "@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/RAm6IS2F4q8Y2vNP7XlhGbUUE7OLW60mXUYJ7mgjAbUXE/get-urban-organism-associations" } ], "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/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k" } ] }, { "@id": "https://w3id.org/np/RAm6IS2F4q8Y2vNP7XlhGbUUE7OLW60mXUYJ7mgjAbUXE/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": "gPA4X59d4EhGdpkFU//RcXmGp6slrUGhRlVY7Ho18BoAxg0a8cbYYhOxswCy78thsCH30XUL/SKp6XUpfwSsCUQ1MuANLsEsKltxzlDmCZcEiFdoRgm36F+xSrgQQ4AZWRgmTVhPTgBAjPoo4fvDq7uANiJCzEn9yQfphly7lqE=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAm6IS2F4q8Y2vNP7XlhGbUUE7OLW60mXUYJ7mgjAbUXE" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAm6IS2F4q8Y2vNP7XlhGbUUE7OLW60mXUYJ7mgjAbUXE/Head", "@graph": [ { "@id": "https://w3id.org/np/RAm6IS2F4q8Y2vNP7XlhGbUUE7OLW60mXUYJ7mgjAbUXE", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAm6IS2F4q8Y2vNP7XlhGbUUE7OLW60mXUYJ7mgjAbUXE/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAm6IS2F4q8Y2vNP7XlhGbUUE7OLW60mXUYJ7mgjAbUXE/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAm6IS2F4q8Y2vNP7XlhGbUUE7OLW60mXUYJ7mgjAbUXE/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAm6IS2F4q8Y2vNP7XlhGbUUE7OLW60mXUYJ7mgjAbUXE/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAm6IS2F4q8Y2vNP7XlhGbUUE7OLW60mXUYJ7mgjAbUXE/get-urban-organism-associations", "http://purl.org/dc/terms/description": [ { "@value": "This query returns all organism associations to the environment of \"city\"." } ], "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 urban organism associations" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/type/c00cb1067aea80b382c09acc506ffa422a016b2ec3354bd6fc77335a44b1b4b5" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "prefix rdfs: \r\nprefix dct: \r\nprefix np: \r\nprefix npa: \r\nprefix npx: \r\nprefix biolink: \r\nprefix biodiv: \r\nprefix nt: \r\n\r\nselect ?relation ?relation_label ?taxon_name ?taxon_name_label ?creator ?date ?np (\"^\" as ?np_label) where {\r\n graph npa:graph {\r\n ?np npx:hasNanopubType biodiv:OrganismToEnvironmentAssociation .\r\n ?np npa:hasValidSignatureForPublicKey ?pubkey .\r\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . }\r\n ?np dct:created ?date .\r\n ?np dct:creator ?creator .\r\n ?np np:hasAssertion ?a .\r\n ?np np:hasPublicationInfo ?i .\r\n optional { ?np rdfs:label ?label }\r\n }\r\n graph ?a {\r\n ?association a biodiv:OrganismToEnvironmentAssociation .\r\n ?association biolink:subject ?organism .\r\n ?organism a ?taxonConcept .\r\n ?taxonConcept biodiv:hasTaxonName ?taxon_name .\r\n ?association biolink:predicate ?relation .\r\n ?association biolink:object .\r\n }\r\n optional { graph ?i { ?taxon_name nt:hasLabelFromApi ?taxon_name_label . } }\r\n optional { graph ?i { ?relation nt:hasLabelFromApi ?relation_label . } }\r\n optional { graph ?i { values (?relation ?relation_label) { ( \"has habitat\" ) } } }\r\n}\r\norder by desc(?date)" } ] } ] } ]