Hi Johan, 

I do not think Apache Jena Fuseki supports uploading a rule file as you would 
do with data. Apache Jena rules 
(https://jena.apache.org/documentation/inference/) can only be set as part of 
the configuration of a dataset, I think.

However, if you use another type of constraints/rules (i.e. SWRL or OWL 
Restrictions), you can maybe upload those as part of your data (as they are 
part of you ontology, I think). If you then use a reasoner that supports those 
constraints/rules (Pellet maybe?), it will probably take them into account.

Hope this helps!

Regards, Barry

-----Original Message-----
From: Johan Kumps <[email protected]> 
Sent: maandag 5 oktober 2020 13:37
To: [email protected]
Subject: Add rules at runtime

Hi all,

Is it possible to add rules to Jena at runtime or is it only possible to add 
rules via a file and restart the server?

It would be very nice if you could upload a rule the same way as you can do to 
add data to a dataset.

Kind regards,
Johan,
This message may contain information that is not intended for you. If you are 
not the addressee or if this message was sent to you by mistake, you are 
requested to inform the sender and delete the message. TNO accepts no liability 
for the content of this e-mail, for the manner in which you use it and for 
damage of any kind resulting from the risks inherent to the electronic 
transmission of messages.

Reply via email to