All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bigdata.rdf.sparql.ast.eval.ticket-806.rq Maven / Gradle / Ivy

There is a newer version: 2.1.4
Show newest version
PREFIX g: 
PREFIX d: 
PREFIX p: 

# since all 3 predicates are used in the test data, all 3 variables should end up bound here
SELECT ?id ?fullName ?legalName {
  {select ?entity ?id {
      graph ?g { ?entity p:id ?id }
      graph g:pointers { ?entity ?a ?g }
  }}

  # ?a and ?g end up being projected into the next query
  # changing ?a => ?a1; ?g => ?g1 fixes this
  optional {
    select ?entity ?fullName {
        graph g:pointers { ?entity ?a ?g }
        graph ?g { ?entity p:fullName ?fullName  }
    }
  }

  optional {
    select ?entity ?legalName {
        graph ?g { ?entity p:legalName ?legalName  }
        graph g:pointers { ?entity ?a ?g }
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy