Skip to content

Commit 6c4aac3

Browse files
committed
fix: balance parentheses in SPARQL citation queries
Remove extra closing parenthesis in citing_entity_query, citing_entity_from_value_query, and cited_entity_query that caused "Parentheses are not balanced" errors when viewing citation entities.
1 parent 1fc7271 commit 6c4aac3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

display_rules.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ common_properties:
955955
COALESCE(?endPage, ""),
956956
"."),
957957
COALESCE(?title, STR(?target))
958-
)) AS ?display)
958+
) AS ?display)
959959
}
960960

961961
citing_entity_from_value_query: &citing_entity_from_value_query |
@@ -1055,7 +1055,7 @@ common_properties:
10551055
COALESCE(?endPage, ""),
10561056
"."),
10571057
COALESCE(?title, STR(?target))
1058-
)) AS ?display)
1058+
) AS ?display)
10591059
}
10601060

10611061
cited_entity_query: &cited_entity_query |
@@ -1155,7 +1155,7 @@ common_properties:
11551155
COALESCE(?endPage, ""),
11561156
"."),
11571157
COALESCE(?title, STR(?target))
1158-
)) AS ?display)
1158+
) AS ?display)
11591159
}
11601160

11611161
virtual_properties:

example_configurations/paratext/display_rules.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ common_properties:
955955
COALESCE(?endPage, ""),
956956
"."),
957957
COALESCE(?title, STR(?target))
958-
)) AS ?display)
958+
) AS ?display)
959959
}
960960

961961
citing_entity_from_value_query: &citing_entity_from_value_query |
@@ -1055,7 +1055,7 @@ common_properties:
10551055
COALESCE(?endPage, ""),
10561056
"."),
10571057
COALESCE(?title, STR(?target))
1058-
)) AS ?display)
1058+
) AS ?display)
10591059
}
10601060

10611061
cited_entity_query: &cited_entity_query |
@@ -1155,7 +1155,7 @@ common_properties:
11551155
COALESCE(?endPage, ""),
11561156
"."),
11571157
COALESCE(?title, STR(?target))
1158-
)) AS ?display)
1158+
) AS ?display)
11591159
}
11601160

11611161
virtual_properties:

0 commit comments

Comments
 (0)