Skip to content

Commit

Permalink
added space to authority separator
Browse files Browse the repository at this point in the history
  • Loading branch information
nleanba committed Feb 29, 2024
1 parent 8685214 commit 1e34813
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions SynonymGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ export default class SynonymGroup implements AsyncIterable<JustifiedSynonym> {
const query = `
PREFIX dwc: <http://rs.tdwg.org/dwc/terms/>
PREFIX treat: <http://plazi.org/vocab/treatment#>
SELECT DISTINCT ?tn ?tc (group_concat(DISTINCT ?auth;separator="/") as ?authority) WHERE {
SELECT DISTINCT ?tn ?tc (group_concat(DISTINCT ?auth;separator=" / ") as ?authority) WHERE {
?tc dwc:genus "${genus}";
treat:hasTaxonName ?tn;
${species ? `dwc:species "${species}";` : ""}
Expand Down Expand Up @@ -390,7 +390,7 @@ GROUP BY ?tn ?tc`;
PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX dwc: <http://rs.tdwg.org/dwc/terms/>
PREFIX treat: <http://plazi.org/vocab/treatment#>
SELECT DISTINCT ?tc (group_concat(DISTINCT ?auth;separator="/") as ?authority)
SELECT DISTINCT ?tc (group_concat(DISTINCT ?auth;separator=" / ") as ?authority)
WHERE {
?tc treat:hasTaxonName <${taxon.taxonNameUri}> .
OPTIONAL { ?tc dwc:scientificNameAuthorship ?auth }
Expand Down Expand Up @@ -436,7 +436,7 @@ PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX dwc: <http://rs.tdwg.org/dwc/terms/>
PREFIX treat: <http://plazi.org/vocab/treatment#>
SELECT DISTINCT
?tc ?tn ?treat ?date (group_concat(DISTINCT ?creator;separator="; ") as ?creators) (group_concat(DISTINCT ?auth;separator="/") as ?authority)
?tc ?tn ?treat ?date (group_concat(DISTINCT ?creator;separator="; ") as ?creators) (group_concat(DISTINCT ?auth;separator=" / ") as ?authority)
WHERE {
?treat treat:deprecates <${taxon.taxonConceptUri}> ;
(treat:augmentsTaxonConcept|treat:definesTaxonConcept) ?tc ;
Expand Down Expand Up @@ -490,7 +490,7 @@ PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX dwc: <http://rs.tdwg.org/dwc/terms/>
PREFIX treat: <http://plazi.org/vocab/treatment#>
SELECT DISTINCT
?tc ?tn ?treat ?date (group_concat(DISTINCT ?creator;separator="; ") as ?creators) (group_concat(DISTINCT ?auth;separator="/") as ?authority)
?tc ?tn ?treat ?date (group_concat(DISTINCT ?creator;separator="; ") as ?creators) (group_concat(DISTINCT ?auth;separator=" / ") as ?authority)
WHERE {
?treat (treat:augmentsTaxonConcept|treat:definesTaxonConcept) <${taxon.taxonConceptUri}> ;
treat:deprecates ?tc ;
Expand Down

0 comments on commit 1e34813

Please sign in to comment.