You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Lorenz Bühmann (JIRA)" <ji...@apache.org> on 2017/04/10 09:58:41 UTC

[jira] [Created] (JENA-1317) Property path with wildcard hack fails to consider incoming path

Lorenz Bühmann created JENA-1317:
------------------------------------

             Summary: Property path with wildcard hack fails to consider incoming path
                 Key: JENA-1317
                 URL: https://issues.apache.org/jira/browse/JENA-1317
             Project: Apache Jena
          Issue Type: Bug
          Components: ARQ
    Affects Versions: Jena 3.2.0
            Reporter: Lorenz Bühmann


It looks like the evaluation of a property path with an alternative of a non-existing property and it's negation fails:

Data (data.ttl):
```
@prefix :    <http://example.com/> .
:a :p :b .
```

Query (query.txt):
```
PREFIX : <http://example.com/>
SELECT ?u {
:b ^(:p1|!:p1) ?u .
}
```

Algebra:
```
(project (?u)
    (path ?u (alt <http://example.com/p1> (notoneof <http://example.com/p1>)) <http://example.com/b>))
```

Called with 
`sparql --data data.ttl --query query.txt --explain`



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)