How can I optimize a SPARQL query that returns optional properties?
问题 How can I optimize a SPARQL query like the following? The intent of this query is: Specify a resource (country resource where countryCode = "US" ) Get back optional properties defined on the resource. Unfortunately, the OPTIONAL blocks are being evaluated before the parent block, which causes the query engine to load all data for all countries. What I want is something like a LEFT OUTER JOIN behavior, but the query engine is not handling it this way. What can I do to improve query performance