Comments (6)
Hello, I don't know this "eval" builtin function.
It doesn't look standard :
https://www.w3.org/Submission/SWRL/#8
http://dior.ics.muni.cz/~makub/owl/#swrlpredicates
Where does it come from ?
You can find some example of swrl with openllet here :
with standards builtin :
https://github.com/Galigator/openllet/blob/integration/module-owlapi/src/test/java/openllet/pellet/owlapi/test/TestBasic.java#L463
https://github.com/Galigator/openllet/blob/integration/module-owlapi/src/test/java/openllet/pellet/owlapi/test/TestBasic.java#L506
with user define builtin :
https://github.com/Galigator/openllet/blob/integration/module-owlapi/src/test/java/openllet/pellet/owlapi/test/TestBasic.java#L583
You can also take a look here for a complete list of already implemented builtins.
https://github.com/Galigator/openllet/blob/integration/tests/src/test/java/openllet/test/rules/SWRLBuiltIns.java (but there is no 'eval' function to be implemented).
Files in the same directory may enlighten you.
Also be careful with Jena, it is only 'OWL1', you may have surprises.
from openllet.
My bad, you are using : https://github.com/protegeproject/swrlapi/wiki/SQWRL not SWRL.
SQWRL isn't support by Openllet. Maybe we could implement a bridge to SQWRL using the user define SWRL in Openllet. Also It would kill the the 'explenation' feature, that allow user to understand what's going on when inconsistency appear.
from openllet.
no, I am using swrl to define the rules.
this is the link to the builtins https://github.com/protegeproject/swrlapi/wiki/MathematicalBuiltInLibrary
from openllet.
swrlm:eval(?r, "(57 * x) / y)", ?x, ?y)" is an SQWRL construct not an SWRL construct.
By reading https://github.com/protegeproject/swrlapi/wiki/SQWRL, I understand that binding SQWRL to Openllet could be an interesting 3 years phd research project.
from openllet.
Thanks for the clarification. is there any guides for creating custom built-ins for openllet. And for the Jena that it only support OWL1. do you have any alternatives that I can use? I am currently using the Fuseki server to query my ontology over HTTP using sparql from mobile apps.
from openllet.
There is no guides for creating custom built-ins for openllet, but there is one example :
https://github.com/Galigator/openllet/blob/integration/module-owlapi/src/test/java/openllet/pellet/owlapi/test/TestBasic.java#L744
A replacement for Jena, could be the OWL-API, but it doesn't come with fuseki like tool, instead it use RIO/rdf4j like tools.
from openllet.
Related Issues (20)
- Inconsistent results for EL and DL ontologies. HOT 2
- Clearify the relation to Pellet HOT 3
- Build Error (maven on debian10) HOT 2
- ArrayIndexOutOfBoundsException when using minQualifiedCardinality
- class file has wrong version 54.0, should be 52.0 HOT 2
- getInstances for Class Expressions using Complement doesn't work correctly HOT 2
- invalid explanations with owlapi HOT 3
- Reasoner `.bindSchema` doesn't work HOT 1
- USE_UNIQUE_NAME_ASSUMPTION = true leads to contradictions HOT 1
- DL query is NULL for Openllet reasoner
- Openllet-Jena 2.6.5 is conflicting with Apache Jena Libs > 3.15.0 ( java.lang.NoSuchFieldError: SHACLC) HOT 2
- Unsupported rule Rule HOT 2
- replace travis-ci.org with different ci service HOT 2
- The command line interface shound be documented
- [ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:4.1.0:bundle HOT 1
- Broken Logging
- Jena API Performance Problems HOT 2
- Wrong DisjointClass(A,B) inferred if the ontology includes a Subclass(A, ObjectComplementOf(B)) HOT 2
- Do not work in Protege5.1.0 HOT 2
- Contribute Eclipse plugin bundling HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openllet.