PREFIX rdf: PREFIX rdfs: PREFIX xsd: PREFIX owl: PREFIX swrl: PREFIX swrlb: PREFIX vitro: PREFIX vivo: PREFIX bibo: PREFIX dcterms: PREFIX event: PREFIX foaf: PREFIX skos: PREFIX core: Construct { ?activity core:roleIn ?grant . ?grant core:relatedRole ?activity . } where { ?person core:hasResearchActivity ?activity . optional { ?activity core:activityRelatedGrant ?grant . } }