[
https://issues.apache.org/jira/browse/JENA-1952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17232667#comment-17232667
]
Pierre-Antoine Champin commented on JENA-1952:
----------------------------------------------
[~andy]
{quote}{{<<?s ?p ?o>>}} in a SPARQL* query will only match is there is the base
triple.
{quote}
That seems contradictory with the fact that Jena (as far as I can tell)
implements the SA mode...
Furthermore, this is not what i[the documentation
|https://jena.apache.org/documentation/rdfstar/]implies.
Using data.ttl:
{{ prefix : <http://example.org/ns/>}}
{{ << :john :name "John Smith" >> :source <http://example/directory> .}}{{ }}
and query.sparql:
{{ prefix : <http://example.org/ns/>}}
{{ select * {}}
{{ << :john :name ?o >> :source <http://example/directory> .}}
{{ }}}
I get no result with
{{ arq --data data.ttl --query query.sparql}}
> Jena support for SPARQL*
> ------------------------
>
> Key: JENA-1952
> URL: https://issues.apache.org/jira/browse/JENA-1952
> Project: Apache Jena
> Issue Type: Bug
> Components: ARQ
> Affects Versions: Jena 3.16.0
> Reporter: Adrika Mukherjee
> Assignee: Andy Seaborne
> Priority: Major
> Fix For: Jena 3.17.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> SPARQL * does not able to return variables on embedded triples. For example :
> "SELECT ?o ?o1 WHERE \{<<?s ?p ?o>> dct:rank ?o1}"; this query does not work.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)