Comments (7)
I don't think that SPARQL-DL supports SPARQL 1.1 property paths.
from openllet.
Ok. I was just wondering why the SPARQL plugin by Protege can handle this query. Meanwhile i thought about replacing this intersectionOf with a bunch of subclassOf relations. So I guess this is no bug then?
from openllet.
Anything that end with that kind of Exception should be see as a bug.
The tool should send at least a better error message.
I'm not very awar of how the sparql-query module work and maybe I have done a bad mistake somewhere.
What version are you using ?
from openllet.
I'm currently using version 2.6.2.
from openllet.
@greeny277 Which SPARQL plugin do you use? Protege has two SPARQL plugins:
- The standard SPARQL query tab doesn't use Pellet and doesn't support DL reasoning. It uses RDF4J as SPARQL API and support property paths.
- The Snap SPARQL plugin uses its own parser + SPARQL DL API, but this plugin does not support Property Paths.
<dependency>
<groupId>edu.stanford.protege</groupId>
<artifactId>de-derivo-sparqldlapi</artifactId>
<version>3.0.0</version>
</dependency>
Pellet is using SPARQL DL which doesn't support property paths.
from openllet.
I'm using the Standard SPARQL Query Plugin in Version 2.0.2.
from openllet.
Ok, as I said, this plugin uses RDF4J for SPARQL query processing.
Regarding Pellet, its SPARQL query API was developed before SPARQL 1.1, so that might be the reason for missing support. At least I assume that the parser fails somehow. Maybe it's easy to fix, but somebody would have to dig into the code.
Your current query doesn't look like reasoning is necessary. You can use standard Apache Jena if you don't need OWL DL reasoning. Jena also supports some rule-based reasoning for different language profiles, maybe that would be sufficient just in case you need some light-weight reasoning.
from openllet.
Related Issues (20)
- Openllet: UnsupportedClassVersionError HOT 4
- 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
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.