sub:assertion {
sub:get-research-questions-for-systematic-review dct:description "This query returns all research questions 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 research questions 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 ?research_question ?research_question_label (?np as ?source) 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/e7590fad93a7eff7bc7dd8570a694d400662afc24a65294b64dcf614c5d39d94> {
select ?research_question ?research_question_label {
graph npa:graph {
?rqnp npx:introduces ?research_question .
?rqnp npa:hasValidSignatureForPublicKeyHash ?rqpubkey .
filter not exists { ?rqnpx npx:invalidates ?rqnp ; npa:hasValidSignatureForPublicKeyHash ?rqpubkey . }
?rqnp np:hasAssertion ?rqa .
}
graph ?rqa {
?research_question rdfs:label ?research_question_label .
}
}
}
}""" .
}