Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-946

OneOrMorePath SPARQL property path expression ignored

    Details

      Description

      This is a repeat of issue http://trac.bigdata.com/ticket/693 which I think was previously fixed but is not working for me now.

      http://www.w3.org/TR/sparql11-query/#propertypaths defines "+" to signify "A path that connects the subject and object of the path by one or more matches..." I have found that in Bigdata revision 7202 on the BIGDATA_RELEASE_1_2_0 branch, this operator seems to be ignored. I attached a file containing a class hierarchy (top to bottom) A < B < C < D < E.

      For this query:

      PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
      SELECT *
      WHERE
      {
      ?sub rdfs:subClassOf <http://example.org/A>
      }
      

      I get B, as expected. Replacing the predicate with rdfs:subClassOf*, I get A, B, C, D, E, as expected. Replacing the predicate with rdfs:subClassOf?, I get A, B, as expected. However, replacing the predicate with rdfs:subClassOf+, I get only B, instead of my expectation of B, C, D, E.

      I attached the dataset.

        Activity

        Hide
        bryanthompson bryanthompson added a comment -

        Jim, can you please reattach the data set? Attachments were lost in the trac migration.

        Show
        bryanthompson bryanthompson added a comment - Jim, can you please reattach the data set? Attachments were lost in the trac migration.
        Hide
        balhoff balhoff added a comment -

        I attached a file as described in the original report. However I tried this in my current installation (version 1.5.3) and all works as expected. I think this has been fixed. Thanks!

        Show
        balhoff balhoff added a comment - I attached a file as described in the original report. However I tried this in my current installation (version 1.5.3) and all works as expected. I think this has been fixed. Thanks!
        Hide
        beebs Brad Bebee added a comment -

        OK – great. I'll close the ticket for now and we can re-open, if there are any other issues reported.

        Show
        beebs Brad Bebee added a comment - OK – great. I'll close the ticket for now and we can re-open, if there are any other issues reported.

          People

          • Assignee:
            Unassigned
            Reporter:
            jimbalhoff jimbalhoff
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: