Skip to content
This repository was archived by the owner on Oct 9, 2024. It is now read-only.
This repository was archived by the owner on Oct 9, 2024. It is now read-only.

SPARQL language not working #327

@Youssef-98

Description

@Youssef-98

I'm trying to show some queries in sparql but it seems that it doesn't work. My code is:

<CodeBlock 
  @language="sparql,rq"
  @code="
  PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
  PREFIX schema: <http://schema.org/>

  SELECT ?book ?bookTitle {
    GRAPH <http://mu.semte.ch/application> {
      ?book a schema:Book.
      ?book schema:title ?bookTitle.
    }
  }" 
/>

But it just gives an empty box with nothing, except when I remove the language attribute, then it works, but then there's no highlight on the code. Any reason as to why this happens?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions