sub:assertion {
sub:get-studies-selected-for-full-screening dct:description "This queries returns the full list of studies that are selected for full screening for 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 studies selected for full screening" ;
<
https://w3id.org/kpxl/grlc/endpoint> <
https://w3id.org/np/l/nanopub-query-1.1/repo/type/b4332498e1ceb78346da04b01d387b77d6cfb7fb36a5df59d7f1c272961dcf74> ;
<
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/>
prefix disco: <http://rdf-vocabulary.ddialliance.org/discovery#>
select ?study ?study_label ?studySource ?np ?date where {
graph npa:graph {
?np npx:hasNanopubType sl:selectsForFullScreening .
?np npa:hasValidSignatureForPublicKeyHash ?pubkey .
filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }
?np dct:created ?date .
?np np:hasAssertion ?a .
}
graph ?a {
?_review_iri sl:selectsForFullScreening ?study .
}
service <https://w3id.org/np/l/nanopub-query-1.1/repo/type/272b689e2954bc73f05f423720a0c77780db086e9c0d29800105ac87e59b4e14> {
graph npa:graph {
?stnp npx:introduces ?study .
?stnp npx:hasNanopubType disco:Study .
?stnp npa:hasValidSignatureForPublicKeyHash ?stpubkey .
filter not exists { ?stnpx npx:invalidates ?stnp ; npa:hasValidSignatureForPublicKeyHash ?stpubkey . }
?stnp np:hasAssertion ?sta .
}
graph ?sta {
?study rdfs:label ?study_label .
?study dct:source ?studySource .
}
}
}
order by desc(?date)""" .
}