Skip to content

Commit 13e4128

Browse files
committed
fix: add instruction for unicode characters in SPARQL queries
1 parent bab3b5d commit 13e4128

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/text2sparql/api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def get_dataset_id_from_iri(dataset_iri: str) -> str:
6767
Your response must follow these rules:
6868
- Always output one SPARQL query.
6969
- Enclose the SPARQL query in a single markdown code block using the "sparql" language tag.
70+
- Use unicode characters in the SPARQL query if they are present in the question or the provided context.
7071
- Include a comment at the beginning of the query that specifies the target endpoint using the following format: "#+ endpoint: ".
7172
- Use full URIs for all entities in the SPARQL query.
7273
- Prefer a single endpoint; use a federated SPARQL query only if access across multiple endpoints is required.

0 commit comments

Comments
 (0)