Returns the findings of a given project, expressed as AIDA sentences, reached through the project's studies: a sentence is included when it declares support from a study (OBI investigation) that is part of the project. Shows the sentence, the study it came out of, the other sources it obtains support from, and who the statement is attributed to.
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 gen: <https://w3id.org/kpxl/gen/terms/> prefix obo: <http://purl.obolibrary.org/obo/> prefix hycl: <http://purl.org/petapico/o/hycl#> prefix cito: <http://purl.org/spar/cito/> prefix prov: <http://www.w3.org/ns/prov#> prefix foaf: <http://xmlns.com/foaf/0.1/> select ?statement ?statement_label ?study ?study_label (group_concat(distinct str(?source); separator="\n") as ?source_multi_iri) (group_concat(distinct ?authorLabel; separator="\n") as ?author_label_multi) ?np ("^" as ?np_label) where { values ?_project_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 ?_project_multi_iri {} graph ?stateG { ?_project_multi_iri npa:isMaintainedBy? ?space . ?ri a gen:RoleInstantiation ; npa:forSpace ?space ; 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 . } } } graph npa:graph { ?studyNp npa:hasValidSignatureForPublicKeyHash ?studyPubkey . filter not exists { ?studyInv npx:invalidates ?studyNp ; npa:hasValidSignatureForPublicKeyHash ?studyPubkey . } filter not exists { ?studySup npx:supersedes ?studyNp . } ?studyNp np:hasAssertion ?sa . ?studyNp np:hasPublicationInfo ?spi . } filter(contains(?memberPubkeys, ?studyPubkey)) graph ?sa { ?study a obo:OBI_0000066 ; dct:isPartOf ?_project_multi_iri . optional { ?study rdfs:label ?study_label } } graph npa:graph { ?np npa:hasValidSignatureForPublicKeyHash ?npPubkey . filter not exists { ?inv npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?npPubkey . } filter not exists { ?sup npx:supersedes ?np . } filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . } ?np np:hasAssertion ?a . ?np np:hasProvenance ?prov . ?np np:hasPublicationInfo ?pi . } filter(contains(?memberPubkeys, ?npPubkey)) graph ?a { ?statement a hycl:AIDA-Sentence ; cito:obtainsSupportFrom ?study . } optional { graph ?pi { ?np rdfs:label ?statement_label } } optional { graph ?a { ?statement cito:obtainsSupportFrom ?source } filter(?source != ?study) } optional { graph ?prov { ?a prov:wasAttributedTo ?author } graph ?pi { ?author foaf:name ?authorLabel } } } group by ?statement ?statement_label ?study ?study_label ?np order by ?study_label ?statement_label