com.bigdata.rdf.sparql.ast.eval.ticket-806.rq Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bigdata-rdf-test Show documentation
Show all versions of bigdata-rdf-test Show documentation
Blazegraph(TM) RDF Test Suites
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