[ 
https://issues.apache.org/jira/browse/JENA-631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14008184#comment-14008184
 ] 

Andy Seaborne commented on JENA-631:
------------------------------------

There are actually different issues going on:

# Simple property paths get expanded into regular triple patterns (e.g 
{{:uri1/:uri2}}).  This is happening after looking for property functions so 
the property function transformation is missing them (it only looks in triple 
patterns).  Fix is to change the order of transformations in the optimizer.
# For the remaining complicated property paths, there needs to path property 
function like behaviour when access the graph.  Not all property functions are 
are suitable for this ({{rdfs:member}} is suitable) because some take list 
arguments.

> property functions are not called from property paths
> -----------------------------------------------------
>
>                 Key: JENA-631
>                 URL: https://issues.apache.org/jira/browse/JENA-631
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: ARQ, Jena
>    Affects Versions: Jena 2.11.1
>            Reporter: Joshua Taylor
>         Attachments: Jena_Bug_Test.java, PropertyFunctionsNotCalledInPath.java
>
>
> Property functions in certain property paths are not invoked.  This was 
> discussed on the users mailing list [1], and sample code to reproduce is 
> attached.
> [1] 
> http://mail-archives.apache.org/mod_mbox/jena-users/201401.mbox/%3CCA%2BQ4JnnO4oOLzdA0OP1csP8fr_RRdtRW_p_o8D9%2BKpwvisTm8g%40mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to