[ { "@graph" : [ { "@id" : "https://w3id.org/np/RAYpDxlvfo1aQjF5n0M_A4LtNouxNmgNGtspf2uT9ewm8", "@type" : [ "http://www.nanopub.org/nschema#Nanopublication" ], "http://www.nanopub.org/nschema#hasAssertion" : [ { "@id" : "https://w3id.org/np/RAYpDxlvfo1aQjF5n0M_A4LtNouxNmgNGtspf2uT9ewm8#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance" : [ { "@id" : "https://w3id.org/np/RAYpDxlvfo1aQjF5n0M_A4LtNouxNmgNGtspf2uT9ewm8#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo" : [ { "@id" : "https://w3id.org/np/RAYpDxlvfo1aQjF5n0M_A4LtNouxNmgNGtspf2uT9ewm8#pubinfo" } ] } ], "@id" : "https://w3id.org/np/RAYpDxlvfo1aQjF5n0M_A4LtNouxNmgNGtspf2uT9ewm8#Head" }, { "@graph" : [ { "@id" : "https://w3id.org/np/RAYpDxlvfo1aQjF5n0M_A4LtNouxNmgNGtspf2uT9ewm8#get-nanopubs-for-paper", "@type" : [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://purl.org/dc/terms/description" : [ { "@value" : "This query returns all the nanopublications that refer to (e.g. annotate) a given paper." } ], "http://purl.org/dc/terms/license" : [ { "@id" : "http://www.apache.org/licenses/LICENSE-2.0" } ], "http://www.w3.org/2000/01/rdf-schema#label" : [ { "@value" : "Get nanopublications refering to a given paper" } ], "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 np: \r\nprefix npa: \r\nprefix npx: \r\nprefix rdf: \r\nprefix rdfs: \r\nprefix xsd: \r\nprefix dct: \r\nprefix oa: \r\n\r\nselect distinct ?np ?user ?type ?subj ?subjLabel ?rel ?relLabel ?text ?selection ?date where {\r\n graph npa:graph {\r\n ?np np:hasAssertion ?a .\r\n ?np np:hasPublicationInfo ?i.\r\n ?np dct:created ?date .\r\n ?np dct:creator ?user .\r\n ?np npa:hasValidSignatureForPublicKey ?pubkey .\r\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . }\r\n }\r\n graph ?a {\r\n ?subj ?rel ?_paper_iri .\r\n }\r\n optional { ?a rdfs:comment ?textPre . bind(str(?textPre) as ?text) }\r\n optional { graph {\r\n ?rel rdfs:label ?relLabelPre .\r\n bind(\"cito\" as ?typePre)\r\n } }\r\n optional { graph ?a {\r\n ?annotation oa:hasTarget ?annotationtarget ;\r\n oa:hasBody ?annotationbody .\r\n ?annotationbody rdf:value ?annotationtext .\r\n ?annotationtarget oa:hasSource ?_paper_iri ;\r\n oa:hasSelector ?annotationSelector .\r\n optional { ?annotationSelector oa:prefix ?annotatedprefix . }\r\n ?annotationSelector oa:exact ?annotatedtext .\r\n optional { ?annotationSelector oa:suffix ?annotatedsuffix . }\r\n bind(\"oa\" as ?typePre)\r\n bind(str(?annotationtext) as ?text)\r\n bind(concat(?annotatedprefix, \"\", ?annotatedtext, \"\", ?annotatedsuffix) as ?selection)\r\n } }\r\n bind(replace(str(?subj), '^.*?([a-zA-Z0-9\\\\-\\\\_]+)$', '$1') as ?subjLabel).\r\n bind(coalesce(str(?relLabelPre), replace(str(?rel), '^.*?([a-zA-Z0-9\\\\-\\\\_]+)$', '$1')) as ?relLabel).\r\n bind(coalesce(?typePre, \"other\") as ?type).\r\n}\r\norder by desc(?date)" } ] } ], "@id" : "https://w3id.org/np/RAYpDxlvfo1aQjF5n0M_A4LtNouxNmgNGtspf2uT9ewm8#assertion" }, { "@graph" : [ { "@id" : "https://w3id.org/np/RAYpDxlvfo1aQjF5n0M_A4LtNouxNmgNGtspf2uT9ewm8#assertion", "http://www.w3.org/ns/prov#wasAttributedTo" : [ { "@id" : "https://orcid.org/0000-0002-1267-0234" } ] } ], "@id" : "https://w3id.org/np/RAYpDxlvfo1aQjF5n0M_A4LtNouxNmgNGtspf2uT9ewm8#provenance" }, { "@graph" : [ { "@id" : "https://orcid.org/0000-0002-1267-0234", "http://xmlns.com/foaf/0.1/name" : [ { "@value" : "Tobias Kuhn" } ] }, { "@id" : "https://w3id.org/np/RAYpDxlvfo1aQjF5n0M_A4LtNouxNmgNGtspf2uT9ewm8", "http://purl.org/dc/terms/created" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2024-09-11T13:03:35.823Z" } ], "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/RAYpDxlvfo1aQjF5n0M_A4LtNouxNmgNGtspf2uT9ewm8#get-nanopubs-for-paper" } ], "http://purl.org/nanopub/x/supersedes" : [ { "@id" : "https://w3id.org/np/RAOoo7tLouxu6ebXs0YbbH_eg2W697pa98sR1_otinlP8" } ], "http://purl.org/nanopub/x/wasCreatedAt" : [ { "@id" : "https://nanodash.knowledgepixels.com/" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate" : [ { "@id" : "http://purl.org/np/RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate" : [ { "@id" : "http://purl.org/np/RAA2MfqdBCzmz9yVWjKLXNbyfBNcwsMmOqcNUxkk1maIM" }, { "@id" : "http://purl.org/np/RAh1gm83JiG5M6kDxXhaYT1l49nCzyrckMvTzcPn-iv90" }, { "@id" : "http://purl.org/np/RAjpBMlw3owYhJUBo3DtsuDlXsNAJ8cnGeWAutDVjuAuI" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate" : [ { "@id" : "https://w3id.org/np/RAYvkQOT9-zrcql5lzMW9OpiPjA9UvSh-RezaVwYmWvns" } ] }, { "@id" : "https://w3id.org/np/RAYpDxlvfo1aQjF5n0M_A4LtNouxNmgNGtspf2uT9ewm8#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" : "h4LjxtypkOrJRG1qcA+7G9alD3R894bKc9vwQVxiUovcyepKMThnKH9ITH/I9LcKuh/6+05RVcqGnNxOble/nVaCpa5Nx5iiXqxqrFq8ZS68TtM/kI7+yI69xWAjRmnuJP/srG01CaacxzOtrm0/bXWcK0tXk2GW09j0gG1LkyY=" } ], "http://purl.org/nanopub/x/hasSignatureTarget" : [ { "@id" : "https://w3id.org/np/RAYpDxlvfo1aQjF5n0M_A4LtNouxNmgNGtspf2uT9ewm8" } ], "http://purl.org/nanopub/x/signedBy" : [ { "@id" : "https://orcid.org/0000-0002-1267-0234" } ] } ], "@id" : "https://w3id.org/np/RAYpDxlvfo1aQjF5n0M_A4LtNouxNmgNGtspf2uT9ewm8#pubinfo" } ]