You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (Jira)" <ji...@apache.org> on 2020/11/16 20:56:00 UTC

[jira] [Comment Edited] (JENA-1952) Jena support for SPARQL*

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

Andy Seaborne edited comment on JENA-1952 at 11/16/20, 8:55 PM:
----------------------------------------------------------------

[~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:

{noformat}
    prefix : <http://example.org/ns/>
    << :john :name "John Smith" >> :source <http://example/directory> .
{noformat}
and query.sparql:

{noformat}
    prefix : <http://example.org/ns/>
    select * {
        << :john :name ?o >> :source <http://example/directory> 
    }
{noformat}

I get no result with
{noformat}
    arq --data data.ttl --query query.sparql
{noformat}


was (Author: pchampin):
[~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)