https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34/Head
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34
http://www.nanopub.org/nschema#hasAssertion
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34/assertion
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34
http://www.nanopub.org/nschema#hasProvenance
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34/provenance
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34
http://www.nanopub.org/nschema#hasPublicationInfo
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34/pubinfo
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.nanopub.org/nschema#Nanopublication
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34/assertion
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34/get-openaire-product-relations
http://purl.org/dc/terms/description
Returns the contributed typed relations between two research products, with labels and contributor, excluding retracted or superseded nanopublications (example nanopublications are included, marked in the flags column). The status column links the latest valid approval or disapproval by a member of the given space.
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34/get-openaire-product-relations
http://purl.org/dc/terms/license
http://www.apache.org/licenses/LICENSE-2.0
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34/get-openaire-product-relations
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
https://w3id.org/kpxl/grlc/grlc-query
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34/get-openaire-product-relations
http://www.w3.org/2000/01/rdf-schema#label
Get OpenAIRE research product relations
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34/get-openaire-product-relations
https://w3id.org/kpxl/grlc/endpoint
https://w3id.org/np/l/nanopub-query-1.1/repo/type/92c8d869f71e79bdc4ffb99a3cabe5075d5e6c5568d08e6f23bbc98fc10188eb
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34/get-openaire-product-relations
https://w3id.org/kpxl/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/>
prefix owl: <http://www.w3.org/2002/07/owl#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix cito: <http://purl.org/spar/cito/>
prefix frbr: <http://purl.org/vocab/frbr/core#>
prefix skos: <http://www.w3.org/2004/02/skos/core#>
prefix frapo: <http://purl.org/cerif/frapo/>
prefix prov: <http://www.w3.org/ns/prov#>
prefix gen: <https://w3id.org/kpxl/gen/terms/>
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
select ?subject ?subject_label ?relation ?relation_label ?object ?object_label ?flags ?creator ?creator_label ?date ?action_target ?np ?np_label ?status ?status_label where {
{
select ?subject ?subject_label ?relation ?relation_label ?object ?object_label
(if(?isExample, "example", "") as ?flags)
?creator ?creator_label ?date (?np as ?action_target) ?np ("^" as ?np_label)
(max(if(contains(?memberPubkeys, ?vKey), ?vTag, "")) as ?latestTag)
where {
values ?_space_multi_iri {}
service <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
select (group_concat(?mpk; separator=" ") as ?memberPubkeys) where {
graph npa:graph { <http://purl.org/nanopub/admin/thisRepo> npa:hasCurrentSpaceState ?stateG . }
values ?_space_multi_iri {}
graph ?stateG {
?ri a gen:RoleInstantiation ; npa:forSpace ?_space_multi_iri ; npa:forAgent ?agent ; npa:hasRoleType ?roleType .
filter(?roleType in (gen:AdminRole, gen:MaintainerRole, gen:MemberRole))
?acct a npa:AccountState ; npa:agent ?agent ; npa:pubkey ?mpk .
}
}
}
values (?relation ?relation_label) { (cito:cites "cites") (cito:isDocumentedBy "is documented by") (frbr:partOf "is part of") (frbr:revisionOf "is a revision of") (frbr:supplement "is supplemented by") (skos:exactMatch "is the same work as") (prov:wasDerivedFrom "was derived from") }
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 { ?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 . } }
bind(exists { graph npa:graph { ?np npx:hasNanopubType npx:ExampleNanopub . } } as ?isExample)
optional {
{ select (?vTarget as ?np) ?vKey ?vTag where {
{
service <https://w3id.org/np/l/nanopub-query-1.1/repo/type/4a9a4dc2fa939033dd444d4f630fec3450eee305d98dd9945f110b2a6bb51317> {
graph npa:graph {
?vnp npa:hasValidSignatureForPublicKeyHash ?vKey .
filter not exists { ?vinp npx:invalidates ?vnp ; npa:hasValidSignatureForPublicKeyHash ?vKey . }
filter not exists { ?vsup npx:supersedes ?vnp . }
?vnp dct:created ?vDate .
?vnp np:hasAssertion ?va .
?vnp np:hasPublicationInfo ?vpi .
}
graph ?va { ?vagent npx:approvesOf ?vTarget . }
optional { graph ?vpi { ?vagent foaf:name ?vName . } }
bind(concat(str(?vDate), ">approved|", coalesce(?vName, str(?vagent)), "|", str(?vnp)) as ?vTag)
}
} union {
service <https://w3id.org/np/l/nanopub-query-1.1/repo/type/39692876d0a7881c82e9a2cb6dc8859fb16fa69fb41cea2ace2f8fa70bc52aed> {
graph npa:graph {
?vnp npa:hasValidSignatureForPublicKeyHash ?vKey .
filter not exists { ?vinp npx:invalidates ?vnp ; npa:hasValidSignatureForPublicKeyHash ?vKey . }
filter not exists { ?vsup npx:supersedes ?vnp . }
?vnp dct:created ?vDate .
?vnp np:hasAssertion ?va .
?vnp np:hasPublicationInfo ?vpi .
}
graph ?va { ?vagent npx:disapprovesOf ?vTarget . }
optional { graph ?vpi { ?vagent foaf:name ?vName . } }
bind(concat(str(?vDate), ">disapproved|", coalesce(?vName, str(?vagent)), "|", str(?vnp)) as ?vTag)
}
}
}
}
}
}
group by ?subject ?subject_label ?relation ?relation_label ?object ?object_label ?creator ?creator_label ?date ?np ?isExample ?memberPubkeys
}
bind(coalesce(?latestTag, "") as ?lt)
bind(strbefore(strafter(?lt, ">"), "|") as ?verdict)
bind(strafter(?lt, "|") as ?vrest)
bind(strbefore(?vrest, "|") as ?vname)
bind(iri(strafter(?vrest, "|")) as ?status)
bind(xsd:dateTime(strbefore(?lt, ">")) as ?vdt)
bind((year(now())*525600 + month(now())*43800 + day(now())*1440 + hours(now())*60 + minutes(now())) - (year(?vdt)*525600 + month(?vdt)*43800 + day(?vdt)*1440 + hours(?vdt)*60 + minutes(?vdt)) as ?minsAgo)
bind(coalesce(if(?minsAgo < 1, "just now", if(?minsAgo < 60, concat(str(?minsAgo), if(?minsAgo = 1, " minute ago", " minutes ago")), if(?minsAgo < 1440, concat(str(xsd:integer(floor(?minsAgo / 60))), if(xsd:integer(floor(?minsAgo / 60)) = 1, " hour ago", " hours ago")), concat(str(xsd:integer(floor(?minsAgo / 1440))), if(xsd:integer(floor(?minsAgo / 1440)) = 1, " day ago", " days ago"))))), "") as ?ago)
bind(coalesce(if(?lt != "", concat(?verdict, " by ", ?vname, " ", ?ago), ""), "") as ?status_label)
}
order by desc(?date)
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34/provenance
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34/assertion
http://www.w3.org/ns/prov#wasAttributedTo
https://orcid.org/0000-0002-1267-0234
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34/pubinfo
https://orcid.org/0000-0002-1267-0234
http://xmlns.com/foaf/0.1/name
Tobias Kuhn
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34
http://purl.org/dc/terms/created
2026-07-29T17:53:26Z
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34
http://purl.org/dc/terms/creator
https://orcid.org/0000-0002-1267-0234
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34
http://purl.org/dc/terms/license
https://creativecommons.org/licenses/by/4.0/
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34
http://purl.org/nanopub/x/embeds
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34/get-openaire-product-relations
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34
http://purl.org/nanopub/x/supersedes
https://w3id.org/np/RAllnRRaMTqIQtYl12WKo5HOi9M9kMv_3UpCl7GcBJbwo
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34
http://www.w3.org/2000/01/rdf-schema#label
Get OpenAIRE research product relations
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34
https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate
http://purl.org/np/RAcm8OurwUk15WOgBM9wySo-T3a5h6as4K8YR5MBrrxUc
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34
https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate
https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34
https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate
https://w3id.org/np/RARW4MsFkHuwjycNElvEVtuMjpf4yWDL10-0C5l2MqqRQ
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34
https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate
https://w3id.org/np/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34
https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate
https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34
https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate
https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34/sig
http://purl.org/nanopub/x/hasAlgorithm
RSA
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34/sig
http://purl.org/nanopub/x/hasPublicKey
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34/sig
http://purl.org/nanopub/x/hasSignature
lOh+QKMaFHWs8pRZSL/ckM2bxQ37rmRfrJJBvGDdGq93b6UewBJ5y2l0bkayaNBSq/lSNb4RejyilqUwnDVgxY9ty7PXcFyO/AJhqJNNh9nk/uLnyu+jwgyu+3S9lGokOTts2T4Lyh8mMBKv/je6cr6JH6tUgHLAbjHZW4aEGe0=
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34/sig
http://purl.org/nanopub/x/hasSignatureTarget
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34
https://w3id.org/np/RAtF1e-F2emBde_PrGsOuQm1mGTApPY4SEExHn1G2GO34/sig
http://purl.org/nanopub/x/signedBy
https://orcid.org/0000-0002-1267-0234