diff --git a/productMods/WEB-INF/ontologies/update/sparqlConstructs/ResearcherRole.sparql b/productMods/WEB-INF/ontologies/update/sparqlConstructs/ResearcherRole.sparql new file mode 100644 index 00000000..57c222a2 --- /dev/null +++ b/productMods/WEB-INF/ontologies/update/sparqlConstructs/ResearcherRole.sparql @@ -0,0 +1,30 @@ +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 { + _:role a core:ResearcherRole . + ?person core:hasResearcherRole _:role . + _:role core:researcherRoleOf ?person . + _:role core:roleIn ?grant . + ?grant core:relatedRole _:role . + +} where { + ?person core:hasResearchActivity ?activity + + optional { + ?activity core:activityRelatedGrant ?grant . + } + +} \ No newline at end of file