@prefix this: . @prefix sub: . @prefix np: . @prefix grlc: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix prov: . @prefix foaf: . sub:Head { this: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { sub:get-openaire-same-work-links a grlc:grlc-query; dct:description "Returns the contributed links stating that two scholarly records denote the same work, with labels and contributor, excluding retracted or superseded nanopublications (example nanopublications are included)."; dct:license ; rdfs:label "Get OpenAIRE same-work links"; grlc:endpoint ; grlc:sparql """prefix np: prefix npa: prefix npx: prefix nt: prefix dct: prefix foaf: select ?record ?record_label ?same_as ?same_as_label ?creator ?creator_label ?date ?np (\"^\" as ?np_label) where { graph npa:graph { ?np npa:hasValidSignatureForPublicKeyHash ?pk . filter not exists { ?inp npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pk . } filter not exists { ?sup npx:supersedes ?np . } ?np dct:created ?date . ?np np:hasAssertion ?a . ?np np:hasPublicationInfo ?pi . } graph ?a { ?record ?same_as . } filter( ( strstarts(str(?record), \"https://doi.org/\") || strstarts(str(?record), \"https://api.openaire.eu/\") ) && ( strstarts(str(?same_as), \"https://doi.org/\") || strstarts(str(?same_as), \"https://api.openaire.eu/\") ) ) optional { graph ?pi { ?record nt:hasLabelFromApi ?record_label . } } optional { graph ?pi { ?same_as nt:hasLabelFromApi ?same_as_label . } } optional { graph npa:graph { ?np dct:creator ?creator . } } optional { graph ?pi { ?creator foaf:name ?creator_label . } } } order by desc(?date)""" . } sub:provenance { sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 . } sub:pubinfo { orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" . this: dct:created "2026-07-28T12:30:05Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-openaire-same-work-links; npx:supersedes ; rdfs:label "Get OpenAIRE same-work links"; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "IGHbES4PtL/fE4tBkoHtlNmL6calnnBnT1jOCJpKnkhW+Q+3CiAEW9IoNcoYrVqSrHiIzcMKlut6ZwMZQE2lshspxnwP99Z6wwTQzVhScbHtXyL3oQG8uq/HkwvaCYwV+dM0yl42B4Loj6UZsosY+cUmOOKHFz2qes18QzKswI4="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }