https://w3id.org/np/RAllnRRaMTqIQtYl12WKo5HOi9M9kMv_3UpCl7GcBJbwo
.trig | .trig.txt | .jelly | .jelly.txt | .jsonld | .jsonld.txt | .nq | .nq.txt | .xml | .xml.txt
@prefix this: <https://w3id.org/np/RAllnRRaMTqIQtYl12WKo5HOi9M9kMv_3UpCl7GcBJbwo> .
@prefix sub: <https://w3id.org/np/RAllnRRaMTqIQtYl12WKo5HOi9M9kMv_3UpCl7GcBJbwo/> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix grlc: <https://w3id.org/kpxl/grlc/> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix nt: <https://w3id.org/np/o/ntemplate/> .
@prefix npx: <http://purl.org/nanopub/x/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix orcid: <https://orcid.org/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
sub:Head {
this: a np:Nanopublication;
np:hasAssertion sub:assertion;
np:hasProvenance sub:provenance;
np:hasPublicationInfo sub:pubinfo .
}
sub:assertion {
sub:get-openaire-product-relations a grlc:grlc-query;
dct:description "Returns the contributed typed relations between two research products, with labels and contributor, excluding retracted or superseded nanopublications (example nanopublications are included).";
dct:license <http://www.apache.org/licenses/LICENSE-2.0>;
rdfs:label "Get OpenAIRE research product relations";
grlc:endpoint <https://w3id.org/np/l/nanopub-query-1.1/repo/type/92c8d869f71e79bdc4ffb99a3cabe5075d5e6c5568d08e6f23bbc98fc10188eb>;
grlc:sparql """prefix np: <http://www.nanopub.org/nschema#>
prefix npa: <http://purl.org/nanopub/admin/>
prefix npx: <http://purl.org/nanopub/x/>
prefix nt: <https://w3id.org/np/o/ntemplate/>
prefix dct: <http://purl.org/dc/terms/>
prefix foaf: <http://xmlns.com/foaf/0.1/>
select ?subject ?subject_label ?relation ?relation_label ?object ?object_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 .
}
values (?relation ?relation_label) { (<http://purl.org/spar/cito/cites> \"cites\") (<http://purl.org/spar/cito/isDocumentedBy> \"is documented by\") (<http://purl.org/vocab/frbr/core#partOf> \"is part of\") (<http://purl.org/vocab/frbr/core#revisionOf> \"is a revision of\") (<http://purl.org/vocab/frbr/core#supplement> \"is supplemented by\") (<http://www.w3.org/2004/02/skos/core#exactMatch> \"is the same work as\") (<http://www.w3.org/ns/prov#wasDerivedFrom> \"was derived from\") }
graph ?a { ?subject ?relation ?object . }
filter( ( strstarts(str(?subject), \"https://doi.org/\") || strstarts(str(?subject), \"https://api.openaire.eu/\") ) && ( strstarts(str(?object), \"https://doi.org/\") || strstarts(str(?object), \"https://api.openaire.eu/\") ) )
optional { graph ?pi { ?subject nt:hasLabelFromApi ?subject_label . } }
optional { graph ?pi { ?object nt:hasLabelFromApi ?object_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 <https://creativecommons.org/licenses/by/4.0/>;
npx:embeds sub:get-openaire-product-relations;
npx:supersedes <https://w3id.org/np/RAH8C4NKQ6L8qA0LW6I3yHvx5jHc7uogd7z0rRUCCtlyI>;
rdfs:label "Get OpenAIRE research product relations";
nt:wasCreatedFromProvenanceTemplate <http://purl.org/np/RAcm8OurwUk15WOgBM9wySo-T3a5h6as4K8YR5MBrrxUc>;
nt:wasCreatedFromPubinfoTemplate <https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8>,
<https://w3id.org/np/RARW4MsFkHuwjycNElvEVtuMjpf4yWDL10-0C5l2MqqRQ>, <https://w3id.org/np/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw>,
<https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI>;
nt:wasCreatedFromTemplate <https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k> .
sub:sig npx:hasAlgorithm "RSA";
npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB";
npx:hasSignature "oOMTu29N6+VLDcQ414ABp8NMdyUIwyksN0MY8gHWAO73/+nwvAwMEo3dW/6GilTXQv3QBdr2AduB8v9asaOvse9sJhA9mko1waOyUWp1WsOh/VqD4eDe56FRys0CFsHsV9GPi+/8U7kEZXOMx8evaQtCIMDKPBfYbgEpJEvTTmY=";
npx:hasSignatureTarget this:;
npx:signedBy orcid:0000-0002-1267-0234 .
}