Lists the program committee members of a given space (one row per agent): agents holding the program committee member role (validated role instantiations in the current space state). The np column points to the role grant nanopub. IRI-keyed by npa:forSpace (param space).
List space program committee members by role
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 gen: <https://w3id.org/kpxl/gen/terms/> prefix foaf: <http://xmlns.com/foaf/0.1/> select ?user_iri ?user_iri_label ?np ?np_label where { { select ?user_iri (sample(?name) as ?name) (max(?grantNpStr) as ?np0) where { values ?_space_multi_iri {} graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?g . } graph ?g { ?ri a gen:RoleInstantiation ; npa:forSpace ?_space_multi_iri ; npa:forAgent ?user_iri ; npa:viaNanopub ?grantNp ; gen:hasRole <https://w3id.org/np/RAgMXdgG-pimYhRop8NC-rV5lxG9CHORSKqv8P3hVTjA8/program-committee-member-role> . } optional { graph ?g { ?user_iri foaf:name ?name } } bind(str(?grantNp) as ?grantNpStr) } group by ?user_iri } bind(iri(?np0) as ?np) bind("^" as ?np_label) bind(if(bound(?name), str(?name), "") as ?user_iri_label) } order by lcase(?user_iri_label)