afs commented on issue #3572:
URL: https://github.com/apache/jena/issues/3572#issuecomment-3516202222

   Hi @chrisanun 
   
   `ja:schema` is associated with the reasoner so it should be:
   
   ```
   <#inference_model> rdf:type ja:InfModel ;
           ja:baseModel <#tdb_base_graph> ;
           ja:reasoner [
                   ja:reasonerURL 
<http://jena.hpl.hp.com/2003/OWLFBRuleReasoner> ;
                   ja:schema <#schema>
           ] ;
           .
   ```
   
   The error you are getting is because `ja:schema` has domain 
`reasonserFactory` so `<#inference_model>` is inferred to be 
`ja:ReasonerFactory` as well as `ja:InfModel`.
   
   Also - the schema object is a model (this could be inline):
   
   ```
   <#schema> a ja:MemoryModel ;
       ja:content [
           ja:externalContent <file:///fuseki/data/schema/Schema_Ontology.ttl>
       ] .
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to