sub:assertion {
sub:get-paper-comments-for-review dct:description "This query returns all full-screening paper comments that are linked to the given systematic review." ;
dct:license <
http://www.apache.org/licenses/LICENSE-2.0> ;
a <
https://w3id.org/kpxl/grlc/grlc-query> ;
rdfs:label "Get paper comments for systematic review" ;
<
https://w3id.org/kpxl/grlc/endpoint> <
https://w3id.org/np/l/nanopub-query-1.1/repo/type/a4c5273498f0adfe31b6906e2637e8523d0fbcee4dccaff818f3b71d5218987c> ;
<
https://w3id.org/kpxl/grlc/sparql> """prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix dct: <http://purl.org/dc/terms/>
prefix np: <http://www.nanopub.org/nschema#>
prefix npa: <http://purl.org/nanopub/admin/>
prefix npx: <http://purl.org/nanopub/x/>
prefix sl: <https://w3id.org/sciencelive/o/terms/>
select ?paper ?quoted_text ?comment ?np (\"^\" as ?np_label) where {
graph npa:graph {
?np npa:hasValidSignatureForPublicKeyHash ?pubkey .
filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }
?np dct:created ?date .
?np npx:signedBy ?creator .
?np np:hasAssertion ?a .
optional { ?np rdfs:label ?label }
}
values ?_systematicReview_multi_iri {}
graph ?a {
?_systematicReview_multi_iri sl:targetsResearchQuestion ?research_question .
}
service <https://w3id.org/np/l/nanopub-query-1.1/repo/type/2c1cce3f3152738c1009d59251409392aaaa3b0324bcb5fdfb4b7b944b8f0c18> {
select ?paper ?quoted_text ?comment ?research_question {
graph npa:graph {
?pnp npa:hasValidSignatureForPublicKeyHash ?ppubkey .
filter not exists { ?pnpx npx:invalidates ?pnp ; npa:hasValidSignatureForPublicKeyHash ?ppubkey . }
?pnp np:hasAssertion ?pa .
}
graph ?pa {
?paper dct:isPartOf ?research_question .
optional { ?paper <http://purl.org/spar/cito/hasQuotedText> ?quoted_text . }
?paper rdfs:comment ?comment .
}
 }
}
}""" .
}