Final answer:
In SPARQL, OPTIONAL triple patterns should be kept simple to maintain database query performance. Complexity in OPTIONAL patterns can lead to slower query execution, so it is advised to create straightforward patterns tailored to the query requirements. Therefore correct option is B
Step-by-step explanation:
When working with OPTIONAL triple patterns in SPARQL (a query language for databases that can retrieve and manipulate data stored in Resource Description Framework format), it is recommended to keep them simple to avoid performance issues. Complex OPTIONAL pattern queries can be difficult to process and may result in slower query performance. Instead of striving for complexity, the focus should be on creating the most straightforward pattern that satisfies the query requirements.
Therefore, the correct answer is b) Keep them simple to avoid performance issues. As it stands, OPTIONAL patterns can add flexibility to SPARQL queries by allowing the inclusion of information that may or may not be available in the dataset without compromising the query's ability to return results. However, unnecessary complexity should be avoided to ensure that the performance of the database system remains efficient.