Skip to content

Keywords are highlighted only if spelled in CAPS #12

@laughedelic

Description

@laughedelic

Github links to this repository regarding SPARQL syntax highlighting (on Github). I see that in files and markdown code snippets on Github (some) SPARQL keywords are highlighted only if they are spelled in CAPS. Compare

prefix taxon:   <http://purl.uniprot.org/taxonomy/>
prefix :        <http://purl.uniprot.org/core/>

select ?ancestor ?name ?rank 
where {

  ?ancestor a :Taxon ;
            :scientificName ?name ;
            :rank ?rank .
  taxon:9597 rdfs:subClassOf ?ancestor .

} order by ?rank

and

PREFIX taxon:   <http://purl.uniprot.org/taxonomy/>
PREFIX :        <http://purl.uniprot.org/core/>

SELECT ?ancestor ?name ?rank 
WHERE {

  ?ancestor a :Taxon ;
            :scientificName ?name ;
            :rank ?rank .
  taxon:9597 rdfs:subClassOf ?ancestor .

} ORDER BY ?rank

or see this file which mixes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions