@prefix ns1: <https://nfdi.fiz-karlsruhe.de/ontology/> .
@prefix ns5: <http://purl.obolibrary.org/obo/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .

ns1:NFDI_0001097 a owl:ObjectProperty ;
    rdfs:label "has manufacturer"@en ;
    ns5:OMO_0002000 """prefix has_manufacturer: <https://nfdi.fiz-karlsruhe.de/ontology/NFDI_0001097>
prefix participates_in: <http://purl.obolibrary.org/obo/RO_0000056> 
prefix process: <http://purl.obolibrary.org/obo/BFO_0000015>   # process
prefix has_role: <http://purl.obolibrary.org/obo/RO_0000087> 
prefix role: <https://nfdi.fiz-karlsruhe.de/ontology/NFDI_0001060>  # manufacturer role
prefix has_realization: <http://purl.obolibrary.org/obo/BFO_0000054> 

construct {
?s participates_in: _:proc .
_:proc a process: .
?o has_role: _:role .  
_:role a role: .
_:role has_realization: _:proc . 
?o participates_in: _:proc . 
}
where 
{
?s has_manufacturer: ?o .
FILTER NOT EXISTS {
 ?s participates_in: ?some_p . 
 ?some_p a process: .
 ?o has_role: ?some_r .  
  ?some_r a role: .
 ?some_r has_realization: ?some_p . 
 ?o participates_in: ?some_p .
}
}""" ;
    rdfs:range ns1:NFDI_0001114 ;
    rdfs:subPropertyOf owl:topObjectProperty,
        ns1:NFDI_0000240 ;
    owl:inverseOf ns1:NFDI_0001121 ;
    skos:definition "The property is a relationship between some resource and a person or organization (agent) as a manufacturer."@en .

